Ginkgo
Generated from pipelines/1589998975 branch based on develop. Ginkgo version 1.10.0
A numerical linear algebra library targeting many-core architectures
|
A LinOp implementing this interface can read its data from a matrix_data structure. More...
#include <ginkgo/core/base/lin_op.hpp>
Public Types | |
using | value_type = ValueType |
using | index_type = IndexType |
Public Member Functions | |
virtual void | read (const matrix_data< ValueType, IndexType > &data)=0 |
Reads a matrix from a matrix_data structure. More... | |
void | read (const matrix_assembly_data< ValueType, IndexType > &data) |
Reads a matrix from a matrix_assembly_data structure. More... | |
virtual void | read (const device_matrix_data< ValueType, IndexType > &data) |
Reads a matrix from a device_matrix_data structure. More... | |
virtual void | read (device_matrix_data< ValueType, IndexType > &&data) |
Reads a matrix from a device_matrix_data structure. More... | |
A LinOp implementing this interface can read its data from a matrix_data structure.
|
inlinevirtual |
Reads a matrix from a device_matrix_data structure.
data | the device_matrix_data structure. |
Reimplemented in gko::matrix::Csr< ValueType, IndexType >, gko::matrix::Hybrid< ValueType, IndexType >, gko::matrix::Fbcsr< ValueType, IndexType >, gko::matrix::Ell< ValueType, IndexType >, gko::matrix::Coo< ValueType, IndexType >, gko::matrix::Sellp< ValueType, IndexType >, and gko::matrix::SparsityCsr< ValueType, IndexType >.
|
inline |
Reads a matrix from a matrix_assembly_data structure.
data | the matrix_assembly_data structure |
|
pure virtual |
Reads a matrix from a matrix_data structure.
data | the matrix_data structure |
Implemented in gko::matrix::Csr< ValueType, IndexType >, gko::matrix::Hybrid< ValueType, IndexType >, gko::matrix::Fbcsr< ValueType, IndexType >, gko::matrix::Ell< ValueType, IndexType >, gko::matrix::Coo< ValueType, IndexType >, gko::matrix::Sellp< ValueType, IndexType >, and gko::matrix::SparsityCsr< ValueType, IndexType >.
|
inlinevirtual |
Reads a matrix from a device_matrix_data structure.
The structure may be emptied by this function.
data | the device_matrix_data structure. |
Reimplemented in gko::matrix::Csr< ValueType, IndexType >, gko::matrix::Hybrid< ValueType, IndexType >, gko::matrix::Fbcsr< ValueType, IndexType >, gko::matrix::Ell< ValueType, IndexType >, gko::matrix::Coo< ValueType, IndexType >, gko::matrix::Sellp< ValueType, IndexType >, and gko::matrix::SparsityCsr< ValueType, IndexType >.