Trying patch for test_device_filter(). HIP_VISABLE_DEVICES should not dictate expected device
Signed-off-by: colramos-amd <colramos@amd.com>
Esse commit está contido em:
1 pai
4a86e39a25
commit
b3d63ea24e
1 file changed
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Bloquear um usuário