pub unsafe extern "C" fn hipCtxGetCurrent(
ctx: *mut hipCtx_t,
) -> hipError_t
Expand description
@brief Get the handle of the current/ default context
@param [out] ctx The context to get as current
@returns #hipSuccess, #hipErrorInvalidContext
@see hipCtxCreate, hipCtxDestroy, hipCtxGetDevice, hipCtxGetFlags, hipCtxPopCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.