[cfe-dev] [OpenCL] atomic_double requires cl_khr_fp64 enabled
Liu, Yaxun (Sam) via cfe-dev
cfe-dev at lists.llvm.org
Wed Apr 20 07:45:09 PDT 2016
Currently Clang requires cl_khr_fp64 enabled to use atomic_double. This seems to be a bug.
In OpenCL 2.0 fp64 is an optional feature. If platform supports it, there is no need to enable cl_khr_fp64 to use it. Actually in OpenCL 2.0 spec cl_khr_fp64 is not defined.
I plan to fix that if all agree it is a bug.
What's your opinion? Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10708 bytes
Desc: not available
More information about the cfe-dev