Skip to content

Commit

Permalink
Get rid of 'has_aspect_host' property in tests (IntelPython#1274)
Browse files Browse the repository at this point in the history
* 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 <oleksandr.pavlyk@intel.com>

Co-authored-by: Oleksandr Pavlyk <oleksandr.pavlyk@intel.com>
  • Loading branch information
antonwolfy and oleksandr-pavlyk authored Jan 23, 2023
1 parent 9209351 commit 082fb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sycl_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"cpu",
]

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

valid_devices = []
for device in available_devices:
Expand Down

0 comments on commit 082fb92

Please sign in to comment.