Improved cudnn error messages.

This commit is contained in:
Davis King 2016-10-26 09:06:05 -04:00
parent 33af52d23a
commit fa8b3767bf
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ static const char* cudnn_get_error_string(cudnnStatus_t s)
return "CUDNN_STATUS_EXECUTION_FAILED";
case CUDNN_STATUS_NOT_SUPPORTED:
return "CUDNN_STATUS_NOT_SUPPORTED";
case CUDNN_STATUS_ARCH_MISMATCH:
return "CUDNN_STATUS_ARCH_MISMATCH: Your GPU is too old and not supported by cuDNN";
default:
return "A call to cuDNN failed";
}