CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
Public Member Functions | List of all members
CLRX::CLError Class Reference

error class based on std::exception More...

#include <CLHelper.h>

Inheritance diagram for CLRX::CLError:
CLRX::Exception

Public Member Functions

 CLError (const char *_description)
 constructor with description
 
 CLError (cl_int _error, const char *_description)
 constructor with description and OpenCL error
 
virtual ~CLError () noexcept
 destructor
 
const char * what () const noexcept
 get what
 
int code () const
 get OpenCL error code
 
- Public Member Functions inherited from CLRX::Exception
 Exception ()=default
 empty constructor
 
 Exception (const std::string &message)
 constructor with messasge
 
virtual ~Exception () noexcept=default
 destructor
 
const char * what () const noexcept
 get exception message
 

Additional Inherited Members

- Protected Attributes inherited from CLRX::Exception
std::string message
 message
 

Detailed Description

error class based on std::exception


The documentation for this class was generated from the following file: