vt::cuda::CuBLAS#
-
inline void vt::cuda::check_cublas_status(cublasStatus_t status, const std::string &message)#
check the status of the CUBLAS library.
- Parameters:
status – The status of the CUBLAS library.
message – The message to be displayed if the status is not CUBLAS_STATUS_SUCCESS.
- Throws:
std::runtime_error – If the status is not CUBLAS_STATUS_SUCCESS.
-
inline CuBLASHandleT vt::cuda::create_cublas_handle()#
Create a CuBLAS unique pointer handle.
- Returns:
CuBLASHandleT: The CuBLAS unique pointer handle.
-
class CuBLAS#
Public Functions
-
static CuBLAS &vt::cuda::cublas = CuBLAS::get_instance()#