Forums - Help with OpenCL

2 posts / 0 new
Last post
Help with OpenCL
ssaikatsaha1996
Join Date: 22 Oct 20
Posts: 11
Posted: Fri, 2020-10-23 10:40
Hi! I want to Install OpenCL in my android mobile. My device MI A2 , processor Snapdragon 660.. In my device already available OpenCL 2.0, OpenGL ES 3.2, Adreno 512, but OpenCL not enabled.. I am not a software developer but i want to install or enable OpenCL in my device Please help me how can i do ? Can it possible without any c/c++ code? If possible please help me...
  • Up0
  • Down0
AndreyVK_D3D
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Mon, 2020-11-16 07:12

[b]ssaikatsaha1996[/b]

> but OpenCL not enabled

https://stackoverflow.com/questions/26795921/does-android-support-opencl

>am not a software developer but i want to install or enable OpenCL in my device Please help me how can i do ? Can it possible without any >c/c++ code? If possible please help me...

void* handle = dlopen("libOpenCL.so", RTRD_NOW);

clGetPlatformIDs = dlsym(handle, "clGetPlatformIDs ");

try to load pointers for OpenCL API.

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