|
pulsatrix
|
PULSATRIX_HIP_CHECK – converts a HIP runtime failure into a thrown C++ exception at the DeviceBackend boundary, per gpu_backend_programming/context_gpu_cuda_kernel_mechanics.md's Error Checking pattern. Only compiled when PULSATRIX_ENABLE_HIP is set. More...
#include <hip/hip_runtime.h>#include <stdexcept>#include <string>
Go to the source code of this file.
Macros | |
| #define | PULSATRIX_HIP_CHECK(call) |
| Checks a HIP runtime call's hipError_t result; throws std::runtime_error with the HIP error string and source location if it did not succeed. | |
PULSATRIX_HIP_CHECK – converts a HIP runtime failure into a thrown C++ exception at the DeviceBackend boundary, per gpu_backend_programming/context_gpu_cuda_kernel_mechanics.md's Error Checking pattern. Only compiled when PULSATRIX_ENABLE_HIP is set.
| #define PULSATRIX_HIP_CHECK | ( | call | ) |
Checks a HIP runtime call's hipError_t result; throws std::runtime_error with the HIP error string and source location if it did not succeed.