Forums - OpenCL on QCS405 fails

3 posts / 0 new
Last post
OpenCL on QCS405 fails
stu_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
DuBo
Join Date: 9 Dec 13
Posts: 72
Posted: Thu, 2022-06-02 02:25

Hi, stu_iliev

It seems OpenCL driver does not work. Do you check if OpenGL work on your QSC405 dvice or not also?

Thanks
Bob Du

 

 

  • Up0
  • Down0
DuBo
Join Date: 9 Dec 13
Posts: 72
Posted: Thu, 2022-06-02 02:31

Can you verify if below clinfo can run on your QSC405 device?

clinfo tool   https://github.com/Oblomov/clinfo/tree/master/src

Thanks
Bob Du

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