hipGraphAddMemcpyNodeToSymbol

Function hipGraphAddMemcpyNodeToSymbol 

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

@brief Creates a memcpy node to copy to a symbol on the device 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 on the memcpy execution node. @param [in] numDependencies - Number of dependencies. @param [in] symbol - Device symbol address. @param [in] src - Pointer to memory address of the src. @param [in] count - Size of the memory to copy. @param [in] offset - Offset from start of symbol in bytes. @param [in] kind - Type of memory copy. @returns #hipSuccess, #hipErrorInvalidValue