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

ROCprofiler API version is not compatible #380

Closed
chrirocca opened this issue Jun 26, 2024 · 8 comments
Closed

ROCprofiler API version is not compatible #380

chrirocca opened this issue Jun 26, 2024 · 8 comments
Assignees
Labels
question Further information is requested Under Investigation

Comments

@chrirocca
Copy link

i am trying to use omniperf 2.0.1 on a new MI300X. For what I understand, rocprofv2 is required to make it work. I have tried different ROCm versions and ubuntu versions to try to solve this issue but I didn't find any information online and I'm not sure how to solve it.

I have also tried to run rocprofv2 by itself, but it gives me the same error. So i think maybe it could be an error in rocprofv2.

I was wondering if this error ever occurred to someone and how to solve/find a workaround to make it work.

Thank you,

This is the output i have when trying to profile a program.
Screenshot 2024-06-26 103340

@chrirocca chrirocca added the question Further information is requested label Jun 26, 2024
@coleramos425
Copy link
Collaborator

@chrirocca what version(s) of ROCm are you seeing this issue with?

@chrirocca
Copy link
Author

I tried with both ROCm 6.0.0 and 6.1, with ubuntu 22.04 and 20.04

@coleramos425
Copy link
Collaborator

coleramos425 commented Jun 26, 2024

Without source code your hip-latency app it's hard to say what exactly is happening here, however, this does indeed look like a rocprofiler issue. If source code is public can you please share a link? I'll try my best to diagnose, but we may need to file a separate ticket for the rocprofiler project.

@coleramos425
Copy link
Collaborator

@chrirocca can you please follow up with your source code? Otherwise, I'll close this ticket and defer you to the rocprofiler issue tracking page:
https://github.com/ROCm/rocprofiler/issues

@chrirocca
Copy link
Author

Sorry for the slow reply, i didn't see the reply before.
I attach my repository with source code and makefile i am using, could you check if you can reproduce the error?
https://github.com/chrirocca/test
My guess was a problem with linking to rocprof...

@ppanchad-amd
Copy link

Hi @chrirocca. An internal ticket has been created to assist with your issue. Thanks!

@zichguan-amd
Copy link
Contributor

Hi @chrirocca, I don't have a MI300X at the moment and I was not able to reproduce the problem on MI100. Can you try running omniperf with -VVV flag like this: omniperf profile -VVV -n latency -- ./hip-latency 0 0 0 0?
You can also pass the path to rocprofv2 with the ROCPROF=<path/to/v2/> environment variable to make sure that it is using the right rocprof.

@zichguan-amd
Copy link
Contributor

Closing due to inactivity. Feel free to reach out again if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Under Investigation
Projects
None yet
Development

No branches or pull requests

5 participants