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
device
returned by the SYCLdefault_selector
.- Return type:
- Raises:
dpctl.SyclDeviceCreationError – If the SYCL
default_selector
is unable to select adevice
.