Support new HIP APIs (#179)

* Adding New HIP APIs

* Format Fix

* Format Fix

* Removing changes from ostream and moving it to format

* Addressing Code Review Comments

* Versioning the new hip calls formatting

---------

Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
This commit is contained in:
Elwazir, AmmarandAmmar ELWazir authored and GitHub committed 2025-02-04 15:50:18 -06:00
1 parent b9ad800194
commit dd5c0ea257
5 file changed
+131

No files matched your search

@@ -3016,6 +3016,41 @@ typedef union rocprofiler_hip_api_args_t
int device;
} hipDeviceGetTexture1DLinearMaxWidth;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 7
struct
{
hipStream_t stream;
unsigned int count;
hipStreamBatchMemOpParams* paramArray;
unsigned int flags;
} hipStreamBatchMemOp;
#endif
#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 8
struct
{
hipGraphNode_t* phGraphNode;
hipGraph_t hGraph;
const hipGraphNode_t* dependencies;
size_t numDependencies;
const hipBatchMemOpNodeParams* nodeParams;
} hipGraphAddBatchMemOpNode;
struct
{
hipGraphNode_t hNode;
hipBatchMemOpNodeParams* nodeParams_out;
} hipGraphBatchMemOpNodeGetParams;
struct
{
hipGraphNode_t hNode;
hipBatchMemOpNodeParams* nodeParams;
} hipGraphBatchMemOpNodeSetParams;
struct
{
hipGraphExec_t hGraphExec;
hipGraphNode_t hNode;
const hipBatchMemOpNodeParams* nodeParams;
} hipGraphExecBatchMemOpNodeSetParams;
#endif
} rocprofiler_hip_api_args_t;
ROCPROFILER_EXTERN_C_FINI