![]() |
Ginkgo
Generated from pipelines/2406079695 branch based on develop. Ginkgo version 1.12.0
A numerical linear algebra library targeting many-core architectures
|
Non-owning view of a matrix::Coo to be used inside device kernels. More...
#include <ginkgo/core/matrix/device_views.hpp>
Public Member Functions | |
| constexpr | coo (dim< 2 > size, size_type num_stored_elements, ValueType *values, IndexType *row_idxs, IndexType *col_idxs) |
| Constructs a coo view from size, nnz, values, row and column indices. | |
| constexpr coo< const ValueType, const IndexType > | as_const () const |
| Returns a const view of the same data. | |
Public Attributes | |
| dim< 2 > | size |
| size_type | num_stored_elements |
| ValueType * | values |
| IndexType * | row_idxs |
| IndexType * | col_idxs |
Non-owning view of a matrix::Coo to be used inside device kernels.
This type is used to provide a simple and stable ABI for passing data between libraries.
| ValueType | the value type used to store matrix entries. |
| IndexType | the index type used to store row and column indices. |
1.8.16