You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clBuildProgram has failed
In file included from :2:
In file included from /Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/mrg31k3p.clh:44:
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/clRNG.clh:57:9: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
typedef double cl_double;
^
In file included from :2:
In file included from /Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/mrg31k3p.clh:155:
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:181:1: warning: double precision constant requires cl_khr_fp64, casting to single precision
IMPLEMENT_GENERATE_FOR_TYPE(cl_float)
^
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:151:56: note: expanded from macro 'IMPLEMENT_GENERATE_FOR_TYPE'
return clrngMrg31k3pNextState(&stream->current) * mrg31k3p_NORM_##fptype;
^
:11:1: note: expanded from macro 'mrg31k3p_NORM_'
mrg31k3p_NORM_cl_float
^
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:50:33: note: expanded from macro 'mrg31k3p_NORM_cl_float'
define mrg31k3p_NORM_cl_float 4.6566126e-10
^
The text was updated successfully, but these errors were encountered:
C02QH2D7G8WM:opencl userone$ g++ clrng1.cpp -o clrng1 -lclrng -framework OpenCL
C02QH2D7G8WM:opencl userone$ ./clrng1
clBuildProgram has failed
In file included from :2:
In file included from /Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/mrg31k3p.clh:44:
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/clRNG.clh:57:9: error: use of type 'double' requires cl_khr_fp64 extension to be enabled
typedef double cl_double;
^
In file included from :2:
In file included from /Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/mrg31k3p.clh:155:
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:181:1: warning: double precision constant requires cl_khr_fp64, casting to single precision
IMPLEMENT_GENERATE_FOR_TYPE(cl_float)
^
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:151:56: note: expanded from macro 'IMPLEMENT_GENERATE_FOR_TYPE'
return clrngMrg31k3pNextState(&stream->current) * mrg31k3p_NORM_##fptype;
^
:11:1: note: expanded from macro 'mrg31k3p_NORM_'
mrg31k3p_NORM_cl_float
^
/Users/userone/Documents/workspace/clRNG.build/package/include/clRNG/private/mrg31k3p.c.h:50:33: note: expanded from macro 'mrg31k3p_NORM_cl_float'
define mrg31k3p_NORM_cl_float 4.6566126e-10
The text was updated successfully, but these errors were encountered: