dpctl.SyclPlatform.get_composite_devices

SyclPlatform.get_composite_devices()

Returns the list of composite dpctl.SyclDevice objects associated with dpctl.SyclPlatform instance.

Returns:

A list of composite dpctl.SyclDevice objects that belong to this platform.

Return type:

list

Raises:

ValueError – If the DPCTLPlatform_GetCompositeDevices call returned NULL instead of a DPCTLDeviceVectorRef object.