hipGraphAddMemAllocNode

Function hipGraphAddMemAllocNode 

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

@brief Creates a memory allocation 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 - Instance of the graph node to be added @param [in] pDependencies - Const pointer to the node dependencies @param [in] numDependencies - The number of dependencies @param [in, out] pNodeParams - Node parameters for memory allocation, returns a pointer to the allocated memory. @returns #hipSuccess, #hipErrorInvalidValue