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
be753196
Commit
be753196
authored
Apr 04, 2017
by
Davis King
Browse files
Added cusolver_error class.
parent
7d8d7fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
dlib/dnn/cuda_errors.h
dlib/dnn/cuda_errors.h
+11
-0
No files found.
dlib/dnn/cuda_errors.h
View file @
be753196
...
...
@@ -52,6 +52,17 @@ namespace dlib
cublas_error
(
const
std
::
string
&
message
)
:
cuda_error
(
message
)
{}
};
struct
cusolver_error
:
public
cuda_error
{
/*!
WHAT THIS OBJECT REPRESENTS
This is the exception thrown if any calls to the NVIDIA cuSolver library
returns an error.
!*/
cusolver_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