diff --git a/projects/rocprofiler/CHANGELOG.md b/projects/rocprofiler/CHANGELOG.md index 6e418eaee9..3eb25a1572 100644 --- a/projects/rocprofiler/CHANGELOG.md +++ b/projects/rocprofiler/CHANGELOG.md @@ -393,3 +393,14 @@ Example for file plugin output: ### Resolved issues - Fixed issue where invalid UTF-8 characters in a trace log would crash the program + +## ROCProfiler for ROCm 7.1 + +### Added + +### Resolved issues + +### Removed + +- `rocprofv2` doesn't support gfx12. For gfx12, use `rocprofv3` tool. + diff --git a/projects/rocprofiler/build.sh b/projects/rocprofiler/build.sh index 64c776a362..bda06310df 100755 --- a/projects/rocprofiler/build.sh +++ b/projects/rocprofiler/build.sh @@ -75,7 +75,7 @@ if [ -n "$ROCM_RPATH" ] ; then LD_RUNPATH_FLAG=" -Wl,--enable-new-dtags -Wl,--rp if [ -z "$TO_CLEAN" ] ; then TO_CLEAN=yes; fi if [ -z "$RUN_TEST" ] ; then RUN_TEST=no; fi if [ -z "$ASAN" ] ; then ASAN=False; fi -if [ -z "$GPU_LIST" ] ; then GPU_LIST="gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1030 gfx1100 gfx1101 gfx1102 gfx1031 gfx1150 gfx1151 gfx1200 gfx1201"; fi +if [ -z "$GPU_LIST" ] ; then GPU_LIST="gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1030 gfx1100 gfx1101 gfx1102 gfx1031 gfx1150 gfx1151"; fi ROCPROFILER_ROOT=$(cd $ROCPROFILER_ROOT && echo $PWD) diff --git a/projects/rocprofiler/src/core/counters/derived/metrics.xml b/projects/rocprofiler/src/core/counters/derived/metrics.xml index 1e8cb3878f..2f5854b1bc 100755 --- a/projects/rocprofiler/src/core/counters/derived/metrics.xml +++ b/projects/rocprofiler/src/core/counters/derived/metrics.xml @@ -474,29 +474,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/projects/rocprofiler/src/core/counters/metrics/basic_counters.xml b/projects/rocprofiler/src/core/counters/metrics/basic_counters.xml index eb61c7643c..ef84afa17b 100755 --- a/projects/rocprofiler/src/core/counters/metrics/basic_counters.xml +++ b/projects/rocprofiler/src/core/counters/metrics/basic_counters.xml @@ -741,49 +741,3 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/projects/rocprofiler/src/core/counters/metrics/derived_counters.xml b/projects/rocprofiler/src/core/counters/metrics/derived_counters.xml index b20b1657a9..a8406ddb21 100644 --- a/projects/rocprofiler/src/core/counters/metrics/derived_counters.xml +++ b/projects/rocprofiler/src/core/counters/metrics/derived_counters.xml @@ -569,35 +569,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -628,9 +599,6 @@ -#Navi4x - - diff --git a/projects/rocprofiler/src/core/counters/metrics/metrics.h b/projects/rocprofiler/src/core/counters/metrics/metrics.h index 612f65d70e..559a70456e 100644 --- a/projects/rocprofiler/src/core/counters/metrics/metrics.h +++ b/projects/rocprofiler/src/core/counters/metrics/metrics.h @@ -230,7 +230,6 @@ class MetricsDict { "gfx1030", "gfx1031", "gfx1032", // Navi2x "gfx1100", "gfx1101", "gfx1102", // Navi3x "gfx1150", "gfx1151", - "gfx1200", "gfx1201", // Navi4x }; if (supported_agent_names.find(agent_name_) != supported_agent_names.end()) { ImportMetrics(agent_info, agent_name_); diff --git a/projects/rocprofiler/src/core/hardware/hsa_info.cpp b/projects/rocprofiler/src/core/hardware/hsa_info.cpp index 51675a91fd..80cecec522 100644 --- a/projects/rocprofiler/src/core/hardware/hsa_info.cpp +++ b/projects/rocprofiler/src/core/hardware/hsa_info.cpp @@ -121,6 +121,9 @@ DeviceInfo::DeviceInfo(uint32_t topology_id, uint32_t gpu_id) { minor_version_str = std::string(1, convert(minor_version)); else minor_version_str = std::to_string(minor_version); + if (major_version > 11 || (major_version == 9 && minor_version > 4)) + rocprofiler::fatal( + "Unsupported hardware. Use rocprofv3 tool for navi4x, mi35x and later."); stepping = (gfx_target_version % 100); if (stepping > 9) stepping_str = std::string(1, convert(stepping)); diff --git a/projects/rocprofiler/src/core/metrics.h b/projects/rocprofiler/src/core/metrics.h index 4594cf4a73..9ec946cc56 100644 --- a/projects/rocprofiler/src/core/metrics.h +++ b/projects/rocprofiler/src/core/metrics.h @@ -213,7 +213,6 @@ class MetricsDict { "gfx1030", "gfx1031", "gfx1032", // Navi2x "gfx1100", "gfx1101", "gfx1102", // Navi3x "gfx1150", "gfx1151", - "gfx1200", "gfx1201", // Navi4x }; if (supported_agent_names.find(agent_name_) != supported_agent_names.end()) { ImportMetrics(agent_info, agent_name_); diff --git a/projects/rocprofiler/test/tool/gfx_metrics.xml b/projects/rocprofiler/test/tool/gfx_metrics.xml index 015a19ba35..7b055723cd 100755 --- a/projects/rocprofiler/test/tool/gfx_metrics.xml +++ b/projects/rocprofiler/test/tool/gfx_metrics.xml @@ -745,52 +745,3 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/projects/rocprofiler/test/tool/metrics.xml b/projects/rocprofiler/test/tool/metrics.xml index 819f58cac7..da23838115 100644 --- a/projects/rocprofiler/test/tool/metrics.xml +++ b/projects/rocprofiler/test/tool/metrics.xml @@ -435,36 +435,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -506,9 +476,6 @@ - - - # GPUBusy The percentage of time GPU was busy.