|
pulsatrix
|
PULSATRIX_CUBLAS_CHECK – converts a cuBLAS call failure into a thrown C++ exception, parallel to PULSATRIX_CUDA_CHECK (cuda_check.hpp). Only compiled when PULSATRIX_ENABLE_CUDA is set. More...
#include <cublas_v2.h>#include <stdexcept>#include <string>
Go to the source code of this file.
Macros | |
| #define | PULSATRIX_CUBLAS_CHECK(call) |
| Checks a cuBLAS call's cublasStatus_t result; throws std::runtime_error with the cuBLAS status string and source location if it did not succeed. | |
PULSATRIX_CUBLAS_CHECK – converts a cuBLAS call failure into a thrown C++ exception, parallel to PULSATRIX_CUDA_CHECK (cuda_check.hpp). Only compiled when PULSATRIX_ENABLE_CUDA is set.
| #define PULSATRIX_CUBLAS_CHECK | ( | call | ) |
Checks a cuBLAS call's cublasStatus_t result; throws std::runtime_error with the cuBLAS status string and source location if it did not succeed.