dpctl.select_accelerator_device¶
- dpctl.select_accelerator_device()¶
A wrapper for
sycl::device{sycl::accelerator_selector_v}constructor.- Returns:
A Python object wrapping the SYCL
devicereturned by the SYCLaccelerator_selector.- Return type:
- Raises:
dpctl.SyclDeviceCreationError – If the SYCL
accelerator_selectoris unable to select adevice.