From 62b33801c4106fdd938f98b6eddad314f24ce739 Mon Sep 17 00:00:00 2001 From: Xianwei Zhang Date: Tue, 16 Jul 2019 09:09:31 -0700 Subject: [PATCH] xml: add extra events for gfx906 GPUs Compard to gfx900, e.g., Vega 10, gfx906 adds extra counter events. A typical difference is on TCC-EA that gfx906 (e.g., Vega 20) has 2 EAs per TCC, while only one single EA/TCC on gfx900. As such, additional counters must be profiled to get correct results. This patch adds one extra events to specifically handle gfx906. Change-Id: Id6c9d37548a102c80bbfddcfa11e77d20f17431a [ROCm/rocprofiler commit: ca9a714b77513a9835716ed6fd4ad6f4d07560c7] --- .../rocprofiler/test/tool/gfx_metrics.xml | 9 +++++++++ projects/rocprofiler/test/tool/metrics.xml | 20 +++++++++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler/test/tool/gfx_metrics.xml b/projects/rocprofiler/test/tool/gfx_metrics.xml index fecfe7b9ad..c44576f1a8 100644 --- a/projects/rocprofiler/test/tool/gfx_metrics.xml +++ b/projects/rocprofiler/test/tool/gfx_metrics.xml @@ -67,3 +67,12 @@ + + + # EA1 + + + + + + diff --git a/projects/rocprofiler/test/tool/metrics.xml b/projects/rocprofiler/test/tool/metrics.xml index e2efdbcadf..2b8fdd3c38 100644 --- a/projects/rocprofiler/test/tool/metrics.xml +++ b/projects/rocprofiler/test/tool/metrics.xml @@ -17,7 +17,7 @@ - + @@ -31,13 +31,29 @@ + + - + + # EA1 + + + + + + + + + # both EA0 and EA1 should be included + + + + # GPUBusy The percentage of time GPU was busy.