Function rcudnn::cudaGraphNodeGetDependentNodes[][src]

pub unsafe extern "C" fn cudaGraphNodeGetDependentNodes(
    node: *mut CUgraphNode_st,
    pDependentNodes: *mut *mut CUgraphNode_st,
    pNumDependentNodes: *mut usize
) -> cudaError
Expand description

\brief Returns a node’s dependent nodes

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.

\param node - Node to query \param pDependentNodes - Pointer to return the dependent nodes \param pNumDependentNodes - See description

\return ::cudaSuccess, ::cudaErrorInvalidValue \note_graph_thread_safety \notefnerr \note_init_rt \note_callback

\sa ::cudaGraphNodeGetDependencies, ::cudaGraphGetNodes, ::cudaGraphGetRootNodes, ::cudaGraphGetEdges, ::cudaGraphAddDependencies, ::cudaGraphRemoveDependencies