dpctl.SyclContext.get_devices¶
- SyclContext.get_devices()¶
Returns the list of
dpctl.SyclDevice
objects associated withdpctl.SyclContext
instance.- Returns:
A
list
ofdpctl.SyclDevice
objects that belong to this context.- Return type:
- Raises:
ValueError – If the
DPCTLContext_GetDevices
call returnedNULL
instead of aDPCTLDeviceVectorRef
object.