 |
pulsatrix
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
10#include <cuda_runtime.h>
24#define PULSATRIX_CUDA_CHECK(call) \
26 cudaError_t pulsatrix_cuda_check_result = (call); \
27 if (pulsatrix_cuda_check_result != cudaSuccess) { \
28 throw std::runtime_error(std::string("CUDA error: ") + \
29 cudaGetErrorString(pulsatrix_cuda_check_result) + " at " __FILE__ + \
30 ":" + std::to_string(__LINE__)); \