From 9b26fd9c08ca4a22cf914ee7e0ecd67abc3dd062 Mon Sep 17 00:00:00 2001 From: "Kandula, Venkateshwar reddy" Date: Wed, 16 Apr 2025 12:34:48 -0500 Subject: [PATCH] [SDK] remove HIP_MEMSET_NODE_PARAMS for HIP step version to 13 (#343) * Update api_args.h hip_memset_node_params to version 13 * Update format.hpp move version to 13 hip_memset_node_params [ROCm/rocprofiler-sdk commit: 235a148ce6418adf75867d36f7096bfffe2d2ead] --- .../source/include/rocprofiler-sdk/hip/api_args.h | 8 ++++---- .../source/lib/rocprofiler-sdk/hip/details/format.hpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/rocprofiler-sdk/source/include/rocprofiler-sdk/hip/api_args.h b/projects/rocprofiler-sdk/source/include/rocprofiler-sdk/hip/api_args.h index 75808bd2dc..2d5b76ff2a 100644 --- a/projects/rocprofiler-sdk/source/include/rocprofiler-sdk/hip/api_args.h +++ b/projects/rocprofiler-sdk/source/include/rocprofiler-sdk/hip/api_args.h @@ -2782,10 +2782,10 @@ typedef union rocprofiler_hip_api_args_t hipGraph_t hGraph; const hipGraphNode_t* dependencies; size_t numDependencies; -#if HIP_RUNTIME_API_TABLE_STEP_VERSION < 12 +#if HIP_RUNTIME_API_TABLE_STEP_VERSION < 13 const HIP_MEMSET_NODE_PARAMS* memsetParams; #endif -#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 12 +#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 13 const hipMemsetParams* memsetParams; #endif hipCtx_t ctx; @@ -2971,10 +2971,10 @@ typedef union rocprofiler_hip_api_args_t { hipGraphExec_t hGraphExec; hipGraphNode_t hNode; -# if HIP_RUNTIME_API_TABLE_STEP_VERSION < 12 +# if HIP_RUNTIME_API_TABLE_STEP_VERSION < 13 const HIP_MEMSET_NODE_PARAMS* memsetParams; # endif -# if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 12 +# if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 13 const hipMemsetParams* memsetParams; # endif hipCtx_t ctx; diff --git a/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/hip/details/format.hpp b/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/hip/details/format.hpp index e91b3169c3..e1e162de69 100644 --- a/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/hip/details/format.hpp +++ b/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/hip/details/format.hpp @@ -152,7 +152,7 @@ ROCP_SDK_HIP_FORMATTER(hipGraphEdgeData, v.to_port, v.type, '}') -#if HIP_RUNTIME_API_TABLE_STEP_VERSION < 12 +#if HIP_RUNTIME_API_TABLE_STEP_VERSION < 13 ROCP_SDK_HIP_FORMATTER(HIP_MEMSET_NODE_PARAMS, "{}dst={}, pitch={}, value={}, elementSize={}, width={}, height={}{}", '{',