Forums - How to install Adreno GPU SDK on Android Stuido

3 posts / 0 new
Last post
How to install Adreno GPU SDK on Android Stuido
hzk8656511
Join Date: 14 Aug 18
Posts: 2
Posted: Sat, 2018-10-13 22:57

Hi everyone:

  I'm new to qualcomm OpenCL implementation, and  meet some difficulties

  Can anybody proided some documentation about "how to use andreno GPU SDK on android studio"?

  When I adb pull libOpenCL.so from phone, then compile , and find that the device can not  discovery the GPU.

   When call clGetPlatformIDs(0 ,0 &numplatform), but find that numplatform = 0.

   Is there anyone can help me? Thank you very much 

  The CPU is 845,  andreno GPU is 630, phone is MEIZU 16th.

Thanks.


 

  • Up0
  • Down0
hzk8656511
Join Date: 14 Aug 18
Posts: 2
Posted: Sun, 2018-10-14 18:46

 

I have resolved the problem, need adb pull  libOpenCL_system.so, and system.loadLibrary("OpenCL_system");

 

Thanks;

  • Up0
  • Down0
cyberfox
Join Date: 18 Mar 24
Posts: 3
Posted: Thu, 2024-03-28 17:18

 

Hi,

Is your issue solved?

I have the same problem, and I also System.loadLibrary("OpenCL_system");, but the logcat shows that I need other .so library files, and I try to add other .so files, and meet other errors like "dlopen failed: cannot locate symbol "atrace_get_enabled_tags" referenced by "/data/app/~***/base.apk!/lib/arm64-v8a/libOpenCL_system.so"..."

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