Function cuGraphNodeGetDependentNodes

Source
pub unsafe extern "C" fn cuGraphNodeGetDependentNodes(
    hNode: CUgraphNode,
    dependentNodes: *mut CUgraphNode,
    numDependentNodes: *mut usize,
) -> CUresult
Expand description

\brief Returns a node’s dependent nodes

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.

\param hNode - Node to query \param dependentNodes - Pointer to return the dependent nodes \param numDependentNodes - See description

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr

\sa ::cuGraphNodeGetDependencies, ::cuGraphGetNodes, ::cuGraphGetRootNodes, ::cuGraphGetEdges, ::cuGraphAddDependencies, ::cuGraphRemoveDependencies