vSMC
vSMC: Scalable Monte Carlo
|
OpenCL exception. More...
#include <vsmc/opencl/cl_error.hpp>
Public Member Functions | |
CLError () | |
CLError (cl_int status) | |
CLError (const ::cl::Error &err) | |
CLError (cl_int status, const char *msg) | |
CLError (cl_int status, const std::string &msg) | |
cl_int | err () const |
cl_int | status () const |
OpenCL exception.
This exception class differs from cl::Error
mostly in that the error string is appended by the macro name of the error code. Therefore, when calling what
, one might saw clKernelSetArg:CL_INVALID_MEM_OBJECT
etc., instead of simply clKernelSetArg
.
Definition at line 137 of file cl_error.hpp.
|
inline |
Definition at line 141 of file cl_error.hpp.
|
inlineexplicit |
Definition at line 145 of file cl_error.hpp.
|
inlineexplicit |
Definition at line 149 of file cl_error.hpp.
|
inline |
Definition at line 153 of file cl_error.hpp.
|
inline |
Definition at line 157 of file cl_error.hpp.
|
inline |
Definition at line 161 of file cl_error.hpp.
|
inline |
Definition at line 163 of file cl_error.hpp.