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