![]() |
Ginkgo
Generated from pipelines/2118098289 branch based on develop. Ginkgo version 1.11.0
A numerical linear algebra library targeting many-core architectures
|
sparselib is a strategy_type which uses the sparselib csr. More...
#include <ginkgo/core/matrix/csr.hpp>
Public Member Functions | |
| sparselib () | |
| Creates a sparselib strategy. | |
| void | process (const array< index_type > &mtx_row_ptrs, array< index_type > *mtx_srow) override |
| Computes srow according to row pointers. More... | |
| int64_t | clac_size (const int64_t nnz) override |
| Computes the srow size according to the number of nonzeros. More... | |
| std::shared_ptr< strategy_type > | copy () override |
| Copy a strategy. More... | |
Public Member Functions inherited from gko::matrix::Csr< ValueType, IndexType >::strategy_type | |
| strategy_type (std::string name) | |
| Creates a strategy_type. More... | |
| std::string | get_name () |
| Returns the name of strategy. More... | |
sparselib is a strategy_type which uses the sparselib csr.
|
inlineoverridevirtual |
Computes the srow size according to the number of nonzeros.
| nnz | the number of nonzeros |
Implements gko::matrix::Csr< ValueType, IndexType >::strategy_type.
|
inlineoverridevirtual |
Copy a strategy.
This is a workaround until strategies are revamped, since strategies like automatical do not work when actually shared.
Implements gko::matrix::Csr< ValueType, IndexType >::strategy_type.
|
inlineoverridevirtual |
Computes srow according to row pointers.
| mtx_row_ptrs | the row pointers of the matrix |
| mtx_srow | the srow of the matrix |
Implements gko::matrix::Csr< ValueType, IndexType >::strategy_type.
1.8.16