cubecl_hip_sys

Function hipDrvGraphAddMemFreeNode

Source
pub unsafe extern "C" fn hipDrvGraphAddMemFreeNode(
    phGraphNode: *mut hipGraphNode_t,
    hGraph: hipGraph_t,
    dependencies: *const hipGraphNode_t,
    numDependencies: usize,
    dptr: hipDeviceptr_t,
) -> hipError_t
Expand description

@brief Creates a memory free node and adds it to a graph

@param [out] phGraphNode - Pointer to the graph node to create and add to the graph @param [in] hGraph - Instane of the graph the node to be added @param [in] dependencies - Const pointer to the node dependenties @param [in] numDependencies - The number of dependencies @param [in] dptr - 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.