-
Notifications
You must be signed in to change notification settings - Fork 551
[Issue] Unable to profile HIP application with RDP #3727
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
Comments
Hi @jeromew, an internal ticket has been created to investigate this issue. |
I can add that I tested profiling on my setup with a vulkan demo application called vkcube.exe found in the Vulkan SDK and the profiling capture works. so I am inclined to think this is related to HIP / Compute despite the fact that the doc on https://gpuopen.com/manuals/rdp_manual/rdp_manual-index/ states
so it should pass the Windows 11 / Radeon RX 6700 XT / HIP combination |
Hi @jeromew, thanks for reporting this! I was able to reproduce the issue with the HIP SDK matrix transpose sample on a 7900XTX. I believe this should be supported and we're looking into it. |
@schung-amd for information I managed to get some data out of the profiling pipeline. It seems that if in RDP you request more dispatches than your application really has then the capture fails. Trying to get only 1 dispatch I could start getting a profile (but not always). The next thing is that when the application exits, it seems that RDP does not properly terminate the profiling if it was not finished earlier. Adding a Sleep for 20 seconds at the end of the application seem to allow RDP to gracefully finish the profiling. These constraints are not very well documented / not mentioned in the FAQ. |
Interesting, thanks for looking further into this! I'll see if the internal team is aware of this and if we should fix this in code or documentation. |
I am sorry if this is not the right place to ask for help on this issue but it seems my problem is related to a HIP application so maybe there is some HIP knowledge that I am missing.
I have been trying to profile a HIP application with Radeon Developer Panel and I always get
The profiling seems to start but RDP fails to capture the trace.
This result is observed even with a very simple application like
Is there a specific flag or environment variable that needs to be set before calling hipcc in order to be able to capture the profiling trace ?
Is there something I could do to understand what is happening when the capture fails ?
The text was updated successfully, but these errors were encountered: