815 #ifdef CLPROBDIST_SINGLE_PRECISION
816 #error "CLPROBDIST_SINGLE_PRECISION option not yet implemented"
819 #if defined(__APPLE__) || defined(__MACOSX)
820 #include <OpenCL/cl.h>
825 #if defined ( WIN32 )
826 #define __func__ __FUNCTION__
829 #define constant const
843 typedef enum clprobdistStatus_ {
844 CLPROBDIST_SUCCESS = CL_SUCCESS,
845 CLPROBDIST_OUT_OF_RESOURCES = CL_OUT_OF_RESOURCES,
846 CLPROBDIST_INVALID_VALUE = CL_INVALID_VALUE,
848 CLPROBDIST_FUNCTION_NOT_IMPLEMENTED,
849 CLPROBDIST_ABSTRACT_FUNCTION
enum clprobdistStatus_ clprobdistStatus
Error codes.
const char * clprobdistGetLibraryRoot()
Retrieve the library installation path.
const char * clprobdistGetLibraryDeviceIncludes(cl_int *err)
Generate an include option string for use with the OpenCL C compiler.
const char * clprobdistGetErrorString()
Retrieve the last error message.