Forums - OpenCL in new Adreno GPU SDK

2 posts / 0 new
Last post
OpenCL in new Adreno GPU SDK
http
Join Date: 14 Aug 17
Posts: 2
Posted: Tue, 2017-08-15 01:48

I'm new to the opencl development. Today I download the latest Adreno GPU SDK. However, I didn't find any opencl related documents or include/lib files. How to develop the opencl codes then?

Thanks a lot!

  • Up0
  • Down0
Rick Weyrauch
Join Date: 2 Dec 16
Posts: 13
Posted: Tue, 2017-08-15 08:28

The lastest GPU SDK had the OpenCL headers/libraries removed.

You can get the OpenCL headers from the Khronos website.   For the OpenCL shared library, you will need to extract the binaries from your dev board (adb pull <path to>/libOpenCL.so)

You can either drop the headers/libraries into the correct API/ABI folder in the ndk-platform tree or better yet put the headers/libraries into your own project structure.

-rick

  • 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.