Public Member Functions | |
template<typename... Args> | |
auto | with_l_strategy (Args &&... _value) -> std::decay_t< decltype(*(this->self()))> & |
template<typename... Args> | |
auto | with_u_strategy (Args &&... _value) -> std::decay_t< decltype(*(this->self()))> & |
template<typename... Args> | |
auto | with_skip_sorting (Args &&... _value) -> std::decay_t< decltype(*(this->self()))> & |
template<typename... Args> | |
auto | with_algorithm (Args &&... _value) -> std::decay_t< decltype(*(this->self()))> & |
![]() | |
parameters_type & | with_loggers (Args &&... _value) |
Provides the loggers to be added to the factory and its generated objects in a fluent interface. | |
std::unique_ptr< Factory > | on (std::shared_ptr< const Executor > exec) const |
Creates a new factory on the specified executor. | |
Public Attributes | |
std::shared_ptr< typename matrix_type::strategy_type > | l_strategy {nullptr} |
Strategy which will be used by the L matrix. | |
std::shared_ptr< typename matrix_type::strategy_type > | u_strategy {nullptr} |
Strategy which will be used by the U matrix. | |
bool | skip_sorting {false} |
The system_matrix , which will be given to this factory, must be sorted (first by row, then by column) in order for the algorithm to work. | |
incomplete_algorithm | algorithm {incomplete_algorithm::sparselib} |
Select the implementation which is supposed to be used for the incomplete factorization. | |
Additional Inherited Members | |
![]() | |
using | factory |
incomplete_algorithm gko::factorization::Ilu< ValueType, IndexType >::parameters_type::algorithm {incomplete_algorithm::sparselib} |
Select the implementation which is supposed to be used for the incomplete factorization.
This only matters for the CUDA and HIP executor where the choice is between the Ginkgo (syncfree) and the cuSPARSE/hipSPARSE/reference (sparselib) implementation. Default is sparselib.
std::shared_ptr<typename matrix_type::strategy_type> gko::factorization::Ilu< ValueType, IndexType >::parameters_type::l_strategy {nullptr} |
Strategy which will be used by the L matrix.
The default value nullptr
will result in the strategy classical
.
bool gko::factorization::Ilu< ValueType, IndexType >::parameters_type::skip_sorting {false} |
The system_matrix
, which will be given to this factory, must be sorted (first by row, then by column) in order for the algorithm to work.
If it is known that the matrix will be sorted, this parameter can be set to true
to skip the sorting (therefore, shortening the runtime). However, if it is unknown or if the matrix is known to be not sorted, it must remain false
, otherwise, this factorization might be incorrect.
std::shared_ptr<typename matrix_type::strategy_type> gko::factorization::Ilu< ValueType, IndexType >::parameters_type::u_strategy {nullptr} |
Strategy which will be used by the U matrix.
The default value nullptr
will result in the strategy classical
.