hipDrvGraphAddMemcpyNode

Function hipDrvGraphAddMemcpyNode 

Source
pub unsafe extern "C" fn hipDrvGraphAddMemcpyNode(
    phGraphNode: *mut hipGraphNode_t,
    hGraph: hipGraph_t,
    dependencies: *const hipGraphNode_t,
    numDependencies: usize,
    copyParams: *const HIP_MEMCPY3D,
    ctx: hipCtx_t,
) -> hipError_t
Expand description

@brief Creates a memcpy node and adds it to a graph.

@param [out] phGraphNode - Pointer to graph node that is created. @param [in] hGraph - Instance of graph to add the created node to. @param [in] dependencies - const pointer to the dependencies of the memcpy execution node. @param [in] numDependencies - The number of dependencies. @param [in] copyParams - const pointer to the parameters for the memory copy. @param [in] ctx - context related to current device. @returns #hipSuccess, #hipErrorInvalidValue