Forums - OpenCL issue: clGetPlatformIDs platform not found

1 post / 0 new
OpenCL issue: clGetPlatformIDs platform not found
cyberfox
Join Date: 18 Mar 24
Posts: 3
Posted: Thu, 2024-03-28 17:53

Hello,

I am trying to run the Android example provided by the SDK.

However, I meet an error.

The error is from "clGetPlatformIDs(1, &platform_id, &num_platforms)". The error is: "[native-lib.cpp runOpenCL] Nonzero value (-1001) from clGetPlatformIDs(1, &platform_id, &num_platforms)", which means that the application cannot find the platform.

I searched for the related problems on Google for days, but I still cannot solve this problem.

The device I am using is Meta Quest 3. The GPU is Adreno 740.

  • Up0
  • Down0

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.