From dec87c74f0b429861ccab1be0544e2fd81913969 Mon Sep 17 00:00:00 2001 From: jatang Date: Tue, 25 Oct 2022 18:14:07 -0400 Subject: [PATCH] SWDEV-293816 - Test a CPC counter that's supported by both gfx10 ROCr and PAL backend. Change-Id: I5d20d07b999c26707611dba5b2c7da9782ad08f3 [ROCm/clr commit: 7cb2b815b3c4386b7ab45f5a75524fde6ab6ff6c] --- .../ocltst/module/runtime/OCLPerfCounters.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/projects/clr/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp b/projects/clr/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp index 899c246e21..7fe0f2537f 100644 --- a/projects/clr/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp +++ b/projects/clr/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp @@ -49,20 +49,20 @@ static const DeviceCounterInfo DeviceInfo[]{ // GFX10 {"gfx1000", 10, - {{15, 0, 4}, {77, 1, 2}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {MCVML2_l, - // reg 0, BigK bank 0 hits} + {{15, 0, 4}, {74, 0, 13}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {CPC, + // reg 0, Me1 busy for packet decode} {"gfx1010", 10, - {{15, 0, 4}, {77, 1, 2}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {MCVML2_l, - // reg 0, BigK bank 0 hits} + {{15, 0, 4}, {74, 0, 13}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {CPC, + // reg 0, Me1 busy for packet decode} {"gfx1011", 10, - {{15, 0, 4}, {77, 1, 2}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {MCVML2_l, - // reg 0, BigK bank 0 hits} + {{15, 0, 4}, {74, 0, 13}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {CPC, + // reg 0, Me1 busy for packet decode} {"gfx1012", 10, - {{15, 0, 4}, {77, 1, 2}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {MCVML2_l, - // reg 0, BigK bank 0 hits} + {{15, 0, 4}, {74, 0, 13}}}, // {SQ, reg 0, SQ_PERF_SEL_WAVES}, {CPC, + // reg 0, Me1 busy for packet decode} // GFX9 {"gfx900", 9, @@ -753,7 +753,7 @@ void OCLPerfCounters::run(void) { break; case 1: if (devId >= 9) { - SNPRINTF(buf, sizeof(buf), "BigK Bank0 hits: %lu ", (long)result); + SNPRINTF(buf, sizeof(buf), "Me1 busy for packet decode: %lu ", (long)result); } else { SNPRINTF(buf, sizeof(buf), "GRBM CP Busy: %lu ", (long)result); }