dpctl.SyclEvent.backend

SyclEvent.backend

Returns the backend_type enum value for the device associated with this event.

Example:
>>> import dpctl
>>> ev = dpctl.SyclEvent()
>>> ev.backend
<backend_type.level_zero: 3>
Returns:

The backend for the device.

Return type:

backend_type