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

Signed-off-by: colramos-amd <colramos@amd.com>
Este commit está contenido en:
colramos-amd
2024-03-13 16:30:52 -05:00
padre 4a86e39a25
commit b3d63ea24e
+2 -2
Ver fichero
@@ -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()