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
devicereturned by the SYCLcpu_selector.- Return type:
- Raises:
dpctl.SyclDeviceCreationError – If the SYCL
cpu_selectoris unable to select adevice.