dpctl.SyclDevice.has_aspect_custom

SyclDevice.has_aspect_custom

Returns True if this device is a custom device, False otherwise.

A custom device can be a dedicated accelerator that can use the SYCL API, but programmable kernels cannot be dispatched to the device, only fixed functionality is available. Refer SYCL spec for more details.

Example:
>>> import dpctl
>>> dev = dpctl.select_cpu_device()
>>> dev.has_aspect_custom
False
Returns:

Indicates if the device is a custom SYCL device.

Return type:

bool