made change on the logic to add roofline file to expected csv list to fix crash on mi100 (#528)

Этот коммит содержится в:
ywang103-amd
2025-01-07 23:23:55 -05:00
коммит произвёл Vignesh Edithal
родитель c5fec31535
Коммит 0dfb87f25f
+6 -6
Просмотреть файл
@@ -712,7 +712,7 @@ def test_block_SQC():
"sysinfo.csv",
"timestamps.csv",
]
if soc != ("MI50" or "MI60" or "MI100"):
if soc not in ["MI50", "MI60", "MI100"]:
expected_csvs.append("roofline.csv")
assert sorted(list(file_dict.keys())) == sorted(expected_csvs)
@@ -746,7 +746,7 @@ def test_block_TA():
"sysinfo.csv",
"timestamps.csv",
]
if soc != ("MI50" or "MI60" or "MI100"):
if soc not in ["MI50", "MI60", "MI100"]:
expected_csvs.append("roofline.csv")
assert sorted(list(file_dict.keys())) == sorted(expected_csvs)
@@ -820,7 +820,7 @@ def test_block_TCP():
"sysinfo.csv",
"timestamps.csv",
]
if soc != ("MI50" or "MI60" or "MI100"):
if soc not in ["MI50", "MI60", "MI100"]:
expected_csvs.append("roofline.csv")
assert sorted(list(file_dict.keys())) == sorted(expected_csvs)
@@ -906,7 +906,7 @@ def test_block_SPI():
"sysinfo.csv",
"timestamps.csv",
]
if soc != ("MI50" or "MI60" or "MI100"):
if soc not in ["MI50", "MI60", "MI100"]:
expected_csvs.append("roofline.csv")
assert sorted(list(file_dict.keys())) == sorted(expected_csvs)
@@ -938,7 +938,7 @@ def test_block_CPC():
"sysinfo.csv",
"timestamps.csv",
]
if soc != ("MI50" or "MI60" or "MI100"):
if soc not in ["MI50", "MI60", "MI100"]:
expected_csvs.append("roofline.csv")
assert sorted(list(file_dict.keys())) == sorted(expected_csvs)
@@ -964,7 +964,7 @@ def test_block_CPF():
"sysinfo.csv",
"timestamps.csv",
]
if soc != ("MI50" or "MI60" or "MI100"):
if soc not in ["MI50", "MI60", "MI100"]:
expected_csvs.append("roofline.csv")
assert sorted(list(file_dict.keys())) == sorted(expected_csvs)