Function hip_sys::hiprt::hipCtxCreate

source ·
pub unsafe extern "C" fn hipCtxCreate(
    ctx: *mut *mut ihipCtx_t,
    flags: u32,
    device: i32
) -> hipError_t
Expand description

@} / /**


@defgroup Context Context Management @{ This section describes the context management functions of HIP runtime API. / /**

@addtogroup ContextD Context Management [Deprecated] @{ @ingroup Context This section describes the deprecated context management functions of HIP runtime API. / /** @brief Create a context and set it as current/ default context

@param [out] ctx @param [in] flags @param [in] associated device handle

@return #hipSuccess

@see hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice