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 .

Parameters

native_context – the existing handle of context

Returns

context object

context CCL_API create_context ()