Contains OpenCL::Exception class. More...
Go to the source code of this file.
Classes | |
struct | OpenCL::Exception |
OpenCL exception class. More... |
Namespaces | |
namespace | OpenCL |
Contains State, Program, Converter and Exception classes. |
Macros | |
#define | OPENCL_EXCEPTION_H |
#define | THROW_OPENCL_EXCEPTION(what, result) throw ::OpenCL::Exception( __FILE__, __LINE__, ( what ), ( result ) ) |
Throws an OpenCL::Exception labeled with the file, line, string what and OpenCL error code hResult . | |
#define | CHECK_OPENCL(what) |
Evaluates what , and if it returns an OpenCL failure code, throws an OpenCL::Exception. |
Contains OpenCL::Exception class.
Definition in file opencl_exception.h.
#define CHECK_OPENCL | ( | what | ) |
Evaluates what
, and if it returns an OpenCL failure code, throws an OpenCL::Exception.
Definition at line 44 of file opencl_exception.h.