cubecl_hip_sys

Function hipGraphNodeGetDependentNodes

Source
pub unsafe extern "C" fn hipGraphNodeGetDependentNodes(
    node: hipGraphNode_t,
    pDependentNodes: *mut hipGraphNode_t,
    pNumDependentNodes: *mut usize,
) -> hipError_t
Expand description

@brief Returns a node’s dependent nodes.

@param [in] node - graph node to get the Dependent nodes from. @param [out] pDependentNodes - pointer to return the graph dependent nodes. @param [out] pNumDependentNodes - returns the number of graph node dependent nodes. @returns #hipSuccess, #hipErrorInvalidValue

DependentNodes may be NULL, in which case this function will return the number of dependent nodes in pNumDependentNodes. Otherwise, pNumDependentNodes entries will be filled in. If pNumDependentNodes is higher than the actual number of dependent nodes, the remaining entries in pDependentNodes will be set to NULL, and the number of nodes actually obtained will be returned in pNumDependentNodes. @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.