ViennaCL - The Vienna Computing Library
1.5.2
|
An error reporting class. Template argument is used to avoid problems with external linkage. More...
#include <error.hpp>
Static Public Member Functions | |
static void | raise_exception (cl_int err) |
Trows exceptions that reflect OpenCL error codes. More... | |
static void | checkError (cl_int err, const char *, const char *, int) |
Checks whether an OpenCL error has occured. More... | |
An error reporting class. Template argument is used to avoid problems with external linkage.
Do not use this class directly, use the macro CL_ERROR_CHECK instead.
T | Useless. Helps to avoid troubles with external linkage of namespace functions. |
|
inlinestatic |
Checks whether an OpenCL error has occured.
Do not use this function directly, use the macro CL_ERROR_CHECK instead.
|
inlinestatic |
Trows exceptions that reflect OpenCL error codes.