Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to find the source codes of hsa-amd-aqlprofile #38

Open
lscat11 opened this issue Oct 29, 2020 · 5 comments
Open

Where to find the source codes of hsa-amd-aqlprofile #38

lscat11 opened this issue Oct 29, 2020 · 5 comments

Comments

@lscat11
Copy link

lscat11 commented Oct 29, 2020

I found that this repo depends on hsa-amd-aqlprofile, but I did not find its source codes. Where to find its source codes, or is it proprietary?

@jpsamaroo
Copy link

Seems from https://aur.archlinux.org/packages/hsa-amd-aqlprofile-bin/ that it's closed-source. Which sucks because I'm on a musl system, and no one builds for musl...

@xuhuisheng
Copy link

I comiple ROCm from souces, seems aqlprofile is not necessory.

@jpsamaroo
Copy link

jpsamaroo commented Apr 9, 2021

@xuhuisheng have you tried running rocprof --stats ...? It seems even with CMAKE_LD_AQLPROFILE=0, this doesn't work.

@littlewu2508
Copy link

littlewu2508 commented Aug 7, 2022

Without aqlprofile I found rocprof can do only basic profiling, rocprof --stats actually works, but arguments like --sys-trace cannot work, and you only get which kernels are executed with their execution time, without detailed tracing output result.json (which can be viewed in https://ui.perfetto.dev)

@littlewu2508
Copy link

ROCm/ROCm#1781 (comment)
I found out that patching hsa_rsrc_factory.cpp can make rocprofiler work (at least I tested using rocprof --roctx-trace --hip-trace --hsa-trace --sys-trace an_vectoradd_program it gives the desired output)

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

No branches or pull requests

4 participants