|
pulsatrix
|
PULSATRIX_HIPBLAS_CHECK – converts a hipBLAS call failure into a thrown C++ exception, parallel to PULSATRIX_HIP_CHECK (hip_check.hpp). Only compiled when PULSATRIX_ENABLE_HIP is set. More...
#include <hipblas/hipblas.h>#include <stdexcept>#include <string>
Go to the source code of this file.
Macros | |
| #define | PULSATRIX_HIPBLAS_CHECK(call) |
| Checks a hipBLAS call's hipblasStatus_t result; throws std::runtime_error with the hipBLAS status string and source location if it did not succeed. | |
PULSATRIX_HIPBLAS_CHECK – converts a hipBLAS call failure into a thrown C++ exception, parallel to PULSATRIX_HIP_CHECK (hip_check.hpp). Only compiled when PULSATRIX_ENABLE_HIP is set.
| #define PULSATRIX_HIPBLAS_CHECK | ( | call | ) |
Checks a hipBLAS call's hipblasStatus_t result; throws std::runtime_error with the hipBLAS status string and source location if it did not succeed.
cublasGetStatusString has no same-named HIP counterpart – hipify-perl --examine reported it as the single "unsupported HIP identifier" across all four Phase 1.5 CUDA sources. hipBLAS provides the equivalent under a different name, hipblasStatusToString (hipblas.h: "Returns string representing hipblasStatus_t
value"), so no error-reporting fidelity is lost relative to PULSATRIX_CUBLAS_CHECK.