dpctl.SyclPlatform.has_aspect_gpu

SyclPlatform.has_aspect_gpu

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

Returns:

Indicates whether all devices of the platform are gpus.

Return type:

bool