[SDK] remove HIP_MEMSET_NODE_PARAMS for HIP step version >= 12. (#334)

* remove HIP_MEMSET_NODE_PARAMS for HIP step version >= 12.

* remove extra ifdef

* format.

---------

Co-authored-by: Venkateshwar Reddy Kandula <vkandula@amd.com>
이 커밋은 다음에 포함됨:
Kandula, Venkateshwar reddy그리고Venkateshwar Reddy Kandula 작성하고 GitHub가 2025-04-15 14:05:15 -07:00를 커밋함
1 부모 96a0ef244f
커밋 6cea857c6a
2 파일이 변경됨
+20 -8

검색과 일치하는 파일 없음

+18 -8
파일 보기
@@ -2778,12 +2778,17 @@ typedef union rocprofiler_hip_api_args_t
} hipGetStreamDeviceId;
struct
{
hipGraphNode_t* phGraphNode;
hipGraph_t hGraph;
const hipGraphNode_t* dependencies;
size_t numDependencies;
hipGraphNode_t* phGraphNode;
hipGraph_t hGraph;
const hipGraphNode_t* dependencies;
size_t numDependencies;
#if HIP_RUNTIME_API_TABLE_STEP_VERSION < 12
const HIP_MEMSET_NODE_PARAMS* memsetParams;
hipCtx_t ctx;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 12
const hipMemsetParams* memsetParams;
#endif
hipCtx_t ctx;
} hipDrvGraphAddMemsetNode;
struct
{
@@ -2964,10 +2969,15 @@ typedef union rocprofiler_hip_api_args_t
} hipDrvGraphExecMemcpyNodeSetParams;
struct
{
hipGraphExec_t hGraphExec;
hipGraphNode_t hNode;
hipGraphExec_t hGraphExec;
hipGraphNode_t hNode;
# if HIP_RUNTIME_API_TABLE_STEP_VERSION < 12
const HIP_MEMSET_NODE_PARAMS* memsetParams;
hipCtx_t ctx;
# endif
# if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 12
const hipMemsetParams* memsetParams;
# endif
hipCtx_t ctx;
} hipDrvGraphExecMemsetNodeSetParams;
struct
{