20#ifndef OPM_ROCMMATRIX_HEADER_INCLUDED
21#define OPM_ROCMMATRIX_HEADER_INCLUDED
23#include <hip/hip_runtime_api.h>
25namespace Opm::Accelerator {
27template<
class Scalar>
class Matrix;
28template<
class Scalar>
class BlockedMatrix;
37 void upload(Scalar *
vals,
53 unsigned int block_size;
56template <
typename Scalar>
62 void upload(Scalar *
vals,
This struct resembles a blocked csr matrix, like Dune::BCRSMatrix.
Definition BlockedMatrix.hpp:29
This struct resembles a csr matrix, only doubles are supported The data is stored in contiguous memor...
Definition Matrix.hpp:34
This struct resembles a csr matrix.
Definition rocsparseMatrix.hpp:32
Definition rocsparseMatrix.hpp:57
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242