My Project
|
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 | create_preconditioner (BlockedMatrix< Scalar > *mat)=0 |
virtual bool | create_preconditioner (BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat)=0 |
![]() | |
virtual void | apply (Scalar &y, Scalar &x)=0 |
virtual bool | analyze_matrix (BlockedMatrix< Scalar > *mat)=0 |
virtual bool | analyze_matrix (BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat)=0 |
Static Public Member Functions | |
static std::unique_ptr< openclPreconditioner< Scalar, block_size > > | create (PreconditionerType type, int verbosity, bool opencl_ilu_parallel) |
![]() | |
static std::unique_ptr< Preconditioner > | create (PreconditionerType type, bool opencl_ilu_parallel, int verbosity) |
Protected Member Functions | |
openclPreconditioner (int verbosity_) | |
![]() | |
Preconditioner (int verbosity_) | |
Protected Attributes | |
std::shared_ptr< cl::Context > | context |
std::shared_ptr< cl::CommandQueue > | queue |
std::vector< cl::Event > | events |
cl_int | err |
![]() | |
int | N = 0 |
int | Nb = 0 |
int | nnz = 0 |
int | nnzb = 0 |
int | verbosity = 0 |
|
pure virtual |
|
pure virtual |