My Project
|
Public Types | |
enum | PreconditionerType { BILU0 , CPR , BISAI } |
Public Member Functions | |
virtual void | setOpencl (std::shared_ptr< cl::Context > &context, std::shared_ptr< cl::CommandQueue > &queue) |
virtual void | apply (const cl::Buffer &y, cl::Buffer &x)=0 |
virtual bool | analyze_matrix (BlockedMatrix *mat)=0 |
virtual bool | analyze_matrix (BlockedMatrix *mat, BlockedMatrix *jacMat) |
virtual bool | create_preconditioner (BlockedMatrix *mat)=0 |
virtual bool | create_preconditioner (BlockedMatrix *mat, BlockedMatrix *jacMat) |
Static Public Member Functions | |
static std::unique_ptr< Preconditioner > | create (PreconditionerType type, int verbosity, bool opencl_ilu_parallel) |
Protected Member Functions | |
Preconditioner (int verbosity_) | |
Protected Attributes | |
int | N = 0 |
int | Nb = 0 |
int | nnz = 0 |
int | nnzb = 0 |
int | verbosity = 0 |
std::shared_ptr< cl::Context > | context |
std::shared_ptr< cl::CommandQueue > | queue |
std::vector< cl::Event > | events |
cl_int | err |