dpctl.select_cpu_device¶
- dpctl.select_cpu_device()¶
A wrapper for
sycl::device{sycl::cpu_selector_v}
constructor.- Returns:
A Python object wrapping the SYCL
device
returned by the SYCLcpu_selector
.- Return type:
- Raises:
dpctl.SyclDeviceCreationError – If the SYCL
cpu_selector
is unable to select adevice
.