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 to create. @param [in] graph - instance of graph to add the created node. @param [in] pDependencies - const pointer to the dependencies on the memcpy execution node. @param [in] numDependencies - the number of the dependencies. @param [in] symbol - Device symbol address. @param [in] src - pointer to memory address of the src. @param [in] count - the size of the memory to copy. @param [in] offset - Offset from start of symbol in bytes. @param [in] kind - the type of memory copy. @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.