I am trying to use OpenCL to create a 3D texture and read in the kernel (clCreateImage). The texture read always returns 0 on Intel GPU device, but it works ok on CPU device. I wrote a simple test program to reproduce the problem if there is a way to attach the program here. This was tested under the Intel HD Graphics 520 and 5500 platform. I am using the latest Intel OpenCL SDK and drivers on Windows 10.
Is image function actually supported in Intel OpenCL?
This feature should be supported. You could attach code (put it in a zip or .tar.gz file) to this post (hit the last icon - Attach Media, to attach your file). Thanks!
Attached is the code to reproduce the problem. This code generates a 3d image and passes to OpenCL kernel. The kernel reads one plane of the 3D image and output the data. It should generate a blue to white gradient output. Use '-t cpu' or '-t gpu' as command line option. The CPU output is correct but GPU is not.