17#ifndef OPM_IS_GPU_OPERATOR_HEADER
18#define OPM_IS_GPU_OPERATOR_HEADER
42 static constexpr bool value
43 = std::is_same_v<typename T::domain_type, Opm::gpuistl::GpuVector<typename T::field_type>>;
46 static constexpr bool value =
false;
67 static constexpr bool value
68 = std::is_same_v<T, Opm::gpuistl::GpuSparseMatrix<typename T::field_type>>
69 || std::is_same_v<T, Opm::gpuistl::GpuSparseMatrixWrapper<typename T::field_type>>
70 || std::is_same_v<T, Opm::gpuistl::GpuSparseMatrixGeneric<typename T::field_type>>;
73 static constexpr bool value =
false;
Definition: blackoilbioeffectsmodules.hh:43
static constexpr bool is_gpu_matrix_v
Definition: is_gpu_operator.hpp:78
static constexpr bool is_gpu_operator_v
Definition: is_gpu_operator.hpp:51
Check if a given operator is a GPU matrix.
Definition: is_gpu_operator.hpp:64
static constexpr bool value
Definition: is_gpu_operator.hpp:73
Check if a given operator is a GPU operator.
Definition: is_gpu_operator.hpp:38
static constexpr bool value
Definition: is_gpu_operator.hpp:46