303 #if defined(__APPLE__) || defined(__MACOSX) 304 #include <OpenCL/cl.h> 311 #ifdef CLRNG_SINGLE_PRECISION 312 #define _CLRNG_FPTYPE cl_float 314 #define _CLRNG_FPTYPE cl_double 316 #define _CLRNG_TAG_FPTYPE(name) _CLRNG_TAG_FPTYPE_(name,_CLRNG_FPTYPE) 317 #define _CLRNG_TAG_FPTYPE_(name,fptype) _CLRNG_TAG_FPTYPE__(name,fptype) 318 #define _CLRNG_TAG_FPTYPE__(name,fptype) name##_##fptype 323 #if defined( _WIN32 ) 324 #define CLRNGAPI __declspec( dllexport ) enum clrngStatus_ clrngStatus
Error codes.
CLRNGAPI const char * clrngGetLibraryDeviceIncludes(cl_int *err)
Generate an include option string for use with the OpenCL C compiler.
Definition: clRNG.c:87
clrngStatus_
Error codes.
Definition: clRNG.h:342
#define CLRNGAPI
Definition: clRNG.h:326
CLRNGAPI const char * clrngGetErrorString()
Retrieve the last error message.
Definition: clRNG.c:53
CLRNGAPI const char * clrngGetLibraryRoot()
Retrieve the library installation path.
Definition: clRNG.c:63