![]() |
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::Ell to be used inside device kernels. More...
#include <ginkgo/core/matrix/device_views.hpp>
Public Member Functions | |
| constexpr | ell (dim< 2 > size, size_type num_stored_elements_per_row, size_type stride, ValueType *values, IndexType *col_idxs) |
| Constructs a ell view. | |
| constexpr ell< const ValueType, const IndexType > | as_const () const |
| Returns a const view of the same values. | |
| constexpr ValueType & | val_at (size_type row, size_type idx) const |
| accessing the value of the idx-th element within the given row | |
| constexpr IndexType & | col_at (size_type row, size_type idx) const |
| accessing the column index of the idx-th element within the given row | |
Public Attributes | |
| dim< 2 > | size |
| size_type | num_stored_elements_per_row |
| size_type | stride |
| ValueType * | values |
| IndexType * | col_idxs |
Non-owning view of a matrix::Ell 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 values. |
| IndexType | the index type used to store matrix columns. |
1.8.16