hipGraphAddMemcpyNode1D

Function hipGraphAddMemcpyNode1D 

Source
pub unsafe extern "C" fn hipGraphAddMemcpyNode1D(
    pGraphNode: *mut hipGraphNode_t,
    graph: hipGraph_t,
    pDependencies: *const hipGraphNode_t,
    numDependencies: usize,
    dst: *mut c_void,
    src: *const c_void,
    count: usize,
    kind: hipMemcpyKind,
) -> hipError_t
Expand description

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

@param [out] pGraphNode - Pointer to graph node that is created. @param [in] graph - Instance of graph to add the created node to. @param [in] pDependencies - const pointer to the dependencies of the memcpy execution node. @param [in] numDependencies - The number of dependencies. @param [in] dst - Pointer to memory address of the destination. @param [in] src - Pointer to memory address of the source. @param [in] count - Size of the memory to copy. @param [in] kind - Type of memory copy. @returns #hipSuccess, #hipErrorInvalidValue