Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

What are valid options for --hsapm --counterlist #2

Open
almson opened this issue Aug 29, 2016 · 4 comments
Open

What are valid options for --hsapm --counterlist #2

almson opened this issue Aug 29, 2016 · 4 comments

Comments

@almson
Copy link

almson commented Aug 29, 2016

What is the list of available counters, and how do I specify them? (Ie, --counterlist=counter1,counter2?)

@gstoner
Copy link

gstoner commented Aug 29, 2016

Right now you need to go to this repo.. We are working with this team to clean up the documentation
https://github.com/GPUOpen-Tools/GPA#WhatsNew

https://github.com/GPUOpen-Tools/GPA

https://github.com/GPUOpen-Tools/GPA/tree/master/GPUPerfAPI/doc

On Aug 29, 2016, at 9:40 AM, almson <[email protected]mailto:[email protected]> wrote:

What is the list of available counters, and how do I specify them? (Ie, --counterlist=counter1,counter2?)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/2, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuXgb48m25x_ZbesCcD5OHWerM_ISks5qku9ugaJpZM4Jviyd.

@chesik-amd
Copy link
Contributor

You can get the list of available counters by running the following command:

./CodeXLGpuProfiler --list

To have the list of counters saved to a file, you would use:

./CodeXLGpuProfiler --list --outputfile counters.txt

You would then specify the set of counters to use using the following command line:

./CodeXLGpuProfiler --hsapmc --counterfile <counters.txt>

"counters.txt" should have one counter name listed per line.

@almson
Copy link
Author

almson commented Aug 29, 2016

@chesik-amd Cool, thanks! Looks like GPUPerfAPI-UserGuide.pdf gives some useful descriptions of what the counters mean.

I wrote a kernel in GCN assembly which copies memory. The performance is poor. Can I post the code and results to help understand how to interpret the profiler results and how to access memory quickly?

@almson
Copy link
Author

almson commented Aug 30, 2016

I've written my question here: https://community.amd.com/thread/204991

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants