Function hip_sys::hiprt::hipGraphAddMemcpyNode1D
source · pub unsafe extern "C" fn hipGraphAddMemcpyNode1D(
pGraphNode: *mut *mut hipGraphNode,
graph: *mut ihipGraph,
pDependencies: *const *mut hipGraphNode,
numDependencies: usize,
dst: *mut c_void,
src: *const c_void,
count: usize,
kind: hipMemcpyKind
) -> hipError_tExpand description
@brief Creates a 1D memcpy node 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] dst - pointer to memory address to the destination. @param [in] src - pointer to memory address to the source. @param [in] count - the size of the memory to copy. @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.