dpctl.SyclDevice.is_accelerator

SyclDevice.is_accelerator

Returns True if this instance is a SYCL accelerator device.

Returns:

True if the SyclDevice is a SYCL accelerator device, else False.

Return type:

bool