I am looking to utilize openCL on a IFC6540 Board. I plan to work in Ubuntu. What is the proper starting point for installing the openCL components?
I have downloaded and installed the Qualcomm Adreno SDK (https://developer.qualcomm.com/software/adreno-gpu-sdk). The associated web pages have references to openCL, but openCL did not seem to be part of the SDK. Am I looking for openCL in all the wrong places?
I also tried installing the AMD SDK but it was (not unexpectedly) littered with x86 dependent components.
Is there a central starting point for openCL on Adreno/Linux? Any help will be apprecited.
TD
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
Thanks for the initial reply.
I now have code building and running. When I execute clGetPlatformIDs() I do not get the expected reply. reasonably sure it is due to the lack of appropriate entries in /etc/OpenCL/vendors. How do I download/install/create the .icd files for the Adreno GPU?
According to the Khronos ICD-loader source, the Android ICD files should be placed in '/system/vendor/Khronos/OpenCL/vendors' directory. My dev board does not have such a directory. So I am not sure where the loader is getting its platform information from.
-rick