I downloaded the Adreno SDK v5.0 - Linux Installer from https://developer.qualcomm.com/software/adreno-gpu-sdk/tools. After extracting the zip file, the /Development/Inc doesn't have the opencl directory which is supposed to have the opencl header files which are needed to install and run opencl programs on the adreno 320 GPU that I have on my IFC6410 SBC . I was able to find the EGL, GLES, GLES2, GLES3 and KHR folders but not the CL folder. Have Qualcomm stopped support for opencl on adreno GPU's? I think that isn't the case because this page(https://developer.qualcomm.com/software/adreno-gpu-sdk/gpu) says that opencl is supported for adreno 320 gpu. Then why can't I find the opencl files? What is the alternative to install opencl on my board and access the GPU if not this? Or is it possible that I can obtain an older version of the SDK which has the required files?
Missing OPENCL header files
Posted: Tue, 2016-05-10 12:02
Is there anyone from QCOM reading this post? Please let us know if QCOM has officially dropped OpenCL support for Adreno GPUs.
We are in the process of updating documentation and headers for OpenCL. In the meantime, please use headers from Khronos registry. Note that Snapdragon 820 and other chipsets that have Adreno 5xx GPUs support OpenCL 2.0 Full profile.
- Adreno OpenCL team.
Are you talking about this link? (https://github.com/KhronosGroup/OpenCL-Headers) Where do I place these headers and how do I go about installing opencl and running opencl code on my adreno320 GPU? There is no support for installation and getting started for newbies like me. Just so you know, I have ubuntu OS installed on my ifc6410 board which has the adreno 320 GPU on it. Thanks.
Yes, those headers work for me on my Adreno330.
I have found this resource to be the most helpful:
https://aplacetogeek.wordpress.com/android-with-opencl-tutorial/
It gives step-by-step instruction, and you can view the git repository to help you understand the project structure.