19#ifndef OPM_CUBLASHANDLE_HPP
20#define OPM_CUBLASHANDLE_HPP
45 CuBlasHandle(
const CuBlasHandle&) =
delete;
46 CuBlasHandle& operator=(
const CuBlasHandle&) =
delete;
65 cublasHandle_t m_handle;
static CuBlasHandle & getInstance()
getInstance creates (if necessary) and returns the single unique instance of CuBlasHandle (singleton)
Definition CuBlasHandle.cpp:43
~CuBlasHandle()
Calls cublasDestroy() on the handle.
Definition CuBlasHandle.cpp:31
cublasHandle_t get()
get returns the underlying cuBlas handle (to be used in calls to cublas)
Definition CuBlasHandle.cpp:37
Contains wrappers to make the CuBLAS library behave as a modern C++ library with function overlading.
Definition autotuner.hpp:30