Commit a8d6edd6679e55b192cb48e5ec63c8007d4f7e36

Authored by Mahsa Lotfollahi
1 parent e0d97500

added the definition of handle error, which was accidentally removed in previous commit

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
stim/cuda/cudatools/error.h
... ... @@ -15,7 +15,7 @@ static void cuHandleError( cudaError_t err, const char *file, int line ) {
15 15  
16 16 }
17 17 }
18   -
  18 +#define HANDLE_ERROR( err ) (cuHandleError( err, __FILE__, __LINE__ ))
19 19 static void cufftHandleError( cufftResult err, const char*file, int line )
20 20 {
21 21 if (err != CUFFT_SUCCESS)
... ...