cubecl_hip_sys

Function hipDevicePrimaryCtxReset

Source
pub unsafe extern "C" fn hipDevicePrimaryCtxReset(
    dev: hipDevice_t,
) -> hipError_t
Expand description

@brief Resets the primary context on the GPU.

@param [in] dev Device which primary context is reset

@returns #hipSuccess

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

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