Forums - Metrics for OpenCL

2 posts / 0 new
Last post
Metrics for OpenCL
hshmhashemi
Join Date: 7 Jan 19
Posts: 2
Posted: Sat, 2019-01-12 17:39

When I run a ScrubberOpenCL on my android app, it collects the runtime of NDRanges and stuff, but there's no metrics other than that. I mean I already know which kernel was the problem (just by randomely hitting the visual studio debugger  pause and looking at which clFinish it was waiting on). Was hoping to get some insight as to how to change the kernel to make it run better - as I am observing a slowdown from Adreno 540 (S8) to 630 (S9). And seeing significantly better perf with same exact kernel code ported to Metal (the code was developed and tweaked in OpenCL Android, so its disturbing that dumb port to Metal runs so much better on iPhoneX) . I see the tool has a "Metrics" dropdown button that is disabled in the ScrubberOpenCL. What's the deal with that.

  • Up0
  • Down0
hshmhashemi
Join Date: 7 Jan 19
Posts: 2
Posted: Wed, 2019-04-17 19:55

In any case there's a slowdown in the convolution layers of this DL app from Adreno 540 to 630. Not sure what's going on.  And profiler isn't giving enough stats to analyze. 

https://play.google.com/store/apps/details?id=com.advancedkernels.betect&hl=en_US

--H

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