dpctl.SyclContext.device_count¶
- SyclContext.device_count¶
The number of sycl devices associated with the
dpctl.SyclContextinstance.- Returns:
Number of devices associated with the context.
- Return type:
- Raises:
ValueError – If
DPCTLContext_DeviceCountcall led to a failure.