Function rcudnn_sys::cudaGraphNodeGetDependentNodes[][src]

pub unsafe extern "C" fn cudaGraphNodeGetDependentNodes(
    node: cudaGraphNode_t,
    pDependentNodes: *mut cudaGraphNode_t,
    pNumDependentNodes: *mut usize
) -> cudaError_t
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