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
When I run the code as follows on the device 'Intel(R) HD Graphics', which uses 16-bit half-precision float instead of 32-bit float, it gets the error : loading directly from pointer to type 'const __global half' is not allowed.
But the device 'Intel(R) HD Graphics' supports half data types for OpenCL.
Build on <pyopencl.Device 'Intel(R) HD Graphics' on 'Intel(R) OpenCL' at 0x1cd1a10>:
1:6:16: error: loading directly from pointer to type 'const __global half' is not allowed
res_g[gid] = a_g[gid] + b_g[gid];
^
(options: -I /usr/lib/python3/dist-packages/pyopencl/cl)
This issue tracker is for bugs, not technical support. Please send a message to the mailing list for tech support. One reason for this request is that I am typically the only one who sees issue email, and I am unable to handle the tech support load on my own.
When I run the code as follows on the device 'Intel(R) HD Graphics', which uses 16-bit half-precision float instead of 32-bit float, it gets the error : loading directly from pointer to type 'const __global half' is not allowed.
But the device 'Intel(R) HD Graphics' supports half data types for OpenCL.
How can I fixed the code?
The text was updated successfully, but these errors were encountered: