![]() |
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::Dense to be used inside device kernels. More...
#include <ginkgo/core/matrix/device_views.hpp>
Public Member Functions | |
| constexpr | dense (dim< 2 > size, size_type stride, ValueType *values) |
| Constructs a dense view from size, stride and values. | |
| constexpr dense< const ValueType > | as_const () const |
| Returns a const view of the same values. | |
| constexpr ValueType & | operator() (size_type row, size_type col) const |
| Subscript operator accessing the given row and column. | |
Public Attributes | |
| dim< 2 > | size |
| size_type | stride |
| ValueType * | values |
Non-owning view of a matrix::Dense to be used inside device kernels.
This type is used to provide a simple and stable ABI for passing data between libraries. The data is stored in row-major order.
| ValueType | the value type used to store matrix entries. |
1.8.16