19 #ifndef CUSPARSERESOURCE_HPP 20 #define CUSPARSERESOURCE_HPP 24 #include <type_traits> 57 using CreatorType =
typename std::function<cusparseStatus_t(T*)>;
58 using DeleterType =
typename std::function<cusparseStatus_t(T)>;
94 DeleterType m_deleter;
98 #include <opm/simulators/linalg/gpuistl/detail/CuSparseResource_impl.hpp> 99 #endif // CUSPARSERESOURCE_HPP ~CuSparseResource()
Calls the deleter functor.
Definition: CuSparseResource_impl.hpp:104
CuSparseResource()
CuSparseResource will automatically select the proper creator and deleter based on the type (and thro...
Definition: CuSparseResource_impl.hpp:91
The CuSparseResource class wraps a CuSparse resource in a proper RAII pattern.
Definition: CuSparseResource.hpp:54
Contains wrappers to make the CuBLAS library behave as a modern C++ library with function overlading...
Definition: autotuner.hpp:29