Trying patch for test_device_filter(). HIP_VISABLE_DEVICES should not dictate expected device

Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: b3d63ea24e]
Bu işleme şunda yer alıyor:
colramos-amd
2024-03-13 16:30:52 -05:00
ebeveyn ead7537cba
işleme 4be73b88c6
+2 -2
Dosyayı Görüntüle
@@ -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()