Skip to content
Snippets Groups Projects
Unverified Commit dd51ce2f authored by Recolic Keghart's avatar Recolic Keghart
Browse files

sync

parent 18d41225
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ namespace rlib { ...@@ -8,7 +8,7 @@ namespace rlib {
} }
__device__ bool dev_cuda_assert(cudaError_t err) { __device__ bool dev_cuda_assert(cudaError_t err) {
if(err != cudaError::cudaSuccess) { if(err != cudaError::cudaSuccess) {
printf("FUCK! CUDA runtime error: %d", err); printf("FUCK! CUDA runtime error: %d, %s\n", err, cudaGetErrorString(err));
return false; return false;
} }
return true; return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment