Function hip_sys::hiprt::hipCtxPopCurrent
source · pub unsafe extern "C" fn hipCtxPopCurrent(
ctx: *mut *mut ihipCtx_t
) -> hipError_tExpand description
@brief Pop the current/default context and return the popped context.
@param [out] ctx
@returns #hipSuccess, #hipErrorInvalidContext
@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxSetCurrent, hipCtxGetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice