From 4be73b88c65b222369080dd6e1540f16cd3b6ff4 Mon Sep 17 00:00:00 2001 From: colramos-amd Date: Wed, 13 Mar 2024 16:30:52 -0500 Subject: [PATCH] Trying patch for test_device_filter(). HIP_VISABLE_DEVICES should not dictate expected device Signed-off-by: colramos-amd [ROCm/rocprofiler-compute commit: b3d63ea24eb268d3c51f5d643a37b5d193554f1e] --- projects/rocprofiler-compute/tests/test_profile_general.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-compute/tests/test_profile_general.py b/projects/rocprofiler-compute/tests/test_profile_general.py index 5402829dda..12bb8f3665 100644 --- a/projects/rocprofiler-compute/tests/test_profile_general.py +++ b/projects/rocprofiler-compute/tests/test_profile_general.py @@ -562,8 +562,8 @@ def test_kernel_names(): @pytest.mark.misc def test_device_filter(): device_id = "0" - if "HIP_VISIBLE_DEVICES" in os.environ: - device_id = os.environ["HIP_VISIBLE_DEVICES"] + # if "HIP_VISIBLE_DEVICES" in os.environ: + # device_id = os.environ["HIP_VISIBLE_DEVICES"] options = baseline_opts + ["--device", device_id] workload_dir = test_utils.get_output_dir()