Forums - Missing OPENCL header files

5 posts / 0 new
Last post
Missing OPENCL header files
rajiv6596
Join Date: 9 May 16
Posts: 2
Posted: Tue, 2016-05-10 12:02

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?

  • Up0
  • Down0
a46sgsd
Join Date: 11 May 16
Posts: 3
Posted: Thu, 2016-05-12 01:03

Is there anyone from QCOM reading this post? Please let us know if QCOM has officially dropped OpenCL support for Adreno GPUs.

  • Up0
  • Down0
junesup
Profile picture
Join Date: 18 Mar 13
Posts: 3
Posted: Thu, 2016-05-12 16:43

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.

  • Up0
  • Down0
rajiv6596
Join Date: 9 May 16
Posts: 2
Posted: Fri, 2016-05-13 00:08

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.

  • Up0
  • Down0
Jonny D
Join Date: 4 Nov 15
Posts: 7
Posted: Tue, 2016-05-24 10:36

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.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.