![]() |
Ginkgo
Generated from remotes/origin/develop 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 *data) |
| Constructs a dense view from size, stride and data. | |
| constexpr dense< const ValueType > | as_const () const |
| Returns a const view of the same data. | |
| 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 * | data |
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.
| ValueType | the value type used to store matrix entries. |
1.8.16