Forums - OpenCL execute kernelss on GPU, but high CPU usage

3 posts / 0 new
Last post
OpenCL execute kernelss on GPU, but high CPU usage
Join Date: 15 Dec 19
Posts: 1
Posted: Sun, 2021-12-19 18:47

Why I get 100% cpu usage  when running opencl kernels on gpu? Is there any way to reduce the cpu utilization?

  • Up0
  • Down0
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Wed, 2021-12-29 00:44

1) could you provide example code?

2) where did you mesure CPU's overhead ?

3) wich tools did you use for mesuring CPU's overhead ?

4) did you select OpenCL device with CL_DEVICE_TYPE == CL_DEVICE_TYPE_GPU?

  • Up0
  • Down0
Join Date: 9 Dec 13
Posts: 41
Posted: Fri, 2022-02-11 07:30

Yes, can you share your sample code and logcat log when you run sample code on device?


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.