cubecl_hip_sys

Function hipCtxSynchronize

Source
pub unsafe extern "C" fn hipCtxSynchronize() -> hipError_t
Expand 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

@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.