20#ifndef OPM_OPENCLMATRIX_HEADER_INCLUDED
21#define OPM_OPENCLMATRIX_HEADER_INCLUDED
25#include <opm/simulators/linalg/gpubridge/opencl/opencl.hpp>
32template<
class Scalar>
class Matrix;
33template<
class Scalar>
class BlockedMatrix;
48 sizeof(Scalar) * block_size * block_size * nnzbs);
53 void upload(cl::CommandQueue* queue, Scalar*
vals,
int* cols,
int* rows);
58 cl::Buffer colIndices;
59 cl::Buffer rowPointers;
62 unsigned int block_size;
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, only doubles are supported The matrix data is stored in OpenCL Bu...
Definition OpenclMatrix.hpp:39
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242