 |
pulsatrix
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
10#include <hip/hip_runtime.h>
28#define PULSATRIX_HIP_CHECK(call) \
30 hipError_t pulsatrix_hip_check_result = (call); \
31 if (pulsatrix_hip_check_result != hipSuccess) { \
32 throw std::runtime_error(std::string("HIP error: ") + \
33 hipGetErrorString(pulsatrix_hip_check_result) + " at " __FILE__ + \
34 ":" + std::to_string(__LINE__)); \