CUDA_CHECK definition for debug

This commit is contained in:
AlexeyAB
2019-02-03 00:19:04 +03:00
parent 61156239e0
commit 584f840b40
4 changed files with 72 additions and 48 deletions

View File

@ -458,7 +458,7 @@ int main(int argc, char **argv)
#else
if(gpu_index >= 0){
cuda_set_device(gpu_index);
check_error(cudaSetDeviceFlags(cudaDeviceScheduleBlockingSync));
CHECK_CUDA(cudaSetDeviceFlags(cudaDeviceScheduleBlockingSync));
}
#endif