Skip to content

Commit 2907869

Browse files
Merge pull request #1159 from IntelPython/test-failures
Do not test on host device in test_sycl.py for now
2 parents af5401a + f3a13ce commit 2907869

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_sycl_queue.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
"cpu",
1818
]
1919

20-
available_devices = dpctl.get_devices()
20+
available_devices = [d for d in dpctl.get_devices() if not d.has_aspect_host]
2121

2222
valid_devices = []
2323
for device in available_devices:
24+
if d.default_selector_score < 0:
25+
pass
2426
if device.backend.name not in list_of_backend_str:
2527
pass
2628
elif device.device_type.name not in list_of_device_type_str:

0 commit comments

Comments
 (0)