pub unsafe extern "C" fn cuGraphNodeGetDependentNodes_v2(
hNode: CUgraphNode,
dependentNodes: *mut CUgraphNode,
edgeData: *mut CUgraphEdgeData,
numDependentNodes: *mut usize,
) -> CUresult
Expand description
\brief Returns a node’s dependent nodes (12.3+)
Returns a list of \p node’s dependent nodes. \p dependentNodes may be NULL, in which case this function will return the number of dependent nodes in \p numDependentNodes. Otherwise, \p numDependentNodes entries will be filled in. If \p numDependentNodes is higher than the actual number of dependent nodes, the remaining entries in \p dependentNodes will be set to NULL, and the number of nodes actually obtained will be returned in \p numDependentNodes.
Note that if an edge has non-zero (non-default) edge data and \p edgeData is NULL, this API will return ::CUDA_ERROR_LOSSY_QUERY. If \p edgeData is non-NULL, then \p dependentNodes must be as well.
\param hNode - Node to query \param dependentNodes - Pointer to return the dependent nodes \param edgeData - Optional pointer to return edge data for dependent nodes \param numDependentNodes - See description
\return ::CUDA_SUCCESS, ::CUDA_ERROR_LOSSY_QUERY, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr
\sa ::cuGraphNodeGetDependencies, ::cuGraphGetNodes, ::cuGraphGetRootNodes, ::cuGraphGetEdges, ::cuGraphAddDependencies, ::cuGraphRemoveDependencies