Skip to content

Commit 082fb92

Browse files
Get rid of 'has_aspect_host' property in tests (#1274)
* Set minimum required versions & fix debug building * Get rid of 'has_aspect_host' property in tests * Update tests/test_sycl_queue.py Co-authored-by: Oleksandr Pavlyk <[email protected]> Co-authored-by: Oleksandr Pavlyk <[email protected]>
1 parent 9209351 commit 082fb92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_sycl_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"cpu",
1818
]
1919

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

2222
valid_devices = []
2323
for device in available_devices:

0 commit comments

Comments
 (0)