cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mjharvey
Adept I

Performance profiling tools for OpenCL GPU kernels

Hi,

 

Can anyone give me some pointer for which -if any- performance profiling tools work with  GPU OpenCL kernels? A measure of SP occupancy and access to any profiling counters like CUDA permits would do the job nicely.

Ta,

MJH

0 Likes
8 Replies
nou
Exemplar

it is not profiler but may help http://forums.amd.com/devforum/messageview.cfm?catid=347&threadid=121010

0 Likes

We'll be providing an MSVS-integrated profiler that will be capable of reporting the profiling counters in the next release. In the next few months, we'll also provide a Stream Kernel Analyzer that will accept OpenCL C for static analysis of your kernels.

0 Likes

What about non-Windows developers? Are you going to provide at least some kind of command-line multi-platform profiler tool?

0 Likes

Thanks for the info, Michael.

 

In the meantime, do you know if can I compile my OpenCL kernels to IL and feed that into the current kernel analyzer?

Ta,

MJH

0 Likes

Check this out mj http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=120683&enterthread=y

0 Likes
dar
Journeyman III

This does not address fine-grain profiling, but if you are familiar with Linux strace and ltrace, there is equivalent tool that traces opencl and cal calls.  This can be useful to time effective performance on host side, especially for multi-gpu, examining blocking issues, etc.  Here is man page.

http://www.browndeertechnology.com/code/man/cltrace_1.html

cltrace -c can provide a summary of timings for all calls.

You can download from here, its free:

http://www.browndeertechnology.com/stdcl.html

You do not need to use the sdtcl interface to use cltrace.

-dar

0 Likes

Its only for linux? 

0 Likes

Originally posted by: n0thing Its only for linux?

 

At the moment, yes.  Sorry.

-dar

0 Likes