Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution of Test Case Failed #9

Open
dendisuhubdy opened this issue Apr 6, 2016 · 0 comments
Open

Execution of Test Case Failed #9

dendisuhubdy opened this issue Apr 6, 2016 · 0 comments

Comments

@dendisuhubdy
Copy link

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

                            ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant