pub unsafe extern "C" fn hipCtxDestroy(ctx: hipCtx_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
@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.