pub unsafe extern "C" fn hipCtxSetCurrent(
    ctx: *mut ihipCtx_t
) -> hipError_t
Expand description

@brief Set the passed context as current/default

@param [in] ctx

@returns #hipSuccess, #hipErrorInvalidContext

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