Forums - OpenCL on QCS405 fails

1 post / 0 new
OpenCL on QCS405 fails
stoyan_iliev
Join Date: 7 Jan 22
Posts: 2
Posted: Mon, 2022-01-10 15:31

Hi

I'm trying to query the PlatformIDs on a QCS405 chip running linux with a very simple program, and I'm getting error -30 (CL_INVALID_VALUE).

    cl_uint n = 0;
    cl_int err = clGetPlatformIDs(0, NULL, &n);
    std::cout << err << std::endl;

I got the libOpenCL.so file from ChipCode bundle qcs40x-2021-spf-1-3_ap_standard_oem.

What could be wrong?
 
# cat /sys/devices/platform/soc/1c00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_model 
Adreno306v33
# cat /sys/devices/platform/soc/1c00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpuclk 
400000000

 

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