Commit c154fcdc by Tianqi Chen Committed by GitHub

[RUNTIME/CUDA] Allow save exit when driver unload (#122)

parent f364d563
......@@ -19,7 +19,7 @@ namespace runtime {
#define CUDA_DRIVER_CALL(x) \
{ \
CUresult result = x; \
if (result != CUDA_SUCCESS) { \
if (result != CUDA_SUCCESS && result != CUDA_ERROR_DEINITIALIZED) { \
const char *msg; \
cuGetErrorName(result, &msg); \
LOG(FATAL) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment