Opm::gpuistl::PreconditionerAdapter< X, Y, CudaPreconditionerType > Class Template Reference Makes a CUDA preconditioner available to a CPU simulator. More...
Inheritance diagram for Opm::gpuistl::PreconditionerAdapter< X, Y, CudaPreconditionerType >:
Detailed Descriptiontemplate<class X, class Y, class CudaPreconditionerType> class Opm::gpuistl::PreconditionerAdapter< X, Y, CudaPreconditionerType > Makes a CUDA preconditioner available to a CPU simulator. The use case for this adapter is to use a CUDA preconditioner during a linear solver that works on the CPU. The motivation for this is benchmarking new preconditioners on the GPU.
Member Typedef Documentation◆ domain_type
template<class X , class Y , class CudaPreconditionerType >
The domain type of the preconditioner. ◆ field_type
template<class X , class Y , class CudaPreconditionerType >
The field type of the preconditioner. ◆ range_type
template<class X , class Y , class CudaPreconditionerType >
The range type of the preconditioner. Constructor & Destructor Documentation◆ PreconditionerAdapter()
template<class X , class Y , class CudaPreconditionerType >
Constructor. Constructor gets all parameters to operate the prec.
Member Function Documentation◆ apply()
template<class X , class Y , class CudaPreconditionerType >
Apply the preconditoner. ◆ category()
template<class X , class Y , class CudaPreconditionerType >
Category of the preconditioner (see SolverCategory::Category) ◆ getUnderlyingPreconditioner()
template<class X , class Y , class CudaPreconditionerType >
getUnderlyingPreconditioner gets the underlying preconditioner (preconditioner being held) Implements Opm::gpuistl::PreconditionerHolder< GpuVector< X::field_type >, GpuVector< Y::field_type > >. ◆ hasPerfectUpdate()
template<class X , class Y , class CudaPreconditionerType >
Implements Dune::PreconditionerWithUpdate< X, Y >. ◆ post()
template<class X , class Y , class CudaPreconditionerType >
Clean up. Currently not supported. ◆ pre()
template<class X , class Y , class CudaPreconditionerType >
Prepare the preconditioner. Currently not supported. ◆ shouldCallPost()
template<class X , class Y , class CudaPreconditionerType >
◆ shouldCallPre()
template<class X , class Y , class CudaPreconditionerType >
◆ update()
template<class X , class Y , class CudaPreconditionerType >
Calls update on the underlying CUDA preconditioner. Implements Dune::PreconditionerWithUpdate< X, Y >. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||