Function hip_sys::hiprt::hipDevicePrimaryCtxReset
source · pub unsafe extern "C" fn hipDevicePrimaryCtxReset(
dev: i32
) -> hipError_tExpand description
@brief Resets the primary context on the GPU.
@param [in] Device which primary context is reset
@returns #hipSuccess
@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice