dpctl.SyclContext.get_devices¶
- SyclContext.get_devices()¶
Returns the list of
dpctl.SyclDeviceobjects associated withdpctl.SyclContextinstance.- Returns:
A
listofdpctl.SyclDeviceobjects that belong to this context.- Return type:
- Raises:
ValueError – If the
DPCTLContext_GetDevicescall returnedNULLinstead of aDPCTLDeviceVectorRefobject.