From da3d775fc55ba0f5da3d0921af67200c46f89d30 Mon Sep 17 00:00:00 2001 From: Jose Santos Date: Fri, 23 Feb 2024 16:28:02 -0600 Subject: [PATCH] update test_profile_general.py Signed-off-by: Jose Santos [ROCm/rocprofiler-compute commit: ea9ab293e7d0dca378dc873a0a1a88b9e15e3480] --- projects/rocprofiler-compute/tests/test_profile_general.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projects/rocprofiler-compute/tests/test_profile_general.py b/projects/rocprofiler-compute/tests/test_profile_general.py index fb12a8d79e..06a8a256af 100644 --- a/projects/rocprofiler-compute/tests/test_profile_general.py +++ b/projects/rocprofiler-compute/tests/test_profile_general.py @@ -1578,6 +1578,7 @@ def test_mem_levels_HBM(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS @@ -1608,6 +1609,7 @@ def test_mem_levels_L2(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS @@ -1638,6 +1640,7 @@ def test_mem_levels_vL1D(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS @@ -1668,6 +1671,7 @@ def test_mem_levels_LDS(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS @@ -1698,6 +1702,7 @@ def test_mem_levels_HBM_LDS(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS @@ -1728,6 +1733,7 @@ def test_mem_levels_vL1D_LDS(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS @@ -1757,6 +1763,7 @@ def test_mem_levels_L2_vL1D_LDS(): file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "mi200": + print(sorted(list(file_dict.keys()))) assert sorted(list(file_dict.keys())) == ROOF_ONLY_FILES else: assert sorted(list(file_dict.keys())) == ALL_CSVS