mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-18 15:57:05 +01:00
More info dump on error from CUDA
This commit is contained in:
@ -102,6 +102,8 @@ void LambdaApplySIMT(uint64_t Isites, uint64_t Osites, lambda Lambda)
|
||||
cudaError err = cudaGetLastError(); \
|
||||
if ( cudaSuccess != err ) { \
|
||||
printf("Cuda error %s \n", cudaGetErrorString( err )); \
|
||||
puts(__FILE__); \
|
||||
printf("Line %d\n",__LINE__); \
|
||||
exit(0); \
|
||||
} \
|
||||
}
|
||||
|
Reference in New Issue
Block a user