Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ctest failures #396

Merged
merged 6 commits into from
Aug 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 39 additions & 83 deletions tests/test_profile_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,30 +71,55 @@ def check_arch_override():
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_13.csv",
"pmc_perf_14.csv",
"pmc_perf_15.csv",
"pmc_perf_16.csv",
"sysinfo.csv",
"timestamps.csv",
]
)
ALL_CSVS_MI200 = sorted(
ALL_CSVS
+ [
"pmc_perf_17.csv",
"pmc_perf_18.csv",
[
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_LDS.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_INST_LEVEL_VMEM.csv",
"SQ_LEVEL_WAVES.csv",
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
)
ALL_CSVS_MI300 = sorted(
ALL_CSVS
+ [
"pmc_perf_17.csv",
[
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_LDS.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_INST_LEVEL_VMEM.csv",
"SQ_LEVEL_WAVES.csv",
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"sysinfo.csv",
"timestamps.csv",
]
)

ROOF_ONLY_FILES = sorted(
[
"empirRoof_gpu-0_fp32_fp64.pdf",
Expand Down Expand Up @@ -634,9 +659,6 @@ def test_block_SQ():
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand All @@ -650,36 +672,28 @@ def test_block_SQ():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
if "MI300" in soc:
expected_csvs = [
"pmc_perf_0.csv",
"pmc_perf_11.csv",
"pmc_perf_1.csv",
"pmc_perf_3.csv",
"pmc_perf_5.csv",
"pmc_perf_7.csv",
"pmc_perf_9.csv",
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_LEVEL_WAVES.csv",
"timestamps.csv",
"pmc_perf_10.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_4.csv",
"pmc_perf_6.csv",
Expand Down Expand Up @@ -860,7 +874,6 @@ def test_block_TCC():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
Expand All @@ -869,6 +882,7 @@ def test_block_TCC():
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"pmc_perf_10.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand Down Expand Up @@ -1028,9 +1042,6 @@ def test_block_SQ_CPC():
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand All @@ -1044,36 +1055,28 @@ def test_block_SQ_CPC():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
if "MI300" in soc:
expected_csvs = [
"pmc_perf_0.csv",
"pmc_perf_11.csv",
"pmc_perf_1.csv",
"pmc_perf_3.csv",
"pmc_perf_5.csv",
"pmc_perf_7.csv",
"pmc_perf_9.csv",
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_LEVEL_WAVES.csv",
"timestamps.csv",
"pmc_perf_10.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_4.csv",
"pmc_perf_6.csv",
Expand Down Expand Up @@ -1115,9 +1118,6 @@ def test_block_SQ_TA():
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand All @@ -1131,36 +1131,28 @@ def test_block_SQ_TA():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
if "MI300" in soc:
expected_csvs = [
"pmc_perf_0.csv",
"pmc_perf_11.csv",
"pmc_perf_1.csv",
"pmc_perf_3.csv",
"pmc_perf_5.csv",
"pmc_perf_7.csv",
"pmc_perf_9.csv",
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_LEVEL_WAVES.csv",
"timestamps.csv",
"pmc_perf_10.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_4.csv",
"pmc_perf_6.csv",
Expand Down Expand Up @@ -1198,9 +1190,6 @@ def test_block_SQ_SPI():
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand All @@ -1214,36 +1203,28 @@ def test_block_SQ_SPI():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
if "MI300" in soc:
expected_csvs = [
"pmc_perf_0.csv",
"pmc_perf_11.csv",
"pmc_perf_1.csv",
"pmc_perf_3.csv",
"pmc_perf_5.csv",
"pmc_perf_7.csv",
"pmc_perf_9.csv",
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_LEVEL_WAVES.csv",
"timestamps.csv",
"pmc_perf_10.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_4.csv",
"pmc_perf_6.csv",
Expand Down Expand Up @@ -1284,10 +1265,6 @@ def test_block_SQ_SQC_TCP_CPC():
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand All @@ -1301,36 +1278,28 @@ def test_block_SQ_SQC_TCP_CPC():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
if "MI300" in soc:
expected_csvs = [
"pmc_perf_0.csv",
"pmc_perf_11.csv",
"pmc_perf_1.csv",
"pmc_perf_3.csv",
"pmc_perf_5.csv",
"pmc_perf_7.csv",
"pmc_perf_9.csv",
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_LEVEL_WAVES.csv",
"timestamps.csv",
"pmc_perf_10.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_4.csv",
"pmc_perf_6.csv",
Expand Down Expand Up @@ -1364,15 +1333,10 @@ def test_block_SQ_SPI_TA_TCC_CPF():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"sysinfo.csv",
"timestamps.csv",
]
Expand All @@ -1386,36 +1350,28 @@ def test_block_SQ_SPI_TA_TCC_CPF():
"pmc_perf.csv",
"pmc_perf_0.csv",
"pmc_perf_1.csv",
"pmc_perf_10.csv",
"pmc_perf_11.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_3.csv",
"pmc_perf_4.csv",
"pmc_perf_5.csv",
"pmc_perf_6.csv",
"pmc_perf_7.csv",
"pmc_perf_8.csv",
"pmc_perf_9.csv",
"roofline.csv",
"sysinfo.csv",
"timestamps.csv",
]
if "MI300" in soc:
expected_csvs = [
"pmc_perf_0.csv",
"pmc_perf_11.csv",
"pmc_perf_1.csv",
"pmc_perf_3.csv",
"pmc_perf_5.csv",
"pmc_perf_7.csv",
"pmc_perf_9.csv",
"SQ_IFETCH_LEVEL.csv",
"SQ_INST_LEVEL_SMEM.csv",
"SQ_LEVEL_WAVES.csv",
"timestamps.csv",
"pmc_perf_10.csv",
"pmc_perf_12.csv",
"pmc_perf_2.csv",
"pmc_perf_4.csv",
"pmc_perf_6.csv",
Expand Down