change to single-kernel workload for pc_sampling tests (#955)

This commit is contained in:
ywang103-amd
2025-09-16 10:17:23 -04:00
committed by GitHub
parent af2f2c1345
commit 97f8b7b1ec
4 changed files with 87 additions and 6 deletions
@@ -157,7 +157,7 @@ def check_csv_files(output_dir, num_devices, num_kernels):
file_dict[file] = pd.read_csv(output_dir + "/" + file)
if "roofline" in file:
assert len(file_dict[file].index) >= num_devices
elif not "sysinfo" in file:
elif "sysinfo" not in file and "ps_file" not in file:
assert len(file_dict[file].index) >= num_kernels
elif file.endswith(".pdf"):
file_dict[file] = "pdf"