From 13556b72a7e005fe2f277230ecd7344981ac41b6 Mon Sep 17 00:00:00 2001 From: "Assiouras, Ioannis" Date: Wed, 21 May 2025 16:46:14 +0100 Subject: [PATCH] SWDEV-508965 - [6.4 Preview] Remove HIP_MEMSET_NODE_PARAMS struct (#92) --- include/hip/hip_runtime_api.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 8d5ebf1da6..229121cdcf 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -1479,18 +1479,6 @@ typedef union hipLaunchAttributeValue { #define hipDrvLaunchAttributeValue hipLaunchAttributeValue #define hipDrvLaunchAttribute hipLaunchAttribute -/** - * Memset node params - */ -typedef struct HIP_MEMSET_NODE_PARAMS { - hipDeviceptr_t dst; ///< Destination pointer on device - size_t pitch; ///< Destination device pointer pitch. Unused if height equals 1 - unsigned int value; ///< Value of memset to be set - unsigned int elementSize; ///< Element in bytes. Must be 1, 2, or 4. - size_t width; ///< Width of a row - size_t height; ///< Number of rows -} HIP_MEMSET_NODE_PARAMS; - /** * Graph execution update result */ @@ -8889,7 +8877,7 @@ hipError_t hipDrvGraphMemcpyNodeSetParams(hipGraphNode_t hNode, const HIP_MEMCPY */ hipError_t hipDrvGraphAddMemsetNode(hipGraphNode_t* phGraphNode, hipGraph_t hGraph, const hipGraphNode_t* dependencies, size_t numDependencies, - const HIP_MEMSET_NODE_PARAMS* memsetParams, hipCtx_t ctx); + const hipMemsetParams* memsetParams, hipCtx_t ctx); /** * @brief Creates a memory free node and adds it to a graph @@ -8933,7 +8921,7 @@ hipError_t hipDrvGraphExecMemcpyNodeSetParams(hipGraphExec_t hGraphExec, hipGrap * change and might have outstanding issues. */ hipError_t hipDrvGraphExecMemsetNodeSetParams(hipGraphExec_t hGraphExec, hipGraphNode_t hNode, - const HIP_MEMSET_NODE_PARAMS* memsetParams, hipCtx_t ctx); + const hipMemsetParams* memsetParams, hipCtx_t ctx); // doxygen end graph API /**