pub unsafe extern "C" fn hipGraphNodeGetDependencies(
node: hipGraphNode_t,
pDependencies: *mut hipGraphNode_t,
pNumDependencies: *mut usize,
) -> hipError_t
Expand description
@brief Returns a node’s dependencies.
@param [in] node - graph node to get the dependencies from. @param [out] pDependencies - pointer to to return the dependencies. @param [out] pNumDependencies - returns the number of graph node dependencies. @returns #hipSuccess, #hipErrorInvalidValue
pDependencies may be NULL, in which case this function will return the number of dependencies in pNumDependencies. Otherwise, pNumDependencies entries will be filled in. If pNumDependencies is higher than the actual number of dependencies, the remaining entries in pDependencies will be set to NULL, and the number of nodes actually obtained will be returned in pNumDependencies. @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.