hipGraphAddDependencies

Function hipGraphAddDependencies 

Source
pub unsafe extern "C" fn hipGraphAddDependencies(
    graph: hipGraph_t,
    from: *const hipGraphNode_t,
    to: *const hipGraphNode_t,
    numDependencies: usize,
) -> hipError_t
Expand description

@brief Adds dependency edges to a graph.

@param [in] graph - Instance of the graph to add dependencies to. @param [in] from - Pointer to the graph nodes with dependencies to add from. @param [in] to - Pointer to the graph nodes to add dependencies to. @param [in] numDependencies - Number of dependencies to add. @returns #hipSuccess, #hipErrorInvalidValue