Opm::Accelerator::openclSolverBackend< Scalar, block_size > Class Template Reference This class implements a opencl-based ilu0-bicgstab solver on GPU. More...
Inheritance diagram for Opm::Accelerator::openclSolverBackend< Scalar, block_size >:
Detailed Descriptiontemplate<class Scalar, unsigned int block_size> class Opm::Accelerator::openclSolverBackend< Scalar, block_size > This class implements a opencl-based ilu0-bicgstab solver on GPU. Constructor & Destructor Documentation◆ openclSolverBackend() [1/2]
template<class Scalar , unsigned int block_size>
Construct a openclSolver
◆ openclSolverBackend() [2/2]
template<class Scalar , unsigned int block_size>
For the CPR coarse solver. Member Function Documentation◆ get_result()
template<class Scalar , unsigned int block_size>
Solve scalar linear system, for example a coarse system of an AMG preconditioner Data is already on the GPU Get result after linear solve, and peform postprocessing if necessary
Implements Opm::Accelerator::BdaSolver< Scalar, block_size >. ◆ setOpencl()
template<class Scalar , unsigned int block_size>
Set OpenCL objects This class either creates them based on platformID and deviceID or receives them through this function
◆ solve_system()
template<class Scalar , unsigned int block_size>
Solve linear system, A*x = b, matrix A must be in blocked-CSR format
Implements Opm::Accelerator::BdaSolver< Scalar, block_size >. Member Data Documentation◆ context
template<class Scalar , unsigned int block_size>
◆ queue
template<class Scalar , unsigned int block_size>
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||