diff --git a/stim/cuda/cudatools/error.h b/stim/cuda/cudatools/error.h index a728928..46cf2a9 100644 --- a/stim/cuda/cudatools/error.h +++ b/stim/cuda/cudatools/error.h @@ -15,7 +15,7 @@ static void cuHandleError( cudaError_t err, const char *file, int line ) { } } - +#define HANDLE_ERROR( err ) (cuHandleError( err, __FILE__, __LINE__ )) static void cufftHandleError( cufftResult err, const char*file, int line ) { if (err != CUFFT_SUCCESS) -- libgit2 0.21.4