17#ifndef OPM_IS_GPU_OPERATOR_HEADER
18#define OPM_IS_GPU_OPERATOR_HEADER
25#include <opm/simulators/linalg/gpuistl_hip/GpuVector.hpp>
46 static constexpr bool value
47 = std::is_same_v<typename T::domain_type, Opm::gpuistl::GpuVector<typename T::field_type>>;
50 static constexpr bool value =
false;
71 static constexpr bool value
72 = std::is_same_v<T, Opm::gpuistl::GpuSparseMatrix<typename T::field_type>>
73 || std::is_same_v<T, Opm::gpuistl::GpuSparseMatrixWrapper<typename T::field_type>>
74 || std::is_same_v<T, Opm::gpuistl::GpuSparseMatrixWrapper<typename T::field_type, true>>
75 || std::is_same_v<T, Opm::gpuistl::GpuSparseMatrixGeneric<typename T::field_type>>;
78 static constexpr bool value =
false;
Definition: blackoilbioeffectsmodules.hh:45
static constexpr bool is_gpu_matrix_v
Definition: is_gpu_operator.hpp:83
static constexpr bool is_gpu_operator_v
Definition: is_gpu_operator.hpp:55
Check if a given operator is a GPU matrix.
Definition: is_gpu_operator.hpp:68
static constexpr bool value
Definition: is_gpu_operator.hpp:78
Check if a given operator is a GPU operator.
Definition: is_gpu_operator.hpp:42
static constexpr bool value
Definition: is_gpu_operator.hpp:50