From 002b9607b67829c2c9a0a9d01ef3adf45acd2647 Mon Sep 17 00:00:00 2001 From: vedithal-amd Date: Mon, 11 Aug 2025 09:59:34 -0400 Subject: [PATCH] [rocprofiler-compute] Fix profiling tests (#227) * Add check for SQC_DCACHE csv in test script * Fix the list of csv files when profiling in tests --- .../rocprofiler-compute/tests/test_profile_general.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/projects/rocprofiler-compute/tests/test_profile_general.py b/projects/rocprofiler-compute/tests/test_profile_general.py index 35255fd0fb..8fe9471e80 100644 --- a/projects/rocprofiler-compute/tests/test_profile_general.py +++ b/projects/rocprofiler-compute/tests/test_profile_general.py @@ -73,6 +73,7 @@ DEFAULT_REL_DIFF = 50 MAX_REOCCURING_COUNT = 28 ALL_CSVS_MI100 = sorted([ + "SQC_DCACHE_INFLIGHT_LEVEL.csv", "SQ_IFETCH_LEVEL.csv", "SQ_INST_LEVEL_LDS.csv", "SQ_INST_LEVEL_SMEM.csv", @@ -85,10 +86,13 @@ ALL_CSVS_MI100 = sorted([ "pmc_perf_3.csv", "pmc_perf_4.csv", "pmc_perf_5.csv", + "pmc_perf_6.csv", + "pmc_perf_7.csv", "sysinfo.csv", ]) ALL_CSVS_MI200 = sorted([ + "SQC_DCACHE_INFLIGHT_LEVEL.csv", "SQ_IFETCH_LEVEL.csv", "SQ_INST_LEVEL_LDS.csv", "SQ_INST_LEVEL_SMEM.csv", @@ -101,11 +105,11 @@ ALL_CSVS_MI200 = sorted([ "pmc_perf_3.csv", "pmc_perf_4.csv", "pmc_perf_5.csv", - "pmc_perf_6.csv", "sysinfo.csv", "timestamps.csv", ]) ALL_CSVS_MI300 = sorted([ + "SQC_DCACHE_INFLIGHT_LEVEL.csv", "SQ_IFETCH_LEVEL.csv", "SQ_INST_LEVEL_LDS.csv", "SQ_INST_LEVEL_SMEM.csv", @@ -118,11 +122,11 @@ ALL_CSVS_MI300 = sorted([ "pmc_perf_3.csv", "pmc_perf_4.csv", "pmc_perf_5.csv", - "pmc_perf_6.csv", "sysinfo.csv", "timestamps.csv", ]) ALL_CSVS_MI350 = sorted([ + "SQC_DCACHE_INFLIGHT_LEVEL.csv", "SQ_IFETCH_LEVEL.csv", "SQ_INST_LEVEL_LDS.csv", "SQ_INST_LEVEL_SMEM.csv", @@ -143,7 +147,6 @@ ALL_CSVS_MI350 = sorted([ "pmc_perf_11.csv", "pmc_perf_12.csv", "pmc_perf_13.csv", - "pmc_perf_14.csv", "sysinfo.csv", ])