Function rcudnn::cudaGraphNodeGetDependencies[][src]

pub unsafe extern "C" fn cudaGraphNodeGetDependencies(
    node: *mut CUgraphNode_st,
    pDependencies: *mut *mut CUgraphNode_st,
    pNumDependencies: *mut usize
) -> cudaError
Expand description

\brief Returns a node’s dependencies

Returns a list of \p node’s dependencies. \p pDependencies may be NULL, in which case this function will return the number of dependencies in \p pNumDependencies. Otherwise, \p pNumDependencies entries will be filled in. If \p pNumDependencies is higher than the actual number of dependencies, the remaining entries in \p pDependencies will be set to NULL, and the number of nodes actually obtained will be returned in \p pNumDependencies.

\param node - Node to query \param pDependencies - Pointer to return the dependencies \param pNumDependencies - See description

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

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