19#ifndef OPM_CUBLASHANDLE_HPP
20#define OPM_CUBLASHANDLE_HPP
65 cublasHandle_t m_handle;
The CuBlasHandle class provides a singleton for the simulator universal cuBlasHandle.
Definition CuBlasHandle.hpp:42
cublasHandle_t get()
get returns the underlying cuBlas handle (to be used in calls to cublas)
Definition CuBlasHandle.cpp:37
~CuBlasHandle()
Calls cublasDestroy() on the handle.
Definition CuBlasHandle.cpp:31
static CuBlasHandle & getInstance()
getInstance creates (if necessary) and returns the single unique instance of CuBlasHandle (singleton)
Definition CuBlasHandle.cpp:43
Contains wrappers to make the CuBLAS library behave as a modern C++ library with function overlading.
Definition cublas_safe_call.hpp:32