mirror of https://github.com/davisking/dlib.git
Added comments
This commit is contained in:
parent
99ec66b82c
commit
fe8b99f1a8
|
@ -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) {}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue