SWDEV-417075 - add hipDrvAddMemcpy node

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I7080bc440cd5f8ccc8a3c595488421fc4daa9332
This commit is contained in:
sdashmiz
2023-08-28 09:22:00 -04:00
gecommit door Shadi Dashmiz
bovenliggende 35bb0d706a
commit 5debf08d77
+17
Bestand weergeven
@@ -6646,6 +6646,23 @@ hipError_t hipGraphKernelNodeSetParams(hipGraphNode_t node, const hipKernelNodeP
hipError_t hipGraphExecKernelNodeSetParams(hipGraphExec_t hGraphExec, hipGraphNode_t node,
const hipKernelNodeParams* pNodeParams);
/**
* @brief Creates a memcpy node and adds it to a graph.
*
* @param [out] phGraphNode - pointer to graph node to create.
* @param [in] hGraph - instance of graph to add the created node.
* @param [in] dependencies - const pointer to the dependencies on the memcpy execution node.
* @param [in] numDependencies - the number of the dependencies.
* @param [in] copyParams - const pointer to the parameters for the memory copy.
* @param [in] ctx - cotext related to current device.
* @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.
*/
hipError_t hipDrvGraphAddMemcpyNode(hipGraphNode_t* phGraphNode, hipGraph_t hGraph,
const hipGraphNode_t* dependencies,
size_t numDependencies,
const HIP_MEMCPY3D* copyParams, hipCtx_t ctx);
/**
* @brief Creates a memcpy node and adds it to a graph.
*