271 #if defined(__APPLE__) || defined(__MACOSX)
272 #include <OpenCL/cl.h>
279 #ifdef CLRNG_SINGLE_PRECISION
280 #define _CLRNG_FPTYPE cl_float
282 #define _CLRNG_FPTYPE cl_double
284 #define _CLRNG_TAG_FPTYPE(name) _CLRNG_TAG_FPTYPE_(name,_CLRNG_FPTYPE)
285 #define _CLRNG_TAG_FPTYPE_(name,fptype) _CLRNG_TAG_FPTYPE__(name,fptype)
286 #define _CLRNG_TAG_FPTYPE__(name,fptype) name##_##fptype
305 CLRNG_SUCCESS = CL_SUCCESS,
306 CLRNG_OUT_OF_RESOURCES = CL_OUT_OF_RESOURCES,
307 CLRNG_INVALID_VALUE = CL_INVALID_VALUE,
309 CLRNG_INVALID_RNG_TYPE,
310 CLRNG_INVALID_STREAM_CREATOR,
312 CLRNG_FUNCTION_NOT_IMPLEMENTED
enum clrngStatus_ clrngStatus
Error codes.
clrngStatus_
Error codes.
Definition: clRNG.h:304
const char * clrngGetLibraryDeviceIncludes(cl_int *err)
Generate an include option string for use with the OpenCL C compiler.
const char * clrngGetErrorString()
Retrieve the last error message.
const char * clrngGetLibraryRoot()
Retrieve the library installation path.