dpctl.SyclDevice.backend¶
- SyclDevice.backend¶
Returns the
backend_type
enum value for this device- Example:
>>> import dpctl >>> dev = dpctl.select_cpu_device() >>> dev.backend <backend_type.opencl: 4>
- Returns:
The backend for the device.
- Return type:
backend_type