Function hip_runtime_sys::hipCtxDestroy
source · pub unsafe extern "C" fn hipCtxDestroy(ctx: hipCtx_t) -> hipError_tExpand 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