Commit 3559f785 authored by Davis King's avatar Davis King

Improved cudnn error messages.

parent d1796934
...@@ -22,6 +22,10 @@ static const char* cudnn_get_error_string(cudnnStatus_t s) ...@@ -22,6 +22,10 @@ static const char* cudnn_get_error_string(cudnnStatus_t s)
return "CUDA Resources could not be allocated."; return "CUDA Resources could not be allocated.";
case CUDNN_STATUS_BAD_PARAM: case CUDNN_STATUS_BAD_PARAM:
return "CUDNN_STATUS_BAD_PARAM"; return "CUDNN_STATUS_BAD_PARAM";
case CUDNN_STATUS_EXECUTION_FAILED:
return "CUDNN_STATUS_EXECUTION_FAILED";
case CUDNN_STATUS_NOT_SUPPORTED:
return "CUDNN_STATUS_NOT_SUPPORTED";
default: default:
return "A call to cuDNN failed"; return "A call to cuDNN failed";
} }
......
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