Hi,
I am working on a ARNDALE board which consists of a Mali T604 GPU. I have an application developed with OpenCL which runs fine on this board. The application uses buffer memory. Now I want to use texture memory instead of buffer memory. I changed my host code to use texture memory but when I try to compile the application, I get error mentioning that the compiler cannot recognize the write_image, clCreateImage functions. From the device query I can see that texture memory is supported on this GPU. It seems like the driver does not support it. Could anyone please clarify whether or not Mali T604 and its driver supports texture memory ?
Ps: I contacted Mali 4 days ago but did not receive any clarification from them yet.
Hi Mainul,
According to http://www.khronos.org/registry/cl/specs/opencl-1.1.pdf section 5.3.2.1, "Minimum List of Supported Image Formats", CL_R is not in that list, so it could be that the version of the driver you're running is very old and does not expose this. I have looked at the source and the combination you are requesting is on trunk, so could you check the available formats on your driver release with clGetSupportedImageFormats? It's always worth checking the available formats for formats/combinations which are not guaranteed to be available by the specification.
Thanks,
Chris