Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
3559f785
Commit
3559f785
authored
Dec 08, 2015
by
Davis King
Browse files
Improved cudnn error messages.
parent
d1796934
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/dnn/cudnn_dlibapi.cpp
dlib/dnn/cudnn_dlibapi.cpp
+4
-0
No files found.
dlib/dnn/cudnn_dlibapi.cpp
View file @
3559f785
...
@@ -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"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment