cubecl_hip_sys

Function hipGraphAddNode

Source
pub unsafe extern "C" fn hipGraphAddNode(
    pGraphNode: *mut hipGraphNode_t,
    graph: hipGraph_t,
    pDependencies: *const hipGraphNode_t,
    numDependencies: usize,
    nodeParams: *mut hipGraphNodeParams,
) -> hipError_t
Expand description

@brief Creates a kernel execution node and adds it to a graph.

@param [out] pGraphNode - pointer to graph node to create. @param [in] graph - instance of graph to add the created node. @param [in] pDependencies - pointer to the dependencies on the kernel execution node. @param [in] numDependencies - the number of the dependencies. @param [in] nodeParams - pointer to the parameters for the node. @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.