Intel® oneAPI Collective Communications Library (oneCCL) Developer Guide and Reference
ID
772609
Date
3/24/2025
Public
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-01B9887D-73A9-4B5C-B249-0EDD3CA2E1F9
Context
template<class native_context_type, class = typename std::enable_if<is_context_supported<native_context_type>()>::type> context CCL_API create_context (native_context_type &&native_context)
Creates a new context from @native_contex_type.
- Parameters
-
native_context – the existing handle of context
- Returns
-
context object
context CCL_API create_context ()