pub unsafe extern "C" fn cuGraphRemoveDependencies(
hGraph: CUgraph,
from: *const CUgraphNode,
to: *const CUgraphNode,
numDependencies: usize,
) -> CUresult
Expand description
\brief Removes dependency edges from a graph
The number of \p dependencies to be removed is defined by \p numDependencies. Elements in \p from and \p to at corresponding indices define a dependency. Each node in \p from and \p to must belong to \p hGraph.
If \p numDependencies is 0, elements in \p from and \p to will be ignored. Specifying a non-existing dependency will return an error.
Dependencies cannot be removed from graphs which contain allocation or free nodes. Any attempt to do so will return an error.
\param hGraph - 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 ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr
\sa ::cuGraphAddDependencies, ::cuGraphGetEdges, ::cuGraphNodeGetDependencies, ::cuGraphNodeGetDependentNodes