Function cuGreenCtxDestroy

Source
pub unsafe extern "C" fn cuGreenCtxDestroy(
    hCtx: CUgreenCtx,
) -> CUresult
Expand description

\brief Destroys a green context

Destroys the green context, releasing the primary context of the device that this green context was created for. Any resources provisioned for this green context (that were initially available via the resource descriptor) are released as well. \param hCtx - Green context to be destroyed

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_CONTEXT_IS_DESTROYED

\sa ::cuGreenCtxCreate, ::cuCtxDestroy