cubecl_hip_sys

Function hipGraphAddMemFreeNode

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

@brief Creates a memory free 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] dev_ptr - Pointer to the memory to be freed @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.