cubecl_hip_sys

Function hipGraphAddEventRecordNode

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

@brief Creates an event record node and adds it to a graph.

@param [out] pGraphNode - pointer to the graph node to create and add to the graph. @param [in] graph - instane of the graph the node to be added. @param [in] pDependencies - const pointer to the node dependenties. @param [in] numDependencies - the number of dependencies. @param [in] event - Event 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.