Skip to content

Commit

Permalink
Enable rocprofv1 for additional socs (ROCm#391)
Browse files Browse the repository at this point in the history
* Enable rocprofv1 for gfx940/941/942.

Signed-off-by: xuchen-amd <xuchen@amd.com>

* Enable rocprofv1 for gfx940/941/942.

Enable rocprofv1 for gfx940/941/942, removing rocscope.
Jira Tracking: https://ontrack-internal.amd.com/browse/SWDEV-474924

Signed-off-by: xuchen-amd <xuchen@amd.com>

---------

Signed-off-by: xuchen-amd <xuchen@amd.com>
  • Loading branch information
xuchen-amd authored and lajagapp committed Aug 16, 2024
1 parent 42a254c commit 9bb96fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/omniperf_soc/soc_gfx940.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, args, mspec):
str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940"
)
)
self.set_compatible_profilers(["rocprofv2"])
self.set_compatible_profilers(["rocprofv1", "rocprofv2"])
# Per IP block max number of simultaneous counters. GFX IP Blocks
self.set_perfmon_config(
{
Expand Down
2 changes: 1 addition & 1 deletion src/omniperf_soc/soc_gfx941.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, args, mspec):
str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940"
)
)
self.set_compatible_profilers(["rocprofv2"])
self.set_compatible_profilers(["rocprofv1", "rocprofv2"])
# Per IP block max number of simultaneous counters. GFX IP Blocks
self.set_perfmon_config(
{
Expand Down
2 changes: 1 addition & 1 deletion src/omniperf_soc/soc_gfx942.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, args, mspec):
str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940"
)
)
self.set_compatible_profilers(["rocprofv2"])
self.set_compatible_profilers(["rocprofv1", "rocprofv2"])
# Per IP block max number of simultaneous counters. GFX IP Blocks
self.set_perfmon_config(
{
Expand Down

0 comments on commit 9bb96fe

Please sign in to comment.