From 91ac5744ef701b26edf1a2046e25d27e8d5aa5af Mon Sep 17 00:00:00 2001 From: Anusha GodavarthySurya Date: Tue, 20 Jul 2021 04:45:07 -0700 Subject: [PATCH] SWDEV-240806 - Added API hipGraphAddMemcpyNode1D Change-Id: I32440de0e890b001274fc7ca564fd91363d716d8 --- include/hip/hip_runtime_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index a59e7e3e3a..9753030bdb 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -4153,6 +4153,10 @@ hipError_t hipGraphAddKernelNode(hipGraphNode_t* pGraphNode, hipGraph_t graph, hipError_t hipGraphAddMemcpyNode(hipGraphNode_t* pGraphNode, hipGraph_t graph, const hipGraphNode_t* pDependencies, size_t numDependencies, const hipMemcpy3DParms* pCopyParams); +// Creates a 1D memcpy node and adds it to a graph. +hipError_t hipGraphAddMemcpyNode1D(hipGraphNode_t* pGraphNode, hipGraph_t graph, + const hipGraphNode_t* pDependencies, size_t numDependencies, + void* dst, const void* src, size_t count, hipMemcpyKind kind); // Creates a memset node and adds it to a graph. hipError_t hipGraphAddMemsetNode(hipGraphNode_t* pGraphNode, hipGraph_t graph, const hipGraphNode_t* pDependencies, size_t numDependencies,