dpctl.SyclPlatform.has_aspect_accelerator

SyclPlatform.has_aspect_accelerator

Returns True if all devices of this platform (if any) are accelerator devices, False otherwise.

SYCL considers an accelerator to be a device that usually uses a peripheral interconnect for communication.

Returns:

Indicates whether all devices of the platform are accelerators.

Return type:

bool