pub unsafe extern "C" fn cudaGraphNodeGetDependentNodes_v2(
node: cudaGraphNode_t,
pDependentNodes: *mut cudaGraphNode_t,
edgeData: *mut cudaGraphEdgeData,
pNumDependentNodes: *mut usize,
) -> cudaError_t
Expand description
\brief Returns a node’s dependent nodes (12.3+)
Returns a list of \p node’s dependent nodes. \p pDependentNodes may be NULL, in which case this function will return the number of dependent nodes in \p pNumDependentNodes. Otherwise, \p pNumDependentNodes entries will be filled in. If \p pNumDependentNodes is higher than the actual number of dependent nodes, the remaining entries in \p pDependentNodes will be set to NULL, and the number of nodes actually obtained will be returned in \p pNumDependentNodes.
Note that if an edge has non-zero (non-default) edge data and \p edgeData is NULL, this API will return ::cudaErrorLossyQuery. If \p edgeData is non-NULL, then \p pDependentNodes must be as well.
\param node - Node to query \param pDependentNodes - Pointer to return the dependent nodes \param edgeData - Optional pointer to return edge data for dependent nodes \param pNumDependentNodes - See description
\return ::cudaSuccess, ::cudaErrorLossyQuery, ::cudaErrorInvalidValue \note_graph_thread_safety \notefnerr \note_init_rt \note_callback
\sa ::cudaGraphNodeGetDependencies, ::cudaGraphGetNodes, ::cudaGraphGetRootNodes, ::cudaGraphGetEdges, ::cudaGraphAddDependencies, ::cudaGraphRemoveDependencies