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