Function rcudnn::cudaGraphRemoveDependencies[][src]

pub unsafe extern "C" fn cudaGraphRemoveDependencies(
    graph: *mut CUgraph_st,
    from: *const *mut CUgraphNode_st,
    to: *const *mut CUgraphNode_st,
    numDependencies: usize
) -> cudaError
Expand description

\brief Removes dependency edges from a graph.

The number of \p pDependencies to be removed is defined by \p numDependencies. Elements in \p pFrom and \p pTo at corresponding indices define a dependency. Each node in \p pFrom and \p pTo must belong to \p graph.

If \p numDependencies is 0, elements in \p pFrom and \p pTo will be ignored. Specifying a non-existing dependency will return an error.

\param graph - Graph from which to remove dependencies \param from - Array of nodes that provide the dependencies \param to - Array of dependent nodes \param numDependencies - Number of dependencies to be removed

\return ::cudaSuccess, ::cudaErrorInvalidValue \note_graph_thread_safety \notefnerr \note_init_rt \note_callback

\sa ::cudaGraphAddDependencies, ::cudaGraphGetEdges, ::cudaGraphNodeGetDependencies, ::cudaGraphNodeGetDependentNodes