dpctl.SyclPlatform.has_aspect_is_component

SyclPlatform.has_aspect_is_component

Returns True if all devices of this platform (if any) are component devices, False otherwise. A device with this aspect will have a composite device from which it is descended. Always False if the SYCL implementation does not support the aspect.

Returns:

Indicates if all devices of the platform are component devices.

Return type:

bool