From a8d6edd6679e55b192cb48e5ec63c8007d4f7e36 Mon Sep 17 00:00:00 2001 From: mahsa Date: Thu, 25 May 2017 11:14:19 -0500 Subject: [PATCH] added the definition of handle error, which was accidentally removed in previous commit --- stim/cuda/cudatools/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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