Function hip_runtime_sys::hipCtxPopCurrent
source · pub unsafe extern "C" fn hipCtxPopCurrent(
ctx: *mut hipCtx_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