dpctl.SyclContext.get_devices¶
- SyclContext.get_devices()¶
Returns a tuple of
dpctl.SyclDeviceobjects associated withdpctl.SyclContextinstance.- Returns:
A tuple of
dpctl.SyclDeviceobjects that belong to this context.- Return type:
Tuple[
dpctl.SyclDevice]- Raises:
ValueError – If the
DPCTLContext_GetDevicescall returnedNULLinstead of aDPCTLDeviceVectorRefobject.