pub unsafe extern "C" fn cuGraphAddDependencies_v2(
hGraph: CUgraph,
from: *const CUgraphNode,
to: *const CUgraphNode,
edgeData: *const CUgraphEdgeData,
numDependencies: usize,
) -> CUresult
Expand description
\brief Adds dependency edges to a graph (12.3+)
The number of dependencies to be added 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 an existing dependency will return an error.
\param hGraph - Graph to which dependencies are added \param from - Array of nodes that provide the dependencies \param to - Array of dependent nodes \param edgeData - Optional array of edge data. If NULL, default (zeroed) edge data is assumed. \param numDependencies - Number of dependencies to be added
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr
\sa ::cuGraphRemoveDependencies, ::cuGraphGetEdges, ::cuGraphNodeGetDependencies, ::cuGraphNodeGetDependentNodes