|
virtual void | apply (Scalar &y, Scalar &x)=0 |
|
virtual bool | create_preconditioner (BlockedMatrix< Scalar > *mat)=0 |
|
virtual bool | create_preconditioner (BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat)=0 |
|
virtual bool | initialize (std::shared_ptr< BlockedMatrix< Scalar > > matrix, std::shared_ptr< BlockedMatrix< Scalar > > jacMatrix, rocsparse_int *d_Arows, rocsparse_int *d_Acols)=0 |
|
virtual void | copy_system_to_gpu (Scalar *b)=0 |
|
virtual void | update_system_on_gpu (Scalar *b)=0 |
| Update linear system to GPU.
|
|
void | set_matrix_analysis (rocsparse_mat_descr descr_L, rocsparse_mat_descr descr_U) |
|
void | set_context (rocsparse_handle handle, rocsparse_direction dir, rocsparse_operation operation, hipStream_t stream) |
|
void | setJacMat (const BlockedMatrix< Scalar > &jacMat) |
|
virtual bool | analyze_matrix (BlockedMatrix< Scalar > *mat)=0 |
|
virtual bool | analyze_matrix (BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat)=0 |
|
|
static std::unique_ptr< rocsparsePreconditioner< Scalar, block_size > > | create (PreconditionerType type, int verbosity) |
|
static std::unique_ptr< Preconditioner > | create (PreconditionerType type, bool opencl_ilu_parallel, int verbosity) |
|
|
int | nnzbs_prec = 0 |
|
bool | useJacMatrix = false |
|
std::shared_ptr< BlockedMatrix< Scalar > > | jacMat {} |
|
|
| rocsparsePreconditioner (int verbosity_) |
|
| Preconditioner (int verbosity_) |
|
|
rocsparse_handle | handle |
|
rocsparse_direction | dir = rocsparse_direction_row |
|
rocsparse_operation | operation = rocsparse_operation_none |
|
rocsparse_mat_descr | descr_L |
|
rocsparse_mat_descr | descr_U |
|
hipStream_t | stream |
|
int | N = 0 |
|
int | Nb = 0 |
|
int | nnz = 0 |
|
int | nnzb = 0 |
|
int | verbosity = 0 |
|
◆ apply()
template<class Scalar , unsigned int block_size>
◆ copy_system_to_gpu()
template<class Scalar , unsigned int block_size>
◆ create_preconditioner() [1/2]
template<class Scalar , unsigned int block_size>
◆ create_preconditioner() [2/2]
template<class Scalar , unsigned int block_size>
◆ initialize()
template<class Scalar , unsigned int block_size>
◆ update_system_on_gpu()
template<class Scalar , unsigned int block_size>
The documentation for this class was generated from the following files: