Function hip_sys::hiprt::hipCtxDestroy

source ·
pub unsafe extern "C" fn hipCtxDestroy(
    ctx: *mut ihipCtx_t
) -> hipError_t
Expand description

@brief Destroy a HIP context.

@param [in] ctx Context to destroy

@returns #hipSuccess, #hipErrorInvalidValue

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