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
fe8b99f1
Commit
fe8b99f1
authored
Oct 20, 2015
by
Davis King
Browse files
Added comments
parent
99ec66b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
dlib/dnn/cuda_errors.h
dlib/dnn/cuda_errors.h
+13
-0
No files found.
dlib/dnn/cuda_errors.h
View file @
fe8b99f1
...
...
@@ -10,11 +10,24 @@ namespace dlib
{
struct
cuda_error
:
public
error
{
/*!
WHAT THIS OBJECT REPRESENTS
This is the exception thrown if any calls to the NVIDIA CUDA runtime
returns an error.
!*/
cuda_error
(
const
std
::
string
&
message
)
:
error
(
message
)
{}
};
struct
cudnn_error
:
public
cuda_error
{
/*!
WHAT THIS OBJECT REPRESENTS
This is the exception thrown if any calls to the NVIDIA cuDNN library
returns an error.
!*/
cudnn_error
(
const
std
::
string
&
message
)
:
cuda_error
(
message
)
{}
};
}
...
...
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