mirror of https://github.com/davisking/dlib.git
Improved cudnn error messages.
This commit is contained in:
parent
33af52d23a
commit
fa8b3767bf
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue