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

PMC metric not found #75

Closed
aosewski opened this issue Jan 25, 2023 · 3 comments
Closed

PMC metric not found #75

aosewski opened this issue Jan 25, 2023 · 3 comments
Labels
bug Something isn't working metric definition Related to the definition of a metric in Omniperf
Milestone

Comments

@aosewski
Copy link

aosewski commented Jan 25, 2023

Hi,

I'm trying to profile a program on MI100 GPU and got following error:

ERROR: rocprofiler_open(), Initialize(), input metric 'TCP_GATE_EN1_sum' is not found

Similarly the metric SQ_IFETCH is also not found.
I'm using ROCm 5.3.0 and I can't find those metrics for MI100 in rocprofile https://github.com/ROCm-Developer-Tools/rocprofiler/blob/rocm-5.3.0/test/tool/gfx_metrics.xml#L80

I'm using version 1.0.6.

[EDIT]
I see that such expressions are defined here: https://github.com/ROCm-Developer-Tools/rocprofiler/blob/amd-master/test/tool/metrics.xml#L127 However this one and a lot of others are defined only for MI200. And you are using them for MI100: https://github.com/AMDResearch/omniperf/blob/main/src/perfmon_pub/mi100/pmc_tcp_perf.txt

@coleramos425
Copy link
Collaborator

Thank you for reporting this discrepancy @aosewski. It's possible there are some counters that may have slipped into MI100 configs we overlooked.

Let me cross-check our listings and I'll report my findings in this thread.

@coleramos425 coleramos425 added this to the v.1.0.7 milestone Jan 30, 2023
@coleramos425
Copy link
Collaborator

Update: I've confirmed this issue on ROCm 5.3.x and 5.4.x releases. Looking into possible solutions to include in our v1.0.7 release

@coleramos425 coleramos425 added bug Something isn't working metric definition Related to the definition of a metric in Omniperf MI100 labels Jan 31, 2023
@coleramos425
Copy link
Collaborator

Fix has been merged into dev branch. Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working metric definition Related to the definition of a metric in Omniperf
Projects
None yet
Development

No branches or pull requests

2 participants