Function hip_sys::hiprt::hipCtxSynchronize
source · pub unsafe extern "C" fn hipCtxSynchronize() -> hipError_tExpand description
@brief Blocks until the default context has completed all preceding requested tasks.
@return #hipSuccess
@warning This function waits for all streams on the default context to complete execution, and then returns.
@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxGetDevice