dpctl.SyclContext.sycl_platform¶
- SyclContext.sycl_platform¶
Returns the platform associated with this context.
- Returns:
The platform associated with this context.
- Return type:
- Raises:
RuntimeError – If
DPCTLContext_GetPlatformfails to return a platform.