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

@brief Get the handle of the current/ default context

@param [out] ctx

@returns #hipSuccess, #hipErrorInvalidContext

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