cubecl_hip_sys

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. @param [in] from - pointer to the graph nodes with dependenties to add from. @param [in] to - pointer to the graph nodes to add dependenties to. @param [in] numDependencies - the number of dependencies to add. @returns #hipSuccess, #hipErrorInvalidValue

@warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.