HIP: Heterogenous-computing Interface for Portability
hip_prof_str.h
1 // Generated file. DO NOT EDIT.
2 //
3 // This file is automatically generated by the hip_prof_gen.py script.
4 // If changes are required, run the script and commit the updated file.
5 
6 #ifndef _HIP_PROF_STR_H
7 #define _HIP_PROF_STR_H
8 #define HIP_PROF_VER 1
9 
10 #include <hip/hip_runtime_api.h>
11 #include <hip/hip_deprecated.h>
12 #include "amd_hip_gl_interop.h"
13 
14 #define HIP_API_ID_CONCAT_HELPER(a,b) a##b
15 #define HIP_API_ID_CONCAT(a,b) HIP_API_ID_CONCAT_HELPER(a,b)
16 
17 // HIP API callbacks ID enumeration
18 enum hip_api_id_t {
19  HIP_API_ID_NONE = 0,
20  HIP_API_ID_FIRST = 1,
21  HIP_API_ID___hipPopCallConfiguration = 1,
22  HIP_API_ID___hipPushCallConfiguration = 2,
23  HIP_API_ID_hipArray3DCreate = 3,
24  HIP_API_ID_hipArrayCreate = 4,
25  HIP_API_ID_hipArrayDestroy = 5,
26  HIP_API_ID_hipChooseDeviceR0000 = 6,
27  HIP_API_ID_hipConfigureCall = 7,
28  HIP_API_ID_hipCtxCreate = 8,
29  HIP_API_ID_hipCtxDestroy = 9,
30  HIP_API_ID_hipCtxDisablePeerAccess = 10,
31  HIP_API_ID_hipCtxEnablePeerAccess = 11,
32  HIP_API_ID_hipCtxGetApiVersion = 12,
33  HIP_API_ID_hipCtxGetCacheConfig = 13,
34  HIP_API_ID_hipCtxGetCurrent = 14,
35  HIP_API_ID_hipCtxGetDevice = 15,
36  HIP_API_ID_hipCtxGetFlags = 16,
37  HIP_API_ID_hipCtxGetSharedMemConfig = 17,
38  HIP_API_ID_hipCtxPopCurrent = 18,
39  HIP_API_ID_hipCtxPushCurrent = 19,
40  HIP_API_ID_hipCtxSetCacheConfig = 20,
41  HIP_API_ID_hipCtxSetCurrent = 21,
42  HIP_API_ID_hipCtxSetSharedMemConfig = 22,
43  HIP_API_ID_hipCtxSynchronize = 23,
44  HIP_API_ID_hipDestroyExternalMemory = 24,
45  HIP_API_ID_hipDestroyExternalSemaphore = 25,
46  HIP_API_ID_hipDeviceCanAccessPeer = 26,
47  HIP_API_ID_hipDeviceComputeCapability = 27,
48  HIP_API_ID_hipDeviceDisablePeerAccess = 28,
49  HIP_API_ID_hipDeviceEnablePeerAccess = 29,
50  HIP_API_ID_hipDeviceGet = 30,
51  HIP_API_ID_hipDeviceGetAttribute = 31,
52  HIP_API_ID_hipDeviceGetByPCIBusId = 32,
53  HIP_API_ID_hipDeviceGetCacheConfig = 33,
54  HIP_API_ID_hipDeviceGetLimit = 34,
55  HIP_API_ID_hipDeviceGetName = 35,
56  HIP_API_ID_hipDeviceGetP2PAttribute = 36,
57  HIP_API_ID_hipDeviceGetPCIBusId = 37,
58  HIP_API_ID_hipDeviceGetSharedMemConfig = 38,
59  HIP_API_ID_hipDeviceGetStreamPriorityRange = 39,
60  HIP_API_ID_hipDevicePrimaryCtxGetState = 40,
61  HIP_API_ID_hipDevicePrimaryCtxRelease = 41,
62  HIP_API_ID_hipDevicePrimaryCtxReset = 42,
63  HIP_API_ID_hipDevicePrimaryCtxRetain = 43,
64  HIP_API_ID_hipDevicePrimaryCtxSetFlags = 44,
65  HIP_API_ID_hipDeviceReset = 45,
66  HIP_API_ID_hipDeviceSetCacheConfig = 46,
67  HIP_API_ID_hipDeviceSetSharedMemConfig = 47,
68  HIP_API_ID_hipDeviceSynchronize = 48,
69  HIP_API_ID_hipDeviceTotalMem = 49,
70  HIP_API_ID_RESERVED_50 = 50,
71  HIP_API_ID_hipDrvMemcpy2DUnaligned = 51,
72  HIP_API_ID_hipDrvMemcpy3D = 52,
73  HIP_API_ID_hipDrvMemcpy3DAsync = 53,
74  HIP_API_ID_hipEventCreate = 54,
75  HIP_API_ID_hipEventCreateWithFlags = 55,
76  HIP_API_ID_hipEventDestroy = 56,
77  HIP_API_ID_hipEventElapsedTime = 57,
78  HIP_API_ID_hipEventQuery = 58,
79  HIP_API_ID_hipEventRecord = 59,
80  HIP_API_ID_hipEventSynchronize = 60,
81  HIP_API_ID_hipExtGetLinkTypeAndHopCount = 61,
82  HIP_API_ID_hipExtLaunchKernel = 62,
83  HIP_API_ID_hipExtLaunchMultiKernelMultiDevice = 63,
84  HIP_API_ID_hipExtMallocWithFlags = 64,
85  HIP_API_ID_hipExtModuleLaunchKernel = 65,
86  HIP_API_ID_hipExtStreamCreateWithCUMask = 66,
87  HIP_API_ID_hipExtStreamGetCUMask = 67,
88  HIP_API_ID_hipExternalMemoryGetMappedBuffer = 68,
89  HIP_API_ID_hipFree = 69,
90  HIP_API_ID_hipFreeArray = 70,
91  HIP_API_ID_hipFreeHost = 71,
92  HIP_API_ID_hipFreeMipmappedArray = 72,
93  HIP_API_ID_hipFuncGetAttribute = 73,
94  HIP_API_ID_hipFuncGetAttributes = 74,
95  HIP_API_ID_hipFuncSetAttribute = 75,
96  HIP_API_ID_hipFuncSetCacheConfig = 76,
97  HIP_API_ID_hipFuncSetSharedMemConfig = 77,
98  HIP_API_ID_hipGetDevice = 78,
99  HIP_API_ID_hipGetDeviceCount = 79,
100  HIP_API_ID_hipGetDeviceFlags = 80,
101  HIP_API_ID_hipGetDevicePropertiesR0000 = 81,
102  HIP_API_ID_RESERVED_82 = 82,
103  HIP_API_ID_hipGetErrorString = 83,
104  HIP_API_ID_hipGetLastError = 84,
105  HIP_API_ID_hipGetMipmappedArrayLevel = 85,
106  HIP_API_ID_hipGetSymbolAddress = 86,
107  HIP_API_ID_hipGetSymbolSize = 87,
108  HIP_API_ID_hipHccModuleLaunchKernel = 88,
109  HIP_API_ID_hipHostAlloc = 89,
110  HIP_API_ID_hipHostFree = 90,
111  HIP_API_ID_hipHostGetDevicePointer = 91,
112  HIP_API_ID_hipHostGetFlags = 92,
113  HIP_API_ID_hipHostMalloc = 93,
114  HIP_API_ID_hipHostRegister = 94,
115  HIP_API_ID_hipHostUnregister = 95,
116  HIP_API_ID_hipImportExternalMemory = 96,
117  HIP_API_ID_hipImportExternalSemaphore = 97,
118  HIP_API_ID_hipInit = 98,
119  HIP_API_ID_hipIpcCloseMemHandle = 99,
120  HIP_API_ID_hipIpcGetEventHandle = 100,
121  HIP_API_ID_hipIpcGetMemHandle = 101,
122  HIP_API_ID_hipIpcOpenEventHandle = 102,
123  HIP_API_ID_hipIpcOpenMemHandle = 103,
124  HIP_API_ID_hipLaunchByPtr = 104,
125  HIP_API_ID_hipLaunchCooperativeKernel = 105,
126  HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 106,
127  HIP_API_ID_hipLaunchKernel = 107,
128  HIP_API_ID_hipMalloc = 108,
129  HIP_API_ID_hipMalloc3D = 109,
130  HIP_API_ID_hipMalloc3DArray = 110,
131  HIP_API_ID_hipMallocArray = 111,
132  HIP_API_ID_hipMallocHost = 112,
133  HIP_API_ID_hipMallocManaged = 113,
134  HIP_API_ID_hipMallocMipmappedArray = 114,
135  HIP_API_ID_hipMallocPitch = 115,
136  HIP_API_ID_hipMemAdvise = 116,
137  HIP_API_ID_hipMemAllocHost = 117,
138  HIP_API_ID_hipMemAllocPitch = 118,
139  HIP_API_ID_hipMemGetAddressRange = 119,
140  HIP_API_ID_hipMemGetInfo = 120,
141  HIP_API_ID_hipMemPrefetchAsync = 121,
142  HIP_API_ID_hipMemPtrGetInfo = 122,
143  HIP_API_ID_hipMemRangeGetAttribute = 123,
144  HIP_API_ID_hipMemRangeGetAttributes = 124,
145  HIP_API_ID_hipMemcpy = 125,
146  HIP_API_ID_hipMemcpy2D = 126,
147  HIP_API_ID_hipMemcpy2DAsync = 127,
148  HIP_API_ID_hipMemcpy2DFromArray = 128,
149  HIP_API_ID_hipMemcpy2DFromArrayAsync = 129,
150  HIP_API_ID_hipMemcpy2DToArray = 130,
151  HIP_API_ID_hipMemcpy2DToArrayAsync = 131,
152  HIP_API_ID_hipMemcpy3D = 132,
153  HIP_API_ID_hipMemcpy3DAsync = 133,
154  HIP_API_ID_hipMemcpyAsync = 134,
155  HIP_API_ID_hipMemcpyAtoH = 135,
156  HIP_API_ID_hipMemcpyDtoD = 136,
157  HIP_API_ID_hipMemcpyDtoDAsync = 137,
158  HIP_API_ID_hipMemcpyDtoH = 138,
159  HIP_API_ID_hipMemcpyDtoHAsync = 139,
160  HIP_API_ID_hipMemcpyFromArray = 140,
161  HIP_API_ID_hipMemcpyFromSymbol = 141,
162  HIP_API_ID_hipMemcpyFromSymbolAsync = 142,
163  HIP_API_ID_hipMemcpyHtoA = 143,
164  HIP_API_ID_hipMemcpyHtoD = 144,
165  HIP_API_ID_hipMemcpyHtoDAsync = 145,
166  HIP_API_ID_hipMemcpyParam2D = 146,
167  HIP_API_ID_hipMemcpyParam2DAsync = 147,
168  HIP_API_ID_hipMemcpyPeer = 148,
169  HIP_API_ID_hipMemcpyPeerAsync = 149,
170  HIP_API_ID_hipMemcpyToArray = 150,
171  HIP_API_ID_hipMemcpyToSymbol = 151,
172  HIP_API_ID_hipMemcpyToSymbolAsync = 152,
173  HIP_API_ID_hipMemcpyWithStream = 153,
174  HIP_API_ID_hipMemset = 154,
175  HIP_API_ID_hipMemset2D = 155,
176  HIP_API_ID_hipMemset2DAsync = 156,
177  HIP_API_ID_hipMemset3D = 157,
178  HIP_API_ID_hipMemset3DAsync = 158,
179  HIP_API_ID_hipMemsetAsync = 159,
180  HIP_API_ID_hipMemsetD16 = 160,
181  HIP_API_ID_hipMemsetD16Async = 161,
182  HIP_API_ID_hipMemsetD32 = 162,
183  HIP_API_ID_hipMemsetD32Async = 163,
184  HIP_API_ID_hipMemsetD8 = 164,
185  HIP_API_ID_hipMemsetD8Async = 165,
186  HIP_API_ID_hipModuleGetFunction = 166,
187  HIP_API_ID_hipModuleGetGlobal = 167,
188  HIP_API_ID_hipModuleGetTexRef = 168,
189  HIP_API_ID_hipModuleLaunchKernel = 169,
190  HIP_API_ID_hipModuleLoad = 170,
191  HIP_API_ID_hipModuleLoadData = 171,
192  HIP_API_ID_hipModuleLoadDataEx = 172,
193  HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor = 173,
194  HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 174,
195  HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize = 175,
196  HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags = 176,
197  HIP_API_ID_hipModuleUnload = 177,
198  HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 178,
199  HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 179,
200  HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 180,
201  HIP_API_ID_hipPeekAtLastError = 181,
202  HIP_API_ID_hipPointerGetAttributes = 182,
203  HIP_API_ID_hipProfilerStart = 183,
204  HIP_API_ID_hipProfilerStop = 184,
205  HIP_API_ID_RESERVED_185 = 185,
206  HIP_API_ID_hipSetDevice = 186,
207  HIP_API_ID_hipSetDeviceFlags = 187,
208  HIP_API_ID_hipSetupArgument = 188,
209  HIP_API_ID_hipSignalExternalSemaphoresAsync = 189,
210  HIP_API_ID_hipStreamAddCallback = 190,
211  HIP_API_ID_hipStreamAttachMemAsync = 191,
212  HIP_API_ID_hipStreamCreate = 192,
213  HIP_API_ID_hipStreamCreateWithFlags = 193,
214  HIP_API_ID_hipStreamCreateWithPriority = 194,
215  HIP_API_ID_hipStreamDestroy = 195,
216  HIP_API_ID_hipStreamGetFlags = 196,
217  HIP_API_ID_hipStreamGetPriority = 197,
218  HIP_API_ID_hipStreamQuery = 198,
219  HIP_API_ID_hipStreamSynchronize = 199,
220  HIP_API_ID_hipStreamWaitEvent = 200,
221  HIP_API_ID_hipStreamWaitValue32 = 201,
222  HIP_API_ID_hipStreamWaitValue64 = 202,
223  HIP_API_ID_hipStreamWriteValue32 = 203,
224  HIP_API_ID_hipStreamWriteValue64 = 204,
225  HIP_API_ID_hipWaitExternalSemaphoresAsync = 205,
226  HIP_API_ID_hipCreateSurfaceObject = 206,
227  HIP_API_ID_hipDestroySurfaceObject = 207,
228  HIP_API_ID_hipGraphAddKernelNode = 208,
229  HIP_API_ID_hipGraphAddMemcpyNode = 209,
230  HIP_API_ID_hipGraphAddMemsetNode = 210,
231  HIP_API_ID_hipGraphCreate = 211,
232  HIP_API_ID_hipGraphDestroy = 212,
233  HIP_API_ID_hipGraphExecDestroy = 213,
234  HIP_API_ID_hipGraphInstantiate = 214,
235  HIP_API_ID_hipGraphLaunch = 215,
236  HIP_API_ID_hipMipmappedArrayCreate = 216,
237  HIP_API_ID_hipMipmappedArrayDestroy = 217,
238  HIP_API_ID_hipMipmappedArrayGetLevel = 218,
239  HIP_API_ID_hipStreamBeginCapture = 219,
240  HIP_API_ID_hipStreamEndCapture = 220,
241  HIP_API_ID_hipTexRefGetAddress = 221,
242  HIP_API_ID_hipTexRefGetFlags = 222,
243  HIP_API_ID_hipTexRefGetFormat = 223,
244  HIP_API_ID_hipTexRefGetMaxAnisotropy = 224,
245  HIP_API_ID_hipTexRefGetMipMappedArray = 225,
246  HIP_API_ID_hipTexRefGetMipmapLevelBias = 226,
247  HIP_API_ID_hipTexRefGetMipmapLevelClamp = 227,
248  HIP_API_ID_hipTexRefSetAddress = 228,
249  HIP_API_ID_hipTexRefSetAddress2D = 229,
250  HIP_API_ID_hipTexRefSetBorderColor = 230,
251  HIP_API_ID_hipTexRefSetFormat = 231,
252  HIP_API_ID_hipTexRefSetMaxAnisotropy = 232,
253  HIP_API_ID_hipTexRefSetMipmapLevelClamp = 233,
254  HIP_API_ID_hipTexRefSetMipmappedArray = 234,
255  HIP_API_ID_hipGLGetDevices = 235,
256  HIP_API_ID_hipGraphAddDependencies = 236,
257  HIP_API_ID_hipGraphAddEmptyNode = 237,
258  HIP_API_ID_hipGraphExecKernelNodeSetParams = 238,
259  HIP_API_ID_hipGraphGetNodes = 239,
260  HIP_API_ID_hipGraphGetRootNodes = 240,
261  HIP_API_ID_hipGraphKernelNodeGetParams = 241,
262  HIP_API_ID_hipGraphKernelNodeSetParams = 242,
263  HIP_API_ID_hipGraphMemcpyNodeGetParams = 243,
264  HIP_API_ID_hipGraphMemcpyNodeSetParams = 244,
265  HIP_API_ID_hipGraphMemsetNodeGetParams = 245,
266  HIP_API_ID_hipGraphMemsetNodeSetParams = 246,
267  HIP_API_ID_hipGraphicsGLRegisterBuffer = 247,
268  HIP_API_ID_hipGraphicsMapResources = 248,
269  HIP_API_ID_hipGraphicsResourceGetMappedPointer = 249,
270  HIP_API_ID_hipGraphicsUnmapResources = 250,
271  HIP_API_ID_hipGraphicsUnregisterResource = 251,
272  HIP_API_ID_hipGraphAddChildGraphNode = 252,
273  HIP_API_ID_hipGraphAddEventRecordNode = 253,
274  HIP_API_ID_hipGraphAddEventWaitNode = 254,
275  HIP_API_ID_hipGraphAddHostNode = 255,
276  HIP_API_ID_hipGraphAddMemcpyNode1D = 256,
277  HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol = 257,
278  HIP_API_ID_hipGraphAddMemcpyNodeToSymbol = 258,
279  HIP_API_ID_hipGraphChildGraphNodeGetGraph = 259,
280  HIP_API_ID_hipGraphClone = 260,
281  HIP_API_ID_hipGraphDestroyNode = 261,
282  HIP_API_ID_hipGraphEventRecordNodeGetEvent = 262,
283  HIP_API_ID_hipGraphEventRecordNodeSetEvent = 263,
284  HIP_API_ID_hipGraphEventWaitNodeGetEvent = 264,
285  HIP_API_ID_hipGraphEventWaitNodeSetEvent = 265,
286  HIP_API_ID_hipGraphExecChildGraphNodeSetParams = 266,
287  HIP_API_ID_hipGraphExecEventRecordNodeSetEvent = 267,
288  HIP_API_ID_hipGraphExecEventWaitNodeSetEvent = 268,
289  HIP_API_ID_hipGraphExecHostNodeSetParams = 269,
290  HIP_API_ID_hipGraphExecMemcpyNodeSetParams = 270,
291  HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D = 271,
292  HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol = 272,
293  HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol = 273,
294  HIP_API_ID_hipGraphExecMemsetNodeSetParams = 274,
295  HIP_API_ID_hipGraphExecUpdate = 275,
296  HIP_API_ID_hipGraphGetEdges = 276,
297  HIP_API_ID_hipGraphHostNodeGetParams = 277,
298  HIP_API_ID_hipGraphHostNodeSetParams = 278,
299  HIP_API_ID_hipGraphInstantiateWithFlags = 279,
300  HIP_API_ID_hipGraphMemcpyNodeSetParams1D = 280,
301  HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol = 281,
302  HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol = 282,
303  HIP_API_ID_hipGraphNodeFindInClone = 283,
304  HIP_API_ID_hipGraphNodeGetDependencies = 284,
305  HIP_API_ID_hipGraphNodeGetDependentNodes = 285,
306  HIP_API_ID_hipGraphNodeGetType = 286,
307  HIP_API_ID_hipGraphRemoveDependencies = 287,
308  HIP_API_ID_hipStreamGetCaptureInfo = 288,
309  HIP_API_ID_hipStreamGetCaptureInfo_v2 = 289,
310  HIP_API_ID_hipStreamIsCapturing = 290,
311  HIP_API_ID_hipStreamUpdateCaptureDependencies = 291,
312  HIP_API_ID_hipDrvPointerGetAttributes = 292,
313  HIP_API_ID_hipGraphicsGLRegisterImage = 293,
314  HIP_API_ID_hipGraphicsSubResourceGetMappedArray = 294,
315  HIP_API_ID_hipPointerGetAttribute = 295,
316  HIP_API_ID_RESERVED_296 = 296,
317  HIP_API_ID_hipThreadExchangeStreamCaptureMode = 297,
318  HIP_API_ID_hipDeviceGetUuid = 298,
319  HIP_API_ID_hipGetChannelDesc = 299,
320  HIP_API_ID_hipGraphKernelNodeGetAttribute = 300,
321  HIP_API_ID_hipGraphKernelNodeSetAttribute = 301,
322  HIP_API_ID_hipLaunchHostFunc = 302,
323  HIP_API_ID_hipDeviceGetDefaultMemPool = 303,
324  HIP_API_ID_hipDeviceGetMemPool = 304,
325  HIP_API_ID_hipDeviceSetMemPool = 305,
326  HIP_API_ID_hipFreeAsync = 306,
327  HIP_API_ID_hipMallocAsync = 307,
328  HIP_API_ID_hipMallocFromPoolAsync = 308,
329  HIP_API_ID_hipMemPoolCreate = 309,
330  HIP_API_ID_hipMemPoolDestroy = 310,
331  HIP_API_ID_hipMemPoolExportPointer = 311,
332  HIP_API_ID_hipMemPoolExportToShareableHandle = 312,
333  HIP_API_ID_hipMemPoolGetAccess = 313,
334  HIP_API_ID_hipMemPoolGetAttribute = 314,
335  HIP_API_ID_hipMemPoolImportFromShareableHandle = 315,
336  HIP_API_ID_hipMemPoolImportPointer = 316,
337  HIP_API_ID_hipMemPoolSetAccess = 317,
338  HIP_API_ID_hipMemPoolSetAttribute = 318,
339  HIP_API_ID_hipMemPoolTrimTo = 319,
340  HIP_API_ID_hipMemAddressFree = 320,
341  HIP_API_ID_hipMemAddressReserve = 321,
342  HIP_API_ID_hipMemCreate = 322,
343  HIP_API_ID_hipMemExportToShareableHandle = 323,
344  HIP_API_ID_hipMemGetAccess = 324,
345  HIP_API_ID_hipMemGetAllocationGranularity = 325,
346  HIP_API_ID_hipMemGetAllocationPropertiesFromHandle = 326,
347  HIP_API_ID_hipMemImportFromShareableHandle = 327,
348  HIP_API_ID_hipMemMap = 328,
349  HIP_API_ID_hipMemMapArrayAsync = 329,
350  HIP_API_ID_hipMemRelease = 330,
351  HIP_API_ID_hipMemRetainAllocationHandle = 331,
352  HIP_API_ID_hipMemSetAccess = 332,
353  HIP_API_ID_hipMemUnmap = 333,
354  HIP_API_ID_hipDeviceSetGraphMemAttribute = 334,
355  HIP_API_ID_hipDeviceGetGraphMemAttribute = 335,
356  HIP_API_ID_hipDeviceGraphMemTrim = 336,
357  HIP_API_ID_hipDeviceSetLimit = 337,
358  HIP_API_ID_hipTexRefSetArray = 338,
359  HIP_API_ID_hipTexRefSetFlags = 339,
360  HIP_API_ID_hipTexRefSetMipmapLevelBias = 340,
361  HIP_API_ID_hipDriverGetVersion = 341,
362  HIP_API_ID_hipGraphUpload = 342,
363  HIP_API_ID_hipRuntimeGetVersion = 343,
364  HIP_API_ID_hipUserObjectCreate = 344,
365  HIP_API_ID_hipUserObjectRelease = 345,
366  HIP_API_ID_hipUserObjectRetain = 346,
367  HIP_API_ID_hipGraphRetainUserObject = 347,
368  HIP_API_ID_hipGraphReleaseUserObject = 348,
369  HIP_API_ID_hipGraphDebugDotPrint = 349,
370  HIP_API_ID_hipGraphKernelNodeCopyAttributes = 350,
371  HIP_API_ID_hipGraphNodeGetEnabled = 351,
372  HIP_API_ID_hipGraphNodeSetEnabled = 352,
373  HIP_API_ID_hipPointerSetAttribute = 353,
374  HIP_API_ID_hipGraphAddMemAllocNode = 354,
375  HIP_API_ID_hipGraphAddMemFreeNode = 355,
376  HIP_API_ID_hipGraphMemAllocNodeGetParams = 356,
377  HIP_API_ID_hipGraphMemFreeNodeGetParams = 357,
378  HIP_API_ID_hipModuleLaunchCooperativeKernel = 358,
379  HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice = 359,
380  HIP_API_ID_hipArray3DGetDescriptor = 360,
381  HIP_API_ID_hipArrayGetDescriptor = 361,
382  HIP_API_ID_hipArrayGetInfo = 362,
383  HIP_API_ID_hipStreamGetDevice = 363,
384  HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray = 364,
385  HIP_API_ID_hipChooseDeviceR0600 = 365,
386  HIP_API_ID_hipDrvGraphAddMemcpyNode = 366,
387  HIP_API_ID_hipDrvGraphAddMemsetNode = 367,
388  HIP_API_ID_RESERVED_368 = 368,
389  HIP_API_ID_RESERVED_369 = 369,
390  HIP_API_ID_hipGetDevicePropertiesR0600 = 370,
391  HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode = 371,
392  HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode = 372,
393  HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams = 373,
394  HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams = 374,
395  HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams = 375,
396  HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams = 376,
397  HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams = 377,
398  HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams = 378,
399  HIP_API_ID_hipExtGetLastError = 379,
400  HIP_API_ID_hipGraphAddNode = 380,
401  HIP_API_ID_hipGetProcAddress = 381,
402  HIP_API_ID_RESERVED_382 = 382,
403  HIP_API_ID_RESERVED_383 = 383,
404  HIP_API_ID_hipGraphInstantiateWithParams = 384,
405  HIP_API_ID_RESERVED_385 = 385,
406  HIP_API_ID_RESERVED_386 = 386,
407  HIP_API_ID_RESERVED_387 = 387,
408  HIP_API_ID_RESERVED_388 = 388,
409  HIP_API_ID_hipTexRefGetArray = 389,
410  HIP_API_ID_hipTexRefGetBorderColor = 390,
411  HIP_API_ID_hipStreamBeginCaptureToGraph = 391,
412  HIP_API_ID_hipGetFuncBySymbol = 392,
413  HIP_API_ID_hipMemcpy2DArrayToArray = 393,
414  HIP_API_ID_hipMemcpyAtoA = 394,
415  HIP_API_ID_hipMemcpyAtoD = 395,
416  HIP_API_ID_hipMemcpyAtoHAsync = 396,
417  HIP_API_ID_hipMemcpyDtoA = 397,
418  HIP_API_ID_hipMemcpyHtoAAsync = 398,
419  HIP_API_ID_hipSetValidDevices = 399,
420  HIP_API_ID_LAST = 399,
421 
422  HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
423  HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
424 
425  HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
426  HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
427  HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
428  HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
429  HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
430  HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
431  HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
432  HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
433  HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
434  HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
435  HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
436  HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
437  HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
438  HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
439  HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
440  HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
441  HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
442  HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
443  HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
444  HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
445  HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
446  HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
447  HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
448  HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
449 };
450 
451 #undef HIP_API_ID_CONCAT_HELPER
452 #undef HIP_API_ID_CONCAT
453 
454 // Return the HIP API string for a given callback ID
455 static inline const char* hip_api_name(const uint32_t id) {
456  switch(id) {
457  case HIP_API_ID___hipPopCallConfiguration: return "__hipPopCallConfiguration";
458  case HIP_API_ID___hipPushCallConfiguration: return "__hipPushCallConfiguration";
459  case HIP_API_ID_hipArray3DCreate: return "hipArray3DCreate";
460  case HIP_API_ID_hipArray3DGetDescriptor: return "hipArray3DGetDescriptor";
461  case HIP_API_ID_hipArrayCreate: return "hipArrayCreate";
462  case HIP_API_ID_hipArrayDestroy: return "hipArrayDestroy";
463  case HIP_API_ID_hipArrayGetDescriptor: return "hipArrayGetDescriptor";
464  case HIP_API_ID_hipArrayGetInfo: return "hipArrayGetInfo";
465  case HIP_API_ID_hipChooseDeviceR0000: return "hipChooseDeviceR0000";
466  case HIP_API_ID_hipChooseDeviceR0600: return "hipChooseDeviceR0600";
467  case HIP_API_ID_hipConfigureCall: return "hipConfigureCall";
468  case HIP_API_ID_hipCreateSurfaceObject: return "hipCreateSurfaceObject";
469  case HIP_API_ID_hipCtxCreate: return "hipCtxCreate";
470  case HIP_API_ID_hipCtxDestroy: return "hipCtxDestroy";
471  case HIP_API_ID_hipCtxDisablePeerAccess: return "hipCtxDisablePeerAccess";
472  case HIP_API_ID_hipCtxEnablePeerAccess: return "hipCtxEnablePeerAccess";
473  case HIP_API_ID_hipCtxGetApiVersion: return "hipCtxGetApiVersion";
474  case HIP_API_ID_hipCtxGetCacheConfig: return "hipCtxGetCacheConfig";
475  case HIP_API_ID_hipCtxGetCurrent: return "hipCtxGetCurrent";
476  case HIP_API_ID_hipCtxGetDevice: return "hipCtxGetDevice";
477  case HIP_API_ID_hipCtxGetFlags: return "hipCtxGetFlags";
478  case HIP_API_ID_hipCtxGetSharedMemConfig: return "hipCtxGetSharedMemConfig";
479  case HIP_API_ID_hipCtxPopCurrent: return "hipCtxPopCurrent";
480  case HIP_API_ID_hipCtxPushCurrent: return "hipCtxPushCurrent";
481  case HIP_API_ID_hipCtxSetCacheConfig: return "hipCtxSetCacheConfig";
482  case HIP_API_ID_hipCtxSetCurrent: return "hipCtxSetCurrent";
483  case HIP_API_ID_hipCtxSetSharedMemConfig: return "hipCtxSetSharedMemConfig";
484  case HIP_API_ID_hipCtxSynchronize: return "hipCtxSynchronize";
485  case HIP_API_ID_hipDestroyExternalMemory: return "hipDestroyExternalMemory";
486  case HIP_API_ID_hipDestroyExternalSemaphore: return "hipDestroyExternalSemaphore";
487  case HIP_API_ID_hipDestroySurfaceObject: return "hipDestroySurfaceObject";
488  case HIP_API_ID_hipDeviceCanAccessPeer: return "hipDeviceCanAccessPeer";
489  case HIP_API_ID_hipDeviceComputeCapability: return "hipDeviceComputeCapability";
490  case HIP_API_ID_hipDeviceDisablePeerAccess: return "hipDeviceDisablePeerAccess";
491  case HIP_API_ID_hipDeviceEnablePeerAccess: return "hipDeviceEnablePeerAccess";
492  case HIP_API_ID_hipDeviceGet: return "hipDeviceGet";
493  case HIP_API_ID_hipDeviceGetAttribute: return "hipDeviceGetAttribute";
494  case HIP_API_ID_hipDeviceGetByPCIBusId: return "hipDeviceGetByPCIBusId";
495  case HIP_API_ID_hipDeviceGetCacheConfig: return "hipDeviceGetCacheConfig";
496  case HIP_API_ID_hipDeviceGetDefaultMemPool: return "hipDeviceGetDefaultMemPool";
497  case HIP_API_ID_hipDeviceGetGraphMemAttribute: return "hipDeviceGetGraphMemAttribute";
498  case HIP_API_ID_hipDeviceGetLimit: return "hipDeviceGetLimit";
499  case HIP_API_ID_hipDeviceGetMemPool: return "hipDeviceGetMemPool";
500  case HIP_API_ID_hipDeviceGetName: return "hipDeviceGetName";
501  case HIP_API_ID_hipDeviceGetP2PAttribute: return "hipDeviceGetP2PAttribute";
502  case HIP_API_ID_hipDeviceGetPCIBusId: return "hipDeviceGetPCIBusId";
503  case HIP_API_ID_hipDeviceGetSharedMemConfig: return "hipDeviceGetSharedMemConfig";
504  case HIP_API_ID_hipDeviceGetStreamPriorityRange: return "hipDeviceGetStreamPriorityRange";
505  case HIP_API_ID_hipDeviceGetUuid: return "hipDeviceGetUuid";
506  case HIP_API_ID_hipDeviceGraphMemTrim: return "hipDeviceGraphMemTrim";
507  case HIP_API_ID_hipDevicePrimaryCtxGetState: return "hipDevicePrimaryCtxGetState";
508  case HIP_API_ID_hipDevicePrimaryCtxRelease: return "hipDevicePrimaryCtxRelease";
509  case HIP_API_ID_hipDevicePrimaryCtxReset: return "hipDevicePrimaryCtxReset";
510  case HIP_API_ID_hipDevicePrimaryCtxRetain: return "hipDevicePrimaryCtxRetain";
511  case HIP_API_ID_hipDevicePrimaryCtxSetFlags: return "hipDevicePrimaryCtxSetFlags";
512  case HIP_API_ID_hipDeviceReset: return "hipDeviceReset";
513  case HIP_API_ID_hipDeviceSetCacheConfig: return "hipDeviceSetCacheConfig";
514  case HIP_API_ID_hipDeviceSetGraphMemAttribute: return "hipDeviceSetGraphMemAttribute";
515  case HIP_API_ID_hipDeviceSetLimit: return "hipDeviceSetLimit";
516  case HIP_API_ID_hipDeviceSetMemPool: return "hipDeviceSetMemPool";
517  case HIP_API_ID_hipDeviceSetSharedMemConfig: return "hipDeviceSetSharedMemConfig";
518  case HIP_API_ID_hipDeviceSynchronize: return "hipDeviceSynchronize";
519  case HIP_API_ID_hipDeviceTotalMem: return "hipDeviceTotalMem";
520  case HIP_API_ID_hipDriverGetVersion: return "hipDriverGetVersion";
521  case HIP_API_ID_hipDrvGraphAddMemcpyNode: return "hipDrvGraphAddMemcpyNode";
522  case HIP_API_ID_hipDrvGraphAddMemsetNode: return "hipDrvGraphAddMemsetNode";
523  case HIP_API_ID_hipDrvMemcpy2DUnaligned: return "hipDrvMemcpy2DUnaligned";
524  case HIP_API_ID_hipDrvMemcpy3D: return "hipDrvMemcpy3D";
525  case HIP_API_ID_hipDrvMemcpy3DAsync: return "hipDrvMemcpy3DAsync";
526  case HIP_API_ID_hipDrvPointerGetAttributes: return "hipDrvPointerGetAttributes";
527  case HIP_API_ID_hipEventCreate: return "hipEventCreate";
528  case HIP_API_ID_hipEventCreateWithFlags: return "hipEventCreateWithFlags";
529  case HIP_API_ID_hipEventDestroy: return "hipEventDestroy";
530  case HIP_API_ID_hipEventElapsedTime: return "hipEventElapsedTime";
531  case HIP_API_ID_hipEventQuery: return "hipEventQuery";
532  case HIP_API_ID_hipEventRecord: return "hipEventRecord";
533  case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
534  case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
535  case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
536  case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
537  case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
538  case HIP_API_ID_hipExtMallocWithFlags: return "hipExtMallocWithFlags";
539  case HIP_API_ID_hipExtModuleLaunchKernel: return "hipExtModuleLaunchKernel";
540  case HIP_API_ID_hipExtStreamCreateWithCUMask: return "hipExtStreamCreateWithCUMask";
541  case HIP_API_ID_hipExtStreamGetCUMask: return "hipExtStreamGetCUMask";
542  case HIP_API_ID_hipExternalMemoryGetMappedBuffer: return "hipExternalMemoryGetMappedBuffer";
543  case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray: return "hipExternalMemoryGetMappedMipmappedArray";
544  case HIP_API_ID_hipFree: return "hipFree";
545  case HIP_API_ID_hipFreeArray: return "hipFreeArray";
546  case HIP_API_ID_hipFreeAsync: return "hipFreeAsync";
547  case HIP_API_ID_hipFreeHost: return "hipFreeHost";
548  case HIP_API_ID_hipFreeMipmappedArray: return "hipFreeMipmappedArray";
549  case HIP_API_ID_hipFuncGetAttribute: return "hipFuncGetAttribute";
550  case HIP_API_ID_hipFuncGetAttributes: return "hipFuncGetAttributes";
551  case HIP_API_ID_hipFuncSetAttribute: return "hipFuncSetAttribute";
552  case HIP_API_ID_hipFuncSetCacheConfig: return "hipFuncSetCacheConfig";
553  case HIP_API_ID_hipFuncSetSharedMemConfig: return "hipFuncSetSharedMemConfig";
554  case HIP_API_ID_hipGLGetDevices: return "hipGLGetDevices";
555  case HIP_API_ID_hipGetChannelDesc: return "hipGetChannelDesc";
556  case HIP_API_ID_hipGetDevice: return "hipGetDevice";
557  case HIP_API_ID_hipGetDeviceCount: return "hipGetDeviceCount";
558  case HIP_API_ID_hipGetDeviceFlags: return "hipGetDeviceFlags";
559  case HIP_API_ID_hipGetDevicePropertiesR0000: return "hipGetDevicePropertiesR0000";
560  case HIP_API_ID_hipGetDevicePropertiesR0600: return "hipGetDevicePropertiesR0600";
561  case HIP_API_ID_hipGetErrorString: return "hipGetErrorString";
562  case HIP_API_ID_hipGetFuncBySymbol: return "hipGetFuncBySymbol";
563  case HIP_API_ID_hipGetLastError: return "hipGetLastError";
564  case HIP_API_ID_hipGetMipmappedArrayLevel: return "hipGetMipmappedArrayLevel";
565  case HIP_API_ID_hipGetProcAddress: return "hipGetProcAddress";
566  case HIP_API_ID_hipGetSymbolAddress: return "hipGetSymbolAddress";
567  case HIP_API_ID_hipGetSymbolSize: return "hipGetSymbolSize";
568  case HIP_API_ID_hipGraphAddChildGraphNode: return "hipGraphAddChildGraphNode";
569  case HIP_API_ID_hipGraphAddDependencies: return "hipGraphAddDependencies";
570  case HIP_API_ID_hipGraphAddEmptyNode: return "hipGraphAddEmptyNode";
571  case HIP_API_ID_hipGraphAddEventRecordNode: return "hipGraphAddEventRecordNode";
572  case HIP_API_ID_hipGraphAddEventWaitNode: return "hipGraphAddEventWaitNode";
573  case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode: return "hipGraphAddExternalSemaphoresSignalNode";
574  case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode: return "hipGraphAddExternalSemaphoresWaitNode";
575  case HIP_API_ID_hipGraphAddHostNode: return "hipGraphAddHostNode";
576  case HIP_API_ID_hipGraphAddKernelNode: return "hipGraphAddKernelNode";
577  case HIP_API_ID_hipGraphAddMemAllocNode: return "hipGraphAddMemAllocNode";
578  case HIP_API_ID_hipGraphAddMemFreeNode: return "hipGraphAddMemFreeNode";
579  case HIP_API_ID_hipGraphAddMemcpyNode: return "hipGraphAddMemcpyNode";
580  case HIP_API_ID_hipGraphAddMemcpyNode1D: return "hipGraphAddMemcpyNode1D";
581  case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol: return "hipGraphAddMemcpyNodeFromSymbol";
582  case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol: return "hipGraphAddMemcpyNodeToSymbol";
583  case HIP_API_ID_hipGraphAddMemsetNode: return "hipGraphAddMemsetNode";
584  case HIP_API_ID_hipGraphAddNode: return "hipGraphAddNode";
585  case HIP_API_ID_hipGraphChildGraphNodeGetGraph: return "hipGraphChildGraphNodeGetGraph";
586  case HIP_API_ID_hipGraphClone: return "hipGraphClone";
587  case HIP_API_ID_hipGraphCreate: return "hipGraphCreate";
588  case HIP_API_ID_hipGraphDebugDotPrint: return "hipGraphDebugDotPrint";
589  case HIP_API_ID_hipGraphDestroy: return "hipGraphDestroy";
590  case HIP_API_ID_hipGraphDestroyNode: return "hipGraphDestroyNode";
591  case HIP_API_ID_hipGraphEventRecordNodeGetEvent: return "hipGraphEventRecordNodeGetEvent";
592  case HIP_API_ID_hipGraphEventRecordNodeSetEvent: return "hipGraphEventRecordNodeSetEvent";
593  case HIP_API_ID_hipGraphEventWaitNodeGetEvent: return "hipGraphEventWaitNodeGetEvent";
594  case HIP_API_ID_hipGraphEventWaitNodeSetEvent: return "hipGraphEventWaitNodeSetEvent";
595  case HIP_API_ID_hipGraphExecChildGraphNodeSetParams: return "hipGraphExecChildGraphNodeSetParams";
596  case HIP_API_ID_hipGraphExecDestroy: return "hipGraphExecDestroy";
597  case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent: return "hipGraphExecEventRecordNodeSetEvent";
598  case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent: return "hipGraphExecEventWaitNodeSetEvent";
599  case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams: return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
600  case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams: return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
601  case HIP_API_ID_hipGraphExecHostNodeSetParams: return "hipGraphExecHostNodeSetParams";
602  case HIP_API_ID_hipGraphExecKernelNodeSetParams: return "hipGraphExecKernelNodeSetParams";
603  case HIP_API_ID_hipGraphExecMemcpyNodeSetParams: return "hipGraphExecMemcpyNodeSetParams";
604  case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D: return "hipGraphExecMemcpyNodeSetParams1D";
605  case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol: return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
606  case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol: return "hipGraphExecMemcpyNodeSetParamsToSymbol";
607  case HIP_API_ID_hipGraphExecMemsetNodeSetParams: return "hipGraphExecMemsetNodeSetParams";
608  case HIP_API_ID_hipGraphExecUpdate: return "hipGraphExecUpdate";
609  case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams: return "hipGraphExternalSemaphoresSignalNodeGetParams";
610  case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams: return "hipGraphExternalSemaphoresSignalNodeSetParams";
611  case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams: return "hipGraphExternalSemaphoresWaitNodeGetParams";
612  case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams: return "hipGraphExternalSemaphoresWaitNodeSetParams";
613  case HIP_API_ID_hipGraphGetEdges: return "hipGraphGetEdges";
614  case HIP_API_ID_hipGraphGetNodes: return "hipGraphGetNodes";
615  case HIP_API_ID_hipGraphGetRootNodes: return "hipGraphGetRootNodes";
616  case HIP_API_ID_hipGraphHostNodeGetParams: return "hipGraphHostNodeGetParams";
617  case HIP_API_ID_hipGraphHostNodeSetParams: return "hipGraphHostNodeSetParams";
618  case HIP_API_ID_hipGraphInstantiate: return "hipGraphInstantiate";
619  case HIP_API_ID_hipGraphInstantiateWithFlags: return "hipGraphInstantiateWithFlags";
620  case HIP_API_ID_hipGraphInstantiateWithParams: return "hipGraphInstantiateWithParams";
621  case HIP_API_ID_hipGraphKernelNodeCopyAttributes: return "hipGraphKernelNodeCopyAttributes";
622  case HIP_API_ID_hipGraphKernelNodeGetAttribute: return "hipGraphKernelNodeGetAttribute";
623  case HIP_API_ID_hipGraphKernelNodeGetParams: return "hipGraphKernelNodeGetParams";
624  case HIP_API_ID_hipGraphKernelNodeSetAttribute: return "hipGraphKernelNodeSetAttribute";
625  case HIP_API_ID_hipGraphKernelNodeSetParams: return "hipGraphKernelNodeSetParams";
626  case HIP_API_ID_hipGraphLaunch: return "hipGraphLaunch";
627  case HIP_API_ID_hipGraphMemAllocNodeGetParams: return "hipGraphMemAllocNodeGetParams";
628  case HIP_API_ID_hipGraphMemFreeNodeGetParams: return "hipGraphMemFreeNodeGetParams";
629  case HIP_API_ID_hipGraphMemcpyNodeGetParams: return "hipGraphMemcpyNodeGetParams";
630  case HIP_API_ID_hipGraphMemcpyNodeSetParams: return "hipGraphMemcpyNodeSetParams";
631  case HIP_API_ID_hipGraphMemcpyNodeSetParams1D: return "hipGraphMemcpyNodeSetParams1D";
632  case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol: return "hipGraphMemcpyNodeSetParamsFromSymbol";
633  case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol: return "hipGraphMemcpyNodeSetParamsToSymbol";
634  case HIP_API_ID_hipGraphMemsetNodeGetParams: return "hipGraphMemsetNodeGetParams";
635  case HIP_API_ID_hipGraphMemsetNodeSetParams: return "hipGraphMemsetNodeSetParams";
636  case HIP_API_ID_hipGraphNodeFindInClone: return "hipGraphNodeFindInClone";
637  case HIP_API_ID_hipGraphNodeGetDependencies: return "hipGraphNodeGetDependencies";
638  case HIP_API_ID_hipGraphNodeGetDependentNodes: return "hipGraphNodeGetDependentNodes";
639  case HIP_API_ID_hipGraphNodeGetEnabled: return "hipGraphNodeGetEnabled";
640  case HIP_API_ID_hipGraphNodeGetType: return "hipGraphNodeGetType";
641  case HIP_API_ID_hipGraphNodeSetEnabled: return "hipGraphNodeSetEnabled";
642  case HIP_API_ID_hipGraphReleaseUserObject: return "hipGraphReleaseUserObject";
643  case HIP_API_ID_hipGraphRemoveDependencies: return "hipGraphRemoveDependencies";
644  case HIP_API_ID_hipGraphRetainUserObject: return "hipGraphRetainUserObject";
645  case HIP_API_ID_hipGraphUpload: return "hipGraphUpload";
646  case HIP_API_ID_hipGraphicsGLRegisterBuffer: return "hipGraphicsGLRegisterBuffer";
647  case HIP_API_ID_hipGraphicsGLRegisterImage: return "hipGraphicsGLRegisterImage";
648  case HIP_API_ID_hipGraphicsMapResources: return "hipGraphicsMapResources";
649  case HIP_API_ID_hipGraphicsResourceGetMappedPointer: return "hipGraphicsResourceGetMappedPointer";
650  case HIP_API_ID_hipGraphicsSubResourceGetMappedArray: return "hipGraphicsSubResourceGetMappedArray";
651  case HIP_API_ID_hipGraphicsUnmapResources: return "hipGraphicsUnmapResources";
652  case HIP_API_ID_hipGraphicsUnregisterResource: return "hipGraphicsUnregisterResource";
653  case HIP_API_ID_hipHccModuleLaunchKernel: return "hipHccModuleLaunchKernel";
654  case HIP_API_ID_hipHostAlloc: return "hipHostAlloc";
655  case HIP_API_ID_hipHostFree: return "hipHostFree";
656  case HIP_API_ID_hipHostGetDevicePointer: return "hipHostGetDevicePointer";
657  case HIP_API_ID_hipHostGetFlags: return "hipHostGetFlags";
658  case HIP_API_ID_hipHostMalloc: return "hipHostMalloc";
659  case HIP_API_ID_hipHostRegister: return "hipHostRegister";
660  case HIP_API_ID_hipHostUnregister: return "hipHostUnregister";
661  case HIP_API_ID_hipImportExternalMemory: return "hipImportExternalMemory";
662  case HIP_API_ID_hipImportExternalSemaphore: return "hipImportExternalSemaphore";
663  case HIP_API_ID_hipInit: return "hipInit";
664  case HIP_API_ID_hipIpcCloseMemHandle: return "hipIpcCloseMemHandle";
665  case HIP_API_ID_hipIpcGetEventHandle: return "hipIpcGetEventHandle";
666  case HIP_API_ID_hipIpcGetMemHandle: return "hipIpcGetMemHandle";
667  case HIP_API_ID_hipIpcOpenEventHandle: return "hipIpcOpenEventHandle";
668  case HIP_API_ID_hipIpcOpenMemHandle: return "hipIpcOpenMemHandle";
669  case HIP_API_ID_hipLaunchByPtr: return "hipLaunchByPtr";
670  case HIP_API_ID_hipLaunchCooperativeKernel: return "hipLaunchCooperativeKernel";
671  case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice: return "hipLaunchCooperativeKernelMultiDevice";
672  case HIP_API_ID_hipLaunchHostFunc: return "hipLaunchHostFunc";
673  case HIP_API_ID_hipLaunchKernel: return "hipLaunchKernel";
674  case HIP_API_ID_hipMalloc: return "hipMalloc";
675  case HIP_API_ID_hipMalloc3D: return "hipMalloc3D";
676  case HIP_API_ID_hipMalloc3DArray: return "hipMalloc3DArray";
677  case HIP_API_ID_hipMallocArray: return "hipMallocArray";
678  case HIP_API_ID_hipMallocAsync: return "hipMallocAsync";
679  case HIP_API_ID_hipMallocFromPoolAsync: return "hipMallocFromPoolAsync";
680  case HIP_API_ID_hipMallocHost: return "hipMallocHost";
681  case HIP_API_ID_hipMallocManaged: return "hipMallocManaged";
682  case HIP_API_ID_hipMallocMipmappedArray: return "hipMallocMipmappedArray";
683  case HIP_API_ID_hipMallocPitch: return "hipMallocPitch";
684  case HIP_API_ID_hipMemAddressFree: return "hipMemAddressFree";
685  case HIP_API_ID_hipMemAddressReserve: return "hipMemAddressReserve";
686  case HIP_API_ID_hipMemAdvise: return "hipMemAdvise";
687  case HIP_API_ID_hipMemAllocHost: return "hipMemAllocHost";
688  case HIP_API_ID_hipMemAllocPitch: return "hipMemAllocPitch";
689  case HIP_API_ID_hipMemCreate: return "hipMemCreate";
690  case HIP_API_ID_hipMemExportToShareableHandle: return "hipMemExportToShareableHandle";
691  case HIP_API_ID_hipMemGetAccess: return "hipMemGetAccess";
692  case HIP_API_ID_hipMemGetAddressRange: return "hipMemGetAddressRange";
693  case HIP_API_ID_hipMemGetAllocationGranularity: return "hipMemGetAllocationGranularity";
694  case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle: return "hipMemGetAllocationPropertiesFromHandle";
695  case HIP_API_ID_hipMemGetInfo: return "hipMemGetInfo";
696  case HIP_API_ID_hipMemImportFromShareableHandle: return "hipMemImportFromShareableHandle";
697  case HIP_API_ID_hipMemMap: return "hipMemMap";
698  case HIP_API_ID_hipMemMapArrayAsync: return "hipMemMapArrayAsync";
699  case HIP_API_ID_hipMemPoolCreate: return "hipMemPoolCreate";
700  case HIP_API_ID_hipMemPoolDestroy: return "hipMemPoolDestroy";
701  case HIP_API_ID_hipMemPoolExportPointer: return "hipMemPoolExportPointer";
702  case HIP_API_ID_hipMemPoolExportToShareableHandle: return "hipMemPoolExportToShareableHandle";
703  case HIP_API_ID_hipMemPoolGetAccess: return "hipMemPoolGetAccess";
704  case HIP_API_ID_hipMemPoolGetAttribute: return "hipMemPoolGetAttribute";
705  case HIP_API_ID_hipMemPoolImportFromShareableHandle: return "hipMemPoolImportFromShareableHandle";
706  case HIP_API_ID_hipMemPoolImportPointer: return "hipMemPoolImportPointer";
707  case HIP_API_ID_hipMemPoolSetAccess: return "hipMemPoolSetAccess";
708  case HIP_API_ID_hipMemPoolSetAttribute: return "hipMemPoolSetAttribute";
709  case HIP_API_ID_hipMemPoolTrimTo: return "hipMemPoolTrimTo";
710  case HIP_API_ID_hipMemPrefetchAsync: return "hipMemPrefetchAsync";
711  case HIP_API_ID_hipMemPtrGetInfo: return "hipMemPtrGetInfo";
712  case HIP_API_ID_hipMemRangeGetAttribute: return "hipMemRangeGetAttribute";
713  case HIP_API_ID_hipMemRangeGetAttributes: return "hipMemRangeGetAttributes";
714  case HIP_API_ID_hipMemRelease: return "hipMemRelease";
715  case HIP_API_ID_hipMemRetainAllocationHandle: return "hipMemRetainAllocationHandle";
716  case HIP_API_ID_hipMemSetAccess: return "hipMemSetAccess";
717  case HIP_API_ID_hipMemUnmap: return "hipMemUnmap";
718  case HIP_API_ID_hipMemcpy: return "hipMemcpy";
719  case HIP_API_ID_hipMemcpy2D: return "hipMemcpy2D";
720  case HIP_API_ID_hipMemcpy2DArrayToArray: return "hipMemcpy2DArrayToArray";
721  case HIP_API_ID_hipMemcpy2DAsync: return "hipMemcpy2DAsync";
722  case HIP_API_ID_hipMemcpy2DFromArray: return "hipMemcpy2DFromArray";
723  case HIP_API_ID_hipMemcpy2DFromArrayAsync: return "hipMemcpy2DFromArrayAsync";
724  case HIP_API_ID_hipMemcpy2DToArray: return "hipMemcpy2DToArray";
725  case HIP_API_ID_hipMemcpy2DToArrayAsync: return "hipMemcpy2DToArrayAsync";
726  case HIP_API_ID_hipMemcpy3D: return "hipMemcpy3D";
727  case HIP_API_ID_hipMemcpy3DAsync: return "hipMemcpy3DAsync";
728  case HIP_API_ID_hipMemcpyAsync: return "hipMemcpyAsync";
729  case HIP_API_ID_hipMemcpyAtoA: return "hipMemcpyAtoA";
730  case HIP_API_ID_hipMemcpyAtoD: return "hipMemcpyAtoD";
731  case HIP_API_ID_hipMemcpyAtoH: return "hipMemcpyAtoH";
732  case HIP_API_ID_hipMemcpyAtoHAsync: return "hipMemcpyAtoHAsync";
733  case HIP_API_ID_hipMemcpyDtoA: return "hipMemcpyDtoA";
734  case HIP_API_ID_hipMemcpyDtoD: return "hipMemcpyDtoD";
735  case HIP_API_ID_hipMemcpyDtoDAsync: return "hipMemcpyDtoDAsync";
736  case HIP_API_ID_hipMemcpyDtoH: return "hipMemcpyDtoH";
737  case HIP_API_ID_hipMemcpyDtoHAsync: return "hipMemcpyDtoHAsync";
738  case HIP_API_ID_hipMemcpyFromArray: return "hipMemcpyFromArray";
739  case HIP_API_ID_hipMemcpyFromSymbol: return "hipMemcpyFromSymbol";
740  case HIP_API_ID_hipMemcpyFromSymbolAsync: return "hipMemcpyFromSymbolAsync";
741  case HIP_API_ID_hipMemcpyHtoA: return "hipMemcpyHtoA";
742  case HIP_API_ID_hipMemcpyHtoAAsync: return "hipMemcpyHtoAAsync";
743  case HIP_API_ID_hipMemcpyHtoD: return "hipMemcpyHtoD";
744  case HIP_API_ID_hipMemcpyHtoDAsync: return "hipMemcpyHtoDAsync";
745  case HIP_API_ID_hipMemcpyParam2D: return "hipMemcpyParam2D";
746  case HIP_API_ID_hipMemcpyParam2DAsync: return "hipMemcpyParam2DAsync";
747  case HIP_API_ID_hipMemcpyPeer: return "hipMemcpyPeer";
748  case HIP_API_ID_hipMemcpyPeerAsync: return "hipMemcpyPeerAsync";
749  case HIP_API_ID_hipMemcpyToArray: return "hipMemcpyToArray";
750  case HIP_API_ID_hipMemcpyToSymbol: return "hipMemcpyToSymbol";
751  case HIP_API_ID_hipMemcpyToSymbolAsync: return "hipMemcpyToSymbolAsync";
752  case HIP_API_ID_hipMemcpyWithStream: return "hipMemcpyWithStream";
753  case HIP_API_ID_hipMemset: return "hipMemset";
754  case HIP_API_ID_hipMemset2D: return "hipMemset2D";
755  case HIP_API_ID_hipMemset2DAsync: return "hipMemset2DAsync";
756  case HIP_API_ID_hipMemset3D: return "hipMemset3D";
757  case HIP_API_ID_hipMemset3DAsync: return "hipMemset3DAsync";
758  case HIP_API_ID_hipMemsetAsync: return "hipMemsetAsync";
759  case HIP_API_ID_hipMemsetD16: return "hipMemsetD16";
760  case HIP_API_ID_hipMemsetD16Async: return "hipMemsetD16Async";
761  case HIP_API_ID_hipMemsetD32: return "hipMemsetD32";
762  case HIP_API_ID_hipMemsetD32Async: return "hipMemsetD32Async";
763  case HIP_API_ID_hipMemsetD8: return "hipMemsetD8";
764  case HIP_API_ID_hipMemsetD8Async: return "hipMemsetD8Async";
765  case HIP_API_ID_hipMipmappedArrayCreate: return "hipMipmappedArrayCreate";
766  case HIP_API_ID_hipMipmappedArrayDestroy: return "hipMipmappedArrayDestroy";
767  case HIP_API_ID_hipMipmappedArrayGetLevel: return "hipMipmappedArrayGetLevel";
768  case HIP_API_ID_hipModuleGetFunction: return "hipModuleGetFunction";
769  case HIP_API_ID_hipModuleGetGlobal: return "hipModuleGetGlobal";
770  case HIP_API_ID_hipModuleGetTexRef: return "hipModuleGetTexRef";
771  case HIP_API_ID_hipModuleLaunchCooperativeKernel: return "hipModuleLaunchCooperativeKernel";
772  case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice: return "hipModuleLaunchCooperativeKernelMultiDevice";
773  case HIP_API_ID_hipModuleLaunchKernel: return "hipModuleLaunchKernel";
774  case HIP_API_ID_hipModuleLoad: return "hipModuleLoad";
775  case HIP_API_ID_hipModuleLoadData: return "hipModuleLoadData";
776  case HIP_API_ID_hipModuleLoadDataEx: return "hipModuleLoadDataEx";
777  case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
778  case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
779  case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize: return "hipModuleOccupancyMaxPotentialBlockSize";
780  case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags: return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
781  case HIP_API_ID_hipModuleUnload: return "hipModuleUnload";
782  case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor: return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
783  case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
784  case HIP_API_ID_hipOccupancyMaxPotentialBlockSize: return "hipOccupancyMaxPotentialBlockSize";
785  case HIP_API_ID_hipPeekAtLastError: return "hipPeekAtLastError";
786  case HIP_API_ID_hipPointerGetAttribute: return "hipPointerGetAttribute";
787  case HIP_API_ID_hipPointerGetAttributes: return "hipPointerGetAttributes";
788  case HIP_API_ID_hipPointerSetAttribute: return "hipPointerSetAttribute";
789  case HIP_API_ID_hipProfilerStart: return "hipProfilerStart";
790  case HIP_API_ID_hipProfilerStop: return "hipProfilerStop";
791  case HIP_API_ID_hipRuntimeGetVersion: return "hipRuntimeGetVersion";
792  case HIP_API_ID_hipSetDevice: return "hipSetDevice";
793  case HIP_API_ID_hipSetDeviceFlags: return "hipSetDeviceFlags";
794  case HIP_API_ID_hipSetValidDevices: return "hipSetValidDevices";
795  case HIP_API_ID_hipSetupArgument: return "hipSetupArgument";
796  case HIP_API_ID_hipSignalExternalSemaphoresAsync: return "hipSignalExternalSemaphoresAsync";
797  case HIP_API_ID_hipStreamAddCallback: return "hipStreamAddCallback";
798  case HIP_API_ID_hipStreamAttachMemAsync: return "hipStreamAttachMemAsync";
799  case HIP_API_ID_hipStreamBeginCapture: return "hipStreamBeginCapture";
800  case HIP_API_ID_hipStreamBeginCaptureToGraph: return "hipStreamBeginCaptureToGraph";
801  case HIP_API_ID_hipStreamCreate: return "hipStreamCreate";
802  case HIP_API_ID_hipStreamCreateWithFlags: return "hipStreamCreateWithFlags";
803  case HIP_API_ID_hipStreamCreateWithPriority: return "hipStreamCreateWithPriority";
804  case HIP_API_ID_hipStreamDestroy: return "hipStreamDestroy";
805  case HIP_API_ID_hipStreamEndCapture: return "hipStreamEndCapture";
806  case HIP_API_ID_hipStreamGetCaptureInfo: return "hipStreamGetCaptureInfo";
807  case HIP_API_ID_hipStreamGetCaptureInfo_v2: return "hipStreamGetCaptureInfo_v2";
808  case HIP_API_ID_hipStreamGetDevice: return "hipStreamGetDevice";
809  case HIP_API_ID_hipStreamGetFlags: return "hipStreamGetFlags";
810  case HIP_API_ID_hipStreamGetPriority: return "hipStreamGetPriority";
811  case HIP_API_ID_hipStreamIsCapturing: return "hipStreamIsCapturing";
812  case HIP_API_ID_hipStreamQuery: return "hipStreamQuery";
813  case HIP_API_ID_hipStreamSynchronize: return "hipStreamSynchronize";
814  case HIP_API_ID_hipStreamUpdateCaptureDependencies: return "hipStreamUpdateCaptureDependencies";
815  case HIP_API_ID_hipStreamWaitEvent: return "hipStreamWaitEvent";
816  case HIP_API_ID_hipStreamWaitValue32: return "hipStreamWaitValue32";
817  case HIP_API_ID_hipStreamWaitValue64: return "hipStreamWaitValue64";
818  case HIP_API_ID_hipStreamWriteValue32: return "hipStreamWriteValue32";
819  case HIP_API_ID_hipStreamWriteValue64: return "hipStreamWriteValue64";
820  case HIP_API_ID_hipTexRefGetAddress: return "hipTexRefGetAddress";
821  case HIP_API_ID_hipTexRefGetArray: return "hipTexRefGetArray";
822  case HIP_API_ID_hipTexRefGetBorderColor: return "hipTexRefGetBorderColor";
823  case HIP_API_ID_hipTexRefGetFlags: return "hipTexRefGetFlags";
824  case HIP_API_ID_hipTexRefGetFormat: return "hipTexRefGetFormat";
825  case HIP_API_ID_hipTexRefGetMaxAnisotropy: return "hipTexRefGetMaxAnisotropy";
826  case HIP_API_ID_hipTexRefGetMipMappedArray: return "hipTexRefGetMipMappedArray";
827  case HIP_API_ID_hipTexRefGetMipmapLevelBias: return "hipTexRefGetMipmapLevelBias";
828  case HIP_API_ID_hipTexRefGetMipmapLevelClamp: return "hipTexRefGetMipmapLevelClamp";
829  case HIP_API_ID_hipTexRefSetAddress: return "hipTexRefSetAddress";
830  case HIP_API_ID_hipTexRefSetAddress2D: return "hipTexRefSetAddress2D";
831  case HIP_API_ID_hipTexRefSetArray: return "hipTexRefSetArray";
832  case HIP_API_ID_hipTexRefSetBorderColor: return "hipTexRefSetBorderColor";
833  case HIP_API_ID_hipTexRefSetFlags: return "hipTexRefSetFlags";
834  case HIP_API_ID_hipTexRefSetFormat: return "hipTexRefSetFormat";
835  case HIP_API_ID_hipTexRefSetMaxAnisotropy: return "hipTexRefSetMaxAnisotropy";
836  case HIP_API_ID_hipTexRefSetMipmapLevelBias: return "hipTexRefSetMipmapLevelBias";
837  case HIP_API_ID_hipTexRefSetMipmapLevelClamp: return "hipTexRefSetMipmapLevelClamp";
838  case HIP_API_ID_hipTexRefSetMipmappedArray: return "hipTexRefSetMipmappedArray";
839  case HIP_API_ID_hipThreadExchangeStreamCaptureMode: return "hipThreadExchangeStreamCaptureMode";
840  case HIP_API_ID_hipUserObjectCreate: return "hipUserObjectCreate";
841  case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
842  case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
843  case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
844  };
845  return "unknown";
846 };
847 
848 #include <string.h>
849 // Return the HIP API callback ID for a given name
850 static inline uint32_t hipApiIdByName(const char* name) {
851  if (strcmp("__hipPopCallConfiguration", name) == 0) return HIP_API_ID___hipPopCallConfiguration;
852  if (strcmp("__hipPushCallConfiguration", name) == 0) return HIP_API_ID___hipPushCallConfiguration;
853  if (strcmp("hipArray3DCreate", name) == 0) return HIP_API_ID_hipArray3DCreate;
854  if (strcmp("hipArray3DGetDescriptor", name) == 0) return HIP_API_ID_hipArray3DGetDescriptor;
855  if (strcmp("hipArrayCreate", name) == 0) return HIP_API_ID_hipArrayCreate;
856  if (strcmp("hipArrayDestroy", name) == 0) return HIP_API_ID_hipArrayDestroy;
857  if (strcmp("hipArrayGetDescriptor", name) == 0) return HIP_API_ID_hipArrayGetDescriptor;
858  if (strcmp("hipArrayGetInfo", name) == 0) return HIP_API_ID_hipArrayGetInfo;
859  if (strcmp("hipChooseDeviceR0000", name) == 0) return HIP_API_ID_hipChooseDeviceR0000;
860  if (strcmp("hipChooseDeviceR0600", name) == 0) return HIP_API_ID_hipChooseDeviceR0600;
861  if (strcmp("hipConfigureCall", name) == 0) return HIP_API_ID_hipConfigureCall;
862  if (strcmp("hipCreateSurfaceObject", name) == 0) return HIP_API_ID_hipCreateSurfaceObject;
863  if (strcmp("hipCtxCreate", name) == 0) return HIP_API_ID_hipCtxCreate;
864  if (strcmp("hipCtxDestroy", name) == 0) return HIP_API_ID_hipCtxDestroy;
865  if (strcmp("hipCtxDisablePeerAccess", name) == 0) return HIP_API_ID_hipCtxDisablePeerAccess;
866  if (strcmp("hipCtxEnablePeerAccess", name) == 0) return HIP_API_ID_hipCtxEnablePeerAccess;
867  if (strcmp("hipCtxGetApiVersion", name) == 0) return HIP_API_ID_hipCtxGetApiVersion;
868  if (strcmp("hipCtxGetCacheConfig", name) == 0) return HIP_API_ID_hipCtxGetCacheConfig;
869  if (strcmp("hipCtxGetCurrent", name) == 0) return HIP_API_ID_hipCtxGetCurrent;
870  if (strcmp("hipCtxGetDevice", name) == 0) return HIP_API_ID_hipCtxGetDevice;
871  if (strcmp("hipCtxGetFlags", name) == 0) return HIP_API_ID_hipCtxGetFlags;
872  if (strcmp("hipCtxGetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxGetSharedMemConfig;
873  if (strcmp("hipCtxPopCurrent", name) == 0) return HIP_API_ID_hipCtxPopCurrent;
874  if (strcmp("hipCtxPushCurrent", name) == 0) return HIP_API_ID_hipCtxPushCurrent;
875  if (strcmp("hipCtxSetCacheConfig", name) == 0) return HIP_API_ID_hipCtxSetCacheConfig;
876  if (strcmp("hipCtxSetCurrent", name) == 0) return HIP_API_ID_hipCtxSetCurrent;
877  if (strcmp("hipCtxSetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxSetSharedMemConfig;
878  if (strcmp("hipCtxSynchronize", name) == 0) return HIP_API_ID_hipCtxSynchronize;
879  if (strcmp("hipDestroyExternalMemory", name) == 0) return HIP_API_ID_hipDestroyExternalMemory;
880  if (strcmp("hipDestroyExternalSemaphore", name) == 0) return HIP_API_ID_hipDestroyExternalSemaphore;
881  if (strcmp("hipDestroySurfaceObject", name) == 0) return HIP_API_ID_hipDestroySurfaceObject;
882  if (strcmp("hipDeviceCanAccessPeer", name) == 0) return HIP_API_ID_hipDeviceCanAccessPeer;
883  if (strcmp("hipDeviceComputeCapability", name) == 0) return HIP_API_ID_hipDeviceComputeCapability;
884  if (strcmp("hipDeviceDisablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceDisablePeerAccess;
885  if (strcmp("hipDeviceEnablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceEnablePeerAccess;
886  if (strcmp("hipDeviceGet", name) == 0) return HIP_API_ID_hipDeviceGet;
887  if (strcmp("hipDeviceGetAttribute", name) == 0) return HIP_API_ID_hipDeviceGetAttribute;
888  if (strcmp("hipDeviceGetByPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetByPCIBusId;
889  if (strcmp("hipDeviceGetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceGetCacheConfig;
890  if (strcmp("hipDeviceGetDefaultMemPool", name) == 0) return HIP_API_ID_hipDeviceGetDefaultMemPool;
891  if (strcmp("hipDeviceGetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceGetGraphMemAttribute;
892  if (strcmp("hipDeviceGetLimit", name) == 0) return HIP_API_ID_hipDeviceGetLimit;
893  if (strcmp("hipDeviceGetMemPool", name) == 0) return HIP_API_ID_hipDeviceGetMemPool;
894  if (strcmp("hipDeviceGetName", name) == 0) return HIP_API_ID_hipDeviceGetName;
895  if (strcmp("hipDeviceGetP2PAttribute", name) == 0) return HIP_API_ID_hipDeviceGetP2PAttribute;
896  if (strcmp("hipDeviceGetPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetPCIBusId;
897  if (strcmp("hipDeviceGetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceGetSharedMemConfig;
898  if (strcmp("hipDeviceGetStreamPriorityRange", name) == 0) return HIP_API_ID_hipDeviceGetStreamPriorityRange;
899  if (strcmp("hipDeviceGetUuid", name) == 0) return HIP_API_ID_hipDeviceGetUuid;
900  if (strcmp("hipDeviceGraphMemTrim", name) == 0) return HIP_API_ID_hipDeviceGraphMemTrim;
901  if (strcmp("hipDevicePrimaryCtxGetState", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxGetState;
902  if (strcmp("hipDevicePrimaryCtxRelease", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRelease;
903  if (strcmp("hipDevicePrimaryCtxReset", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxReset;
904  if (strcmp("hipDevicePrimaryCtxRetain", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRetain;
905  if (strcmp("hipDevicePrimaryCtxSetFlags", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
906  if (strcmp("hipDeviceReset", name) == 0) return HIP_API_ID_hipDeviceReset;
907  if (strcmp("hipDeviceSetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceSetCacheConfig;
908  if (strcmp("hipDeviceSetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceSetGraphMemAttribute;
909  if (strcmp("hipDeviceSetLimit", name) == 0) return HIP_API_ID_hipDeviceSetLimit;
910  if (strcmp("hipDeviceSetMemPool", name) == 0) return HIP_API_ID_hipDeviceSetMemPool;
911  if (strcmp("hipDeviceSetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceSetSharedMemConfig;
912  if (strcmp("hipDeviceSynchronize", name) == 0) return HIP_API_ID_hipDeviceSynchronize;
913  if (strcmp("hipDeviceTotalMem", name) == 0) return HIP_API_ID_hipDeviceTotalMem;
914  if (strcmp("hipDriverGetVersion", name) == 0) return HIP_API_ID_hipDriverGetVersion;
915  if (strcmp("hipDrvGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemcpyNode;
916  if (strcmp("hipDrvGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemsetNode;
917  if (strcmp("hipDrvMemcpy2DUnaligned", name) == 0) return HIP_API_ID_hipDrvMemcpy2DUnaligned;
918  if (strcmp("hipDrvMemcpy3D", name) == 0) return HIP_API_ID_hipDrvMemcpy3D;
919  if (strcmp("hipDrvMemcpy3DAsync", name) == 0) return HIP_API_ID_hipDrvMemcpy3DAsync;
920  if (strcmp("hipDrvPointerGetAttributes", name) == 0) return HIP_API_ID_hipDrvPointerGetAttributes;
921  if (strcmp("hipEventCreate", name) == 0) return HIP_API_ID_hipEventCreate;
922  if (strcmp("hipEventCreateWithFlags", name) == 0) return HIP_API_ID_hipEventCreateWithFlags;
923  if (strcmp("hipEventDestroy", name) == 0) return HIP_API_ID_hipEventDestroy;
924  if (strcmp("hipEventElapsedTime", name) == 0) return HIP_API_ID_hipEventElapsedTime;
925  if (strcmp("hipEventQuery", name) == 0) return HIP_API_ID_hipEventQuery;
926  if (strcmp("hipEventRecord", name) == 0) return HIP_API_ID_hipEventRecord;
927  if (strcmp("hipEventSynchronize", name) == 0) return HIP_API_ID_hipEventSynchronize;
928  if (strcmp("hipExtGetLastError", name) == 0) return HIP_API_ID_hipExtGetLastError;
929  if (strcmp("hipExtGetLinkTypeAndHopCount", name) == 0) return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
930  if (strcmp("hipExtLaunchKernel", name) == 0) return HIP_API_ID_hipExtLaunchKernel;
931  if (strcmp("hipExtLaunchMultiKernelMultiDevice", name) == 0) return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
932  if (strcmp("hipExtMallocWithFlags", name) == 0) return HIP_API_ID_hipExtMallocWithFlags;
933  if (strcmp("hipExtModuleLaunchKernel", name) == 0) return HIP_API_ID_hipExtModuleLaunchKernel;
934  if (strcmp("hipExtStreamCreateWithCUMask", name) == 0) return HIP_API_ID_hipExtStreamCreateWithCUMask;
935  if (strcmp("hipExtStreamGetCUMask", name) == 0) return HIP_API_ID_hipExtStreamGetCUMask;
936  if (strcmp("hipExternalMemoryGetMappedBuffer", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
937  if (strcmp("hipExternalMemoryGetMappedMipmappedArray", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
938  if (strcmp("hipFree", name) == 0) return HIP_API_ID_hipFree;
939  if (strcmp("hipFreeArray", name) == 0) return HIP_API_ID_hipFreeArray;
940  if (strcmp("hipFreeAsync", name) == 0) return HIP_API_ID_hipFreeAsync;
941  if (strcmp("hipFreeHost", name) == 0) return HIP_API_ID_hipFreeHost;
942  if (strcmp("hipFreeMipmappedArray", name) == 0) return HIP_API_ID_hipFreeMipmappedArray;
943  if (strcmp("hipFuncGetAttribute", name) == 0) return HIP_API_ID_hipFuncGetAttribute;
944  if (strcmp("hipFuncGetAttributes", name) == 0) return HIP_API_ID_hipFuncGetAttributes;
945  if (strcmp("hipFuncSetAttribute", name) == 0) return HIP_API_ID_hipFuncSetAttribute;
946  if (strcmp("hipFuncSetCacheConfig", name) == 0) return HIP_API_ID_hipFuncSetCacheConfig;
947  if (strcmp("hipFuncSetSharedMemConfig", name) == 0) return HIP_API_ID_hipFuncSetSharedMemConfig;
948  if (strcmp("hipGLGetDevices", name) == 0) return HIP_API_ID_hipGLGetDevices;
949  if (strcmp("hipGetChannelDesc", name) == 0) return HIP_API_ID_hipGetChannelDesc;
950  if (strcmp("hipGetDevice", name) == 0) return HIP_API_ID_hipGetDevice;
951  if (strcmp("hipGetDeviceCount", name) == 0) return HIP_API_ID_hipGetDeviceCount;
952  if (strcmp("hipGetDeviceFlags", name) == 0) return HIP_API_ID_hipGetDeviceFlags;
953  if (strcmp("hipGetDevicePropertiesR0000", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0000;
954  if (strcmp("hipGetDevicePropertiesR0600", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0600;
955  if (strcmp("hipGetErrorString", name) == 0) return HIP_API_ID_hipGetErrorString;
956  if (strcmp("hipGetFuncBySymbol", name) == 0) return HIP_API_ID_hipGetFuncBySymbol;
957  if (strcmp("hipGetLastError", name) == 0) return HIP_API_ID_hipGetLastError;
958  if (strcmp("hipGetMipmappedArrayLevel", name) == 0) return HIP_API_ID_hipGetMipmappedArrayLevel;
959  if (strcmp("hipGetProcAddress", name) == 0) return HIP_API_ID_hipGetProcAddress;
960  if (strcmp("hipGetSymbolAddress", name) == 0) return HIP_API_ID_hipGetSymbolAddress;
961  if (strcmp("hipGetSymbolSize", name) == 0) return HIP_API_ID_hipGetSymbolSize;
962  if (strcmp("hipGraphAddChildGraphNode", name) == 0) return HIP_API_ID_hipGraphAddChildGraphNode;
963  if (strcmp("hipGraphAddDependencies", name) == 0) return HIP_API_ID_hipGraphAddDependencies;
964  if (strcmp("hipGraphAddEmptyNode", name) == 0) return HIP_API_ID_hipGraphAddEmptyNode;
965  if (strcmp("hipGraphAddEventRecordNode", name) == 0) return HIP_API_ID_hipGraphAddEventRecordNode;
966  if (strcmp("hipGraphAddEventWaitNode", name) == 0) return HIP_API_ID_hipGraphAddEventWaitNode;
967  if (strcmp("hipGraphAddExternalSemaphoresSignalNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
968  if (strcmp("hipGraphAddExternalSemaphoresWaitNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
969  if (strcmp("hipGraphAddHostNode", name) == 0) return HIP_API_ID_hipGraphAddHostNode;
970  if (strcmp("hipGraphAddKernelNode", name) == 0) return HIP_API_ID_hipGraphAddKernelNode;
971  if (strcmp("hipGraphAddMemAllocNode", name) == 0) return HIP_API_ID_hipGraphAddMemAllocNode;
972  if (strcmp("hipGraphAddMemFreeNode", name) == 0) return HIP_API_ID_hipGraphAddMemFreeNode;
973  if (strcmp("hipGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode;
974  if (strcmp("hipGraphAddMemcpyNode1D", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode1D;
975  if (strcmp("hipGraphAddMemcpyNodeFromSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
976  if (strcmp("hipGraphAddMemcpyNodeToSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
977  if (strcmp("hipGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipGraphAddMemsetNode;
978  if (strcmp("hipGraphAddNode", name) == 0) return HIP_API_ID_hipGraphAddNode;
979  if (strcmp("hipGraphChildGraphNodeGetGraph", name) == 0) return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
980  if (strcmp("hipGraphClone", name) == 0) return HIP_API_ID_hipGraphClone;
981  if (strcmp("hipGraphCreate", name) == 0) return HIP_API_ID_hipGraphCreate;
982  if (strcmp("hipGraphDebugDotPrint", name) == 0) return HIP_API_ID_hipGraphDebugDotPrint;
983  if (strcmp("hipGraphDestroy", name) == 0) return HIP_API_ID_hipGraphDestroy;
984  if (strcmp("hipGraphDestroyNode", name) == 0) return HIP_API_ID_hipGraphDestroyNode;
985  if (strcmp("hipGraphEventRecordNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
986  if (strcmp("hipGraphEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
987  if (strcmp("hipGraphEventWaitNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
988  if (strcmp("hipGraphEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
989  if (strcmp("hipGraphExecChildGraphNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
990  if (strcmp("hipGraphExecDestroy", name) == 0) return HIP_API_ID_hipGraphExecDestroy;
991  if (strcmp("hipGraphExecEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
992  if (strcmp("hipGraphExecEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
993  if (strcmp("hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
994  if (strcmp("hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
995  if (strcmp("hipGraphExecHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecHostNodeSetParams;
996  if (strcmp("hipGraphExecKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecKernelNodeSetParams;
997  if (strcmp("hipGraphExecMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
998  if (strcmp("hipGraphExecMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
999  if (strcmp("hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
1000  if (strcmp("hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
1001  if (strcmp("hipGraphExecMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
1002  if (strcmp("hipGraphExecUpdate", name) == 0) return HIP_API_ID_hipGraphExecUpdate;
1003  if (strcmp("hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
1004  if (strcmp("hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
1005  if (strcmp("hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
1006  if (strcmp("hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
1007  if (strcmp("hipGraphGetEdges", name) == 0) return HIP_API_ID_hipGraphGetEdges;
1008  if (strcmp("hipGraphGetNodes", name) == 0) return HIP_API_ID_hipGraphGetNodes;
1009  if (strcmp("hipGraphGetRootNodes", name) == 0) return HIP_API_ID_hipGraphGetRootNodes;
1010  if (strcmp("hipGraphHostNodeGetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeGetParams;
1011  if (strcmp("hipGraphHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeSetParams;
1012  if (strcmp("hipGraphInstantiate", name) == 0) return HIP_API_ID_hipGraphInstantiate;
1013  if (strcmp("hipGraphInstantiateWithFlags", name) == 0) return HIP_API_ID_hipGraphInstantiateWithFlags;
1014  if (strcmp("hipGraphInstantiateWithParams", name) == 0) return HIP_API_ID_hipGraphInstantiateWithParams;
1015  if (strcmp("hipGraphKernelNodeCopyAttributes", name) == 0) return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
1016  if (strcmp("hipGraphKernelNodeGetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetAttribute;
1017  if (strcmp("hipGraphKernelNodeGetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetParams;
1018  if (strcmp("hipGraphKernelNodeSetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetAttribute;
1019  if (strcmp("hipGraphKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetParams;
1020  if (strcmp("hipGraphLaunch", name) == 0) return HIP_API_ID_hipGraphLaunch;
1021  if (strcmp("hipGraphMemAllocNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemAllocNodeGetParams;
1022  if (strcmp("hipGraphMemFreeNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemFreeNodeGetParams;
1023  if (strcmp("hipGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeGetParams;
1024  if (strcmp("hipGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams;
1025  if (strcmp("hipGraphMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
1026  if (strcmp("hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1027  if (strcmp("hipGraphMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1028  if (strcmp("hipGraphMemsetNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeGetParams;
1029  if (strcmp("hipGraphMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeSetParams;
1030  if (strcmp("hipGraphNodeFindInClone", name) == 0) return HIP_API_ID_hipGraphNodeFindInClone;
1031  if (strcmp("hipGraphNodeGetDependencies", name) == 0) return HIP_API_ID_hipGraphNodeGetDependencies;
1032  if (strcmp("hipGraphNodeGetDependentNodes", name) == 0) return HIP_API_ID_hipGraphNodeGetDependentNodes;
1033  if (strcmp("hipGraphNodeGetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeGetEnabled;
1034  if (strcmp("hipGraphNodeGetType", name) == 0) return HIP_API_ID_hipGraphNodeGetType;
1035  if (strcmp("hipGraphNodeSetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeSetEnabled;
1036  if (strcmp("hipGraphReleaseUserObject", name) == 0) return HIP_API_ID_hipGraphReleaseUserObject;
1037  if (strcmp("hipGraphRemoveDependencies", name) == 0) return HIP_API_ID_hipGraphRemoveDependencies;
1038  if (strcmp("hipGraphRetainUserObject", name) == 0) return HIP_API_ID_hipGraphRetainUserObject;
1039  if (strcmp("hipGraphUpload", name) == 0) return HIP_API_ID_hipGraphUpload;
1040  if (strcmp("hipGraphicsGLRegisterBuffer", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1041  if (strcmp("hipGraphicsGLRegisterImage", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterImage;
1042  if (strcmp("hipGraphicsMapResources", name) == 0) return HIP_API_ID_hipGraphicsMapResources;
1043  if (strcmp("hipGraphicsResourceGetMappedPointer", name) == 0) return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1044  if (strcmp("hipGraphicsSubResourceGetMappedArray", name) == 0) return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1045  if (strcmp("hipGraphicsUnmapResources", name) == 0) return HIP_API_ID_hipGraphicsUnmapResources;
1046  if (strcmp("hipGraphicsUnregisterResource", name) == 0) return HIP_API_ID_hipGraphicsUnregisterResource;
1047  if (strcmp("hipHccModuleLaunchKernel", name) == 0) return HIP_API_ID_hipHccModuleLaunchKernel;
1048  if (strcmp("hipHostAlloc", name) == 0) return HIP_API_ID_hipHostAlloc;
1049  if (strcmp("hipHostFree", name) == 0) return HIP_API_ID_hipHostFree;
1050  if (strcmp("hipHostGetDevicePointer", name) == 0) return HIP_API_ID_hipHostGetDevicePointer;
1051  if (strcmp("hipHostGetFlags", name) == 0) return HIP_API_ID_hipHostGetFlags;
1052  if (strcmp("hipHostMalloc", name) == 0) return HIP_API_ID_hipHostMalloc;
1053  if (strcmp("hipHostRegister", name) == 0) return HIP_API_ID_hipHostRegister;
1054  if (strcmp("hipHostUnregister", name) == 0) return HIP_API_ID_hipHostUnregister;
1055  if (strcmp("hipImportExternalMemory", name) == 0) return HIP_API_ID_hipImportExternalMemory;
1056  if (strcmp("hipImportExternalSemaphore", name) == 0) return HIP_API_ID_hipImportExternalSemaphore;
1057  if (strcmp("hipInit", name) == 0) return HIP_API_ID_hipInit;
1058  if (strcmp("hipIpcCloseMemHandle", name) == 0) return HIP_API_ID_hipIpcCloseMemHandle;
1059  if (strcmp("hipIpcGetEventHandle", name) == 0) return HIP_API_ID_hipIpcGetEventHandle;
1060  if (strcmp("hipIpcGetMemHandle", name) == 0) return HIP_API_ID_hipIpcGetMemHandle;
1061  if (strcmp("hipIpcOpenEventHandle", name) == 0) return HIP_API_ID_hipIpcOpenEventHandle;
1062  if (strcmp("hipIpcOpenMemHandle", name) == 0) return HIP_API_ID_hipIpcOpenMemHandle;
1063  if (strcmp("hipLaunchByPtr", name) == 0) return HIP_API_ID_hipLaunchByPtr;
1064  if (strcmp("hipLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernel;
1065  if (strcmp("hipLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1066  if (strcmp("hipLaunchHostFunc", name) == 0) return HIP_API_ID_hipLaunchHostFunc;
1067  if (strcmp("hipLaunchKernel", name) == 0) return HIP_API_ID_hipLaunchKernel;
1068  if (strcmp("hipMalloc", name) == 0) return HIP_API_ID_hipMalloc;
1069  if (strcmp("hipMalloc3D", name) == 0) return HIP_API_ID_hipMalloc3D;
1070  if (strcmp("hipMalloc3DArray", name) == 0) return HIP_API_ID_hipMalloc3DArray;
1071  if (strcmp("hipMallocArray", name) == 0) return HIP_API_ID_hipMallocArray;
1072  if (strcmp("hipMallocAsync", name) == 0) return HIP_API_ID_hipMallocAsync;
1073  if (strcmp("hipMallocFromPoolAsync", name) == 0) return HIP_API_ID_hipMallocFromPoolAsync;
1074  if (strcmp("hipMallocHost", name) == 0) return HIP_API_ID_hipMallocHost;
1075  if (strcmp("hipMallocManaged", name) == 0) return HIP_API_ID_hipMallocManaged;
1076  if (strcmp("hipMallocMipmappedArray", name) == 0) return HIP_API_ID_hipMallocMipmappedArray;
1077  if (strcmp("hipMallocPitch", name) == 0) return HIP_API_ID_hipMallocPitch;
1078  if (strcmp("hipMemAddressFree", name) == 0) return HIP_API_ID_hipMemAddressFree;
1079  if (strcmp("hipMemAddressReserve", name) == 0) return HIP_API_ID_hipMemAddressReserve;
1080  if (strcmp("hipMemAdvise", name) == 0) return HIP_API_ID_hipMemAdvise;
1081  if (strcmp("hipMemAllocHost", name) == 0) return HIP_API_ID_hipMemAllocHost;
1082  if (strcmp("hipMemAllocPitch", name) == 0) return HIP_API_ID_hipMemAllocPitch;
1083  if (strcmp("hipMemCreate", name) == 0) return HIP_API_ID_hipMemCreate;
1084  if (strcmp("hipMemExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemExportToShareableHandle;
1085  if (strcmp("hipMemGetAccess", name) == 0) return HIP_API_ID_hipMemGetAccess;
1086  if (strcmp("hipMemGetAddressRange", name) == 0) return HIP_API_ID_hipMemGetAddressRange;
1087  if (strcmp("hipMemGetAllocationGranularity", name) == 0) return HIP_API_ID_hipMemGetAllocationGranularity;
1088  if (strcmp("hipMemGetAllocationPropertiesFromHandle", name) == 0) return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1089  if (strcmp("hipMemGetInfo", name) == 0) return HIP_API_ID_hipMemGetInfo;
1090  if (strcmp("hipMemImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemImportFromShareableHandle;
1091  if (strcmp("hipMemMap", name) == 0) return HIP_API_ID_hipMemMap;
1092  if (strcmp("hipMemMapArrayAsync", name) == 0) return HIP_API_ID_hipMemMapArrayAsync;
1093  if (strcmp("hipMemPoolCreate", name) == 0) return HIP_API_ID_hipMemPoolCreate;
1094  if (strcmp("hipMemPoolDestroy", name) == 0) return HIP_API_ID_hipMemPoolDestroy;
1095  if (strcmp("hipMemPoolExportPointer", name) == 0) return HIP_API_ID_hipMemPoolExportPointer;
1096  if (strcmp("hipMemPoolExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolExportToShareableHandle;
1097  if (strcmp("hipMemPoolGetAccess", name) == 0) return HIP_API_ID_hipMemPoolGetAccess;
1098  if (strcmp("hipMemPoolGetAttribute", name) == 0) return HIP_API_ID_hipMemPoolGetAttribute;
1099  if (strcmp("hipMemPoolImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1100  if (strcmp("hipMemPoolImportPointer", name) == 0) return HIP_API_ID_hipMemPoolImportPointer;
1101  if (strcmp("hipMemPoolSetAccess", name) == 0) return HIP_API_ID_hipMemPoolSetAccess;
1102  if (strcmp("hipMemPoolSetAttribute", name) == 0) return HIP_API_ID_hipMemPoolSetAttribute;
1103  if (strcmp("hipMemPoolTrimTo", name) == 0) return HIP_API_ID_hipMemPoolTrimTo;
1104  if (strcmp("hipMemPrefetchAsync", name) == 0) return HIP_API_ID_hipMemPrefetchAsync;
1105  if (strcmp("hipMemPtrGetInfo", name) == 0) return HIP_API_ID_hipMemPtrGetInfo;
1106  if (strcmp("hipMemRangeGetAttribute", name) == 0) return HIP_API_ID_hipMemRangeGetAttribute;
1107  if (strcmp("hipMemRangeGetAttributes", name) == 0) return HIP_API_ID_hipMemRangeGetAttributes;
1108  if (strcmp("hipMemRelease", name) == 0) return HIP_API_ID_hipMemRelease;
1109  if (strcmp("hipMemRetainAllocationHandle", name) == 0) return HIP_API_ID_hipMemRetainAllocationHandle;
1110  if (strcmp("hipMemSetAccess", name) == 0) return HIP_API_ID_hipMemSetAccess;
1111  if (strcmp("hipMemUnmap", name) == 0) return HIP_API_ID_hipMemUnmap;
1112  if (strcmp("hipMemcpy", name) == 0) return HIP_API_ID_hipMemcpy;
1113  if (strcmp("hipMemcpy2D", name) == 0) return HIP_API_ID_hipMemcpy2D;
1114  if (strcmp("hipMemcpy2DArrayToArray", name) == 0) return HIP_API_ID_hipMemcpy2DArrayToArray;
1115  if (strcmp("hipMemcpy2DAsync", name) == 0) return HIP_API_ID_hipMemcpy2DAsync;
1116  if (strcmp("hipMemcpy2DFromArray", name) == 0) return HIP_API_ID_hipMemcpy2DFromArray;
1117  if (strcmp("hipMemcpy2DFromArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1118  if (strcmp("hipMemcpy2DToArray", name) == 0) return HIP_API_ID_hipMemcpy2DToArray;
1119  if (strcmp("hipMemcpy2DToArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DToArrayAsync;
1120  if (strcmp("hipMemcpy3D", name) == 0) return HIP_API_ID_hipMemcpy3D;
1121  if (strcmp("hipMemcpy3DAsync", name) == 0) return HIP_API_ID_hipMemcpy3DAsync;
1122  if (strcmp("hipMemcpyAsync", name) == 0) return HIP_API_ID_hipMemcpyAsync;
1123  if (strcmp("hipMemcpyAtoA", name) == 0) return HIP_API_ID_hipMemcpyAtoA;
1124  if (strcmp("hipMemcpyAtoD", name) == 0) return HIP_API_ID_hipMemcpyAtoD;
1125  if (strcmp("hipMemcpyAtoH", name) == 0) return HIP_API_ID_hipMemcpyAtoH;
1126  if (strcmp("hipMemcpyAtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyAtoHAsync;
1127  if (strcmp("hipMemcpyDtoA", name) == 0) return HIP_API_ID_hipMemcpyDtoA;
1128  if (strcmp("hipMemcpyDtoD", name) == 0) return HIP_API_ID_hipMemcpyDtoD;
1129  if (strcmp("hipMemcpyDtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoDAsync;
1130  if (strcmp("hipMemcpyDtoH", name) == 0) return HIP_API_ID_hipMemcpyDtoH;
1131  if (strcmp("hipMemcpyDtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoHAsync;
1132  if (strcmp("hipMemcpyFromArray", name) == 0) return HIP_API_ID_hipMemcpyFromArray;
1133  if (strcmp("hipMemcpyFromSymbol", name) == 0) return HIP_API_ID_hipMemcpyFromSymbol;
1134  if (strcmp("hipMemcpyFromSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyFromSymbolAsync;
1135  if (strcmp("hipMemcpyHtoA", name) == 0) return HIP_API_ID_hipMemcpyHtoA;
1136  if (strcmp("hipMemcpyHtoAAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoAAsync;
1137  if (strcmp("hipMemcpyHtoD", name) == 0) return HIP_API_ID_hipMemcpyHtoD;
1138  if (strcmp("hipMemcpyHtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoDAsync;
1139  if (strcmp("hipMemcpyParam2D", name) == 0) return HIP_API_ID_hipMemcpyParam2D;
1140  if (strcmp("hipMemcpyParam2DAsync", name) == 0) return HIP_API_ID_hipMemcpyParam2DAsync;
1141  if (strcmp("hipMemcpyPeer", name) == 0) return HIP_API_ID_hipMemcpyPeer;
1142  if (strcmp("hipMemcpyPeerAsync", name) == 0) return HIP_API_ID_hipMemcpyPeerAsync;
1143  if (strcmp("hipMemcpyToArray", name) == 0) return HIP_API_ID_hipMemcpyToArray;
1144  if (strcmp("hipMemcpyToSymbol", name) == 0) return HIP_API_ID_hipMemcpyToSymbol;
1145  if (strcmp("hipMemcpyToSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyToSymbolAsync;
1146  if (strcmp("hipMemcpyWithStream", name) == 0) return HIP_API_ID_hipMemcpyWithStream;
1147  if (strcmp("hipMemset", name) == 0) return HIP_API_ID_hipMemset;
1148  if (strcmp("hipMemset2D", name) == 0) return HIP_API_ID_hipMemset2D;
1149  if (strcmp("hipMemset2DAsync", name) == 0) return HIP_API_ID_hipMemset2DAsync;
1150  if (strcmp("hipMemset3D", name) == 0) return HIP_API_ID_hipMemset3D;
1151  if (strcmp("hipMemset3DAsync", name) == 0) return HIP_API_ID_hipMemset3DAsync;
1152  if (strcmp("hipMemsetAsync", name) == 0) return HIP_API_ID_hipMemsetAsync;
1153  if (strcmp("hipMemsetD16", name) == 0) return HIP_API_ID_hipMemsetD16;
1154  if (strcmp("hipMemsetD16Async", name) == 0) return HIP_API_ID_hipMemsetD16Async;
1155  if (strcmp("hipMemsetD32", name) == 0) return HIP_API_ID_hipMemsetD32;
1156  if (strcmp("hipMemsetD32Async", name) == 0) return HIP_API_ID_hipMemsetD32Async;
1157  if (strcmp("hipMemsetD8", name) == 0) return HIP_API_ID_hipMemsetD8;
1158  if (strcmp("hipMemsetD8Async", name) == 0) return HIP_API_ID_hipMemsetD8Async;
1159  if (strcmp("hipMipmappedArrayCreate", name) == 0) return HIP_API_ID_hipMipmappedArrayCreate;
1160  if (strcmp("hipMipmappedArrayDestroy", name) == 0) return HIP_API_ID_hipMipmappedArrayDestroy;
1161  if (strcmp("hipMipmappedArrayGetLevel", name) == 0) return HIP_API_ID_hipMipmappedArrayGetLevel;
1162  if (strcmp("hipModuleGetFunction", name) == 0) return HIP_API_ID_hipModuleGetFunction;
1163  if (strcmp("hipModuleGetGlobal", name) == 0) return HIP_API_ID_hipModuleGetGlobal;
1164  if (strcmp("hipModuleGetTexRef", name) == 0) return HIP_API_ID_hipModuleGetTexRef;
1165  if (strcmp("hipModuleLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1166  if (strcmp("hipModuleLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1167  if (strcmp("hipModuleLaunchKernel", name) == 0) return HIP_API_ID_hipModuleLaunchKernel;
1168  if (strcmp("hipModuleLoad", name) == 0) return HIP_API_ID_hipModuleLoad;
1169  if (strcmp("hipModuleLoadData", name) == 0) return HIP_API_ID_hipModuleLoadData;
1170  if (strcmp("hipModuleLoadDataEx", name) == 0) return HIP_API_ID_hipModuleLoadDataEx;
1171  if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1172  if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1173  if (strcmp("hipModuleOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1174  if (strcmp("hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1175  if (strcmp("hipModuleUnload", name) == 0) return HIP_API_ID_hipModuleUnload;
1176  if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1177  if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1178  if (strcmp("hipOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1179  if (strcmp("hipPeekAtLastError", name) == 0) return HIP_API_ID_hipPeekAtLastError;
1180  if (strcmp("hipPointerGetAttribute", name) == 0) return HIP_API_ID_hipPointerGetAttribute;
1181  if (strcmp("hipPointerGetAttributes", name) == 0) return HIP_API_ID_hipPointerGetAttributes;
1182  if (strcmp("hipPointerSetAttribute", name) == 0) return HIP_API_ID_hipPointerSetAttribute;
1183  if (strcmp("hipProfilerStart", name) == 0) return HIP_API_ID_hipProfilerStart;
1184  if (strcmp("hipProfilerStop", name) == 0) return HIP_API_ID_hipProfilerStop;
1185  if (strcmp("hipRuntimeGetVersion", name) == 0) return HIP_API_ID_hipRuntimeGetVersion;
1186  if (strcmp("hipSetDevice", name) == 0) return HIP_API_ID_hipSetDevice;
1187  if (strcmp("hipSetDeviceFlags", name) == 0) return HIP_API_ID_hipSetDeviceFlags;
1188  if (strcmp("hipSetValidDevices", name) == 0) return HIP_API_ID_hipSetValidDevices;
1189  if (strcmp("hipSetupArgument", name) == 0) return HIP_API_ID_hipSetupArgument;
1190  if (strcmp("hipSignalExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1191  if (strcmp("hipStreamAddCallback", name) == 0) return HIP_API_ID_hipStreamAddCallback;
1192  if (strcmp("hipStreamAttachMemAsync", name) == 0) return HIP_API_ID_hipStreamAttachMemAsync;
1193  if (strcmp("hipStreamBeginCapture", name) == 0) return HIP_API_ID_hipStreamBeginCapture;
1194  if (strcmp("hipStreamBeginCaptureToGraph", name) == 0) return HIP_API_ID_hipStreamBeginCaptureToGraph;
1195  if (strcmp("hipStreamCreate", name) == 0) return HIP_API_ID_hipStreamCreate;
1196  if (strcmp("hipStreamCreateWithFlags", name) == 0) return HIP_API_ID_hipStreamCreateWithFlags;
1197  if (strcmp("hipStreamCreateWithPriority", name) == 0) return HIP_API_ID_hipStreamCreateWithPriority;
1198  if (strcmp("hipStreamDestroy", name) == 0) return HIP_API_ID_hipStreamDestroy;
1199  if (strcmp("hipStreamEndCapture", name) == 0) return HIP_API_ID_hipStreamEndCapture;
1200  if (strcmp("hipStreamGetCaptureInfo", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo;
1201  if (strcmp("hipStreamGetCaptureInfo_v2", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1202  if (strcmp("hipStreamGetDevice", name) == 0) return HIP_API_ID_hipStreamGetDevice;
1203  if (strcmp("hipStreamGetFlags", name) == 0) return HIP_API_ID_hipStreamGetFlags;
1204  if (strcmp("hipStreamGetPriority", name) == 0) return HIP_API_ID_hipStreamGetPriority;
1205  if (strcmp("hipStreamIsCapturing", name) == 0) return HIP_API_ID_hipStreamIsCapturing;
1206  if (strcmp("hipStreamQuery", name) == 0) return HIP_API_ID_hipStreamQuery;
1207  if (strcmp("hipStreamSynchronize", name) == 0) return HIP_API_ID_hipStreamSynchronize;
1208  if (strcmp("hipStreamUpdateCaptureDependencies", name) == 0) return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1209  if (strcmp("hipStreamWaitEvent", name) == 0) return HIP_API_ID_hipStreamWaitEvent;
1210  if (strcmp("hipStreamWaitValue32", name) == 0) return HIP_API_ID_hipStreamWaitValue32;
1211  if (strcmp("hipStreamWaitValue64", name) == 0) return HIP_API_ID_hipStreamWaitValue64;
1212  if (strcmp("hipStreamWriteValue32", name) == 0) return HIP_API_ID_hipStreamWriteValue32;
1213  if (strcmp("hipStreamWriteValue64", name) == 0) return HIP_API_ID_hipStreamWriteValue64;
1214  if (strcmp("hipTexRefGetAddress", name) == 0) return HIP_API_ID_hipTexRefGetAddress;
1215  if (strcmp("hipTexRefGetArray", name) == 0) return HIP_API_ID_hipTexRefGetArray;
1216  if (strcmp("hipTexRefGetBorderColor", name) == 0) return HIP_API_ID_hipTexRefGetBorderColor;
1217  if (strcmp("hipTexRefGetFlags", name) == 0) return HIP_API_ID_hipTexRefGetFlags;
1218  if (strcmp("hipTexRefGetFormat", name) == 0) return HIP_API_ID_hipTexRefGetFormat;
1219  if (strcmp("hipTexRefGetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1220  if (strcmp("hipTexRefGetMipMappedArray", name) == 0) return HIP_API_ID_hipTexRefGetMipMappedArray;
1221  if (strcmp("hipTexRefGetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1222  if (strcmp("hipTexRefGetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1223  if (strcmp("hipTexRefSetAddress", name) == 0) return HIP_API_ID_hipTexRefSetAddress;
1224  if (strcmp("hipTexRefSetAddress2D", name) == 0) return HIP_API_ID_hipTexRefSetAddress2D;
1225  if (strcmp("hipTexRefSetArray", name) == 0) return HIP_API_ID_hipTexRefSetArray;
1226  if (strcmp("hipTexRefSetBorderColor", name) == 0) return HIP_API_ID_hipTexRefSetBorderColor;
1227  if (strcmp("hipTexRefSetFlags", name) == 0) return HIP_API_ID_hipTexRefSetFlags;
1228  if (strcmp("hipTexRefSetFormat", name) == 0) return HIP_API_ID_hipTexRefSetFormat;
1229  if (strcmp("hipTexRefSetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1230  if (strcmp("hipTexRefSetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1231  if (strcmp("hipTexRefSetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1232  if (strcmp("hipTexRefSetMipmappedArray", name) == 0) return HIP_API_ID_hipTexRefSetMipmappedArray;
1233  if (strcmp("hipThreadExchangeStreamCaptureMode", name) == 0) return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1234  if (strcmp("hipUserObjectCreate", name) == 0) return HIP_API_ID_hipUserObjectCreate;
1235  if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
1236  if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
1237  if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1238  return HIP_API_ID_NONE;
1239 }
1240 
1241 // HIP API callbacks data structures
1242 typedef struct hip_api_data_s {
1243  uint64_t correlation_id;
1244  uint32_t phase;
1245  union {
1246  struct {
1247  dim3* gridDim;
1248  dim3 gridDim__val;
1249  dim3* blockDim;
1250  dim3 blockDim__val;
1251  size_t* sharedMem;
1252  size_t sharedMem__val;
1253  hipStream_t* stream;
1254  hipStream_t stream__val;
1255  } __hipPopCallConfiguration;
1256  struct {
1257  dim3 gridDim;
1258  dim3 blockDim;
1259  size_t sharedMem;
1260  hipStream_t stream;
1261  } __hipPushCallConfiguration;
1262  struct {
1263  hipArray_t* array;
1264  hipArray_t array__val;
1265  const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1266  HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1267  } hipArray3DCreate;
1268  struct {
1269  HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1270  HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1271  hipArray_t array;
1272  } hipArray3DGetDescriptor;
1273  struct {
1274  hipArray_t* pHandle;
1275  hipArray_t pHandle__val;
1276  const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1277  HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1278  } hipArrayCreate;
1279  struct {
1280  hipArray_t array;
1281  } hipArrayDestroy;
1282  struct {
1283  HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1284  HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1285  hipArray_t array;
1286  } hipArrayGetDescriptor;
1287  struct {
1288  hipChannelFormatDesc* desc;
1289  hipChannelFormatDesc desc__val;
1290  hipExtent* extent;
1291  hipExtent extent__val;
1292  unsigned int* flags;
1293  unsigned int flags__val;
1294  hipArray_t array;
1295  } hipArrayGetInfo;
1296  struct {
1297  int* device;
1298  int device__val;
1299  const hipDeviceProp_tR0000* prop;
1300  hipDeviceProp_tR0000 prop__val;
1301  } hipChooseDeviceR0000;
1302  struct {
1303  int* device;
1304  int device__val;
1305  const hipDeviceProp_tR0600* prop;
1306  hipDeviceProp_tR0600 prop__val;
1307  } hipChooseDeviceR0600;
1308  struct {
1309  dim3 gridDim;
1310  dim3 blockDim;
1311  size_t sharedMem;
1312  hipStream_t stream;
1313  } hipConfigureCall;
1314  struct {
1315  hipSurfaceObject_t* pSurfObject;
1316  hipSurfaceObject_t pSurfObject__val;
1317  const hipResourceDesc* pResDesc;
1318  hipResourceDesc pResDesc__val;
1319  } hipCreateSurfaceObject;
1320  struct {
1321  hipCtx_t* ctx;
1322  hipCtx_t ctx__val;
1323  unsigned int flags;
1324  hipDevice_t device;
1325  } hipCtxCreate;
1326  struct {
1327  hipCtx_t ctx;
1328  } hipCtxDestroy;
1329  struct {
1330  hipCtx_t peerCtx;
1331  } hipCtxDisablePeerAccess;
1332  struct {
1333  hipCtx_t peerCtx;
1334  unsigned int flags;
1335  } hipCtxEnablePeerAccess;
1336  struct {
1337  hipCtx_t ctx;
1338  int* apiVersion;
1339  int apiVersion__val;
1340  } hipCtxGetApiVersion;
1341  struct {
1342  hipFuncCache_t* cacheConfig;
1343  hipFuncCache_t cacheConfig__val;
1344  } hipCtxGetCacheConfig;
1345  struct {
1346  hipCtx_t* ctx;
1347  hipCtx_t ctx__val;
1348  } hipCtxGetCurrent;
1349  struct {
1350  hipDevice_t* device;
1351  hipDevice_t device__val;
1352  } hipCtxGetDevice;
1353  struct {
1354  unsigned int* flags;
1355  unsigned int flags__val;
1356  } hipCtxGetFlags;
1357  struct {
1358  hipSharedMemConfig* pConfig;
1359  hipSharedMemConfig pConfig__val;
1360  } hipCtxGetSharedMemConfig;
1361  struct {
1362  hipCtx_t* ctx;
1363  hipCtx_t ctx__val;
1364  } hipCtxPopCurrent;
1365  struct {
1366  hipCtx_t ctx;
1367  } hipCtxPushCurrent;
1368  struct {
1369  hipFuncCache_t cacheConfig;
1370  } hipCtxSetCacheConfig;
1371  struct {
1372  hipCtx_t ctx;
1373  } hipCtxSetCurrent;
1374  struct {
1375  hipSharedMemConfig config;
1376  } hipCtxSetSharedMemConfig;
1377  struct {
1378  hipExternalMemory_t extMem;
1379  } hipDestroyExternalMemory;
1380  struct {
1381  hipExternalSemaphore_t extSem;
1382  } hipDestroyExternalSemaphore;
1383  struct {
1384  hipSurfaceObject_t surfaceObject;
1385  } hipDestroySurfaceObject;
1386  struct {
1387  int* canAccessPeer;
1388  int canAccessPeer__val;
1389  int deviceId;
1390  int peerDeviceId;
1391  } hipDeviceCanAccessPeer;
1392  struct {
1393  int* major;
1394  int major__val;
1395  int* minor;
1396  int minor__val;
1397  hipDevice_t device;
1398  } hipDeviceComputeCapability;
1399  struct {
1400  int peerDeviceId;
1401  } hipDeviceDisablePeerAccess;
1402  struct {
1403  int peerDeviceId;
1404  unsigned int flags;
1405  } hipDeviceEnablePeerAccess;
1406  struct {
1407  hipDevice_t* device;
1408  hipDevice_t device__val;
1409  int ordinal;
1410  } hipDeviceGet;
1411  struct {
1412  int* pi;
1413  int pi__val;
1414  hipDeviceAttribute_t attr;
1415  int deviceId;
1416  } hipDeviceGetAttribute;
1417  struct {
1418  int* device;
1419  int device__val;
1420  const char* pciBusId;
1421  char pciBusId__val;
1422  } hipDeviceGetByPCIBusId;
1423  struct {
1424  hipFuncCache_t* cacheConfig;
1425  hipFuncCache_t cacheConfig__val;
1426  } hipDeviceGetCacheConfig;
1427  struct {
1428  hipMemPool_t* mem_pool;
1429  hipMemPool_t mem_pool__val;
1430  int device;
1431  } hipDeviceGetDefaultMemPool;
1432  struct {
1433  int device;
1434  hipGraphMemAttributeType attr;
1435  void* value;
1436  } hipDeviceGetGraphMemAttribute;
1437  struct {
1438  size_t* pValue;
1439  size_t pValue__val;
1440  enum hipLimit_t limit;
1441  } hipDeviceGetLimit;
1442  struct {
1443  hipMemPool_t* mem_pool;
1444  hipMemPool_t mem_pool__val;
1445  int device;
1446  } hipDeviceGetMemPool;
1447  struct {
1448  char* name;
1449  char name__val;
1450  int len;
1451  hipDevice_t device;
1452  } hipDeviceGetName;
1453  struct {
1454  int* value;
1455  int value__val;
1456  hipDeviceP2PAttr attr;
1457  int srcDevice;
1458  int dstDevice;
1459  } hipDeviceGetP2PAttribute;
1460  struct {
1461  char* pciBusId;
1462  char pciBusId__val;
1463  int len;
1464  int device;
1465  } hipDeviceGetPCIBusId;
1466  struct {
1467  hipSharedMemConfig* pConfig;
1468  hipSharedMemConfig pConfig__val;
1469  } hipDeviceGetSharedMemConfig;
1470  struct {
1471  int* leastPriority;
1472  int leastPriority__val;
1473  int* greatestPriority;
1474  int greatestPriority__val;
1475  } hipDeviceGetStreamPriorityRange;
1476  struct {
1477  hipUUID* uuid;
1478  hipUUID uuid__val;
1479  hipDevice_t device;
1480  } hipDeviceGetUuid;
1481  struct {
1482  int device;
1483  } hipDeviceGraphMemTrim;
1484  struct {
1485  hipDevice_t dev;
1486  unsigned int* flags;
1487  unsigned int flags__val;
1488  int* active;
1489  int active__val;
1490  } hipDevicePrimaryCtxGetState;
1491  struct {
1492  hipDevice_t dev;
1493  } hipDevicePrimaryCtxRelease;
1494  struct {
1495  hipDevice_t dev;
1496  } hipDevicePrimaryCtxReset;
1497  struct {
1498  hipCtx_t* pctx;
1499  hipCtx_t pctx__val;
1500  hipDevice_t dev;
1501  } hipDevicePrimaryCtxRetain;
1502  struct {
1503  hipDevice_t dev;
1504  unsigned int flags;
1505  } hipDevicePrimaryCtxSetFlags;
1506  struct {
1507  hipFuncCache_t cacheConfig;
1508  } hipDeviceSetCacheConfig;
1509  struct {
1510  int device;
1511  hipGraphMemAttributeType attr;
1512  void* value;
1513  } hipDeviceSetGraphMemAttribute;
1514  struct {
1515  enum hipLimit_t limit;
1516  size_t value;
1517  } hipDeviceSetLimit;
1518  struct {
1519  int device;
1520  hipMemPool_t mem_pool;
1521  } hipDeviceSetMemPool;
1522  struct {
1523  hipSharedMemConfig config;
1524  } hipDeviceSetSharedMemConfig;
1525  struct {
1526  size_t* bytes;
1527  size_t bytes__val;
1528  hipDevice_t device;
1529  } hipDeviceTotalMem;
1530  struct {
1531  int* driverVersion;
1532  int driverVersion__val;
1533  } hipDriverGetVersion;
1534  struct {
1535  hipGraphNode_t* phGraphNode;
1536  hipGraphNode_t phGraphNode__val;
1537  hipGraph_t hGraph;
1538  const hipGraphNode_t* dependencies;
1539  hipGraphNode_t dependencies__val;
1540  size_t numDependencies;
1541  const HIP_MEMCPY3D* copyParams;
1542  HIP_MEMCPY3D copyParams__val;
1543  hipCtx_t ctx;
1544  } hipDrvGraphAddMemcpyNode;
1545  struct {
1546  hipGraphNode_t* phGraphNode;
1547  hipGraphNode_t phGraphNode__val;
1548  hipGraph_t hGraph;
1549  const hipGraphNode_t* dependencies;
1550  hipGraphNode_t dependencies__val;
1551  size_t numDependencies;
1552  const HIP_MEMSET_NODE_PARAMS* memsetParams;
1553  HIP_MEMSET_NODE_PARAMS memsetParams__val;
1554  hipCtx_t ctx;
1555  } hipDrvGraphAddMemsetNode;
1556  struct {
1557  const hip_Memcpy2D* pCopy;
1558  hip_Memcpy2D pCopy__val;
1559  } hipDrvMemcpy2DUnaligned;
1560  struct {
1561  const HIP_MEMCPY3D* pCopy;
1562  HIP_MEMCPY3D pCopy__val;
1563  } hipDrvMemcpy3D;
1564  struct {
1565  const HIP_MEMCPY3D* pCopy;
1566  HIP_MEMCPY3D pCopy__val;
1567  hipStream_t stream;
1568  } hipDrvMemcpy3DAsync;
1569  struct {
1570  unsigned int numAttributes;
1571  hipPointer_attribute* attributes;
1572  hipPointer_attribute attributes__val;
1573  void** data;
1574  void* data__val;
1575  hipDeviceptr_t ptr;
1576  } hipDrvPointerGetAttributes;
1577  struct {
1578  hipEvent_t* event;
1579  hipEvent_t event__val;
1580  } hipEventCreate;
1581  struct {
1582  hipEvent_t* event;
1583  hipEvent_t event__val;
1584  unsigned int flags;
1585  } hipEventCreateWithFlags;
1586  struct {
1587  hipEvent_t event;
1588  } hipEventDestroy;
1589  struct {
1590  float* ms;
1591  float ms__val;
1592  hipEvent_t start;
1593  hipEvent_t stop;
1594  } hipEventElapsedTime;
1595  struct {
1596  hipEvent_t event;
1597  } hipEventQuery;
1598  struct {
1599  hipEvent_t event;
1600  hipStream_t stream;
1601  } hipEventRecord;
1602  struct {
1603  hipEvent_t event;
1604  } hipEventSynchronize;
1605  struct {
1606  int device1;
1607  int device2;
1608  unsigned int* linktype;
1609  unsigned int linktype__val;
1610  unsigned int* hopcount;
1611  unsigned int hopcount__val;
1612  } hipExtGetLinkTypeAndHopCount;
1613  struct {
1614  const void* function_address;
1615  dim3 numBlocks;
1616  dim3 dimBlocks;
1617  void** args;
1618  void* args__val;
1619  size_t sharedMemBytes;
1620  hipStream_t stream;
1621  hipEvent_t startEvent;
1622  hipEvent_t stopEvent;
1623  int flags;
1624  } hipExtLaunchKernel;
1625  struct {
1626  hipLaunchParams* launchParamsList;
1627  hipLaunchParams launchParamsList__val;
1628  int numDevices;
1629  unsigned int flags;
1630  } hipExtLaunchMultiKernelMultiDevice;
1631  struct {
1632  void** ptr;
1633  void* ptr__val;
1634  size_t sizeBytes;
1635  unsigned int flags;
1636  } hipExtMallocWithFlags;
1637  struct {
1638  hipFunction_t f;
1639  unsigned int globalWorkSizeX;
1640  unsigned int globalWorkSizeY;
1641  unsigned int globalWorkSizeZ;
1642  unsigned int localWorkSizeX;
1643  unsigned int localWorkSizeY;
1644  unsigned int localWorkSizeZ;
1645  size_t sharedMemBytes;
1646  hipStream_t hStream;
1647  void** kernelParams;
1648  void* kernelParams__val;
1649  void** extra;
1650  void* extra__val;
1651  hipEvent_t startEvent;
1652  hipEvent_t stopEvent;
1653  unsigned int flags;
1654  } hipExtModuleLaunchKernel;
1655  struct {
1656  hipStream_t* stream;
1657  hipStream_t stream__val;
1658  unsigned int cuMaskSize;
1659  const unsigned int* cuMask;
1660  unsigned int cuMask__val;
1661  } hipExtStreamCreateWithCUMask;
1662  struct {
1663  hipStream_t stream;
1664  unsigned int cuMaskSize;
1665  unsigned int* cuMask;
1666  unsigned int cuMask__val;
1667  } hipExtStreamGetCUMask;
1668  struct {
1669  void** devPtr;
1670  void* devPtr__val;
1671  hipExternalMemory_t extMem;
1672  const hipExternalMemoryBufferDesc* bufferDesc;
1673  hipExternalMemoryBufferDesc bufferDesc__val;
1674  } hipExternalMemoryGetMappedBuffer;
1675  struct {
1676  hipMipmappedArray_t* mipmap;
1677  hipMipmappedArray_t mipmap__val;
1678  hipExternalMemory_t extMem;
1679  const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1680  hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1681  } hipExternalMemoryGetMappedMipmappedArray;
1682  struct {
1683  void* ptr;
1684  } hipFree;
1685  struct {
1686  hipArray_t array;
1687  } hipFreeArray;
1688  struct {
1689  void* dev_ptr;
1690  hipStream_t stream;
1691  } hipFreeAsync;
1692  struct {
1693  void* ptr;
1694  } hipFreeHost;
1695  struct {
1696  hipMipmappedArray_t mipmappedArray;
1697  } hipFreeMipmappedArray;
1698  struct {
1699  int* value;
1700  int value__val;
1701  hipFunction_attribute attrib;
1702  hipFunction_t hfunc;
1703  } hipFuncGetAttribute;
1704  struct {
1705  hipFuncAttributes* attr;
1706  hipFuncAttributes attr__val;
1707  const void* func;
1708  } hipFuncGetAttributes;
1709  struct {
1710  const void* func;
1711  hipFuncAttribute attr;
1712  int value;
1713  } hipFuncSetAttribute;
1714  struct {
1715  const void* func;
1716  hipFuncCache_t config;
1717  } hipFuncSetCacheConfig;
1718  struct {
1719  const void* func;
1720  hipSharedMemConfig config;
1721  } hipFuncSetSharedMemConfig;
1722  struct {
1723  unsigned int* pHipDeviceCount;
1724  unsigned int pHipDeviceCount__val;
1725  int* pHipDevices;
1726  int pHipDevices__val;
1727  unsigned int hipDeviceCount;
1728  hipGLDeviceList deviceList;
1729  } hipGLGetDevices;
1730  struct {
1731  hipChannelFormatDesc* desc;
1732  hipChannelFormatDesc desc__val;
1733  hipArray_const_t array;
1734  } hipGetChannelDesc;
1735  struct {
1736  int* deviceId;
1737  int deviceId__val;
1738  } hipGetDevice;
1739  struct {
1740  int* count;
1741  int count__val;
1742  } hipGetDeviceCount;
1743  struct {
1744  unsigned int* flags;
1745  unsigned int flags__val;
1746  } hipGetDeviceFlags;
1747  struct {
1748  hipDeviceProp_tR0000* prop;
1749  hipDeviceProp_tR0000 prop__val;
1750  int device;
1751  } hipGetDevicePropertiesR0000;
1752  struct {
1753  hipDeviceProp_tR0600* prop;
1754  hipDeviceProp_tR0600 prop__val;
1755  int deviceId;
1756  } hipGetDevicePropertiesR0600;
1757  struct {
1758  hipFunction_t* functionPtr;
1759  hipFunction_t functionPtr__val;
1760  const void* symbolPtr;
1761  } hipGetFuncBySymbol;
1762  struct {
1763  hipArray_t* levelArray;
1764  hipArray_t levelArray__val;
1765  hipMipmappedArray_const_t mipmappedArray;
1766  unsigned int level;
1767  } hipGetMipmappedArrayLevel;
1768  struct {
1769  const char* symbol;
1770  char symbol__val;
1771  void** pfn;
1772  void* pfn__val;
1773  int hipVersion;
1774  uint64_t flags;
1775  hipDriverProcAddressQueryResult* symbolStatus;
1776  hipDriverProcAddressQueryResult symbolStatus__val;
1777  } hipGetProcAddress;
1778  struct {
1779  void** devPtr;
1780  void* devPtr__val;
1781  const void* symbol;
1782  } hipGetSymbolAddress;
1783  struct {
1784  size_t* size;
1785  size_t size__val;
1786  const void* symbol;
1787  } hipGetSymbolSize;
1788  struct {
1789  hipGraphNode_t* pGraphNode;
1790  hipGraphNode_t pGraphNode__val;
1791  hipGraph_t graph;
1792  const hipGraphNode_t* pDependencies;
1793  hipGraphNode_t pDependencies__val;
1794  size_t numDependencies;
1795  hipGraph_t childGraph;
1796  } hipGraphAddChildGraphNode;
1797  struct {
1798  hipGraph_t graph;
1799  const hipGraphNode_t* from;
1800  hipGraphNode_t from__val;
1801  const hipGraphNode_t* to;
1802  hipGraphNode_t to__val;
1803  size_t numDependencies;
1804  } hipGraphAddDependencies;
1805  struct {
1806  hipGraphNode_t* pGraphNode;
1807  hipGraphNode_t pGraphNode__val;
1808  hipGraph_t graph;
1809  const hipGraphNode_t* pDependencies;
1810  hipGraphNode_t pDependencies__val;
1811  size_t numDependencies;
1812  } hipGraphAddEmptyNode;
1813  struct {
1814  hipGraphNode_t* pGraphNode;
1815  hipGraphNode_t pGraphNode__val;
1816  hipGraph_t graph;
1817  const hipGraphNode_t* pDependencies;
1818  hipGraphNode_t pDependencies__val;
1819  size_t numDependencies;
1820  hipEvent_t event;
1821  } hipGraphAddEventRecordNode;
1822  struct {
1823  hipGraphNode_t* pGraphNode;
1824  hipGraphNode_t pGraphNode__val;
1825  hipGraph_t graph;
1826  const hipGraphNode_t* pDependencies;
1827  hipGraphNode_t pDependencies__val;
1828  size_t numDependencies;
1829  hipEvent_t event;
1830  } hipGraphAddEventWaitNode;
1831  struct {
1832  hipGraphNode_t* pGraphNode;
1833  hipGraphNode_t pGraphNode__val;
1834  hipGraph_t graph;
1835  const hipGraphNode_t* pDependencies;
1836  hipGraphNode_t pDependencies__val;
1837  size_t numDependencies;
1838  const hipExternalSemaphoreSignalNodeParams* nodeParams;
1839  hipExternalSemaphoreSignalNodeParams nodeParams__val;
1840  } hipGraphAddExternalSemaphoresSignalNode;
1841  struct {
1842  hipGraphNode_t* pGraphNode;
1843  hipGraphNode_t pGraphNode__val;
1844  hipGraph_t graph;
1845  const hipGraphNode_t* pDependencies;
1846  hipGraphNode_t pDependencies__val;
1847  size_t numDependencies;
1848  const hipExternalSemaphoreWaitNodeParams* nodeParams;
1849  hipExternalSemaphoreWaitNodeParams nodeParams__val;
1850  } hipGraphAddExternalSemaphoresWaitNode;
1851  struct {
1852  hipGraphNode_t* pGraphNode;
1853  hipGraphNode_t pGraphNode__val;
1854  hipGraph_t graph;
1855  const hipGraphNode_t* pDependencies;
1856  hipGraphNode_t pDependencies__val;
1857  size_t numDependencies;
1858  const hipHostNodeParams* pNodeParams;
1859  hipHostNodeParams pNodeParams__val;
1860  } hipGraphAddHostNode;
1861  struct {
1862  hipGraphNode_t* pGraphNode;
1863  hipGraphNode_t pGraphNode__val;
1864  hipGraph_t graph;
1865  const hipGraphNode_t* pDependencies;
1866  hipGraphNode_t pDependencies__val;
1867  size_t numDependencies;
1868  const hipKernelNodeParams* pNodeParams;
1869  hipKernelNodeParams pNodeParams__val;
1870  } hipGraphAddKernelNode;
1871  struct {
1872  hipGraphNode_t* pGraphNode;
1873  hipGraphNode_t pGraphNode__val;
1874  hipGraph_t graph;
1875  const hipGraphNode_t* pDependencies;
1876  hipGraphNode_t pDependencies__val;
1877  size_t numDependencies;
1878  hipMemAllocNodeParams* pNodeParams;
1879  hipMemAllocNodeParams pNodeParams__val;
1880  } hipGraphAddMemAllocNode;
1881  struct {
1882  hipGraphNode_t* pGraphNode;
1883  hipGraphNode_t pGraphNode__val;
1884  hipGraph_t graph;
1885  const hipGraphNode_t* pDependencies;
1886  hipGraphNode_t pDependencies__val;
1887  size_t numDependencies;
1888  void* dev_ptr;
1889  } hipGraphAddMemFreeNode;
1890  struct {
1891  hipGraphNode_t* pGraphNode;
1892  hipGraphNode_t pGraphNode__val;
1893  hipGraph_t graph;
1894  const hipGraphNode_t* pDependencies;
1895  hipGraphNode_t pDependencies__val;
1896  size_t numDependencies;
1897  const hipMemcpy3DParms* pCopyParams;
1898  hipMemcpy3DParms pCopyParams__val;
1899  } hipGraphAddMemcpyNode;
1900  struct {
1901  hipGraphNode_t* pGraphNode;
1902  hipGraphNode_t pGraphNode__val;
1903  hipGraph_t graph;
1904  const hipGraphNode_t* pDependencies;
1905  hipGraphNode_t pDependencies__val;
1906  size_t numDependencies;
1907  void* dst;
1908  const void* src;
1909  size_t count;
1910  hipMemcpyKind kind;
1911  } hipGraphAddMemcpyNode1D;
1912  struct {
1913  hipGraphNode_t* pGraphNode;
1914  hipGraphNode_t pGraphNode__val;
1915  hipGraph_t graph;
1916  const hipGraphNode_t* pDependencies;
1917  hipGraphNode_t pDependencies__val;
1918  size_t numDependencies;
1919  void* dst;
1920  const void* symbol;
1921  size_t count;
1922  size_t offset;
1923  hipMemcpyKind kind;
1924  } hipGraphAddMemcpyNodeFromSymbol;
1925  struct {
1926  hipGraphNode_t* pGraphNode;
1927  hipGraphNode_t pGraphNode__val;
1928  hipGraph_t graph;
1929  const hipGraphNode_t* pDependencies;
1930  hipGraphNode_t pDependencies__val;
1931  size_t numDependencies;
1932  const void* symbol;
1933  const void* src;
1934  size_t count;
1935  size_t offset;
1936  hipMemcpyKind kind;
1937  } hipGraphAddMemcpyNodeToSymbol;
1938  struct {
1939  hipGraphNode_t* pGraphNode;
1940  hipGraphNode_t pGraphNode__val;
1941  hipGraph_t graph;
1942  const hipGraphNode_t* pDependencies;
1943  hipGraphNode_t pDependencies__val;
1944  size_t numDependencies;
1945  const hipMemsetParams* pMemsetParams;
1946  hipMemsetParams pMemsetParams__val;
1947  } hipGraphAddMemsetNode;
1948  struct {
1949  hipGraphNode_t* pGraphNode;
1950  hipGraphNode_t pGraphNode__val;
1951  hipGraph_t graph;
1952  const hipGraphNode_t* pDependencies;
1953  hipGraphNode_t pDependencies__val;
1954  size_t numDependencies;
1955  hipGraphNodeParams* nodeParams;
1956  hipGraphNodeParams nodeParams__val;
1957  } hipGraphAddNode;
1958  struct {
1959  hipGraphNode_t node;
1960  hipGraph_t* pGraph;
1961  hipGraph_t pGraph__val;
1962  } hipGraphChildGraphNodeGetGraph;
1963  struct {
1964  hipGraph_t* pGraphClone;
1965  hipGraph_t pGraphClone__val;
1966  hipGraph_t originalGraph;
1967  } hipGraphClone;
1968  struct {
1969  hipGraph_t* pGraph;
1970  hipGraph_t pGraph__val;
1971  unsigned int flags;
1972  } hipGraphCreate;
1973  struct {
1974  hipGraph_t graph;
1975  const char* path;
1976  char path__val;
1977  unsigned int flags;
1978  } hipGraphDebugDotPrint;
1979  struct {
1980  hipGraph_t graph;
1981  } hipGraphDestroy;
1982  struct {
1983  hipGraphNode_t node;
1984  } hipGraphDestroyNode;
1985  struct {
1986  hipGraphNode_t node;
1987  hipEvent_t* event_out;
1988  hipEvent_t event_out__val;
1989  } hipGraphEventRecordNodeGetEvent;
1990  struct {
1991  hipGraphNode_t node;
1992  hipEvent_t event;
1993  } hipGraphEventRecordNodeSetEvent;
1994  struct {
1995  hipGraphNode_t node;
1996  hipEvent_t* event_out;
1997  hipEvent_t event_out__val;
1998  } hipGraphEventWaitNodeGetEvent;
1999  struct {
2000  hipGraphNode_t node;
2001  hipEvent_t event;
2002  } hipGraphEventWaitNodeSetEvent;
2003  struct {
2004  hipGraphExec_t hGraphExec;
2005  hipGraphNode_t node;
2006  hipGraph_t childGraph;
2007  } hipGraphExecChildGraphNodeSetParams;
2008  struct {
2009  hipGraphExec_t graphExec;
2010  } hipGraphExecDestroy;
2011  struct {
2012  hipGraphExec_t hGraphExec;
2013  hipGraphNode_t hNode;
2014  hipEvent_t event;
2015  } hipGraphExecEventRecordNodeSetEvent;
2016  struct {
2017  hipGraphExec_t hGraphExec;
2018  hipGraphNode_t hNode;
2019  hipEvent_t event;
2020  } hipGraphExecEventWaitNodeSetEvent;
2021  struct {
2022  hipGraphExec_t hGraphExec;
2023  hipGraphNode_t hNode;
2024  const hipExternalSemaphoreSignalNodeParams* nodeParams;
2025  hipExternalSemaphoreSignalNodeParams nodeParams__val;
2026  } hipGraphExecExternalSemaphoresSignalNodeSetParams;
2027  struct {
2028  hipGraphExec_t hGraphExec;
2029  hipGraphNode_t hNode;
2030  const hipExternalSemaphoreWaitNodeParams* nodeParams;
2031  hipExternalSemaphoreWaitNodeParams nodeParams__val;
2032  } hipGraphExecExternalSemaphoresWaitNodeSetParams;
2033  struct {
2034  hipGraphExec_t hGraphExec;
2035  hipGraphNode_t node;
2036  const hipHostNodeParams* pNodeParams;
2037  hipHostNodeParams pNodeParams__val;
2038  } hipGraphExecHostNodeSetParams;
2039  struct {
2040  hipGraphExec_t hGraphExec;
2041  hipGraphNode_t node;
2042  const hipKernelNodeParams* pNodeParams;
2043  hipKernelNodeParams pNodeParams__val;
2044  } hipGraphExecKernelNodeSetParams;
2045  struct {
2046  hipGraphExec_t hGraphExec;
2047  hipGraphNode_t node;
2048  hipMemcpy3DParms* pNodeParams;
2049  hipMemcpy3DParms pNodeParams__val;
2050  } hipGraphExecMemcpyNodeSetParams;
2051  struct {
2052  hipGraphExec_t hGraphExec;
2053  hipGraphNode_t node;
2054  void* dst;
2055  const void* src;
2056  size_t count;
2057  hipMemcpyKind kind;
2058  } hipGraphExecMemcpyNodeSetParams1D;
2059  struct {
2060  hipGraphExec_t hGraphExec;
2061  hipGraphNode_t node;
2062  void* dst;
2063  const void* symbol;
2064  size_t count;
2065  size_t offset;
2066  hipMemcpyKind kind;
2067  } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2068  struct {
2069  hipGraphExec_t hGraphExec;
2070  hipGraphNode_t node;
2071  const void* symbol;
2072  const void* src;
2073  size_t count;
2074  size_t offset;
2075  hipMemcpyKind kind;
2076  } hipGraphExecMemcpyNodeSetParamsToSymbol;
2077  struct {
2078  hipGraphExec_t hGraphExec;
2079  hipGraphNode_t node;
2080  const hipMemsetParams* pNodeParams;
2081  hipMemsetParams pNodeParams__val;
2082  } hipGraphExecMemsetNodeSetParams;
2083  struct {
2084  hipGraphExec_t hGraphExec;
2085  hipGraph_t hGraph;
2086  hipGraphNode_t* hErrorNode_out;
2087  hipGraphNode_t hErrorNode_out__val;
2088  hipGraphExecUpdateResult* updateResult_out;
2089  hipGraphExecUpdateResult updateResult_out__val;
2090  } hipGraphExecUpdate;
2091  struct {
2092  hipGraphNode_t hNode;
2093  hipExternalSemaphoreSignalNodeParams* params_out;
2094  hipExternalSemaphoreSignalNodeParams params_out__val;
2095  } hipGraphExternalSemaphoresSignalNodeGetParams;
2096  struct {
2097  hipGraphNode_t hNode;
2098  const hipExternalSemaphoreSignalNodeParams* nodeParams;
2099  hipExternalSemaphoreSignalNodeParams nodeParams__val;
2100  } hipGraphExternalSemaphoresSignalNodeSetParams;
2101  struct {
2102  hipGraphNode_t hNode;
2103  hipExternalSemaphoreWaitNodeParams* params_out;
2104  hipExternalSemaphoreWaitNodeParams params_out__val;
2105  } hipGraphExternalSemaphoresWaitNodeGetParams;
2106  struct {
2107  hipGraphNode_t hNode;
2108  const hipExternalSemaphoreWaitNodeParams* nodeParams;
2109  hipExternalSemaphoreWaitNodeParams nodeParams__val;
2110  } hipGraphExternalSemaphoresWaitNodeSetParams;
2111  struct {
2112  hipGraph_t graph;
2113  hipGraphNode_t* from;
2114  hipGraphNode_t from__val;
2115  hipGraphNode_t* to;
2116  hipGraphNode_t to__val;
2117  size_t* numEdges;
2118  size_t numEdges__val;
2119  } hipGraphGetEdges;
2120  struct {
2121  hipGraph_t graph;
2122  hipGraphNode_t* nodes;
2123  hipGraphNode_t nodes__val;
2124  size_t* numNodes;
2125  size_t numNodes__val;
2126  } hipGraphGetNodes;
2127  struct {
2128  hipGraph_t graph;
2129  hipGraphNode_t* pRootNodes;
2130  hipGraphNode_t pRootNodes__val;
2131  size_t* pNumRootNodes;
2132  size_t pNumRootNodes__val;
2133  } hipGraphGetRootNodes;
2134  struct {
2135  hipGraphNode_t node;
2136  hipHostNodeParams* pNodeParams;
2137  hipHostNodeParams pNodeParams__val;
2138  } hipGraphHostNodeGetParams;
2139  struct {
2140  hipGraphNode_t node;
2141  const hipHostNodeParams* pNodeParams;
2142  hipHostNodeParams pNodeParams__val;
2143  } hipGraphHostNodeSetParams;
2144  struct {
2145  hipGraphExec_t* pGraphExec;
2146  hipGraphExec_t pGraphExec__val;
2147  hipGraph_t graph;
2148  hipGraphNode_t* pErrorNode;
2149  hipGraphNode_t pErrorNode__val;
2150  char* pLogBuffer;
2151  char pLogBuffer__val;
2152  size_t bufferSize;
2153  } hipGraphInstantiate;
2154  struct {
2155  hipGraphExec_t* pGraphExec;
2156  hipGraphExec_t pGraphExec__val;
2157  hipGraph_t graph;
2158  unsigned long long flags;
2159  } hipGraphInstantiateWithFlags;
2160  struct {
2161  hipGraphExec_t* pGraphExec;
2162  hipGraphExec_t pGraphExec__val;
2163  hipGraph_t graph;
2164  hipGraphInstantiateParams* instantiateParams;
2165  hipGraphInstantiateParams instantiateParams__val;
2166  } hipGraphInstantiateWithParams;
2167  struct {
2168  hipGraphNode_t hSrc;
2169  hipGraphNode_t hDst;
2170  } hipGraphKernelNodeCopyAttributes;
2171  struct {
2172  hipGraphNode_t hNode;
2173  hipLaunchAttributeID attr;
2174  hipLaunchAttributeValue* value;
2175  hipLaunchAttributeValue value__val;
2176  } hipGraphKernelNodeGetAttribute;
2177  struct {
2178  hipGraphNode_t node;
2179  hipKernelNodeParams* pNodeParams;
2180  hipKernelNodeParams pNodeParams__val;
2181  } hipGraphKernelNodeGetParams;
2182  struct {
2183  hipGraphNode_t hNode;
2184  hipLaunchAttributeID attr;
2185  const hipLaunchAttributeValue* value;
2186  hipLaunchAttributeValue value__val;
2187  } hipGraphKernelNodeSetAttribute;
2188  struct {
2189  hipGraphNode_t node;
2190  const hipKernelNodeParams* pNodeParams;
2191  hipKernelNodeParams pNodeParams__val;
2192  } hipGraphKernelNodeSetParams;
2193  struct {
2194  hipGraphExec_t graphExec;
2195  hipStream_t stream;
2196  } hipGraphLaunch;
2197  struct {
2198  hipGraphNode_t node;
2199  hipMemAllocNodeParams* pNodeParams;
2200  hipMemAllocNodeParams pNodeParams__val;
2201  } hipGraphMemAllocNodeGetParams;
2202  struct {
2203  hipGraphNode_t node;
2204  void* dev_ptr;
2205  } hipGraphMemFreeNodeGetParams;
2206  struct {
2207  hipGraphNode_t node;
2208  hipMemcpy3DParms* pNodeParams;
2209  hipMemcpy3DParms pNodeParams__val;
2210  } hipGraphMemcpyNodeGetParams;
2211  struct {
2212  hipGraphNode_t node;
2213  const hipMemcpy3DParms* pNodeParams;
2214  hipMemcpy3DParms pNodeParams__val;
2215  } hipGraphMemcpyNodeSetParams;
2216  struct {
2217  hipGraphNode_t node;
2218  void* dst;
2219  const void* src;
2220  size_t count;
2221  hipMemcpyKind kind;
2222  } hipGraphMemcpyNodeSetParams1D;
2223  struct {
2224  hipGraphNode_t node;
2225  void* dst;
2226  const void* symbol;
2227  size_t count;
2228  size_t offset;
2229  hipMemcpyKind kind;
2230  } hipGraphMemcpyNodeSetParamsFromSymbol;
2231  struct {
2232  hipGraphNode_t node;
2233  const void* symbol;
2234  const void* src;
2235  size_t count;
2236  size_t offset;
2237  hipMemcpyKind kind;
2238  } hipGraphMemcpyNodeSetParamsToSymbol;
2239  struct {
2240  hipGraphNode_t node;
2241  hipMemsetParams* pNodeParams;
2242  hipMemsetParams pNodeParams__val;
2243  } hipGraphMemsetNodeGetParams;
2244  struct {
2245  hipGraphNode_t node;
2246  const hipMemsetParams* pNodeParams;
2247  hipMemsetParams pNodeParams__val;
2248  } hipGraphMemsetNodeSetParams;
2249  struct {
2250  hipGraphNode_t* pNode;
2251  hipGraphNode_t pNode__val;
2252  hipGraphNode_t originalNode;
2253  hipGraph_t clonedGraph;
2254  } hipGraphNodeFindInClone;
2255  struct {
2256  hipGraphNode_t node;
2257  hipGraphNode_t* pDependencies;
2258  hipGraphNode_t pDependencies__val;
2259  size_t* pNumDependencies;
2260  size_t pNumDependencies__val;
2261  } hipGraphNodeGetDependencies;
2262  struct {
2263  hipGraphNode_t node;
2264  hipGraphNode_t* pDependentNodes;
2265  hipGraphNode_t pDependentNodes__val;
2266  size_t* pNumDependentNodes;
2267  size_t pNumDependentNodes__val;
2268  } hipGraphNodeGetDependentNodes;
2269  struct {
2270  hipGraphExec_t hGraphExec;
2271  hipGraphNode_t hNode;
2272  unsigned int* isEnabled;
2273  unsigned int isEnabled__val;
2274  } hipGraphNodeGetEnabled;
2275  struct {
2276  hipGraphNode_t node;
2277  hipGraphNodeType* pType;
2278  hipGraphNodeType pType__val;
2279  } hipGraphNodeGetType;
2280  struct {
2281  hipGraphExec_t hGraphExec;
2282  hipGraphNode_t hNode;
2283  unsigned int isEnabled;
2284  } hipGraphNodeSetEnabled;
2285  struct {
2286  hipGraph_t graph;
2287  hipUserObject_t object;
2288  unsigned int count;
2289  } hipGraphReleaseUserObject;
2290  struct {
2291  hipGraph_t graph;
2292  const hipGraphNode_t* from;
2293  hipGraphNode_t from__val;
2294  const hipGraphNode_t* to;
2295  hipGraphNode_t to__val;
2296  size_t numDependencies;
2297  } hipGraphRemoveDependencies;
2298  struct {
2299  hipGraph_t graph;
2300  hipUserObject_t object;
2301  unsigned int count;
2302  unsigned int flags;
2303  } hipGraphRetainUserObject;
2304  struct {
2305  hipGraphExec_t graphExec;
2306  hipStream_t stream;
2307  } hipGraphUpload;
2308  struct {
2309  hipGraphicsResource** resource;
2310  hipGraphicsResource* resource__val;
2311  GLuint buffer;
2312  unsigned int flags;
2313  } hipGraphicsGLRegisterBuffer;
2314  struct {
2315  hipGraphicsResource** resource;
2316  hipGraphicsResource* resource__val;
2317  GLuint image;
2318  GLenum target;
2319  unsigned int flags;
2320  } hipGraphicsGLRegisterImage;
2321  struct {
2322  int count;
2323  hipGraphicsResource_t* resources;
2324  hipGraphicsResource_t resources__val;
2325  hipStream_t stream;
2326  } hipGraphicsMapResources;
2327  struct {
2328  void** devPtr;
2329  void* devPtr__val;
2330  size_t* size;
2331  size_t size__val;
2332  hipGraphicsResource_t resource;
2333  } hipGraphicsResourceGetMappedPointer;
2334  struct {
2335  hipArray_t* array;
2336  hipArray_t array__val;
2337  hipGraphicsResource_t resource;
2338  unsigned int arrayIndex;
2339  unsigned int mipLevel;
2340  } hipGraphicsSubResourceGetMappedArray;
2341  struct {
2342  int count;
2343  hipGraphicsResource_t* resources;
2344  hipGraphicsResource_t resources__val;
2345  hipStream_t stream;
2346  } hipGraphicsUnmapResources;
2347  struct {
2348  hipGraphicsResource_t resource;
2349  } hipGraphicsUnregisterResource;
2350  struct {
2351  hipFunction_t f;
2352  unsigned int globalWorkSizeX;
2353  unsigned int globalWorkSizeY;
2354  unsigned int globalWorkSizeZ;
2355  unsigned int blockDimX;
2356  unsigned int blockDimY;
2357  unsigned int blockDimZ;
2358  size_t sharedMemBytes;
2359  hipStream_t hStream;
2360  void** kernelParams;
2361  void* kernelParams__val;
2362  void** extra;
2363  void* extra__val;
2364  hipEvent_t startEvent;
2365  hipEvent_t stopEvent;
2366  } hipHccModuleLaunchKernel;
2367  struct {
2368  void** ptr;
2369  void* ptr__val;
2370  size_t size;
2371  unsigned int flags;
2372  } hipHostAlloc;
2373  struct {
2374  void* ptr;
2375  } hipHostFree;
2376  struct {
2377  void** devPtr;
2378  void* devPtr__val;
2379  void* hstPtr;
2380  unsigned int flags;
2381  } hipHostGetDevicePointer;
2382  struct {
2383  unsigned int* flagsPtr;
2384  unsigned int flagsPtr__val;
2385  void* hostPtr;
2386  } hipHostGetFlags;
2387  struct {
2388  void** ptr;
2389  void* ptr__val;
2390  size_t size;
2391  unsigned int flags;
2392  } hipHostMalloc;
2393  struct {
2394  void* hostPtr;
2395  size_t sizeBytes;
2396  unsigned int flags;
2397  } hipHostRegister;
2398  struct {
2399  void* hostPtr;
2400  } hipHostUnregister;
2401  struct {
2402  hipExternalMemory_t* extMem_out;
2403  hipExternalMemory_t extMem_out__val;
2404  const hipExternalMemoryHandleDesc* memHandleDesc;
2405  hipExternalMemoryHandleDesc memHandleDesc__val;
2406  } hipImportExternalMemory;
2407  struct {
2408  hipExternalSemaphore_t* extSem_out;
2409  hipExternalSemaphore_t extSem_out__val;
2410  const hipExternalSemaphoreHandleDesc* semHandleDesc;
2411  hipExternalSemaphoreHandleDesc semHandleDesc__val;
2412  } hipImportExternalSemaphore;
2413  struct {
2414  unsigned int flags;
2415  } hipInit;
2416  struct {
2417  void* devPtr;
2418  } hipIpcCloseMemHandle;
2419  struct {
2420  hipIpcEventHandle_t* handle;
2421  hipIpcEventHandle_t handle__val;
2422  hipEvent_t event;
2423  } hipIpcGetEventHandle;
2424  struct {
2425  hipIpcMemHandle_t* handle;
2426  hipIpcMemHandle_t handle__val;
2427  void* devPtr;
2428  } hipIpcGetMemHandle;
2429  struct {
2430  hipEvent_t* event;
2431  hipEvent_t event__val;
2432  hipIpcEventHandle_t handle;
2433  } hipIpcOpenEventHandle;
2434  struct {
2435  void** devPtr;
2436  void* devPtr__val;
2437  hipIpcMemHandle_t handle;
2438  unsigned int flags;
2439  } hipIpcOpenMemHandle;
2440  struct {
2441  const void* hostFunction;
2442  } hipLaunchByPtr;
2443  struct {
2444  const void* f;
2445  dim3 gridDim;
2446  dim3 blockDimX;
2447  void** kernelParams;
2448  void* kernelParams__val;
2449  unsigned int sharedMemBytes;
2450  hipStream_t stream;
2451  } hipLaunchCooperativeKernel;
2452  struct {
2453  hipLaunchParams* launchParamsList;
2454  hipLaunchParams launchParamsList__val;
2455  int numDevices;
2456  unsigned int flags;
2457  } hipLaunchCooperativeKernelMultiDevice;
2458  struct {
2459  hipStream_t stream;
2460  hipHostFn_t fn;
2461  void* userData;
2462  } hipLaunchHostFunc;
2463  struct {
2464  const void* function_address;
2465  dim3 numBlocks;
2466  dim3 dimBlocks;
2467  void** args;
2468  void* args__val;
2469  size_t sharedMemBytes;
2470  hipStream_t stream;
2471  } hipLaunchKernel;
2472  struct {
2473  void** ptr;
2474  void* ptr__val;
2475  size_t size;
2476  } hipMalloc;
2477  struct {
2478  hipPitchedPtr* pitchedDevPtr;
2479  hipPitchedPtr pitchedDevPtr__val;
2480  hipExtent extent;
2481  } hipMalloc3D;
2482  struct {
2483  hipArray_t* array;
2484  hipArray_t array__val;
2485  const hipChannelFormatDesc* desc;
2486  hipChannelFormatDesc desc__val;
2487  hipExtent extent;
2488  unsigned int flags;
2489  } hipMalloc3DArray;
2490  struct {
2491  hipArray_t* array;
2492  hipArray_t array__val;
2493  const hipChannelFormatDesc* desc;
2494  hipChannelFormatDesc desc__val;
2495  size_t width;
2496  size_t height;
2497  unsigned int flags;
2498  } hipMallocArray;
2499  struct {
2500  void** dev_ptr;
2501  void* dev_ptr__val;
2502  size_t size;
2503  hipStream_t stream;
2504  } hipMallocAsync;
2505  struct {
2506  void** dev_ptr;
2507  void* dev_ptr__val;
2508  size_t size;
2509  hipMemPool_t mem_pool;
2510  hipStream_t stream;
2511  } hipMallocFromPoolAsync;
2512  struct {
2513  void** ptr;
2514  void* ptr__val;
2515  size_t size;
2516  } hipMallocHost;
2517  struct {
2518  void** dev_ptr;
2519  void* dev_ptr__val;
2520  size_t size;
2521  unsigned int flags;
2522  } hipMallocManaged;
2523  struct {
2524  hipMipmappedArray_t* mipmappedArray;
2525  hipMipmappedArray_t mipmappedArray__val;
2526  const hipChannelFormatDesc* desc;
2527  hipChannelFormatDesc desc__val;
2528  hipExtent extent;
2529  unsigned int numLevels;
2530  unsigned int flags;
2531  } hipMallocMipmappedArray;
2532  struct {
2533  void** ptr;
2534  void* ptr__val;
2535  size_t* pitch;
2536  size_t pitch__val;
2537  size_t width;
2538  size_t height;
2539  } hipMallocPitch;
2540  struct {
2541  void* devPtr;
2542  size_t size;
2543  } hipMemAddressFree;
2544  struct {
2545  void** ptr;
2546  void* ptr__val;
2547  size_t size;
2548  size_t alignment;
2549  void* addr;
2550  unsigned long long flags;
2551  } hipMemAddressReserve;
2552  struct {
2553  const void* dev_ptr;
2554  size_t count;
2555  hipMemoryAdvise advice;
2556  int device;
2557  } hipMemAdvise;
2558  struct {
2559  void** ptr;
2560  void* ptr__val;
2561  size_t size;
2562  } hipMemAllocHost;
2563  struct {
2564  hipDeviceptr_t* dptr;
2565  hipDeviceptr_t dptr__val;
2566  size_t* pitch;
2567  size_t pitch__val;
2568  size_t widthInBytes;
2569  size_t height;
2570  unsigned int elementSizeBytes;
2571  } hipMemAllocPitch;
2572  struct {
2573  hipMemGenericAllocationHandle_t* handle;
2574  hipMemGenericAllocationHandle_t handle__val;
2575  size_t size;
2576  const hipMemAllocationProp* prop;
2577  hipMemAllocationProp prop__val;
2578  unsigned long long flags;
2579  } hipMemCreate;
2580  struct {
2581  void* shareableHandle;
2582  hipMemGenericAllocationHandle_t handle;
2583  hipMemAllocationHandleType handleType;
2584  unsigned long long flags;
2585  } hipMemExportToShareableHandle;
2586  struct {
2587  unsigned long long* flags;
2588  unsigned long long flags__val;
2589  const hipMemLocation* location;
2590  hipMemLocation location__val;
2591  void* ptr;
2592  } hipMemGetAccess;
2593  struct {
2594  hipDeviceptr_t* pbase;
2595  hipDeviceptr_t pbase__val;
2596  size_t* psize;
2597  size_t psize__val;
2598  hipDeviceptr_t dptr;
2599  } hipMemGetAddressRange;
2600  struct {
2601  size_t* granularity;
2602  size_t granularity__val;
2603  const hipMemAllocationProp* prop;
2604  hipMemAllocationProp prop__val;
2605  hipMemAllocationGranularity_flags option;
2606  } hipMemGetAllocationGranularity;
2607  struct {
2608  hipMemAllocationProp* prop;
2609  hipMemAllocationProp prop__val;
2610  hipMemGenericAllocationHandle_t handle;
2611  } hipMemGetAllocationPropertiesFromHandle;
2612  struct {
2613  size_t* free;
2614  size_t free__val;
2615  size_t* total;
2616  size_t total__val;
2617  } hipMemGetInfo;
2618  struct {
2619  hipMemGenericAllocationHandle_t* handle;
2620  hipMemGenericAllocationHandle_t handle__val;
2621  void* osHandle;
2622  hipMemAllocationHandleType shHandleType;
2623  } hipMemImportFromShareableHandle;
2624  struct {
2625  void* ptr;
2626  size_t size;
2627  size_t offset;
2628  hipMemGenericAllocationHandle_t handle;
2629  unsigned long long flags;
2630  } hipMemMap;
2631  struct {
2632  hipArrayMapInfo* mapInfoList;
2633  hipArrayMapInfo mapInfoList__val;
2634  unsigned int count;
2635  hipStream_t stream;
2636  } hipMemMapArrayAsync;
2637  struct {
2638  hipMemPool_t* mem_pool;
2639  hipMemPool_t mem_pool__val;
2640  const hipMemPoolProps* pool_props;
2641  hipMemPoolProps pool_props__val;
2642  } hipMemPoolCreate;
2643  struct {
2644  hipMemPool_t mem_pool;
2645  } hipMemPoolDestroy;
2646  struct {
2647  hipMemPoolPtrExportData* export_data;
2648  hipMemPoolPtrExportData export_data__val;
2649  void* dev_ptr;
2650  } hipMemPoolExportPointer;
2651  struct {
2652  void* shared_handle;
2653  hipMemPool_t mem_pool;
2654  hipMemAllocationHandleType handle_type;
2655  unsigned int flags;
2656  } hipMemPoolExportToShareableHandle;
2657  struct {
2658  hipMemAccessFlags* flags;
2659  hipMemAccessFlags flags__val;
2660  hipMemPool_t mem_pool;
2661  hipMemLocation* location;
2662  hipMemLocation location__val;
2663  } hipMemPoolGetAccess;
2664  struct {
2665  hipMemPool_t mem_pool;
2666  hipMemPoolAttr attr;
2667  void* value;
2668  } hipMemPoolGetAttribute;
2669  struct {
2670  hipMemPool_t* mem_pool;
2671  hipMemPool_t mem_pool__val;
2672  void* shared_handle;
2673  hipMemAllocationHandleType handle_type;
2674  unsigned int flags;
2675  } hipMemPoolImportFromShareableHandle;
2676  struct {
2677  void** dev_ptr;
2678  void* dev_ptr__val;
2679  hipMemPool_t mem_pool;
2680  hipMemPoolPtrExportData* export_data;
2681  hipMemPoolPtrExportData export_data__val;
2682  } hipMemPoolImportPointer;
2683  struct {
2684  hipMemPool_t mem_pool;
2685  const hipMemAccessDesc* desc_list;
2686  hipMemAccessDesc desc_list__val;
2687  size_t count;
2688  } hipMemPoolSetAccess;
2689  struct {
2690  hipMemPool_t mem_pool;
2691  hipMemPoolAttr attr;
2692  void* value;
2693  } hipMemPoolSetAttribute;
2694  struct {
2695  hipMemPool_t mem_pool;
2696  size_t min_bytes_to_hold;
2697  } hipMemPoolTrimTo;
2698  struct {
2699  const void* dev_ptr;
2700  size_t count;
2701  int device;
2702  hipStream_t stream;
2703  } hipMemPrefetchAsync;
2704  struct {
2705  void* ptr;
2706  size_t* size;
2707  size_t size__val;
2708  } hipMemPtrGetInfo;
2709  struct {
2710  void* data;
2711  size_t data_size;
2712  hipMemRangeAttribute attribute;
2713  const void* dev_ptr;
2714  size_t count;
2715  } hipMemRangeGetAttribute;
2716  struct {
2717  void** data;
2718  void* data__val;
2719  size_t* data_sizes;
2720  size_t data_sizes__val;
2721  hipMemRangeAttribute* attributes;
2722  hipMemRangeAttribute attributes__val;
2723  size_t num_attributes;
2724  const void* dev_ptr;
2725  size_t count;
2726  } hipMemRangeGetAttributes;
2727  struct {
2728  hipMemGenericAllocationHandle_t handle;
2729  } hipMemRelease;
2730  struct {
2731  hipMemGenericAllocationHandle_t* handle;
2732  hipMemGenericAllocationHandle_t handle__val;
2733  void* addr;
2734  } hipMemRetainAllocationHandle;
2735  struct {
2736  void* ptr;
2737  size_t size;
2738  const hipMemAccessDesc* desc;
2739  hipMemAccessDesc desc__val;
2740  size_t count;
2741  } hipMemSetAccess;
2742  struct {
2743  void* ptr;
2744  size_t size;
2745  } hipMemUnmap;
2746  struct {
2747  void* dst;
2748  const void* src;
2749  size_t sizeBytes;
2750  hipMemcpyKind kind;
2751  } hipMemcpy;
2752  struct {
2753  void* dst;
2754  size_t dpitch;
2755  const void* src;
2756  size_t spitch;
2757  size_t width;
2758  size_t height;
2759  hipMemcpyKind kind;
2760  } hipMemcpy2D;
2761  struct {
2762  hipArray_t dst;
2763  size_t wOffsetDst;
2764  size_t hOffsetDst;
2765  hipArray_const_t src;
2766  size_t wOffsetSrc;
2767  size_t hOffsetSrc;
2768  size_t width;
2769  size_t height;
2770  hipMemcpyKind kind;
2771  } hipMemcpy2DArrayToArray;
2772  struct {
2773  void* dst;
2774  size_t dpitch;
2775  const void* src;
2776  size_t spitch;
2777  size_t width;
2778  size_t height;
2779  hipMemcpyKind kind;
2780  hipStream_t stream;
2781  } hipMemcpy2DAsync;
2782  struct {
2783  void* dst;
2784  size_t dpitch;
2785  hipArray_const_t src;
2786  size_t wOffset;
2787  size_t hOffset;
2788  size_t width;
2789  size_t height;
2790  hipMemcpyKind kind;
2791  } hipMemcpy2DFromArray;
2792  struct {
2793  void* dst;
2794  size_t dpitch;
2795  hipArray_const_t src;
2796  size_t wOffset;
2797  size_t hOffset;
2798  size_t width;
2799  size_t height;
2800  hipMemcpyKind kind;
2801  hipStream_t stream;
2802  } hipMemcpy2DFromArrayAsync;
2803  struct {
2804  hipArray_t dst;
2805  size_t wOffset;
2806  size_t hOffset;
2807  const void* src;
2808  size_t spitch;
2809  size_t width;
2810  size_t height;
2811  hipMemcpyKind kind;
2812  } hipMemcpy2DToArray;
2813  struct {
2814  hipArray_t dst;
2815  size_t wOffset;
2816  size_t hOffset;
2817  const void* src;
2818  size_t spitch;
2819  size_t width;
2820  size_t height;
2821  hipMemcpyKind kind;
2822  hipStream_t stream;
2823  } hipMemcpy2DToArrayAsync;
2824  struct {
2825  const hipMemcpy3DParms* p;
2826  hipMemcpy3DParms p__val;
2827  } hipMemcpy3D;
2828  struct {
2829  const hipMemcpy3DParms* p;
2830  hipMemcpy3DParms p__val;
2831  hipStream_t stream;
2832  } hipMemcpy3DAsync;
2833  struct {
2834  void* dst;
2835  const void* src;
2836  size_t sizeBytes;
2837  hipMemcpyKind kind;
2838  hipStream_t stream;
2839  } hipMemcpyAsync;
2840  struct {
2841  hipArray_t dstArray;
2842  size_t dstOffset;
2843  hipArray_t srcArray;
2844  size_t srcOffset;
2845  size_t ByteCount;
2846  } hipMemcpyAtoA;
2847  struct {
2848  hipDeviceptr_t dstDevice;
2849  hipArray_t srcArray;
2850  size_t srcOffset;
2851  size_t ByteCount;
2852  } hipMemcpyAtoD;
2853  struct {
2854  void* dst;
2855  hipArray_t srcArray;
2856  size_t srcOffset;
2857  size_t count;
2858  } hipMemcpyAtoH;
2859  struct {
2860  void* dstHost;
2861  hipArray_t srcArray;
2862  size_t srcOffset;
2863  size_t ByteCount;
2864  hipStream_t stream;
2865  } hipMemcpyAtoHAsync;
2866  struct {
2867  hipArray_t dstArray;
2868  size_t dstOffset;
2869  hipDeviceptr_t srcDevice;
2870  size_t ByteCount;
2871  } hipMemcpyDtoA;
2872  struct {
2873  hipDeviceptr_t dst;
2874  hipDeviceptr_t src;
2875  size_t sizeBytes;
2876  } hipMemcpyDtoD;
2877  struct {
2878  hipDeviceptr_t dst;
2879  hipDeviceptr_t src;
2880  size_t sizeBytes;
2881  hipStream_t stream;
2882  } hipMemcpyDtoDAsync;
2883  struct {
2884  void* dst;
2885  hipDeviceptr_t src;
2886  size_t sizeBytes;
2887  } hipMemcpyDtoH;
2888  struct {
2889  void* dst;
2890  hipDeviceptr_t src;
2891  size_t sizeBytes;
2892  hipStream_t stream;
2893  } hipMemcpyDtoHAsync;
2894  struct {
2895  void* dst;
2896  hipArray_const_t srcArray;
2897  size_t wOffset;
2898  size_t hOffset;
2899  size_t count;
2900  hipMemcpyKind kind;
2901  } hipMemcpyFromArray;
2902  struct {
2903  void* dst;
2904  const void* symbol;
2905  size_t sizeBytes;
2906  size_t offset;
2907  hipMemcpyKind kind;
2908  } hipMemcpyFromSymbol;
2909  struct {
2910  void* dst;
2911  const void* symbol;
2912  size_t sizeBytes;
2913  size_t offset;
2914  hipMemcpyKind kind;
2915  hipStream_t stream;
2916  } hipMemcpyFromSymbolAsync;
2917  struct {
2918  hipArray_t dstArray;
2919  size_t dstOffset;
2920  const void* srcHost;
2921  size_t count;
2922  } hipMemcpyHtoA;
2923  struct {
2924  hipArray_t dstArray;
2925  size_t dstOffset;
2926  const void* srcHost;
2927  size_t ByteCount;
2928  hipStream_t stream;
2929  } hipMemcpyHtoAAsync;
2930  struct {
2931  hipDeviceptr_t dst;
2932  void* src;
2933  size_t sizeBytes;
2934  } hipMemcpyHtoD;
2935  struct {
2936  hipDeviceptr_t dst;
2937  void* src;
2938  size_t sizeBytes;
2939  hipStream_t stream;
2940  } hipMemcpyHtoDAsync;
2941  struct {
2942  const hip_Memcpy2D* pCopy;
2943  hip_Memcpy2D pCopy__val;
2944  } hipMemcpyParam2D;
2945  struct {
2946  const hip_Memcpy2D* pCopy;
2947  hip_Memcpy2D pCopy__val;
2948  hipStream_t stream;
2949  } hipMemcpyParam2DAsync;
2950  struct {
2951  void* dst;
2952  int dstDeviceId;
2953  const void* src;
2954  int srcDeviceId;
2955  size_t sizeBytes;
2956  } hipMemcpyPeer;
2957  struct {
2958  void* dst;
2959  int dstDeviceId;
2960  const void* src;
2961  int srcDevice;
2962  size_t sizeBytes;
2963  hipStream_t stream;
2964  } hipMemcpyPeerAsync;
2965  struct {
2966  hipArray_t dst;
2967  size_t wOffset;
2968  size_t hOffset;
2969  const void* src;
2970  size_t count;
2971  hipMemcpyKind kind;
2972  } hipMemcpyToArray;
2973  struct {
2974  const void* symbol;
2975  const void* src;
2976  size_t sizeBytes;
2977  size_t offset;
2978  hipMemcpyKind kind;
2979  } hipMemcpyToSymbol;
2980  struct {
2981  const void* symbol;
2982  const void* src;
2983  size_t sizeBytes;
2984  size_t offset;
2985  hipMemcpyKind kind;
2986  hipStream_t stream;
2987  } hipMemcpyToSymbolAsync;
2988  struct {
2989  void* dst;
2990  const void* src;
2991  size_t sizeBytes;
2992  hipMemcpyKind kind;
2993  hipStream_t stream;
2994  } hipMemcpyWithStream;
2995  struct {
2996  void* dst;
2997  int value;
2998  size_t sizeBytes;
2999  } hipMemset;
3000  struct {
3001  void* dst;
3002  size_t pitch;
3003  int value;
3004  size_t width;
3005  size_t height;
3006  } hipMemset2D;
3007  struct {
3008  void* dst;
3009  size_t pitch;
3010  int value;
3011  size_t width;
3012  size_t height;
3013  hipStream_t stream;
3014  } hipMemset2DAsync;
3015  struct {
3016  hipPitchedPtr pitchedDevPtr;
3017  int value;
3018  hipExtent extent;
3019  } hipMemset3D;
3020  struct {
3021  hipPitchedPtr pitchedDevPtr;
3022  int value;
3023  hipExtent extent;
3024  hipStream_t stream;
3025  } hipMemset3DAsync;
3026  struct {
3027  void* dst;
3028  int value;
3029  size_t sizeBytes;
3030  hipStream_t stream;
3031  } hipMemsetAsync;
3032  struct {
3033  hipDeviceptr_t dest;
3034  unsigned short value;
3035  size_t count;
3036  } hipMemsetD16;
3037  struct {
3038  hipDeviceptr_t dest;
3039  unsigned short value;
3040  size_t count;
3041  hipStream_t stream;
3042  } hipMemsetD16Async;
3043  struct {
3044  hipDeviceptr_t dest;
3045  int value;
3046  size_t count;
3047  } hipMemsetD32;
3048  struct {
3049  hipDeviceptr_t dst;
3050  int value;
3051  size_t count;
3052  hipStream_t stream;
3053  } hipMemsetD32Async;
3054  struct {
3055  hipDeviceptr_t dest;
3056  unsigned char value;
3057  size_t count;
3058  } hipMemsetD8;
3059  struct {
3060  hipDeviceptr_t dest;
3061  unsigned char value;
3062  size_t count;
3063  hipStream_t stream;
3064  } hipMemsetD8Async;
3065  struct {
3066  hipMipmappedArray_t* pHandle;
3067  hipMipmappedArray_t pHandle__val;
3068  HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
3069  HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
3070  unsigned int numMipmapLevels;
3071  } hipMipmappedArrayCreate;
3072  struct {
3073  hipMipmappedArray_t hMipmappedArray;
3074  } hipMipmappedArrayDestroy;
3075  struct {
3076  hipArray_t* pLevelArray;
3077  hipArray_t pLevelArray__val;
3078  hipMipmappedArray_t hMipMappedArray;
3079  unsigned int level;
3080  } hipMipmappedArrayGetLevel;
3081  struct {
3082  hipFunction_t* function;
3083  hipFunction_t function__val;
3084  hipModule_t module;
3085  const char* kname;
3086  char kname__val;
3087  } hipModuleGetFunction;
3088  struct {
3089  hipDeviceptr_t* dptr;
3090  hipDeviceptr_t dptr__val;
3091  size_t* bytes;
3092  size_t bytes__val;
3093  hipModule_t hmod;
3094  const char* name;
3095  char name__val;
3096  } hipModuleGetGlobal;
3097  struct {
3098  textureReference** texRef;
3099  textureReference* texRef__val;
3100  hipModule_t hmod;
3101  const char* name;
3102  char name__val;
3103  } hipModuleGetTexRef;
3104  struct {
3105  hipFunction_t f;
3106  unsigned int gridDimX;
3107  unsigned int gridDimY;
3108  unsigned int gridDimZ;
3109  unsigned int blockDimX;
3110  unsigned int blockDimY;
3111  unsigned int blockDimZ;
3112  unsigned int sharedMemBytes;
3113  hipStream_t stream;
3114  void** kernelParams;
3115  void* kernelParams__val;
3116  } hipModuleLaunchCooperativeKernel;
3117  struct {
3118  hipFunctionLaunchParams* launchParamsList;
3119  hipFunctionLaunchParams launchParamsList__val;
3120  unsigned int numDevices;
3121  unsigned int flags;
3122  } hipModuleLaunchCooperativeKernelMultiDevice;
3123  struct {
3124  hipFunction_t f;
3125  unsigned int gridDimX;
3126  unsigned int gridDimY;
3127  unsigned int gridDimZ;
3128  unsigned int blockDimX;
3129  unsigned int blockDimY;
3130  unsigned int blockDimZ;
3131  unsigned int sharedMemBytes;
3132  hipStream_t stream;
3133  void** kernelParams;
3134  void* kernelParams__val;
3135  void** extra;
3136  void* extra__val;
3137  } hipModuleLaunchKernel;
3138  struct {
3139  hipModule_t* module;
3140  hipModule_t module__val;
3141  const char* fname;
3142  char fname__val;
3143  } hipModuleLoad;
3144  struct {
3145  hipModule_t* module;
3146  hipModule_t module__val;
3147  const void* image;
3148  } hipModuleLoadData;
3149  struct {
3150  hipModule_t* module;
3151  hipModule_t module__val;
3152  const void* image;
3153  unsigned int numOptions;
3154  hipJitOption* options;
3155  hipJitOption options__val;
3156  void** optionsValues;
3157  void* optionsValues__val;
3158  } hipModuleLoadDataEx;
3159  struct {
3160  int* numBlocks;
3161  int numBlocks__val;
3162  hipFunction_t f;
3163  int blockSize;
3164  size_t dynSharedMemPerBlk;
3165  } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3166  struct {
3167  int* numBlocks;
3168  int numBlocks__val;
3169  hipFunction_t f;
3170  int blockSize;
3171  size_t dynSharedMemPerBlk;
3172  unsigned int flags;
3173  } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3174  struct {
3175  int* gridSize;
3176  int gridSize__val;
3177  int* blockSize;
3178  int blockSize__val;
3179  hipFunction_t f;
3180  size_t dynSharedMemPerBlk;
3181  int blockSizeLimit;
3182  } hipModuleOccupancyMaxPotentialBlockSize;
3183  struct {
3184  int* gridSize;
3185  int gridSize__val;
3186  int* blockSize;
3187  int blockSize__val;
3188  hipFunction_t f;
3189  size_t dynSharedMemPerBlk;
3190  int blockSizeLimit;
3191  unsigned int flags;
3192  } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3193  struct {
3194  hipModule_t module;
3195  } hipModuleUnload;
3196  struct {
3197  int* numBlocks;
3198  int numBlocks__val;
3199  const void* f;
3200  int blockSize;
3201  size_t dynamicSMemSize;
3202  } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3203  struct {
3204  int* numBlocks;
3205  int numBlocks__val;
3206  const void* f;
3207  int blockSize;
3208  size_t dynamicSMemSize;
3209  unsigned int flags;
3210  } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3211  struct {
3212  int* gridSize;
3213  int gridSize__val;
3214  int* blockSize;
3215  int blockSize__val;
3216  const void* f;
3217  size_t dynSharedMemPerBlk;
3218  int blockSizeLimit;
3219  } hipOccupancyMaxPotentialBlockSize;
3220  struct {
3221  void* data;
3222  hipPointer_attribute attribute;
3223  hipDeviceptr_t ptr;
3224  } hipPointerGetAttribute;
3225  struct {
3226  hipPointerAttribute_t* attributes;
3227  hipPointerAttribute_t attributes__val;
3228  const void* ptr;
3229  } hipPointerGetAttributes;
3230  struct {
3231  const void* value;
3232  hipPointer_attribute attribute;
3233  hipDeviceptr_t ptr;
3234  } hipPointerSetAttribute;
3235  struct {
3236  int* runtimeVersion;
3237  int runtimeVersion__val;
3238  } hipRuntimeGetVersion;
3239  struct {
3240  int deviceId;
3241  } hipSetDevice;
3242  struct {
3243  unsigned int flags;
3244  } hipSetDeviceFlags;
3245  struct {
3246  int* device_arr;
3247  int device_arr__val;
3248  int len;
3249  } hipSetValidDevices;
3250  struct {
3251  const void* arg;
3252  size_t size;
3253  size_t offset;
3254  } hipSetupArgument;
3255  struct {
3256  const hipExternalSemaphore_t* extSemArray;
3257  hipExternalSemaphore_t extSemArray__val;
3258  const hipExternalSemaphoreSignalParams* paramsArray;
3259  hipExternalSemaphoreSignalParams paramsArray__val;
3260  unsigned int numExtSems;
3261  hipStream_t stream;
3262  } hipSignalExternalSemaphoresAsync;
3263  struct {
3264  hipStream_t stream;
3265  hipStreamCallback_t callback;
3266  void* userData;
3267  unsigned int flags;
3268  } hipStreamAddCallback;
3269  struct {
3270  hipStream_t stream;
3271  void* dev_ptr;
3272  size_t length;
3273  unsigned int flags;
3274  } hipStreamAttachMemAsync;
3275  struct {
3276  hipStream_t stream;
3277  hipStreamCaptureMode mode;
3278  } hipStreamBeginCapture;
3279  struct {
3280  hipStream_t stream;
3281  hipGraph_t graph;
3282  const hipGraphNode_t* dependencies;
3283  hipGraphNode_t dependencies__val;
3284  const hipGraphEdgeData* dependencyData;
3285  hipGraphEdgeData dependencyData__val;
3286  size_t numDependencies;
3287  hipStreamCaptureMode mode;
3288  } hipStreamBeginCaptureToGraph;
3289  struct {
3290  hipStream_t* stream;
3291  hipStream_t stream__val;
3292  } hipStreamCreate;
3293  struct {
3294  hipStream_t* stream;
3295  hipStream_t stream__val;
3296  unsigned int flags;
3297  } hipStreamCreateWithFlags;
3298  struct {
3299  hipStream_t* stream;
3300  hipStream_t stream__val;
3301  unsigned int flags;
3302  int priority;
3303  } hipStreamCreateWithPriority;
3304  struct {
3305  hipStream_t stream;
3306  } hipStreamDestroy;
3307  struct {
3308  hipStream_t stream;
3309  hipGraph_t* pGraph;
3310  hipGraph_t pGraph__val;
3311  } hipStreamEndCapture;
3312  struct {
3313  hipStream_t stream;
3314  hipStreamCaptureStatus* pCaptureStatus;
3315  hipStreamCaptureStatus pCaptureStatus__val;
3316  unsigned long long* pId;
3317  unsigned long long pId__val;
3318  } hipStreamGetCaptureInfo;
3319  struct {
3320  hipStream_t stream;
3321  hipStreamCaptureStatus* captureStatus_out;
3322  hipStreamCaptureStatus captureStatus_out__val;
3323  unsigned long long* id_out;
3324  unsigned long long id_out__val;
3325  hipGraph_t* graph_out;
3326  hipGraph_t graph_out__val;
3327  const hipGraphNode_t** dependencies_out;
3328  const hipGraphNode_t* dependencies_out__val;
3329  size_t* numDependencies_out;
3330  size_t numDependencies_out__val;
3331  } hipStreamGetCaptureInfo_v2;
3332  struct {
3333  hipStream_t stream;
3334  hipDevice_t* device;
3335  hipDevice_t device__val;
3336  } hipStreamGetDevice;
3337  struct {
3338  hipStream_t stream;
3339  unsigned int* flags;
3340  unsigned int flags__val;
3341  } hipStreamGetFlags;
3342  struct {
3343  hipStream_t stream;
3344  int* priority;
3345  int priority__val;
3346  } hipStreamGetPriority;
3347  struct {
3348  hipStream_t stream;
3349  hipStreamCaptureStatus* pCaptureStatus;
3350  hipStreamCaptureStatus pCaptureStatus__val;
3351  } hipStreamIsCapturing;
3352  struct {
3353  hipStream_t stream;
3354  } hipStreamQuery;
3355  struct {
3356  hipStream_t stream;
3357  } hipStreamSynchronize;
3358  struct {
3359  hipStream_t stream;
3360  hipGraphNode_t* dependencies;
3361  hipGraphNode_t dependencies__val;
3362  size_t numDependencies;
3363  unsigned int flags;
3364  } hipStreamUpdateCaptureDependencies;
3365  struct {
3366  hipStream_t stream;
3367  hipEvent_t event;
3368  unsigned int flags;
3369  } hipStreamWaitEvent;
3370  struct {
3371  hipStream_t stream;
3372  void* ptr;
3373  unsigned int value;
3374  unsigned int flags;
3375  unsigned int mask;
3376  } hipStreamWaitValue32;
3377  struct {
3378  hipStream_t stream;
3379  void* ptr;
3380  uint64_t value;
3381  unsigned int flags;
3382  uint64_t mask;
3383  } hipStreamWaitValue64;
3384  struct {
3385  hipStream_t stream;
3386  void* ptr;
3387  unsigned int value;
3388  unsigned int flags;
3389  } hipStreamWriteValue32;
3390  struct {
3391  hipStream_t stream;
3392  void* ptr;
3393  uint64_t value;
3394  unsigned int flags;
3395  } hipStreamWriteValue64;
3396  struct {
3397  hipDeviceptr_t* dev_ptr;
3398  hipDeviceptr_t dev_ptr__val;
3399  const textureReference* texRef;
3400  textureReference texRef__val;
3401  } hipTexRefGetAddress;
3402  struct {
3403  hipArray_t* pArray;
3404  hipArray_t pArray__val;
3405  const textureReference* texRef;
3406  textureReference texRef__val;
3407  } hipTexRefGetArray;
3408  struct {
3409  float* pBorderColor;
3410  float pBorderColor__val;
3411  const textureReference* texRef;
3412  textureReference texRef__val;
3413  } hipTexRefGetBorderColor;
3414  struct {
3415  unsigned int* pFlags;
3416  unsigned int pFlags__val;
3417  const textureReference* texRef;
3418  textureReference texRef__val;
3419  } hipTexRefGetFlags;
3420  struct {
3421  hipArray_Format* pFormat;
3422  hipArray_Format pFormat__val;
3423  int* pNumChannels;
3424  int pNumChannels__val;
3425  const textureReference* texRef;
3426  textureReference texRef__val;
3427  } hipTexRefGetFormat;
3428  struct {
3429  int* pmaxAnsio;
3430  int pmaxAnsio__val;
3431  const textureReference* texRef;
3432  textureReference texRef__val;
3433  } hipTexRefGetMaxAnisotropy;
3434  struct {
3435  hipMipmappedArray_t* pArray;
3436  hipMipmappedArray_t pArray__val;
3437  const textureReference* texRef;
3438  textureReference texRef__val;
3439  } hipTexRefGetMipMappedArray;
3440  struct {
3441  float* pbias;
3442  float pbias__val;
3443  const textureReference* texRef;
3444  textureReference texRef__val;
3445  } hipTexRefGetMipmapLevelBias;
3446  struct {
3447  float* pminMipmapLevelClamp;
3448  float pminMipmapLevelClamp__val;
3449  float* pmaxMipmapLevelClamp;
3450  float pmaxMipmapLevelClamp__val;
3451  const textureReference* texRef;
3452  textureReference texRef__val;
3453  } hipTexRefGetMipmapLevelClamp;
3454  struct {
3455  size_t* ByteOffset;
3456  size_t ByteOffset__val;
3457  textureReference* texRef;
3458  textureReference texRef__val;
3459  hipDeviceptr_t dptr;
3460  size_t bytes;
3461  } hipTexRefSetAddress;
3462  struct {
3463  textureReference* texRef;
3464  textureReference texRef__val;
3465  const HIP_ARRAY_DESCRIPTOR* desc;
3466  HIP_ARRAY_DESCRIPTOR desc__val;
3467  hipDeviceptr_t dptr;
3468  size_t Pitch;
3469  } hipTexRefSetAddress2D;
3470  struct {
3471  textureReference* tex;
3472  textureReference tex__val;
3473  hipArray_const_t array;
3474  unsigned int flags;
3475  } hipTexRefSetArray;
3476  struct {
3477  textureReference* texRef;
3478  textureReference texRef__val;
3479  float* pBorderColor;
3480  float pBorderColor__val;
3481  } hipTexRefSetBorderColor;
3482  struct {
3483  textureReference* texRef;
3484  textureReference texRef__val;
3485  unsigned int Flags;
3486  } hipTexRefSetFlags;
3487  struct {
3488  textureReference* texRef;
3489  textureReference texRef__val;
3490  hipArray_Format fmt;
3491  int NumPackedComponents;
3492  } hipTexRefSetFormat;
3493  struct {
3494  textureReference* texRef;
3495  textureReference texRef__val;
3496  unsigned int maxAniso;
3497  } hipTexRefSetMaxAnisotropy;
3498  struct {
3499  textureReference* texRef;
3500  textureReference texRef__val;
3501  float bias;
3502  } hipTexRefSetMipmapLevelBias;
3503  struct {
3504  textureReference* texRef;
3505  textureReference texRef__val;
3506  float minMipMapLevelClamp;
3507  float maxMipMapLevelClamp;
3508  } hipTexRefSetMipmapLevelClamp;
3509  struct {
3510  textureReference* texRef;
3511  textureReference texRef__val;
3512  hipMipmappedArray* mipmappedArray;
3513  hipMipmappedArray mipmappedArray__val;
3514  unsigned int Flags;
3515  } hipTexRefSetMipmappedArray;
3516  struct {
3517  hipStreamCaptureMode* mode;
3518  hipStreamCaptureMode mode__val;
3519  } hipThreadExchangeStreamCaptureMode;
3520  struct {
3521  hipUserObject_t* object_out;
3522  hipUserObject_t object_out__val;
3523  void* ptr;
3524  hipHostFn_t destroy;
3525  unsigned int initialRefcount;
3526  unsigned int flags;
3527  } hipUserObjectCreate;
3528  struct {
3529  hipUserObject_t object;
3530  unsigned int count;
3531  } hipUserObjectRelease;
3532  struct {
3533  hipUserObject_t object;
3534  unsigned int count;
3535  } hipUserObjectRetain;
3536  struct {
3537  const hipExternalSemaphore_t* extSemArray;
3538  hipExternalSemaphore_t extSemArray__val;
3539  const hipExternalSemaphoreWaitParams* paramsArray;
3540  hipExternalSemaphoreWaitParams paramsArray__val;
3541  unsigned int numExtSems;
3542  hipStream_t stream;
3543  } hipWaitExternalSemaphoresAsync;
3544  } args;
3545  uint64_t *phase_data;
3546 } hip_api_data_t;
3547 
3548 // HIP API callbacks args data filling macros
3549 // __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
3550 #define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3551  cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3552  cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3553  cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3554  cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3555 };
3556 // __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3557 #define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3558  cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3559  cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3560  cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3561  cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3562 };
3563 // hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
3564 #define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3565  cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3566  cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3567 };
3568 // hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3569 #define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3570  cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3571  cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3572 };
3573 // hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
3574 #define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3575  cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3576  cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3577 };
3578 // hipArrayDestroy[('hipArray_t', 'array')]
3579 #define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3580  cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3581 };
3582 // hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3583 #define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3584  cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3585  cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3586 };
3587 // hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
3588 #define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3589  cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3590  cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3591  cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3592  cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3593 };
3594 // hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
3595 #define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3596  cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3597  cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3598 };
3599 // hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
3600 #define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3601  cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3602  cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3603 };
3604 // hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3605 #define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3606  cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3607  cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3608  cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3609  cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3610 };
3611 // hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
3612 #define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3613  cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3614  cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3615 };
3616 // hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
3617 #define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3618  cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3619  cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3620  cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3621 };
3622 // hipCtxDestroy[('hipCtx_t', 'ctx')]
3623 #define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3624  cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3625 };
3626 // hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
3627 #define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3628  cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3629 };
3630 // hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
3631 #define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3632  cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3633  cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3634 };
3635 // hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
3636 #define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3637  cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3638  cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3639 };
3640 // hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3641 #define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3642  cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3643 };
3644 // hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
3645 #define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3646  cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3647 };
3648 // hipCtxGetDevice[('hipDevice_t*', 'device')]
3649 #define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3650  cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3651 };
3652 // hipCtxGetFlags[('unsigned int*', 'flags')]
3653 #define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3654  cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3655 };
3656 // hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3657 #define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3658  cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3659 };
3660 // hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
3661 #define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3662  cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3663 };
3664 // hipCtxPushCurrent[('hipCtx_t', 'ctx')]
3665 #define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3666  cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3667 };
3668 // hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3669 #define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3670  cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3671 };
3672 // hipCtxSetCurrent[('hipCtx_t', 'ctx')]
3673 #define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3674  cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3675 };
3676 // hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3677 #define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3678  cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3679 };
3680 // hipCtxSynchronize[]
3681 #define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3682 };
3683 // hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
3684 #define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3685  cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3686 };
3687 // hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
3688 #define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3689  cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3690 };
3691 // hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
3692 #define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3693  cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3694 };
3695 // hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
3696 #define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3697  cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3698  cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3699  cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3700 };
3701 // hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
3702 #define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3703  cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3704  cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3705  cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3706 };
3707 // hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
3708 #define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3709  cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3710 };
3711 // hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
3712 #define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3713  cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3714  cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3715 };
3716 // hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
3717 #define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3718  cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3719  cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3720 };
3721 // hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
3722 #define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3723  cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3724  cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3725  cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3726 };
3727 // hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
3728 #define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3729  cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3730  cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3731 };
3732 // hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3733 #define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3734  cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3735 };
3736 // hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3737 #define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3738  cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3739  cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3740 };
3741 // hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3742 #define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3743  cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3744  cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3745  cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3746 };
3747 // hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
3748 #define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3749  cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3750  cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3751 };
3752 // hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3753 #define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3754  cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3755  cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3756 };
3757 // hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
3758 #define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3759  cb_data.args.hipDeviceGetName.name = (char*)name; \
3760  cb_data.args.hipDeviceGetName.len = (int)len; \
3761  cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3762 };
3763 // hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
3764 #define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3765  cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3766  cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3767  cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3768  cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3769 };
3770 // hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
3771 #define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3772  cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3773  cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3774  cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3775 };
3776 // hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3777 #define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3778  cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3779 };
3780 // hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
3781 #define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3782  cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3783  cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3784 };
3785 // hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
3786 #define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3787  cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3788  cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3789 };
3790 // hipDeviceGraphMemTrim[('int', 'device')]
3791 #define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3792  cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3793 };
3794 // hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
3795 #define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3796  cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3797  cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3798  cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3799 };
3800 // hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
3801 #define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3802  cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3803 };
3804 // hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
3805 #define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3806  cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3807 };
3808 // hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
3809 #define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3810  cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3811  cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3812 };
3813 // hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
3814 #define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3815  cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3816  cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3817 };
3818 // hipDeviceReset[]
3819 #define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3820 };
3821 // hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3822 #define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3823  cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3824 };
3825 // hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3826 #define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3827  cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3828  cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3829  cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3830 };
3831 // hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
3832 #define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3833  cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3834  cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3835 };
3836 // hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
3837 #define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3838  cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3839  cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3840 };
3841 // hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3842 #define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3843  cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3844 };
3845 // hipDeviceSynchronize[]
3846 #define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3847 };
3848 // hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
3849 #define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3850  cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3851  cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3852 };
3853 // hipDriverGetVersion[('int*', 'driverVersion')]
3854 #define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3855  cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3856 };
3857 // hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
3858 #define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3859  cb_data.args.hipDrvGraphAddMemcpyNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3860  cb_data.args.hipDrvGraphAddMemcpyNode.hGraph = (hipGraph_t)hGraph; \
3861  cb_data.args.hipDrvGraphAddMemcpyNode.dependencies = (const hipGraphNode_t*)dependencies; \
3862  cb_data.args.hipDrvGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
3863  cb_data.args.hipDrvGraphAddMemcpyNode.copyParams = (const HIP_MEMCPY3D*)copyParams; \
3864  cb_data.args.hipDrvGraphAddMemcpyNode.ctx = (hipCtx_t)ctx; \
3865 };
3866 // hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
3867 #define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3868  cb_data.args.hipDrvGraphAddMemsetNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3869  cb_data.args.hipDrvGraphAddMemsetNode.hGraph = (hipGraph_t)hGraph; \
3870  cb_data.args.hipDrvGraphAddMemsetNode.dependencies = (const hipGraphNode_t*)dependencies; \
3871  cb_data.args.hipDrvGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
3872  cb_data.args.hipDrvGraphAddMemsetNode.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
3873  cb_data.args.hipDrvGraphAddMemsetNode.ctx = (hipCtx_t)ctx; \
3874 };
3875 // hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
3876 #define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3877  cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3878 };
3879 // hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
3880 #define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3881  cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3882 };
3883 // hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
3884 #define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3885  cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3886  cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3887 };
3888 // hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
3889 #define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3890  cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3891  cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3892  cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3893  cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3894 };
3895 // hipEventCreate[('hipEvent_t*', 'event')]
3896 #define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3897  cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3898 };
3899 // hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
3900 #define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3901  cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3902  cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3903 };
3904 // hipEventDestroy[('hipEvent_t', 'event')]
3905 #define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3906  cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3907 };
3908 // hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
3909 #define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3910  cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3911  cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3912  cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3913 };
3914 // hipEventQuery[('hipEvent_t', 'event')]
3915 #define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3916  cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3917 };
3918 // hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
3919 #define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3920  cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3921  cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3922 };
3923 // hipEventSynchronize[('hipEvent_t', 'event')]
3924 #define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3925  cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3926 };
3927 // hipExtGetLastError[]
3928 #define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
3929 };
3930 // hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
3931 #define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3932  cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3933  cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3934  cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3935  cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3936 };
3937 // hipExtLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream'), ('hipEvent_t', 'startEvent'), ('hipEvent_t', 'stopEvent'), ('int', 'flags')]
3938 #define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3939  cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3940  cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3941  cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3942  cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3943  cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3944  cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3945  cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3946  cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3947  cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3948 };
3949 // hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
3950 #define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3951  cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3952  cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3953  cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3954 };
3955 // hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
3956 #define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3957  cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3958  cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3959  cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3960 };
3961 // hipExtModuleLaunchKernel[('hipFunction_t', 'f'), ('unsigned int', 'globalWorkSizeX'), ('unsigned int', 'globalWorkSizeY'), ('unsigned int', 'globalWorkSizeZ'), ('unsigned int', 'localWorkSizeX'), ('unsigned int', 'localWorkSizeY'), ('unsigned int', 'localWorkSizeZ'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'hStream'), ('void**', 'kernelParams'), ('void**', 'extra'), ('hipEvent_t', 'startEvent'), ('hipEvent_t', 'stopEvent'), ('unsigned int', 'flags')]
3962 #define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3963  cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3964  cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3965  cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3966  cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3967  cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3968  cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3969  cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3970  cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3971  cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3972  cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3973  cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3974  cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3975  cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3976  cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3977 };
3978 // hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
3979 #define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3980  cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3981  cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3982  cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3983 };
3984 // hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
3985 #define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3986  cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3987  cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3988  cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3989 };
3990 // hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
3991 #define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3992  cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3993  cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3994  cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3995 };
3996 // hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
3997 #define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
3998  cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
3999  cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
4000  cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
4001 };
4002 // hipFree[('void*', 'ptr')]
4003 #define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
4004  cb_data.args.hipFree.ptr = (void*)ptr; \
4005 };
4006 // hipFreeArray[('hipArray_t', 'array')]
4007 #define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
4008  cb_data.args.hipFreeArray.array = (hipArray_t)array; \
4009 };
4010 // hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
4011 #define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
4012  cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
4013  cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
4014 };
4015 // hipFreeHost[('void*', 'ptr')]
4016 #define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
4017  cb_data.args.hipFreeHost.ptr = (void*)ptr; \
4018 };
4019 // hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
4020 #define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
4021  cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
4022 };
4023 // hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
4024 #define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
4025  cb_data.args.hipFuncGetAttribute.value = (int*)value; \
4026  cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
4027  cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
4028 };
4029 // hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
4030 #define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
4031  cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
4032  cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
4033 };
4034 // hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
4035 #define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
4036  cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
4037  cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
4038  cb_data.args.hipFuncSetAttribute.value = (int)value; \
4039 };
4040 // hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
4041 #define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
4042  cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
4043  cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
4044 };
4045 // hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
4046 #define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
4047  cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
4048  cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
4049 };
4050 // hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
4051 #define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
4052  cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
4053  cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
4054  cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
4055  cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
4056 };
4057 // hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
4058 #define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
4059  cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
4060  cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
4061 };
4062 // hipGetDevice[('int*', 'deviceId')]
4063 #define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
4064  cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
4065 };
4066 // hipGetDeviceCount[('int*', 'count')]
4067 #define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
4068  cb_data.args.hipGetDeviceCount.count = (int*)count; \
4069 };
4070 // hipGetDeviceFlags[('unsigned int*', 'flags')]
4071 #define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
4072  cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
4073 };
4074 // hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
4075 #define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
4076  cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
4077  cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
4078 };
4079 // hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
4080 #define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
4081  cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
4082  cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
4083 };
4084 // hipGetErrorString[]
4085 #define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
4086 };
4087 // hipGetFuncBySymbol[('hipFunction_t*', 'functionPtr'), ('const void*', 'symbolPtr')]
4088 #define INIT_hipGetFuncBySymbol_CB_ARGS_DATA(cb_data) { \
4089  cb_data.args.hipGetFuncBySymbol.functionPtr = (hipFunction_t*)functionPtr; \
4090  cb_data.args.hipGetFuncBySymbol.symbolPtr = (const void*)symbolPtr; \
4091 };
4092 // hipGetLastError[]
4093 #define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
4094 };
4095 // hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
4096 #define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
4097  cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
4098  cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
4099  cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
4100 };
4101 // hipGetProcAddress[('const char*', 'symbol'), ('void**', 'pfn'), ('int', 'hipVersion'), ('uint64_t', 'flags'), ('hipDriverProcAddressQueryResult*', 'symbolStatus')]
4102 #define INIT_hipGetProcAddress_CB_ARGS_DATA(cb_data) { \
4103  cb_data.args.hipGetProcAddress.symbol = (symbol) ? strdup(symbol) : NULL; \
4104  cb_data.args.hipGetProcAddress.pfn = (void**)pfn; \
4105  cb_data.args.hipGetProcAddress.hipVersion = (int)hipVersion; \
4106  cb_data.args.hipGetProcAddress.flags = (uint64_t)flags; \
4107  cb_data.args.hipGetProcAddress.symbolStatus = (hipDriverProcAddressQueryResult*)symbolStatus; \
4108 };
4109 // hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
4110 #define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
4111  cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
4112  cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
4113 };
4114 // hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
4115 #define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
4116  cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
4117  cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
4118 };
4119 // hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
4120 #define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
4121  cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4122  cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
4123  cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4124  cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
4125  cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
4126 };
4127 // hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4128 #define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
4129  cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
4130  cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
4131  cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
4132  cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
4133 };
4134 // hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
4135 #define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
4136  cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4137  cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
4138  cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4139  cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
4140 };
4141 // hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
4142 #define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
4143  cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4144  cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
4145  cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4146  cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
4147  cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
4148 };
4149 // hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
4150 #define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
4151  cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4152  cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
4153  cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4154  cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
4155  cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
4156 };
4157 // hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4158 #define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
4159  cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4160  cb_data.args.hipGraphAddExternalSemaphoresSignalNode.graph = (hipGraph_t)graph; \
4161  cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4162  cb_data.args.hipGraphAddExternalSemaphoresSignalNode.numDependencies = (size_t)numDependencies; \
4163  cb_data.args.hipGraphAddExternalSemaphoresSignalNode.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4164 };
4165 // hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4166 #define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4167  cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4168  cb_data.args.hipGraphAddExternalSemaphoresWaitNode.graph = (hipGraph_t)graph; \
4169  cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4170  cb_data.args.hipGraphAddExternalSemaphoresWaitNode.numDependencies = (size_t)numDependencies; \
4171  cb_data.args.hipGraphAddExternalSemaphoresWaitNode.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4172 };
4173 // hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
4174 #define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4175  cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4176  cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4177  cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4178  cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4179  cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4180 };
4181 // hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
4182 #define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4183  cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4184  cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4185  cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4186  cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4187  cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4188 };
4189 // hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4190 #define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4191  cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4192  cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4193  cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4194  cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4195  cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4196 };
4197 // hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
4198 #define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4199  cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4200  cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4201  cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4202  cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4203  cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4204 };
4205 // hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
4206 #define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4207  cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4208  cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4209  cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4210  cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4211  cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4212 };
4213 // hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4214 #define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4215  cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4216  cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4217  cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4218  cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4219  cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4220  cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4221  cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4222  cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4223 };
4224 // hipGraphAddMemcpyNodeFromSymbol[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4225 #define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4226  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4227  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4228  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4229  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4230  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4231  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4232  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4233  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4234  cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4235 };
4236 // hipGraphAddMemcpyNodeToSymbol[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4237 #define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4238  cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4239  cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4240  cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4241  cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4242  cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4243  cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4244  cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4245  cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4246  cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4247 };
4248 // hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
4249 #define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4250  cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4251  cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4252  cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4253  cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4254  cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4255 };
4256 // hipGraphAddNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraphNodeParams*', 'nodeParams')]
4257 #define INIT_hipGraphAddNode_CB_ARGS_DATA(cb_data) { \
4258  cb_data.args.hipGraphAddNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4259  cb_data.args.hipGraphAddNode.graph = (hipGraph_t)graph; \
4260  cb_data.args.hipGraphAddNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4261  cb_data.args.hipGraphAddNode.numDependencies = (size_t)numDependencies; \
4262  cb_data.args.hipGraphAddNode.nodeParams = (hipGraphNodeParams*)nodeParams; \
4263 };
4264 // hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
4265 #define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4266  cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4267  cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4268 };
4269 // hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
4270 #define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4271  cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4272  cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4273 };
4274 // hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
4275 #define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4276  cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4277  cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4278 };
4279 // hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
4280 #define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4281  cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4282  cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4283  cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4284 };
4285 // hipGraphDestroy[('hipGraph_t', 'graph')]
4286 #define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4287  cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4288 };
4289 // hipGraphDestroyNode[('hipGraphNode_t', 'node')]
4290 #define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4291  cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4292 };
4293 // hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4294 #define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4295  cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4296  cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4297 };
4298 // hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4299 #define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4300  cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4301  cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4302 };
4303 // hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4304 #define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4305  cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4306  cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4307 };
4308 // hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4309 #define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4310  cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4311  cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4312 };
4313 // hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
4314 #define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4315  cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4316  cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4317  cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4318 };
4319 // hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
4320 #define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4321  cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4322 };
4323 // hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4324 #define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4325  cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4326  cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4327  cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4328 };
4329 // hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4330 #define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4331  cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4332  cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4333  cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4334 };
4335 // hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4336 #define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4337  cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4338  cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4339  cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4340 };
4341 // hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4342 #define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4343  cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4344  cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4345  cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4346 };
4347 // hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4348 #define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4349  cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4350  cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4351  cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4352 };
4353 // hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4354 #define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4355  cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4356  cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4357  cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4358 };
4359 // hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4360 #define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4361  cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4362  cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4363  cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4364 };
4365 // hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4366 #define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4367  cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4368  cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4369  cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4370  cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4371  cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4372  cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4373 };
4374 // hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4375 #define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4376  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4377  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4378  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4379  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4380  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4381  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4382  cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4383 };
4384 // hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4385 #define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4386  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4387  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4388  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4389  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4390  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4391  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4392  cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4393 };
4394 // hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4395 #define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4396  cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4397  cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4398  cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4399 };
4400 // hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
4401 #define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4402  cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4403  cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4404  cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4405  cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4406 };
4407 // hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
4408 #define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4409  cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4410  cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out = (hipExternalSemaphoreSignalNodeParams*)params_out; \
4411 };
4412 // hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4413 #define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4414  cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4415  cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4416 };
4417 // hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
4418 #define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4419  cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4420  cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out = (hipExternalSemaphoreWaitNodeParams*)params_out; \
4421 };
4422 // hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4423 #define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4424  cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4425  cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4426 };
4427 // hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
4428 #define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4429  cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4430  cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4431  cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4432  cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4433 };
4434 // hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
4435 #define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4436  cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4437  cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4438  cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4439 };
4440 // hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
4441 #define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4442  cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4443  cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4444  cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4445 };
4446 // hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
4447 #define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4448  cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4449  cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4450 };
4451 // hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4452 #define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4453  cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4454  cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4455 };
4456 // hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
4457 #define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4458  cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4459  cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4460  cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4461  cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4462  cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4463 };
4464 // hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
4465 #define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4466  cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4467  cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4468  cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4469 };
4470 // hipGraphInstantiateWithParams[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphInstantiateParams*', 'instantiateParams')]
4471 #define INIT_hipGraphInstantiateWithParams_CB_ARGS_DATA(cb_data) { \
4472  cb_data.args.hipGraphInstantiateWithParams.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4473  cb_data.args.hipGraphInstantiateWithParams.graph = (hipGraph_t)graph; \
4474  cb_data.args.hipGraphInstantiateWithParams.instantiateParams = (hipGraphInstantiateParams*)instantiateParams; \
4475 };
4476 // hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
4477 #define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4478  cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4479  cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4480 };
4481 // hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('hipLaunchAttributeValue*', 'value')]
4482 #define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4483 };
4484 // hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
4485 #define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4486  cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4487  cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4488 };
4489 // hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('const hipLaunchAttributeValue*', 'value')]
4490 #define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4491 };
4492 // hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4493 #define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4494  cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4495  cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4496 };
4497 // hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4498 #define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4499  cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4500  cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4501 };
4502 // hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4503 #define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4504  cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4505  cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4506 };
4507 // hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
4508 #define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4509  cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4510  cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4511 };
4512 // hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4513 #define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4514  cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4515  cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4516 };
4517 // hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
4518 #define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4519  cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4520  cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4521 };
4522 // hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4523 #define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4524  cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4525  cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4526  cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4527  cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4528  cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4529 };
4530 // hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4531 #define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4532  cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4533  cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4534  cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4535  cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4536  cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4537  cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4538 };
4539 // hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4540 #define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4541  cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4542  cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4543  cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4544  cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4545  cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4546  cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4547 };
4548 // hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
4549 #define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4550  cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4551  cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4552 };
4553 // hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4554 #define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4555  cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4556  cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4557 };
4558 // hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
4559 #define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4560  cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4561  cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4562  cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4563 };
4564 // hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
4565 #define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4566  cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4567  cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4568  cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4569 };
4570 // hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
4571 #define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4572  cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4573  cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4574  cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4575 };
4576 // hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
4577 #define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4578  cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4579  cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4580  cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4581 };
4582 // hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
4583 #define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4584  cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4585  cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4586 };
4587 // hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
4588 #define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4589  cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4590  cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4591  cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4592 };
4593 // hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
4594 #define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4595  cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4596  cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4597  cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4598 };
4599 // hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4600 #define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4601  cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4602  cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4603  cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4604  cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4605 };
4606 // hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
4607 #define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4608  cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4609  cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4610  cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4611  cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4612 };
4613 // hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4614 #define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4615  cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4616  cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4617 };
4618 // hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
4619 #define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4620  cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4621  cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4622  cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4623 };
4624 // hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
4625 #define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4626  cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4627  cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4628  cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4629  cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4630 };
4631 // hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4632 #define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4633  cb_data.args.hipGraphicsMapResources.count = (int)count; \
4634  cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4635  cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4636 };
4637 // hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
4638 #define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4639  cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4640  cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4641  cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4642 };
4643 // hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
4644 #define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4645  cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4646  cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4647  cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4648  cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4649 };
4650 // hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4651 #define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4652  cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4653  cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4654  cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4655 };
4656 // hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
4657 #define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4658  cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4659 };
4660 // hipHccModuleLaunchKernel[('hipFunction_t', 'f'), ('unsigned int', 'globalWorkSizeX'), ('unsigned int', 'globalWorkSizeY'), ('unsigned int', 'globalWorkSizeZ'), ('unsigned int', 'blockDimX'), ('unsigned int', 'blockDimY'), ('unsigned int', 'blockDimZ'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'hStream'), ('void**', 'kernelParams'), ('void**', 'extra'), ('hipEvent_t', 'startEvent'), ('hipEvent_t', 'stopEvent')]
4661 #define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4662  cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4663  cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4664  cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4665  cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4666  cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4667  cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4668  cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4669  cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4670  cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4671  cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4672  cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4673  cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4674  cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4675 };
4676 // hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4677 #define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4678  cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4679  cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4680  cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4681 };
4682 // hipHostFree[('void*', 'ptr')]
4683 #define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4684  cb_data.args.hipHostFree.ptr = (void*)ptr; \
4685 };
4686 // hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
4687 #define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4688  cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4689  cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4690  cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4691 };
4692 // hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
4693 #define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4694  cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4695  cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4696 };
4697 // hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4698 #define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4699  cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4700  cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4701  cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4702 };
4703 // hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
4704 #define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4705  cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4706  cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4707  cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4708 };
4709 // hipHostUnregister[('void*', 'hostPtr')]
4710 #define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4711  cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4712 };
4713 // hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
4714 #define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4715  cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4716  cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4717 };
4718 // hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
4719 #define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4720  cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4721  cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4722 };
4723 // hipInit[('unsigned int', 'flags')]
4724 #define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4725  cb_data.args.hipInit.flags = (unsigned int)flags; \
4726 };
4727 // hipIpcCloseMemHandle[('void*', 'devPtr')]
4728 #define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4729  cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4730 };
4731 // hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
4732 #define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4733  cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4734  cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4735 };
4736 // hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
4737 #define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4738  cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4739  cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4740 };
4741 // hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
4742 #define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4743  cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4744  cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4745 };
4746 // hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
4747 #define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4748  cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4749  cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4750  cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4751 };
4752 // hipLaunchByPtr[('const void*', 'hostFunction')]
4753 #define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4754  cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4755 };
4756 // hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4757 #define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4758  cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4759  cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4760  cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4761  cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4762  cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4763  cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4764 };
4765 // hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
4766 #define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4767  cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4768  cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4769  cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4770 };
4771 // hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
4772 #define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4773  cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4774  cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4775  cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4776 };
4777 // hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4778 #define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4779  cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4780  cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4781  cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4782  cb_data.args.hipLaunchKernel.args = (void**)args; \
4783  cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4784  cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4785 };
4786 // hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
4787 #define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4788  cb_data.args.hipMalloc.ptr = (void**)ptr; \
4789  cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4790 };
4791 // hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
4792 #define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4793  cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4794  cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4795 };
4796 // hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
4797 #define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4798  cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4799  cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4800  cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4801  cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4802 };
4803 // hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
4804 #define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4805  cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4806  cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4807  cb_data.args.hipMallocArray.width = (size_t)width; \
4808  cb_data.args.hipMallocArray.height = (size_t)height; \
4809  cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4810 };
4811 // hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
4812 #define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4813  cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4814  cb_data.args.hipMallocAsync.size = (size_t)size; \
4815  cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4816 };
4817 // hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
4818 #define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4819  cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4820  cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4821  cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4822  cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4823 };
4824 // hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
4825 #define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4826  cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4827  cb_data.args.hipMallocHost.size = (size_t)size; \
4828 };
4829 // hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4830 #define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4831  cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4832  cb_data.args.hipMallocManaged.size = (size_t)size; \
4833  cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4834 };
4835 // hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
4836 #define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4837  cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4838  cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4839  cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4840  cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4841  cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4842 };
4843 // hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
4844 #define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4845  cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4846  cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4847  cb_data.args.hipMallocPitch.width = (size_t)width; \
4848  cb_data.args.hipMallocPitch.height = (size_t)height; \
4849 };
4850 // hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
4851 #define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4852  cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4853  cb_data.args.hipMemAddressFree.size = (size_t)size; \
4854 };
4855 // hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
4856 #define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4857  cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4858  cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4859  cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4860  cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4861  cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4862 };
4863 // hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
4864 #define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4865  cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4866  cb_data.args.hipMemAdvise.count = (size_t)count; \
4867  cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4868  cb_data.args.hipMemAdvise.device = (int)device; \
4869 };
4870 // hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
4871 #define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4872  cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4873  cb_data.args.hipMemAllocHost.size = (size_t)size; \
4874 };
4875 // hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
4876 #define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4877  cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4878  cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4879  cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4880  cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4881  cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4882 };
4883 // hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
4884 #define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4885  cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4886  cb_data.args.hipMemCreate.size = (size_t)size; \
4887  cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4888  cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4889 };
4890 // hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
4891 #define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4892  cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4893  cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4894  cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4895  cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4896 };
4897 // hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
4898 #define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4899  cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4900  cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4901  cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4902 };
4903 // hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
4904 #define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4905  cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4906  cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4907  cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4908 };
4909 // hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
4910 #define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4911  cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4912  cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4913  cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4914 };
4915 // hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
4916 #define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4917  cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4918  cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4919 };
4920 // hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
4921 #define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4922  cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4923  cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4924 };
4925 // hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
4926 #define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4927  cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4928  cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4929  cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4930 };
4931 // hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
4932 #define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4933  cb_data.args.hipMemMap.ptr = (void*)ptr; \
4934  cb_data.args.hipMemMap.size = (size_t)size; \
4935  cb_data.args.hipMemMap.offset = (size_t)offset; \
4936  cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4937  cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4938 };
4939 // hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
4940 #define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4941  cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4942  cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4943  cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4944 };
4945 // hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
4946 #define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4947  cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4948  cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4949 };
4950 // hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
4951 #define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4952  cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4953 };
4954 // hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
4955 #define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4956  cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4957  cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4958 };
4959 // hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4960 #define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4961  cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4962  cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4963  cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4964  cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4965 };
4966 // hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
4967 #define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4968  cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4969  cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4970  cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4971 };
4972 // hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4973 #define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4974  cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4975  cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4976  cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4977 };
4978 // hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4979 #define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4980  cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4981  cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4982  cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4983  cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4984 };
4985 // hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
4986 #define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4987  cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4988  cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4989  cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4990 };
4991 // hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
4992 #define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4993  cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4994  cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4995  cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4996 };
4997 // hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4998 #define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4999  cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
5000  cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
5001  cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
5002 };
5003 // hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
5004 #define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
5005  cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
5006  cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
5007 };
5008 // hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
5009 #define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
5010  cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
5011  cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
5012  cb_data.args.hipMemPrefetchAsync.device = (int)device; \
5013  cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
5014 };
5015 // hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
5016 #define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
5017  cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
5018  cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
5019 };
5020 // hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
5021 #define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
5022  cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
5023  cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
5024  cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
5025  cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
5026  cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
5027 };
5028 // hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
5029 #define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
5030  cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
5031  cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
5032  cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
5033  cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
5034  cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
5035  cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
5036 };
5037 // hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
5038 #define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
5039  cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
5040 };
5041 // hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
5042 #define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
5043  cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
5044  cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
5045 };
5046 // hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
5047 #define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
5048  cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
5049  cb_data.args.hipMemSetAccess.size = (size_t)size; \
5050  cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
5051  cb_data.args.hipMemSetAccess.count = (size_t)count; \
5052 };
5053 // hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
5054 #define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
5055  cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
5056  cb_data.args.hipMemUnmap.size = (size_t)size; \
5057 };
5058 // hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
5059 #define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
5060  cb_data.args.hipMemcpy.dst = (void*)dst; \
5061  cb_data.args.hipMemcpy.src = (const void*)src; \
5062  cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
5063  cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
5064 };
5065 // hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5066 #define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
5067  cb_data.args.hipMemcpy2D.dst = (void*)dst; \
5068  cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
5069  cb_data.args.hipMemcpy2D.src = (const void*)src; \
5070  cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
5071  cb_data.args.hipMemcpy2D.width = (size_t)width; \
5072  cb_data.args.hipMemcpy2D.height = (size_t)height; \
5073  cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
5074 };
5075 // hipMemcpy2DArrayToArray[('hipArray_t', 'dst'), ('size_t', 'wOffsetDst'), ('size_t', 'hOffsetDst'), ('hipArray_const_t', 'src'), ('size_t', 'wOffsetSrc'), ('size_t', 'hOffsetSrc'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5076 #define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) { \
5077  cb_data.args.hipMemcpy2DArrayToArray.dst = (hipArray_t)dst; \
5078  cb_data.args.hipMemcpy2DArrayToArray.wOffsetDst = (size_t)wOffsetDst; \
5079  cb_data.args.hipMemcpy2DArrayToArray.hOffsetDst = (size_t)hOffsetDst; \
5080  cb_data.args.hipMemcpy2DArrayToArray.src = (hipArray_const_t)src; \
5081  cb_data.args.hipMemcpy2DArrayToArray.wOffsetSrc = (size_t)wOffsetSrc; \
5082  cb_data.args.hipMemcpy2DArrayToArray.hOffsetSrc = (size_t)hOffsetSrc; \
5083  cb_data.args.hipMemcpy2DArrayToArray.width = (size_t)width; \
5084  cb_data.args.hipMemcpy2DArrayToArray.height = (size_t)height; \
5085  cb_data.args.hipMemcpy2DArrayToArray.kind = (hipMemcpyKind)kind; \
5086 };
5087 // hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5088 #define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
5089  cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
5090  cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
5091  cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
5092  cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
5093  cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
5094  cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
5095  cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
5096  cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
5097 };
5098 // hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5099 #define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
5100  cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
5101  cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
5102  cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
5103  cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
5104  cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
5105  cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
5106  cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
5107  cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
5108 };
5109 // hipMemcpy2DFromArrayAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5110 #define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
5111  cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
5112  cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
5113  cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
5114  cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
5115  cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
5116  cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
5117  cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
5118  cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
5119  cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
5120 };
5121 // hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5122 #define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
5123  cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
5124  cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
5125  cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
5126  cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
5127  cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
5128  cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
5129  cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
5130  cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
5131 };
5132 // hipMemcpy2DToArrayAsync[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5133 #define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
5134  cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
5135  cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
5136  cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
5137  cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
5138  cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
5139  cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
5140  cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
5141  cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
5142  cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
5143 };
5144 // hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
5145 #define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
5146  cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
5147 };
5148 // hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
5149 #define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
5150  cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
5151  cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
5152 };
5153 // hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5154 #define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
5155  cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
5156  cb_data.args.hipMemcpyAsync.src = (const void*)src; \
5157  cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
5158  cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
5159  cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
5160 };
5161 // hipMemcpyAtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
5162 #define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) { \
5163  cb_data.args.hipMemcpyAtoA.dstArray = (hipArray_t)dstArray; \
5164  cb_data.args.hipMemcpyAtoA.dstOffset = (size_t)dstOffset; \
5165  cb_data.args.hipMemcpyAtoA.srcArray = (hipArray_t)srcArray; \
5166  cb_data.args.hipMemcpyAtoA.srcOffset = (size_t)srcOffset; \
5167  cb_data.args.hipMemcpyAtoA.ByteCount = (size_t)ByteCount; \
5168 };
5169 // hipMemcpyAtoD[('hipDeviceptr_t', 'dstDevice'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
5170 #define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) { \
5171  cb_data.args.hipMemcpyAtoD.dstDevice = (hipDeviceptr_t)dstDevice; \
5172  cb_data.args.hipMemcpyAtoD.srcArray = (hipArray_t)srcArray; \
5173  cb_data.args.hipMemcpyAtoD.srcOffset = (size_t)srcOffset; \
5174  cb_data.args.hipMemcpyAtoD.ByteCount = (size_t)ByteCount; \
5175 };
5176 // hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
5177 #define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
5178  cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
5179  cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
5180  cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
5181  cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
5182 };
5183 // hipMemcpyAtoHAsync[('void*', 'dstHost'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
5184 #define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) { \
5185  cb_data.args.hipMemcpyAtoHAsync.dstHost = (void*)dstHost; \
5186  cb_data.args.hipMemcpyAtoHAsync.srcArray = (hipArray_t)srcArray; \
5187  cb_data.args.hipMemcpyAtoHAsync.srcOffset = (size_t)srcOffset; \
5188  cb_data.args.hipMemcpyAtoHAsync.ByteCount = (size_t)ByteCount; \
5189  cb_data.args.hipMemcpyAtoHAsync.stream = (hipStream_t)stream; \
5190 };
5191 // hipMemcpyDtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipDeviceptr_t', 'srcDevice'), ('size_t', 'ByteCount')]
5192 #define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) { \
5193  cb_data.args.hipMemcpyDtoA.dstArray = (hipArray_t)dstArray; \
5194  cb_data.args.hipMemcpyDtoA.dstOffset = (size_t)dstOffset; \
5195  cb_data.args.hipMemcpyDtoA.srcDevice = (hipDeviceptr_t)srcDevice; \
5196  cb_data.args.hipMemcpyDtoA.ByteCount = (size_t)ByteCount; \
5197 };
5198 // hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
5199 #define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
5200  cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
5201  cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
5202  cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
5203 };
5204 // hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5205 #define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
5206  cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5207  cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
5208  cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
5209  cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
5210 };
5211 // hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
5212 #define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
5213  cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
5214  cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
5215  cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
5216 };
5217 // hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5218 #define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
5219  cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
5220  cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
5221  cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
5222  cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
5223 };
5224 // hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5225 #define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
5226  cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
5227  cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
5228  cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
5229  cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
5230  cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
5231  cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
5232 };
5233 // hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5234 #define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
5235  cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
5236  cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5237  cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5238  cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5239  cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5240 };
5241 // hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5242 #define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5243  cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5244  cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5245  cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5246  cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5247  cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5248  cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5249 };
5250 // hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
5251 #define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5252  cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5253  cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5254  cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5255  cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5256 };
5257 // hipMemcpyHtoAAsync[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
5258 #define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) { \
5259  cb_data.args.hipMemcpyHtoAAsync.dstArray = (hipArray_t)dstArray; \
5260  cb_data.args.hipMemcpyHtoAAsync.dstOffset = (size_t)dstOffset; \
5261  cb_data.args.hipMemcpyHtoAAsync.srcHost = (const void*)srcHost; \
5262  cb_data.args.hipMemcpyHtoAAsync.ByteCount = (size_t)ByteCount; \
5263  cb_data.args.hipMemcpyHtoAAsync.stream = (hipStream_t)stream; \
5264 };
5265 // hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
5266 #define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5267  cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5268  cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5269  cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5270 };
5271 // hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5272 #define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5273  cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5274  cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5275  cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5276  cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5277 };
5278 // hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
5279 #define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5280  cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5281 };
5282 // hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
5283 #define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5284  cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5285  cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5286 };
5287 // hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
5288 #define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5289  cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5290  cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5291  cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5292  cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5293  cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5294 };
5295 // hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5296 #define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5297  cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5298  cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5299  cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5300  cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5301  cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5302  cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5303 };
5304 // hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5305 #define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5306  cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5307  cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5308  cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5309  cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5310  cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5311  cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5312 };
5313 // hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5314 #define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5315  cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5316  cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5317  cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5318  cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5319  cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5320 };
5321 // hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5322 #define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5323  cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5324  cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5325  cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5326  cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5327  cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5328  cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5329 };
5330 // hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5331 #define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5332  cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5333  cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5334  cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5335  cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5336  cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5337 };
5338 // hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
5339 #define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5340  cb_data.args.hipMemset.dst = (void*)dst; \
5341  cb_data.args.hipMemset.value = (int)value; \
5342  cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5343 };
5344 // hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
5345 #define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5346  cb_data.args.hipMemset2D.dst = (void*)dst; \
5347  cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5348  cb_data.args.hipMemset2D.value = (int)value; \
5349  cb_data.args.hipMemset2D.width = (size_t)width; \
5350  cb_data.args.hipMemset2D.height = (size_t)height; \
5351 };
5352 // hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
5353 #define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5354  cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5355  cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5356  cb_data.args.hipMemset2DAsync.value = (int)value; \
5357  cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5358  cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5359  cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5360 };
5361 // hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
5362 #define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5363  cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5364  cb_data.args.hipMemset3D.value = (int)value; \
5365  cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5366 };
5367 // hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
5368 #define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5369  cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5370  cb_data.args.hipMemset3DAsync.value = (int)value; \
5371  cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5372  cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5373 };
5374 // hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5375 #define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5376  cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5377  cb_data.args.hipMemsetAsync.value = (int)value; \
5378  cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5379  cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5380 };
5381 // hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
5382 #define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5383  cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5384  cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5385  cb_data.args.hipMemsetD16.count = (size_t)count; \
5386 };
5387 // hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5388 #define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5389  cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5390  cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5391  cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5392  cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5393 };
5394 // hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
5395 #define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5396  cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5397  cb_data.args.hipMemsetD32.value = (int)value; \
5398  cb_data.args.hipMemsetD32.count = (size_t)count; \
5399 };
5400 // hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5401 #define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5402  cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5403  cb_data.args.hipMemsetD32Async.value = (int)value; \
5404  cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5405  cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5406 };
5407 // hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
5408 #define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5409  cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5410  cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5411  cb_data.args.hipMemsetD8.count = (size_t)count; \
5412 };
5413 // hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5414 #define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5415  cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5416  cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5417  cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5418  cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5419 };
5420 // hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
5421 #define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5422  cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5423  cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5424  cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5425 };
5426 // hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
5427 #define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5428  cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5429 };
5430 // hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
5431 #define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5432  cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5433  cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5434  cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5435 };
5436 // hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
5437 #define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5438  cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5439  cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5440  cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5441 };
5442 // hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5443 #define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5444  cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5445  cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5446  cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5447  cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5448 };
5449 // hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5450 #define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5451  cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5452  cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5453  cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5454 };
5455 // hipModuleLaunchCooperativeKernel[('hipFunction_t', 'f'), ('unsigned int', 'gridDimX'), ('unsigned int', 'gridDimY'), ('unsigned int', 'gridDimZ'), ('unsigned int', 'blockDimX'), ('unsigned int', 'blockDimY'), ('unsigned int', 'blockDimZ'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream'), ('void**', 'kernelParams')]
5456 #define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5457  cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5458  cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5459  cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5460  cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5461  cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5462  cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5463  cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5464  cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5465  cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5466  cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5467 };
5468 // hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
5469 #define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5470  cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5471  cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5472  cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5473 };
5474 // hipModuleLaunchKernel[('hipFunction_t', 'f'), ('unsigned int', 'gridDimX'), ('unsigned int', 'gridDimY'), ('unsigned int', 'gridDimZ'), ('unsigned int', 'blockDimX'), ('unsigned int', 'blockDimY'), ('unsigned int', 'blockDimZ'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream'), ('void**', 'kernelParams'), ('void**', 'extra')]
5475 #define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5476  cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5477  cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5478  cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5479  cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5480  cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5481  cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5482  cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5483  cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5484  cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5485  cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5486  cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5487 };
5488 // hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
5489 #define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5490  cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5491  cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5492 };
5493 // hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
5494 #define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5495  cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5496  cb_data.args.hipModuleLoadData.image = (const void*)image; \
5497 };
5498 // hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
5499 #define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5500  cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5501  cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5502  cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5503  cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5504  cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5505 };
5506 // hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
5507 #define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5508  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5509  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5510  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5511  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5512 };
5513 // hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
5514 #define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5515  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5516  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5517  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5518  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5519  cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5520 };
5521 // hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5522 #define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5523  cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5524  cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5525  cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5526  cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5527  cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5528 };
5529 // hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
5530 #define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5531  cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5532  cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5533  cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5534  cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5535  cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5536  cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5537 };
5538 // hipModuleUnload[('hipModule_t', 'module')]
5539 #define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5540  cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5541 };
5542 // hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
5543 #define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5544  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5545  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5546  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5547  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5548 };
5549 // hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
5550 #define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5551  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5552  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5553  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5554  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5555  cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5556 };
5557 // hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5558 #define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5559  cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5560  cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5561  cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5562  cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5563  cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5564 };
5565 // hipPeekAtLastError[]
5566 #define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5567 };
5568 // hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5569 #define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5570  cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5571  cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5572  cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5573 };
5574 // hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
5575 #define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5576  cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5577  cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5578 };
5579 // hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5580 #define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5581  cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5582  cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5583  cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5584 };
5585 // hipProfilerStart[]
5586 #define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5587 };
5588 // hipProfilerStop[]
5589 #define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5590 };
5591 // hipRuntimeGetVersion[('int*', 'runtimeVersion')]
5592 #define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5593  cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5594 };
5595 // hipSetDevice[('int', 'deviceId')]
5596 #define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5597  cb_data.args.hipSetDevice.deviceId = (int)device; \
5598 };
5599 // hipSetDeviceFlags[('unsigned int', 'flags')]
5600 #define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5601  cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5602 };
5603 // hipSetValidDevices[('int*', 'device_arr'), ('int', 'len')]
5604 #define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) { \
5605  cb_data.args.hipSetValidDevices.device_arr = (int*)device_arr; \
5606  cb_data.args.hipSetValidDevices.len = (int)len; \
5607 };
5608 // hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
5609 #define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5610  cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5611  cb_data.args.hipSetupArgument.size = (size_t)size; \
5612  cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5613 };
5614 // hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5615 #define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5616  cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5617  cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5618  cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5619  cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5620 };
5621 // hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
5622 #define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5623  cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5624  cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5625  cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5626  cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5627 };
5628 // hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
5629 #define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5630  cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5631  cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5632  cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5633  cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5634 };
5635 // hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
5636 #define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5637  cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5638  cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5639 };
5640 // hipStreamBeginCaptureToGraph[('hipStream_t', 'stream'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'dependencies'), ('const hipGraphEdgeData*', 'dependencyData'), ('size_t', 'numDependencies'), ('hipStreamCaptureMode', 'mode')]
5641 #define INIT_hipStreamBeginCaptureToGraph_CB_ARGS_DATA(cb_data) { \
5642  cb_data.args.hipStreamBeginCaptureToGraph.stream = (hipStream_t)stream; \
5643  cb_data.args.hipStreamBeginCaptureToGraph.graph = (hipGraph_t)graph; \
5644  cb_data.args.hipStreamBeginCaptureToGraph.dependencies = (const hipGraphNode_t*)dependencies; \
5645  cb_data.args.hipStreamBeginCaptureToGraph.dependencyData = (const hipGraphEdgeData*)dependencyData; \
5646  cb_data.args.hipStreamBeginCaptureToGraph.numDependencies = (size_t)numDependencies; \
5647  cb_data.args.hipStreamBeginCaptureToGraph.mode = (hipStreamCaptureMode)mode; \
5648 };
5649 // hipStreamCreate[('hipStream_t*', 'stream')]
5650 #define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5651  cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5652 };
5653 // hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
5654 #define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5655  cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5656  cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5657 };
5658 // hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
5659 #define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5660  cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5661  cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5662  cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5663 };
5664 // hipStreamDestroy[('hipStream_t', 'stream')]
5665 #define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5666  cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5667 };
5668 // hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
5669 #define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5670  cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5671  cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5672 };
5673 // hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
5674 #define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5675  cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5676  cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5677  cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5678 };
5679 // hipStreamGetCaptureInfo_v2[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'captureStatus_out'), ('unsigned long long*', 'id_out'), ('hipGraph_t*', 'graph_out'), ('const hipGraphNode_t**', 'dependencies_out'), ('size_t*', 'numDependencies_out')]
5680 #define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5681  cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5682  cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5683  cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5684  cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5685  cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5686  cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5687 };
5688 // hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
5689 #define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5690  cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5691  cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5692 };
5693 // hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
5694 #define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5695  cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5696  cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5697 };
5698 // hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
5699 #define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5700  cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5701  cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5702 };
5703 // hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
5704 #define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5705  cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5706  cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5707 };
5708 // hipStreamQuery[('hipStream_t', 'stream')]
5709 #define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5710  cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5711 };
5712 // hipStreamSynchronize[('hipStream_t', 'stream')]
5713 #define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5714  cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5715 };
5716 // hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
5717 #define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5718  cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5719  cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5720  cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5721  cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5722 };
5723 // hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
5724 #define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5725  cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5726  cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5727  cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5728 };
5729 // hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
5730 #define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5731  cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5732  cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5733  cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5734  cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5735  cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5736 };
5737 // hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
5738 #define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5739  cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5740  cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5741  cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5742  cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5743  cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5744 };
5745 // hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
5746 #define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5747  cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5748  cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5749  cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5750  cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5751 };
5752 // hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
5753 #define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5754  cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5755  cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5756  cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5757  cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5758 };
5759 // hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
5760 #define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5761  cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5762  cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5763 };
5764 // hipTexRefGetArray[('hipArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5765 #define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) { \
5766  cb_data.args.hipTexRefGetArray.pArray = (hipArray_t*)pArray; \
5767  cb_data.args.hipTexRefGetArray.texRef = (const textureReference*)texRef; \
5768 };
5769 // hipTexRefGetBorderColor[('float*', 'pBorderColor'), ('const textureReference*', 'texRef')]
5770 #define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) { \
5771  cb_data.args.hipTexRefGetBorderColor.pBorderColor = (float*)pBorderColor; \
5772  cb_data.args.hipTexRefGetBorderColor.texRef = (const textureReference*)texRef; \
5773 };
5774 // hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
5775 #define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5776  cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5777  cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5778 };
5779 // hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
5780 #define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5781  cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5782  cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5783  cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5784 };
5785 // hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
5786 #define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5787  cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5788  cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5789 };
5790 // hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5791 #define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5792  cb_data.args.hipTexRefGetMipMappedArray.pArray = (hipMipmappedArray_t*)pArray; \
5793  cb_data.args.hipTexRefGetMipMappedArray.texRef = (const textureReference*)texRef; \
5794 };
5795 // hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
5796 #define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5797  cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5798  cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5799 };
5800 // hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
5801 #define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5802  cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5803  cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5804  cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5805 };
5806 // hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
5807 #define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5808  cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5809  cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5810  cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5811  cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5812 };
5813 // hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
5814 #define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5815  cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5816  cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5817  cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5818  cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5819 };
5820 // hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
5821 #define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5822  cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5823  cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5824  cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5825 };
5826 // hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
5827 #define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5828  cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5829  cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5830 };
5831 // hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
5832 #define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5833  cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5834  cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5835 };
5836 // hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
5837 #define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5838  cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5839  cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5840  cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5841 };
5842 // hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
5843 #define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5844  cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5845  cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5846 };
5847 // hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
5848 #define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5849  cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5850  cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5851 };
5852 // hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
5853 #define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5854  cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5855  cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5856  cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5857 };
5858 // hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
5859 #define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5860  cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5861  cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5862  cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5863 };
5864 // hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
5865 #define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5866  cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5867 };
5868 // hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
5869 #define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5870  cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5871  cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5872  cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5873  cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5874  cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5875 };
5876 // hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5877 #define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5878  cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5879  cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5880 };
5881 // hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5882 #define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5883  cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5884  cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5885 };
5886 // hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5887 #define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5888  cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5889  cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5890  cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5891  cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5892 };
5893 #define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5894 
5895 // Macros for non-public API primitives
5896 // hipBindTexture()
5897 #define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5898 // hipBindTexture2D()
5899 #define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5900 // hipBindTextureToArray()
5901 #define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5902 // hipBindTextureToMipmappedArray()
5903 #define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5904 // hipCreateTextureObject()
5905 #define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5906 // hipDestroyTextureObject()
5907 #define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5908 // hipDeviceGetCount()
5909 #define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5910 // hipGetTextureAlignmentOffset()
5911 #define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5912 // hipGetTextureObjectResourceDesc()
5913 #define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5914 // hipGetTextureObjectResourceViewDesc()
5915 #define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5916 // hipGetTextureObjectTextureDesc()
5917 #define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5918 // hipGetTextureReference()
5919 #define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5920 // hipTexObjectCreate()
5921 #define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5922 // hipTexObjectDestroy()
5923 #define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5924 // hipTexObjectGetResourceDesc()
5925 #define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5926 // hipTexObjectGetResourceViewDesc()
5927 #define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5928 // hipTexObjectGetTextureDesc()
5929 #define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5930 // hipTexRefGetAddressMode()
5931 #define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5932 // hipTexRefGetFilterMode()
5933 #define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5934 // hipTexRefGetMipmapFilterMode()
5935 #define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5936 // hipTexRefSetAddressMode()
5937 #define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5938 // hipTexRefSetFilterMode()
5939 #define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5940 // hipTexRefSetMipmapFilterMode()
5941 #define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5942 // hipUnbindTexture()
5943 #define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5944 
5945 #define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5946 
5947 #if HIP_PROF_HIP_API_STRING
5948 // HIP API args filling helper
5949 static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
5950  switch (id) {
5951 // __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
5952  case HIP_API_ID___hipPopCallConfiguration:
5953  if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5954  if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5955  if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5956  if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5957  break;
5958 // __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5959  case HIP_API_ID___hipPushCallConfiguration:
5960  break;
5961 // hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
5962  case HIP_API_ID_hipArray3DCreate:
5963  if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5964  if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5965  break;
5966 // hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
5967  case HIP_API_ID_hipArray3DGetDescriptor:
5968  if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5969  break;
5970 // hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
5971  case HIP_API_ID_hipArrayCreate:
5972  if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5973  if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5974  break;
5975 // hipArrayDestroy[('hipArray_t', 'array')]
5976  case HIP_API_ID_hipArrayDestroy:
5977  break;
5978 // hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
5979  case HIP_API_ID_hipArrayGetDescriptor:
5980  if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5981  break;
5982 // hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
5983  case HIP_API_ID_hipArrayGetInfo:
5984  if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5985  if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5986  if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5987  break;
5988 // hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
5989  case HIP_API_ID_hipChooseDeviceR0000:
5990  if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
5991  if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
5992  break;
5993 // hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
5994  case HIP_API_ID_hipChooseDeviceR0600:
5995  if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
5996  if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
5997  break;
5998 // hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5999  case HIP_API_ID_hipConfigureCall:
6000  break;
6001 // hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
6002  case HIP_API_ID_hipCreateSurfaceObject:
6003  if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
6004  if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
6005  break;
6006 // hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
6007  case HIP_API_ID_hipCtxCreate:
6008  if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
6009  break;
6010 // hipCtxDestroy[('hipCtx_t', 'ctx')]
6011  case HIP_API_ID_hipCtxDestroy:
6012  break;
6013 // hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
6014  case HIP_API_ID_hipCtxDisablePeerAccess:
6015  break;
6016 // hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
6017  case HIP_API_ID_hipCtxEnablePeerAccess:
6018  break;
6019 // hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
6020  case HIP_API_ID_hipCtxGetApiVersion:
6021  if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
6022  break;
6023 // hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
6024  case HIP_API_ID_hipCtxGetCacheConfig:
6025  if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
6026  break;
6027 // hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
6028  case HIP_API_ID_hipCtxGetCurrent:
6029  if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
6030  break;
6031 // hipCtxGetDevice[('hipDevice_t*', 'device')]
6032  case HIP_API_ID_hipCtxGetDevice:
6033  if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
6034  break;
6035 // hipCtxGetFlags[('unsigned int*', 'flags')]
6036  case HIP_API_ID_hipCtxGetFlags:
6037  if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
6038  break;
6039 // hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
6040  case HIP_API_ID_hipCtxGetSharedMemConfig:
6041  if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
6042  break;
6043 // hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
6044  case HIP_API_ID_hipCtxPopCurrent:
6045  if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
6046  break;
6047 // hipCtxPushCurrent[('hipCtx_t', 'ctx')]
6048  case HIP_API_ID_hipCtxPushCurrent:
6049  break;
6050 // hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
6051  case HIP_API_ID_hipCtxSetCacheConfig:
6052  break;
6053 // hipCtxSetCurrent[('hipCtx_t', 'ctx')]
6054  case HIP_API_ID_hipCtxSetCurrent:
6055  break;
6056 // hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
6057  case HIP_API_ID_hipCtxSetSharedMemConfig:
6058  break;
6059 // hipCtxSynchronize[]
6060  case HIP_API_ID_hipCtxSynchronize:
6061  break;
6062 // hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
6063  case HIP_API_ID_hipDestroyExternalMemory:
6064  break;
6065 // hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
6066  case HIP_API_ID_hipDestroyExternalSemaphore:
6067  break;
6068 // hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
6069  case HIP_API_ID_hipDestroySurfaceObject:
6070  break;
6071 // hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
6072  case HIP_API_ID_hipDeviceCanAccessPeer:
6073  if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
6074  break;
6075 // hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
6076  case HIP_API_ID_hipDeviceComputeCapability:
6077  if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
6078  if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
6079  break;
6080 // hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
6081  case HIP_API_ID_hipDeviceDisablePeerAccess:
6082  break;
6083 // hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
6084  case HIP_API_ID_hipDeviceEnablePeerAccess:
6085  break;
6086 // hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
6087  case HIP_API_ID_hipDeviceGet:
6088  if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
6089  break;
6090 // hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
6091  case HIP_API_ID_hipDeviceGetAttribute:
6092  if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
6093  break;
6094 // hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
6095  case HIP_API_ID_hipDeviceGetByPCIBusId:
6096  if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
6097  if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
6098  break;
6099 // hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
6100  case HIP_API_ID_hipDeviceGetCacheConfig:
6101  if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
6102  break;
6103 // hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
6104  case HIP_API_ID_hipDeviceGetDefaultMemPool:
6105  if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
6106  break;
6107 // hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
6108  case HIP_API_ID_hipDeviceGetGraphMemAttribute:
6109  break;
6110 // hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
6111  case HIP_API_ID_hipDeviceGetLimit:
6112  if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
6113  break;
6114 // hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
6115  case HIP_API_ID_hipDeviceGetMemPool:
6116  if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
6117  break;
6118 // hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
6119  case HIP_API_ID_hipDeviceGetName:
6120  data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
6121  break;
6122 // hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
6123  case HIP_API_ID_hipDeviceGetP2PAttribute:
6124  if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
6125  break;
6126 // hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
6127  case HIP_API_ID_hipDeviceGetPCIBusId:
6128  data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
6129  break;
6130 // hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
6131  case HIP_API_ID_hipDeviceGetSharedMemConfig:
6132  if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
6133  break;
6134 // hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
6135  case HIP_API_ID_hipDeviceGetStreamPriorityRange:
6136  if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
6137  if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
6138  break;
6139 // hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
6140  case HIP_API_ID_hipDeviceGetUuid:
6141  if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
6142  break;
6143 // hipDeviceGraphMemTrim[('int', 'device')]
6144  case HIP_API_ID_hipDeviceGraphMemTrim:
6145  break;
6146 // hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
6147  case HIP_API_ID_hipDevicePrimaryCtxGetState:
6148  if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
6149  if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
6150  break;
6151 // hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
6152  case HIP_API_ID_hipDevicePrimaryCtxRelease:
6153  break;
6154 // hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
6155  case HIP_API_ID_hipDevicePrimaryCtxReset:
6156  break;
6157 // hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
6158  case HIP_API_ID_hipDevicePrimaryCtxRetain:
6159  if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
6160  break;
6161 // hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
6162  case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
6163  break;
6164 // hipDeviceReset[]
6165  case HIP_API_ID_hipDeviceReset:
6166  break;
6167 // hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
6168  case HIP_API_ID_hipDeviceSetCacheConfig:
6169  break;
6170 // hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
6171  case HIP_API_ID_hipDeviceSetGraphMemAttribute:
6172  break;
6173 // hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
6174  case HIP_API_ID_hipDeviceSetLimit:
6175  break;
6176 // hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
6177  case HIP_API_ID_hipDeviceSetMemPool:
6178  break;
6179 // hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
6180  case HIP_API_ID_hipDeviceSetSharedMemConfig:
6181  break;
6182 // hipDeviceSynchronize[]
6183  case HIP_API_ID_hipDeviceSynchronize:
6184  break;
6185 // hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
6186  case HIP_API_ID_hipDeviceTotalMem:
6187  if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
6188  break;
6189 // hipDriverGetVersion[('int*', 'driverVersion')]
6190  case HIP_API_ID_hipDriverGetVersion:
6191  if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
6192  break;
6193 // hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
6194  case HIP_API_ID_hipDrvGraphAddMemcpyNode:
6195  if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
6196  if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
6197  if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
6198  break;
6199 // hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
6200  case HIP_API_ID_hipDrvGraphAddMemsetNode:
6201  if (data->args.hipDrvGraphAddMemsetNode.phGraphNode) data->args.hipDrvGraphAddMemsetNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemsetNode.phGraphNode);
6202  if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
6203  if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
6204  break;
6205 // hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
6206  case HIP_API_ID_hipDrvMemcpy2DUnaligned:
6207  if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
6208  break;
6209 // hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
6210  case HIP_API_ID_hipDrvMemcpy3D:
6211  if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
6212  break;
6213 // hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
6214  case HIP_API_ID_hipDrvMemcpy3DAsync:
6215  if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
6216  break;
6217 // hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
6218  case HIP_API_ID_hipDrvPointerGetAttributes:
6219  if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
6220  if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
6221  break;
6222 // hipEventCreate[('hipEvent_t*', 'event')]
6223  case HIP_API_ID_hipEventCreate:
6224  if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
6225  break;
6226 // hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
6227  case HIP_API_ID_hipEventCreateWithFlags:
6228  if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
6229  break;
6230 // hipEventDestroy[('hipEvent_t', 'event')]
6231  case HIP_API_ID_hipEventDestroy:
6232  break;
6233 // hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
6234  case HIP_API_ID_hipEventElapsedTime:
6235  if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
6236  break;
6237 // hipEventQuery[('hipEvent_t', 'event')]
6238  case HIP_API_ID_hipEventQuery:
6239  break;
6240 // hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
6241  case HIP_API_ID_hipEventRecord:
6242  break;
6243 // hipEventSynchronize[('hipEvent_t', 'event')]
6244  case HIP_API_ID_hipEventSynchronize:
6245  break;
6246 // hipExtGetLastError[]
6247  case HIP_API_ID_hipExtGetLastError:
6248  break;
6249 // hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
6250  case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6251  if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6252  if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6253  break;
6254 // hipExtLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream'), ('hipEvent_t', 'startEvent'), ('hipEvent_t', 'stopEvent'), ('int', 'flags')]
6255  case HIP_API_ID_hipExtLaunchKernel:
6256  if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6257  break;
6258 // hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6259  case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6260  if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6261  break;
6262 // hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6263  case HIP_API_ID_hipExtMallocWithFlags:
6264  if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6265  break;
6266 // hipExtModuleLaunchKernel[('hipFunction_t', 'f'), ('unsigned int', 'globalWorkSizeX'), ('unsigned int', 'globalWorkSizeY'), ('unsigned int', 'globalWorkSizeZ'), ('unsigned int', 'localWorkSizeX'), ('unsigned int', 'localWorkSizeY'), ('unsigned int', 'localWorkSizeZ'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'hStream'), ('void**', 'kernelParams'), ('void**', 'extra'), ('hipEvent_t', 'startEvent'), ('hipEvent_t', 'stopEvent'), ('unsigned int', 'flags')]
6267  case HIP_API_ID_hipExtModuleLaunchKernel:
6268  if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6269  if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6270  break;
6271 // hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
6272  case HIP_API_ID_hipExtStreamCreateWithCUMask:
6273  if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6274  if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6275  break;
6276 // hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
6277  case HIP_API_ID_hipExtStreamGetCUMask:
6278  if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6279  break;
6280 // hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
6281  case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6282  if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6283  if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6284  break;
6285 // hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
6286  case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6287  if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6288  if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6289  break;
6290 // hipFree[('void*', 'ptr')]
6291  case HIP_API_ID_hipFree:
6292  break;
6293 // hipFreeArray[('hipArray_t', 'array')]
6294  case HIP_API_ID_hipFreeArray:
6295  break;
6296 // hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
6297  case HIP_API_ID_hipFreeAsync:
6298  break;
6299 // hipFreeHost[('void*', 'ptr')]
6300  case HIP_API_ID_hipFreeHost:
6301  break;
6302 // hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
6303  case HIP_API_ID_hipFreeMipmappedArray:
6304  break;
6305 // hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
6306  case HIP_API_ID_hipFuncGetAttribute:
6307  if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6308  break;
6309 // hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
6310  case HIP_API_ID_hipFuncGetAttributes:
6311  if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6312  break;
6313 // hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
6314  case HIP_API_ID_hipFuncSetAttribute:
6315  break;
6316 // hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
6317  case HIP_API_ID_hipFuncSetCacheConfig:
6318  break;
6319 // hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
6320  case HIP_API_ID_hipFuncSetSharedMemConfig:
6321  break;
6322 // hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
6323  case HIP_API_ID_hipGLGetDevices:
6324  if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6325  if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6326  break;
6327 // hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
6328  case HIP_API_ID_hipGetChannelDesc:
6329  if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6330  break;
6331 // hipGetDevice[('int*', 'deviceId')]
6332  case HIP_API_ID_hipGetDevice:
6333  if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6334  break;
6335 // hipGetDeviceCount[('int*', 'count')]
6336  case HIP_API_ID_hipGetDeviceCount:
6337  if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6338  break;
6339 // hipGetDeviceFlags[('unsigned int*', 'flags')]
6340  case HIP_API_ID_hipGetDeviceFlags:
6341  if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6342  break;
6343 // hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
6344  case HIP_API_ID_hipGetDevicePropertiesR0000:
6345  if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6346  break;
6347 // hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
6348  case HIP_API_ID_hipGetDevicePropertiesR0600:
6349  if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6350  break;
6351 // hipGetErrorString[]
6352  case HIP_API_ID_hipGetErrorString:
6353  break;
6354 // hipGetFuncBySymbol[('hipFunction_t*', 'functionPtr'), ('const void*', 'symbolPtr')]
6355  case HIP_API_ID_hipGetFuncBySymbol:
6356  if (data->args.hipGetFuncBySymbol.functionPtr) data->args.hipGetFuncBySymbol.functionPtr__val = *(data->args.hipGetFuncBySymbol.functionPtr);
6357  break;
6358 // hipGetLastError[]
6359  case HIP_API_ID_hipGetLastError:
6360  break;
6361 // hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
6362  case HIP_API_ID_hipGetMipmappedArrayLevel:
6363  if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6364  break;
6365 // hipGetProcAddress[('const char*', 'symbol'), ('void**', 'pfn'), ('int', 'hipVersion'), ('uint64_t', 'flags'), ('hipDriverProcAddressQueryResult*', 'symbolStatus')]
6366  case HIP_API_ID_hipGetProcAddress:
6367  if (data->args.hipGetProcAddress.symbol) data->args.hipGetProcAddress.symbol__val = *(data->args.hipGetProcAddress.symbol);
6368  if (data->args.hipGetProcAddress.pfn) data->args.hipGetProcAddress.pfn__val = *(data->args.hipGetProcAddress.pfn);
6369  if (data->args.hipGetProcAddress.symbolStatus) data->args.hipGetProcAddress.symbolStatus__val = *(data->args.hipGetProcAddress.symbolStatus);
6370  break;
6371 // hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
6372  case HIP_API_ID_hipGetSymbolAddress:
6373  if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6374  break;
6375 // hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
6376  case HIP_API_ID_hipGetSymbolSize:
6377  if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6378  break;
6379 // hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
6380  case HIP_API_ID_hipGraphAddChildGraphNode:
6381  if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6382  if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6383  break;
6384 // hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6385  case HIP_API_ID_hipGraphAddDependencies:
6386  if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6387  if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6388  break;
6389 // hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
6390  case HIP_API_ID_hipGraphAddEmptyNode:
6391  if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6392  if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6393  break;
6394 // hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6395  case HIP_API_ID_hipGraphAddEventRecordNode:
6396  if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6397  if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6398  break;
6399 // hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6400  case HIP_API_ID_hipGraphAddEventWaitNode:
6401  if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6402  if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6403  break;
6404 // hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6405  case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6406  if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6407  if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6408  if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6409  break;
6410 // hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6411  case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6412  if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6413  if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6414  if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6415  break;
6416 // hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
6417  case HIP_API_ID_hipGraphAddHostNode:
6418  if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6419  if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6420  if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6421  break;
6422 // hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
6423  case HIP_API_ID_hipGraphAddKernelNode:
6424  if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6425  if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6426  if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6427  break;
6428 // hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6429  case HIP_API_ID_hipGraphAddMemAllocNode:
6430  if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6431  if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6432  if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6433  break;
6434 // hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
6435  case HIP_API_ID_hipGraphAddMemFreeNode:
6436  if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6437  if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6438  break;
6439 // hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
6440  case HIP_API_ID_hipGraphAddMemcpyNode:
6441  if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6442  if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6443  if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6444  break;
6445 // hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6446  case HIP_API_ID_hipGraphAddMemcpyNode1D:
6447  if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6448  if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6449  break;
6450 // hipGraphAddMemcpyNodeFromSymbol[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6451  case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6452  if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6453  if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6454  break;
6455 // hipGraphAddMemcpyNodeToSymbol[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6456  case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6457  if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6458  if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6459  break;
6460 // hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
6461  case HIP_API_ID_hipGraphAddMemsetNode:
6462  if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6463  if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6464  if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6465  break;
6466 // hipGraphAddNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraphNodeParams*', 'nodeParams')]
6467  case HIP_API_ID_hipGraphAddNode:
6468  if (data->args.hipGraphAddNode.pGraphNode) data->args.hipGraphAddNode.pGraphNode__val = *(data->args.hipGraphAddNode.pGraphNode);
6469  if (data->args.hipGraphAddNode.pDependencies) data->args.hipGraphAddNode.pDependencies__val = *(data->args.hipGraphAddNode.pDependencies);
6470  if (data->args.hipGraphAddNode.nodeParams) data->args.hipGraphAddNode.nodeParams__val = *(data->args.hipGraphAddNode.nodeParams);
6471  break;
6472 // hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
6473  case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6474  if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6475  break;
6476 // hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
6477  case HIP_API_ID_hipGraphClone:
6478  if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6479  break;
6480 // hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
6481  case HIP_API_ID_hipGraphCreate:
6482  if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6483  break;
6484 // hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
6485  case HIP_API_ID_hipGraphDebugDotPrint:
6486  if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6487  break;
6488 // hipGraphDestroy[('hipGraph_t', 'graph')]
6489  case HIP_API_ID_hipGraphDestroy:
6490  break;
6491 // hipGraphDestroyNode[('hipGraphNode_t', 'node')]
6492  case HIP_API_ID_hipGraphDestroyNode:
6493  break;
6494 // hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6495  case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6496  if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6497  break;
6498 // hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6499  case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6500  break;
6501 // hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6502  case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6503  if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6504  break;
6505 // hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6506  case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6507  break;
6508 // hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
6509  case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6510  break;
6511 // hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
6512  case HIP_API_ID_hipGraphExecDestroy:
6513  break;
6514 // hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6515  case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6516  break;
6517 // hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6518  case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6519  break;
6520 // hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6521  case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6522  if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6523  break;
6524 // hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6525  case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6526  if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6527  break;
6528 // hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6529  case HIP_API_ID_hipGraphExecHostNodeSetParams:
6530  if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6531  break;
6532 // hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6533  case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6534  if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6535  break;
6536 // hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6537  case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6538  if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6539  break;
6540 // hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6541  case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6542  break;
6543 // hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6544  case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6545  break;
6546 // hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6547  case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6548  break;
6549 // hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6550  case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6551  if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6552  break;
6553 // hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
6554  case HIP_API_ID_hipGraphExecUpdate:
6555  if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6556  if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6557  break;
6558 // hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
6559  case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6560  if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6561  break;
6562 // hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6563  case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6564  if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6565  break;
6566 // hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
6567  case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6568  if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6569  break;
6570 // hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6571  case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6572  if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6573  break;
6574 // hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
6575  case HIP_API_ID_hipGraphGetEdges:
6576  if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6577  if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6578  if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6579  break;
6580 // hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
6581  case HIP_API_ID_hipGraphGetNodes:
6582  if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6583  if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6584  break;
6585 // hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
6586  case HIP_API_ID_hipGraphGetRootNodes:
6587  if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6588  if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6589  break;
6590 // hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
6591  case HIP_API_ID_hipGraphHostNodeGetParams:
6592  if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6593  break;
6594 // hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6595  case HIP_API_ID_hipGraphHostNodeSetParams:
6596  if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6597  break;
6598 // hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
6599  case HIP_API_ID_hipGraphInstantiate:
6600  if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6601  if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6602  data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6603  break;
6604 // hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
6605  case HIP_API_ID_hipGraphInstantiateWithFlags:
6606  if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6607  break;
6608 // hipGraphInstantiateWithParams[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphInstantiateParams*', 'instantiateParams')]
6609  case HIP_API_ID_hipGraphInstantiateWithParams:
6610  if (data->args.hipGraphInstantiateWithParams.pGraphExec) data->args.hipGraphInstantiateWithParams.pGraphExec__val = *(data->args.hipGraphInstantiateWithParams.pGraphExec);
6611  if (data->args.hipGraphInstantiateWithParams.instantiateParams) data->args.hipGraphInstantiateWithParams.instantiateParams__val = *(data->args.hipGraphInstantiateWithParams.instantiateParams);
6612  break;
6613 // hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
6614  case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6615  break;
6616 // hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('hipLaunchAttributeValue*', 'value')]
6617  case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6618  if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6619  break;
6620 // hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
6621  case HIP_API_ID_hipGraphKernelNodeGetParams:
6622  if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6623  break;
6624 // hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('const hipLaunchAttributeValue*', 'value')]
6625  case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6626  if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6627  break;
6628 // hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6629  case HIP_API_ID_hipGraphKernelNodeSetParams:
6630  if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6631  break;
6632 // hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6633  case HIP_API_ID_hipGraphLaunch:
6634  break;
6635 // hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6636  case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6637  if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6638  break;
6639 // hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
6640  case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6641  break;
6642 // hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6643  case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6644  if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6645  break;
6646 // hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
6647  case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6648  if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6649  break;
6650 // hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6651  case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6652  break;
6653 // hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6654  case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6655  break;
6656 // hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6657  case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6658  break;
6659 // hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
6660  case HIP_API_ID_hipGraphMemsetNodeGetParams:
6661  if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6662  break;
6663 // hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6664  case HIP_API_ID_hipGraphMemsetNodeSetParams:
6665  if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6666  break;
6667 // hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
6668  case HIP_API_ID_hipGraphNodeFindInClone:
6669  if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6670  break;
6671 // hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
6672  case HIP_API_ID_hipGraphNodeGetDependencies:
6673  if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6674  if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6675  break;
6676 // hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
6677  case HIP_API_ID_hipGraphNodeGetDependentNodes:
6678  if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6679  if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6680  break;
6681 // hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
6682  case HIP_API_ID_hipGraphNodeGetEnabled:
6683  if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6684  break;
6685 // hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
6686  case HIP_API_ID_hipGraphNodeGetType:
6687  if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6688  break;
6689 // hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
6690  case HIP_API_ID_hipGraphNodeSetEnabled:
6691  break;
6692 // hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6693  case HIP_API_ID_hipGraphReleaseUserObject:
6694  break;
6695 // hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6696  case HIP_API_ID_hipGraphRemoveDependencies:
6697  if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6698  if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6699  break;
6700 // hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
6701  case HIP_API_ID_hipGraphRetainUserObject:
6702  break;
6703 // hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6704  case HIP_API_ID_hipGraphUpload:
6705  break;
6706 // hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
6707  case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6708  if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6709  break;
6710 // hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
6711  case HIP_API_ID_hipGraphicsGLRegisterImage:
6712  if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6713  break;
6714 // hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6715  case HIP_API_ID_hipGraphicsMapResources:
6716  if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6717  break;
6718 // hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
6719  case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6720  if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6721  if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6722  break;
6723 // hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
6724  case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6725  if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6726  break;
6727 // hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6728  case HIP_API_ID_hipGraphicsUnmapResources:
6729  if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6730  break;
6731 // hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
6732  case HIP_API_ID_hipGraphicsUnregisterResource:
6733  break;
6734 // hipHccModuleLaunchKernel[('hipFunction_t', 'f'), ('unsigned int', 'globalWorkSizeX'), ('unsigned int', 'globalWorkSizeY'), ('unsigned int', 'globalWorkSizeZ'), ('unsigned int', 'blockDimX'), ('unsigned int', 'blockDimY'), ('unsigned int', 'blockDimZ'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'hStream'), ('void**', 'kernelParams'), ('void**', 'extra'), ('hipEvent_t', 'startEvent'), ('hipEvent_t', 'stopEvent')]
6735  case HIP_API_ID_hipHccModuleLaunchKernel:
6736  if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6737  if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6738  break;
6739 // hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6740  case HIP_API_ID_hipHostAlloc:
6741  if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6742  break;
6743 // hipHostFree[('void*', 'ptr')]
6744  case HIP_API_ID_hipHostFree:
6745  break;
6746 // hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
6747  case HIP_API_ID_hipHostGetDevicePointer:
6748  if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6749  break;
6750 // hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
6751  case HIP_API_ID_hipHostGetFlags:
6752  if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6753  break;
6754 // hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6755  case HIP_API_ID_hipHostMalloc:
6756  if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6757  break;
6758 // hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6759  case HIP_API_ID_hipHostRegister:
6760  break;
6761 // hipHostUnregister[('void*', 'hostPtr')]
6762  case HIP_API_ID_hipHostUnregister:
6763  break;
6764 // hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
6765  case HIP_API_ID_hipImportExternalMemory:
6766  if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6767  if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6768  break;
6769 // hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
6770  case HIP_API_ID_hipImportExternalSemaphore:
6771  if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6772  if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6773  break;
6774 // hipInit[('unsigned int', 'flags')]
6775  case HIP_API_ID_hipInit:
6776  break;
6777 // hipIpcCloseMemHandle[('void*', 'devPtr')]
6778  case HIP_API_ID_hipIpcCloseMemHandle:
6779  break;
6780 // hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
6781  case HIP_API_ID_hipIpcGetEventHandle:
6782  if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6783  break;
6784 // hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
6785  case HIP_API_ID_hipIpcGetMemHandle:
6786  if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6787  break;
6788 // hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
6789  case HIP_API_ID_hipIpcOpenEventHandle:
6790  if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6791  break;
6792 // hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
6793  case HIP_API_ID_hipIpcOpenMemHandle:
6794  if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6795  break;
6796 // hipLaunchByPtr[('const void*', 'hostFunction')]
6797  case HIP_API_ID_hipLaunchByPtr:
6798  break;
6799 // hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6800  case HIP_API_ID_hipLaunchCooperativeKernel:
6801  if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6802  break;
6803 // hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6804  case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6805  if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6806  break;
6807 // hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
6808  case HIP_API_ID_hipLaunchHostFunc:
6809  break;
6810 // hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6811  case HIP_API_ID_hipLaunchKernel:
6812  if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6813  break;
6814 // hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
6815  case HIP_API_ID_hipMalloc:
6816  if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6817  break;
6818 // hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
6819  case HIP_API_ID_hipMalloc3D:
6820  if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6821  break;
6822 // hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
6823  case HIP_API_ID_hipMalloc3DArray:
6824  if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6825  if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6826  break;
6827 // hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
6828  case HIP_API_ID_hipMallocArray:
6829  if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6830  if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6831  break;
6832 // hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
6833  case HIP_API_ID_hipMallocAsync:
6834  if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6835  break;
6836 // hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
6837  case HIP_API_ID_hipMallocFromPoolAsync:
6838  if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6839  break;
6840 // hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
6841  case HIP_API_ID_hipMallocHost:
6842  if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6843  break;
6844 // hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6845  case HIP_API_ID_hipMallocManaged:
6846  if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6847  break;
6848 // hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
6849  case HIP_API_ID_hipMallocMipmappedArray:
6850  if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6851  if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6852  break;
6853 // hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
6854  case HIP_API_ID_hipMallocPitch:
6855  if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6856  if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6857  break;
6858 // hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
6859  case HIP_API_ID_hipMemAddressFree:
6860  break;
6861 // hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
6862  case HIP_API_ID_hipMemAddressReserve:
6863  if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6864  break;
6865 // hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
6866  case HIP_API_ID_hipMemAdvise:
6867  break;
6868 // hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
6869  case HIP_API_ID_hipMemAllocHost:
6870  if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6871  break;
6872 // hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
6873  case HIP_API_ID_hipMemAllocPitch:
6874  if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6875  if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6876  break;
6877 // hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
6878  case HIP_API_ID_hipMemCreate:
6879  if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6880  if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6881  break;
6882 // hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
6883  case HIP_API_ID_hipMemExportToShareableHandle:
6884  break;
6885 // hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
6886  case HIP_API_ID_hipMemGetAccess:
6887  if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6888  if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6889  break;
6890 // hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
6891  case HIP_API_ID_hipMemGetAddressRange:
6892  if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6893  if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6894  break;
6895 // hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
6896  case HIP_API_ID_hipMemGetAllocationGranularity:
6897  if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6898  if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6899  break;
6900 // hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
6901  case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6902  if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6903  break;
6904 // hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
6905  case HIP_API_ID_hipMemGetInfo:
6906  if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6907  if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6908  break;
6909 // hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
6910  case HIP_API_ID_hipMemImportFromShareableHandle:
6911  if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6912  break;
6913 // hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
6914  case HIP_API_ID_hipMemMap:
6915  break;
6916 // hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
6917  case HIP_API_ID_hipMemMapArrayAsync:
6918  if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6919  break;
6920 // hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
6921  case HIP_API_ID_hipMemPoolCreate:
6922  if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6923  if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6924  break;
6925 // hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
6926  case HIP_API_ID_hipMemPoolDestroy:
6927  break;
6928 // hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
6929  case HIP_API_ID_hipMemPoolExportPointer:
6930  if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6931  break;
6932 // hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6933  case HIP_API_ID_hipMemPoolExportToShareableHandle:
6934  break;
6935 // hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
6936  case HIP_API_ID_hipMemPoolGetAccess:
6937  if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6938  if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6939  break;
6940 // hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6941  case HIP_API_ID_hipMemPoolGetAttribute:
6942  break;
6943 // hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6944  case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6945  if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6946  break;
6947 // hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
6948  case HIP_API_ID_hipMemPoolImportPointer:
6949  if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6950  if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6951  break;
6952 // hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
6953  case HIP_API_ID_hipMemPoolSetAccess:
6954  if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6955  break;
6956 // hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6957  case HIP_API_ID_hipMemPoolSetAttribute:
6958  break;
6959 // hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
6960  case HIP_API_ID_hipMemPoolTrimTo:
6961  break;
6962 // hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
6963  case HIP_API_ID_hipMemPrefetchAsync:
6964  break;
6965 // hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
6966  case HIP_API_ID_hipMemPtrGetInfo:
6967  if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6968  break;
6969 // hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6970  case HIP_API_ID_hipMemRangeGetAttribute:
6971  break;
6972 // hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6973  case HIP_API_ID_hipMemRangeGetAttributes:
6974  if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6975  if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6976  if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6977  break;
6978 // hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
6979  case HIP_API_ID_hipMemRelease:
6980  break;
6981 // hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
6982  case HIP_API_ID_hipMemRetainAllocationHandle:
6983  if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6984  break;
6985 // hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
6986  case HIP_API_ID_hipMemSetAccess:
6987  if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6988  break;
6989 // hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
6990  case HIP_API_ID_hipMemUnmap:
6991  break;
6992 // hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
6993  case HIP_API_ID_hipMemcpy:
6994  break;
6995 // hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6996  case HIP_API_ID_hipMemcpy2D:
6997  break;
6998 // hipMemcpy2DArrayToArray[('hipArray_t', 'dst'), ('size_t', 'wOffsetDst'), ('size_t', 'hOffsetDst'), ('hipArray_const_t', 'src'), ('size_t', 'wOffsetSrc'), ('size_t', 'hOffsetSrc'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6999  case HIP_API_ID_hipMemcpy2DArrayToArray:
7000  break;
7001 // hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7002  case HIP_API_ID_hipMemcpy2DAsync:
7003  break;
7004 // hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
7005  case HIP_API_ID_hipMemcpy2DFromArray:
7006  break;
7007 // hipMemcpy2DFromArrayAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7008  case HIP_API_ID_hipMemcpy2DFromArrayAsync:
7009  break;
7010 // hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
7011  case HIP_API_ID_hipMemcpy2DToArray:
7012  break;
7013 // hipMemcpy2DToArrayAsync[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7014  case HIP_API_ID_hipMemcpy2DToArrayAsync:
7015  break;
7016 // hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
7017  case HIP_API_ID_hipMemcpy3D:
7018  if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
7019  break;
7020 // hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
7021  case HIP_API_ID_hipMemcpy3DAsync:
7022  if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
7023  break;
7024 // hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7025  case HIP_API_ID_hipMemcpyAsync:
7026  break;
7027 // hipMemcpyAtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
7028  case HIP_API_ID_hipMemcpyAtoA:
7029  break;
7030 // hipMemcpyAtoD[('hipDeviceptr_t', 'dstDevice'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
7031  case HIP_API_ID_hipMemcpyAtoD:
7032  break;
7033 // hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
7034  case HIP_API_ID_hipMemcpyAtoH:
7035  break;
7036 // hipMemcpyAtoHAsync[('void*', 'dstHost'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
7037  case HIP_API_ID_hipMemcpyAtoHAsync:
7038  break;
7039 // hipMemcpyDtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipDeviceptr_t', 'srcDevice'), ('size_t', 'ByteCount')]
7040  case HIP_API_ID_hipMemcpyDtoA:
7041  break;
7042 // hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
7043  case HIP_API_ID_hipMemcpyDtoD:
7044  break;
7045 // hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7046  case HIP_API_ID_hipMemcpyDtoDAsync:
7047  break;
7048 // hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
7049  case HIP_API_ID_hipMemcpyDtoH:
7050  break;
7051 // hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7052  case HIP_API_ID_hipMemcpyDtoHAsync:
7053  break;
7054 // hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
7055  case HIP_API_ID_hipMemcpyFromArray:
7056  break;
7057 // hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
7058  case HIP_API_ID_hipMemcpyFromSymbol:
7059  break;
7060 // hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7061  case HIP_API_ID_hipMemcpyFromSymbolAsync:
7062  break;
7063 // hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
7064  case HIP_API_ID_hipMemcpyHtoA:
7065  break;
7066 // hipMemcpyHtoAAsync[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
7067  case HIP_API_ID_hipMemcpyHtoAAsync:
7068  break;
7069 // hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
7070  case HIP_API_ID_hipMemcpyHtoD:
7071  break;
7072 // hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7073  case HIP_API_ID_hipMemcpyHtoDAsync:
7074  break;
7075 // hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
7076  case HIP_API_ID_hipMemcpyParam2D:
7077  if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
7078  break;
7079 // hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
7080  case HIP_API_ID_hipMemcpyParam2DAsync:
7081  if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
7082  break;
7083 // hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
7084  case HIP_API_ID_hipMemcpyPeer:
7085  break;
7086 // hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7087  case HIP_API_ID_hipMemcpyPeerAsync:
7088  break;
7089 // hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
7090  case HIP_API_ID_hipMemcpyToArray:
7091  break;
7092 // hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
7093  case HIP_API_ID_hipMemcpyToSymbol:
7094  break;
7095 // hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7096  case HIP_API_ID_hipMemcpyToSymbolAsync:
7097  break;
7098 // hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7099  case HIP_API_ID_hipMemcpyWithStream:
7100  break;
7101 // hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
7102  case HIP_API_ID_hipMemset:
7103  break;
7104 // hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
7105  case HIP_API_ID_hipMemset2D:
7106  break;
7107 // hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
7108  case HIP_API_ID_hipMemset2DAsync:
7109  break;
7110 // hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
7111  case HIP_API_ID_hipMemset3D:
7112  break;
7113 // hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
7114  case HIP_API_ID_hipMemset3DAsync:
7115  break;
7116 // hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7117  case HIP_API_ID_hipMemsetAsync:
7118  break;
7119 // hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
7120  case HIP_API_ID_hipMemsetD16:
7121  break;
7122 // hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
7123  case HIP_API_ID_hipMemsetD16Async:
7124  break;
7125 // hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
7126  case HIP_API_ID_hipMemsetD32:
7127  break;
7128 // hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
7129  case HIP_API_ID_hipMemsetD32Async:
7130  break;
7131 // hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
7132  case HIP_API_ID_hipMemsetD8:
7133  break;
7134 // hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
7135  case HIP_API_ID_hipMemsetD8Async:
7136  break;
7137 // hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
7138  case HIP_API_ID_hipMipmappedArrayCreate:
7139  if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
7140  if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
7141  break;
7142 // hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
7143  case HIP_API_ID_hipMipmappedArrayDestroy:
7144  break;
7145 // hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
7146  case HIP_API_ID_hipMipmappedArrayGetLevel:
7147  if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
7148  break;
7149 // hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
7150  case HIP_API_ID_hipModuleGetFunction:
7151  if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
7152  if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
7153  break;
7154 // hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
7155  case HIP_API_ID_hipModuleGetGlobal:
7156  if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
7157  if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
7158  if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
7159  break;
7160 // hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
7161  case HIP_API_ID_hipModuleGetTexRef:
7162  if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
7163  if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
7164  break;
7165 // hipModuleLaunchCooperativeKernel[('hipFunction_t', 'f'), ('unsigned int', 'gridDimX'), ('unsigned int', 'gridDimY'), ('unsigned int', 'gridDimZ'), ('unsigned int', 'blockDimX'), ('unsigned int', 'blockDimY'), ('unsigned int', 'blockDimZ'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream'), ('void**', 'kernelParams')]
7166  case HIP_API_ID_hipModuleLaunchCooperativeKernel:
7167  if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
7168  break;
7169 // hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
7170  case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
7171  if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
7172  break;
7173 // hipModuleLaunchKernel[('hipFunction_t', 'f'), ('unsigned int', 'gridDimX'), ('unsigned int', 'gridDimY'), ('unsigned int', 'gridDimZ'), ('unsigned int', 'blockDimX'), ('unsigned int', 'blockDimY'), ('unsigned int', 'blockDimZ'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream'), ('void**', 'kernelParams'), ('void**', 'extra')]
7174  case HIP_API_ID_hipModuleLaunchKernel:
7175  if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
7176  if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
7177  break;
7178 // hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
7179  case HIP_API_ID_hipModuleLoad:
7180  if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
7181  if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
7182  break;
7183 // hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
7184  case HIP_API_ID_hipModuleLoadData:
7185  if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
7186  break;
7187 // hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
7188  case HIP_API_ID_hipModuleLoadDataEx:
7189  if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
7190  if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
7191  if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
7192  break;
7193 // hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
7194  case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
7195  if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7196  break;
7197 // hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
7198  case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7199  if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7200  break;
7201 // hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
7202  case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
7203  if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
7204  if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
7205  break;
7206 // hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
7207  case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
7208  if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
7209  if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
7210  break;
7211 // hipModuleUnload[('hipModule_t', 'module')]
7212  case HIP_API_ID_hipModuleUnload:
7213  break;
7214 // hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
7215  case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
7216  if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7217  break;
7218 // hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
7219  case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7220  if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7221  break;
7222 // hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
7223  case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
7224  if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
7225  if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
7226  break;
7227 // hipPeekAtLastError[]
7228  case HIP_API_ID_hipPeekAtLastError:
7229  break;
7230 // hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
7231  case HIP_API_ID_hipPointerGetAttribute:
7232  break;
7233 // hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
7234  case HIP_API_ID_hipPointerGetAttributes:
7235  if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
7236  break;
7237 // hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
7238  case HIP_API_ID_hipPointerSetAttribute:
7239  break;
7240 // hipProfilerStart[]
7241  case HIP_API_ID_hipProfilerStart:
7242  break;
7243 // hipProfilerStop[]
7244  case HIP_API_ID_hipProfilerStop:
7245  break;
7246 // hipRuntimeGetVersion[('int*', 'runtimeVersion')]
7247  case HIP_API_ID_hipRuntimeGetVersion:
7248  if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
7249  break;
7250 // hipSetDevice[('int', 'deviceId')]
7251  case HIP_API_ID_hipSetDevice:
7252  break;
7253 // hipSetDeviceFlags[('unsigned int', 'flags')]
7254  case HIP_API_ID_hipSetDeviceFlags:
7255  break;
7256 // hipSetValidDevices[('int*', 'device_arr'), ('int', 'len')]
7257  case HIP_API_ID_hipSetValidDevices:
7258  if (data->args.hipSetValidDevices.device_arr) data->args.hipSetValidDevices.device_arr__val = *(data->args.hipSetValidDevices.device_arr);
7259  break;
7260 // hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
7261  case HIP_API_ID_hipSetupArgument:
7262  break;
7263 // hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
7264  case HIP_API_ID_hipSignalExternalSemaphoresAsync:
7265  if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
7266  if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
7267  break;
7268 // hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
7269  case HIP_API_ID_hipStreamAddCallback:
7270  break;
7271 // hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
7272  case HIP_API_ID_hipStreamAttachMemAsync:
7273  break;
7274 // hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
7275  case HIP_API_ID_hipStreamBeginCapture:
7276  break;
7277 // hipStreamBeginCaptureToGraph[('hipStream_t', 'stream'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'dependencies'), ('const hipGraphEdgeData*', 'dependencyData'), ('size_t', 'numDependencies'), ('hipStreamCaptureMode', 'mode')]
7278  case HIP_API_ID_hipStreamBeginCaptureToGraph:
7279  if (data->args.hipStreamBeginCaptureToGraph.dependencies) data->args.hipStreamBeginCaptureToGraph.dependencies__val = *(data->args.hipStreamBeginCaptureToGraph.dependencies);
7280  if (data->args.hipStreamBeginCaptureToGraph.dependencyData) data->args.hipStreamBeginCaptureToGraph.dependencyData__val = *(data->args.hipStreamBeginCaptureToGraph.dependencyData);
7281  break;
7282 // hipStreamCreate[('hipStream_t*', 'stream')]
7283  case HIP_API_ID_hipStreamCreate:
7284  if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
7285  break;
7286 // hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
7287  case HIP_API_ID_hipStreamCreateWithFlags:
7288  if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
7289  break;
7290 // hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
7291  case HIP_API_ID_hipStreamCreateWithPriority:
7292  if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
7293  break;
7294 // hipStreamDestroy[('hipStream_t', 'stream')]
7295  case HIP_API_ID_hipStreamDestroy:
7296  break;
7297 // hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
7298  case HIP_API_ID_hipStreamEndCapture:
7299  if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7300  break;
7301 // hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
7302  case HIP_API_ID_hipStreamGetCaptureInfo:
7303  if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7304  if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7305  break;
7306 // hipStreamGetCaptureInfo_v2[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'captureStatus_out'), ('unsigned long long*', 'id_out'), ('hipGraph_t*', 'graph_out'), ('const hipGraphNode_t**', 'dependencies_out'), ('size_t*', 'numDependencies_out')]
7307  case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7308  if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7309  if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7310  if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7311  if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7312  if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7313  break;
7314 // hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
7315  case HIP_API_ID_hipStreamGetDevice:
7316  if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7317  break;
7318 // hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
7319  case HIP_API_ID_hipStreamGetFlags:
7320  if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7321  break;
7322 // hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
7323  case HIP_API_ID_hipStreamGetPriority:
7324  if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7325  break;
7326 // hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
7327  case HIP_API_ID_hipStreamIsCapturing:
7328  if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7329  break;
7330 // hipStreamQuery[('hipStream_t', 'stream')]
7331  case HIP_API_ID_hipStreamQuery:
7332  break;
7333 // hipStreamSynchronize[('hipStream_t', 'stream')]
7334  case HIP_API_ID_hipStreamSynchronize:
7335  break;
7336 // hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
7337  case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7338  if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7339  break;
7340 // hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
7341  case HIP_API_ID_hipStreamWaitEvent:
7342  break;
7343 // hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
7344  case HIP_API_ID_hipStreamWaitValue32:
7345  break;
7346 // hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
7347  case HIP_API_ID_hipStreamWaitValue64:
7348  break;
7349 // hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
7350  case HIP_API_ID_hipStreamWriteValue32:
7351  break;
7352 // hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
7353  case HIP_API_ID_hipStreamWriteValue64:
7354  break;
7355 // hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
7356  case HIP_API_ID_hipTexRefGetAddress:
7357  if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7358  if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7359  break;
7360 // hipTexRefGetArray[('hipArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
7361  case HIP_API_ID_hipTexRefGetArray:
7362  if (data->args.hipTexRefGetArray.pArray) data->args.hipTexRefGetArray.pArray__val = *(data->args.hipTexRefGetArray.pArray);
7363  if (data->args.hipTexRefGetArray.texRef) data->args.hipTexRefGetArray.texRef__val = *(data->args.hipTexRefGetArray.texRef);
7364  break;
7365 // hipTexRefGetBorderColor[('float*', 'pBorderColor'), ('const textureReference*', 'texRef')]
7366  case HIP_API_ID_hipTexRefGetBorderColor:
7367  if (data->args.hipTexRefGetBorderColor.pBorderColor) data->args.hipTexRefGetBorderColor.pBorderColor__val = *(data->args.hipTexRefGetBorderColor.pBorderColor);
7368  if (data->args.hipTexRefGetBorderColor.texRef) data->args.hipTexRefGetBorderColor.texRef__val = *(data->args.hipTexRefGetBorderColor.texRef);
7369  break;
7370 // hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
7371  case HIP_API_ID_hipTexRefGetFlags:
7372  if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7373  if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7374  break;
7375 // hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
7376  case HIP_API_ID_hipTexRefGetFormat:
7377  if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7378  if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7379  if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7380  break;
7381 // hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
7382  case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7383  if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7384  if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7385  break;
7386 // hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
7387  case HIP_API_ID_hipTexRefGetMipMappedArray:
7388  if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7389  if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7390  break;
7391 // hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
7392  case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7393  if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7394  if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7395  break;
7396 // hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
7397  case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7398  if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7399  if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7400  if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7401  break;
7402 // hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
7403  case HIP_API_ID_hipTexRefSetAddress:
7404  if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7405  if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7406  break;
7407 // hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
7408  case HIP_API_ID_hipTexRefSetAddress2D:
7409  if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7410  if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7411  break;
7412 // hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
7413  case HIP_API_ID_hipTexRefSetArray:
7414  if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7415  break;
7416 // hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
7417  case HIP_API_ID_hipTexRefSetBorderColor:
7418  if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7419  if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7420  break;
7421 // hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
7422  case HIP_API_ID_hipTexRefSetFlags:
7423  if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7424  break;
7425 // hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
7426  case HIP_API_ID_hipTexRefSetFormat:
7427  if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7428  break;
7429 // hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
7430  case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7431  if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7432  break;
7433 // hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
7434  case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7435  if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7436  break;
7437 // hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
7438  case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7439  if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7440  break;
7441 // hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
7442  case HIP_API_ID_hipTexRefSetMipmappedArray:
7443  if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7444  if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7445  break;
7446 // hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
7447  case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7448  if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7449  break;
7450 // hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
7451  case HIP_API_ID_hipUserObjectCreate:
7452  if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7453  break;
7454 // hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7455  case HIP_API_ID_hipUserObjectRelease:
7456  break;
7457 // hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7458  case HIP_API_ID_hipUserObjectRetain:
7459  break;
7460 // hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
7461  case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7462  if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7463  if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7464  break;
7465  default: break;
7466  };
7467 }
7468 
7469 #include <sstream>
7470 #include <string>
7471 // HIP API string method, method name and parameters
7472 static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* data) {
7473  std::ostringstream oss;
7474  switch (id) {
7475  case HIP_API_ID___hipPopCallConfiguration:
7476  oss << "__hipPopCallConfiguration(";
7477  if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss << "gridDim=NULL";
7478  else { oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7479  if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss << ", blockDim=NULL";
7480  else { oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7481  if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss << ", sharedMem=NULL";
7482  else { oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7483  if (data->args.__hipPopCallConfiguration.stream == NULL) oss << ", stream=NULL";
7484  else { oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7485  oss << ")";
7486  break;
7487  case HIP_API_ID___hipPushCallConfiguration:
7488  oss << "__hipPushCallConfiguration(";
7489  oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7490  oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7491  oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7492  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7493  oss << ")";
7494  break;
7495  case HIP_API_ID_hipArray3DCreate:
7496  oss << "hipArray3DCreate(";
7497  if (data->args.hipArray3DCreate.array == NULL) oss << "array=NULL";
7498  else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.array__val); }
7499  if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7500  else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7501  oss << ")";
7502  break;
7503  case HIP_API_ID_hipArray3DGetDescriptor:
7504  oss << "hipArray3DGetDescriptor(";
7505  if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7506  else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7507  oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7508  oss << ")";
7509  break;
7510  case HIP_API_ID_hipArrayCreate:
7511  oss << "hipArrayCreate(";
7512  if (data->args.hipArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
7513  else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pHandle__val); }
7514  if (data->args.hipArrayCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7515  else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7516  oss << ")";
7517  break;
7518  case HIP_API_ID_hipArrayDestroy:
7519  oss << "hipArrayDestroy(";
7520  oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7521  oss << ")";
7522  break;
7523  case HIP_API_ID_hipArrayGetDescriptor:
7524  oss << "hipArrayGetDescriptor(";
7525  if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7526  else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7527  oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7528  oss << ")";
7529  break;
7530  case HIP_API_ID_hipArrayGetInfo:
7531  oss << "hipArrayGetInfo(";
7532  if (data->args.hipArrayGetInfo.desc == NULL) oss << "desc=NULL";
7533  else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7534  if (data->args.hipArrayGetInfo.extent == NULL) oss << ", extent=NULL";
7535  else { oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7536  if (data->args.hipArrayGetInfo.flags == NULL) oss << ", flags=NULL";
7537  else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7538  oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7539  oss << ")";
7540  break;
7541  case HIP_API_ID_hipChooseDeviceR0000:
7542  oss << "hipChooseDeviceR0000(";
7543  if (data->args.hipChooseDeviceR0000.device == NULL) oss << "device=NULL";
7544  else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7545  if (data->args.hipChooseDeviceR0000.prop == NULL) oss << ", prop=NULL";
7546  else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7547  oss << ")";
7548  break;
7549  case HIP_API_ID_hipChooseDeviceR0600:
7550  oss << "hipChooseDeviceR0600(";
7551  if (data->args.hipChooseDeviceR0600.device == NULL) oss << "device=NULL";
7552  else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7553  if (data->args.hipChooseDeviceR0600.prop == NULL) oss << ", prop=NULL";
7554  else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7555  oss << ")";
7556  break;
7557  case HIP_API_ID_hipConfigureCall:
7558  oss << "hipConfigureCall(";
7559  oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7560  oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7561  oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7562  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7563  oss << ")";
7564  break;
7565  case HIP_API_ID_hipCreateSurfaceObject:
7566  oss << "hipCreateSurfaceObject(";
7567  if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss << "pSurfObject=NULL";
7568  else { oss << "pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7569  if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss << ", pResDesc=NULL";
7570  else { oss << ", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7571  oss << ")";
7572  break;
7573  case HIP_API_ID_hipCtxCreate:
7574  oss << "hipCtxCreate(";
7575  if (data->args.hipCtxCreate.ctx == NULL) oss << "ctx=NULL";
7576  else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7577  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7578  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7579  oss << ")";
7580  break;
7581  case HIP_API_ID_hipCtxDestroy:
7582  oss << "hipCtxDestroy(";
7583  oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7584  oss << ")";
7585  break;
7586  case HIP_API_ID_hipCtxDisablePeerAccess:
7587  oss << "hipCtxDisablePeerAccess(";
7588  oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7589  oss << ")";
7590  break;
7591  case HIP_API_ID_hipCtxEnablePeerAccess:
7592  oss << "hipCtxEnablePeerAccess(";
7593  oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7594  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7595  oss << ")";
7596  break;
7597  case HIP_API_ID_hipCtxGetApiVersion:
7598  oss << "hipCtxGetApiVersion(";
7599  oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7600  if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss << ", apiVersion=NULL";
7601  else { oss << ", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7602  oss << ")";
7603  break;
7604  case HIP_API_ID_hipCtxGetCacheConfig:
7605  oss << "hipCtxGetCacheConfig(";
7606  if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7607  else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7608  oss << ")";
7609  break;
7610  case HIP_API_ID_hipCtxGetCurrent:
7611  oss << "hipCtxGetCurrent(";
7612  if (data->args.hipCtxGetCurrent.ctx == NULL) oss << "ctx=NULL";
7613  else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7614  oss << ")";
7615  break;
7616  case HIP_API_ID_hipCtxGetDevice:
7617  oss << "hipCtxGetDevice(";
7618  if (data->args.hipCtxGetDevice.device == NULL) oss << "device=NULL";
7619  else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7620  oss << ")";
7621  break;
7622  case HIP_API_ID_hipCtxGetFlags:
7623  oss << "hipCtxGetFlags(";
7624  if (data->args.hipCtxGetFlags.flags == NULL) oss << "flags=NULL";
7625  else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7626  oss << ")";
7627  break;
7628  case HIP_API_ID_hipCtxGetSharedMemConfig:
7629  oss << "hipCtxGetSharedMemConfig(";
7630  if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7631  else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7632  oss << ")";
7633  break;
7634  case HIP_API_ID_hipCtxPopCurrent:
7635  oss << "hipCtxPopCurrent(";
7636  if (data->args.hipCtxPopCurrent.ctx == NULL) oss << "ctx=NULL";
7637  else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7638  oss << ")";
7639  break;
7640  case HIP_API_ID_hipCtxPushCurrent:
7641  oss << "hipCtxPushCurrent(";
7642  oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7643  oss << ")";
7644  break;
7645  case HIP_API_ID_hipCtxSetCacheConfig:
7646  oss << "hipCtxSetCacheConfig(";
7647  oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7648  oss << ")";
7649  break;
7650  case HIP_API_ID_hipCtxSetCurrent:
7651  oss << "hipCtxSetCurrent(";
7652  oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7653  oss << ")";
7654  break;
7655  case HIP_API_ID_hipCtxSetSharedMemConfig:
7656  oss << "hipCtxSetSharedMemConfig(";
7657  oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7658  oss << ")";
7659  break;
7660  case HIP_API_ID_hipCtxSynchronize:
7661  oss << "hipCtxSynchronize(";
7662  oss << ")";
7663  break;
7664  case HIP_API_ID_hipDestroyExternalMemory:
7665  oss << "hipDestroyExternalMemory(";
7666  oss << "extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7667  oss << ")";
7668  break;
7669  case HIP_API_ID_hipDestroyExternalSemaphore:
7670  oss << "hipDestroyExternalSemaphore(";
7671  oss << "extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7672  oss << ")";
7673  break;
7674  case HIP_API_ID_hipDestroySurfaceObject:
7675  oss << "hipDestroySurfaceObject(";
7676  oss << "surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7677  oss << ")";
7678  break;
7679  case HIP_API_ID_hipDeviceCanAccessPeer:
7680  oss << "hipDeviceCanAccessPeer(";
7681  if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss << "canAccessPeer=NULL";
7682  else { oss << "canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7683  oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7684  oss << ", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7685  oss << ")";
7686  break;
7687  case HIP_API_ID_hipDeviceComputeCapability:
7688  oss << "hipDeviceComputeCapability(";
7689  if (data->args.hipDeviceComputeCapability.major == NULL) oss << "major=NULL";
7690  else { oss << "major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7691  if (data->args.hipDeviceComputeCapability.minor == NULL) oss << ", minor=NULL";
7692  else { oss << ", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7693  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7694  oss << ")";
7695  break;
7696  case HIP_API_ID_hipDeviceDisablePeerAccess:
7697  oss << "hipDeviceDisablePeerAccess(";
7698  oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7699  oss << ")";
7700  break;
7701  case HIP_API_ID_hipDeviceEnablePeerAccess:
7702  oss << "hipDeviceEnablePeerAccess(";
7703  oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7704  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7705  oss << ")";
7706  break;
7707  case HIP_API_ID_hipDeviceGet:
7708  oss << "hipDeviceGet(";
7709  if (data->args.hipDeviceGet.device == NULL) oss << "device=NULL";
7710  else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7711  oss << ", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7712  oss << ")";
7713  break;
7714  case HIP_API_ID_hipDeviceGetAttribute:
7715  oss << "hipDeviceGetAttribute(";
7716  if (data->args.hipDeviceGetAttribute.pi == NULL) oss << "pi=NULL";
7717  else { oss << "pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7718  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7719  oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7720  oss << ")";
7721  break;
7722  case HIP_API_ID_hipDeviceGetByPCIBusId:
7723  oss << "hipDeviceGetByPCIBusId(";
7724  if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss << "device=NULL";
7725  else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7726  if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss << ", pciBusId=NULL";
7727  else { oss << ", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7728  oss << ")";
7729  break;
7730  case HIP_API_ID_hipDeviceGetCacheConfig:
7731  oss << "hipDeviceGetCacheConfig(";
7732  if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7733  else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7734  oss << ")";
7735  break;
7736  case HIP_API_ID_hipDeviceGetDefaultMemPool:
7737  oss << "hipDeviceGetDefaultMemPool(";
7738  if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7739  else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7740  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7741  oss << ")";
7742  break;
7743  case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7744  oss << "hipDeviceGetGraphMemAttribute(";
7745  oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7746  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7747  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7748  oss << ")";
7749  break;
7750  case HIP_API_ID_hipDeviceGetLimit:
7751  oss << "hipDeviceGetLimit(";
7752  if (data->args.hipDeviceGetLimit.pValue == NULL) oss << "pValue=NULL";
7753  else { oss << "pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7754  oss << ", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7755  oss << ")";
7756  break;
7757  case HIP_API_ID_hipDeviceGetMemPool:
7758  oss << "hipDeviceGetMemPool(";
7759  if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7760  else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7761  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7762  oss << ")";
7763  break;
7764  case HIP_API_ID_hipDeviceGetName:
7765  oss << "hipDeviceGetName(";
7766  if (data->args.hipDeviceGetName.name == NULL) oss << "name=NULL";
7767  else { oss << "name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7768  oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7769  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7770  oss << ")";
7771  break;
7772  case HIP_API_ID_hipDeviceGetP2PAttribute:
7773  oss << "hipDeviceGetP2PAttribute(";
7774  if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss << "value=NULL";
7775  else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7776  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7777  oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7778  oss << ", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7779  oss << ")";
7780  break;
7781  case HIP_API_ID_hipDeviceGetPCIBusId:
7782  oss << "hipDeviceGetPCIBusId(";
7783  if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss << "pciBusId=NULL";
7784  else { oss << "pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7785  oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7786  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7787  oss << ")";
7788  break;
7789  case HIP_API_ID_hipDeviceGetSharedMemConfig:
7790  oss << "hipDeviceGetSharedMemConfig(";
7791  if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7792  else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7793  oss << ")";
7794  break;
7795  case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7796  oss << "hipDeviceGetStreamPriorityRange(";
7797  if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss << "leastPriority=NULL";
7798  else { oss << "leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7799  if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss << ", greatestPriority=NULL";
7800  else { oss << ", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7801  oss << ")";
7802  break;
7803  case HIP_API_ID_hipDeviceGetUuid:
7804  oss << "hipDeviceGetUuid(";
7805  if (data->args.hipDeviceGetUuid.uuid == NULL) oss << "uuid=NULL";
7806  else { oss << "uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7807  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7808  oss << ")";
7809  break;
7810  case HIP_API_ID_hipDeviceGraphMemTrim:
7811  oss << "hipDeviceGraphMemTrim(";
7812  oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7813  oss << ")";
7814  break;
7815  case HIP_API_ID_hipDevicePrimaryCtxGetState:
7816  oss << "hipDevicePrimaryCtxGetState(";
7817  oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7818  if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss << ", flags=NULL";
7819  else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7820  if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss << ", active=NULL";
7821  else { oss << ", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7822  oss << ")";
7823  break;
7824  case HIP_API_ID_hipDevicePrimaryCtxRelease:
7825  oss << "hipDevicePrimaryCtxRelease(";
7826  oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7827  oss << ")";
7828  break;
7829  case HIP_API_ID_hipDevicePrimaryCtxReset:
7830  oss << "hipDevicePrimaryCtxReset(";
7831  oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7832  oss << ")";
7833  break;
7834  case HIP_API_ID_hipDevicePrimaryCtxRetain:
7835  oss << "hipDevicePrimaryCtxRetain(";
7836  if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss << "pctx=NULL";
7837  else { oss << "pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7838  oss << ", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7839  oss << ")";
7840  break;
7841  case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7842  oss << "hipDevicePrimaryCtxSetFlags(";
7843  oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7844  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7845  oss << ")";
7846  break;
7847  case HIP_API_ID_hipDeviceReset:
7848  oss << "hipDeviceReset(";
7849  oss << ")";
7850  break;
7851  case HIP_API_ID_hipDeviceSetCacheConfig:
7852  oss << "hipDeviceSetCacheConfig(";
7853  oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7854  oss << ")";
7855  break;
7856  case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7857  oss << "hipDeviceSetGraphMemAttribute(";
7858  oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7859  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7860  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7861  oss << ")";
7862  break;
7863  case HIP_API_ID_hipDeviceSetLimit:
7864  oss << "hipDeviceSetLimit(";
7865  oss << "limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7866  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7867  oss << ")";
7868  break;
7869  case HIP_API_ID_hipDeviceSetMemPool:
7870  oss << "hipDeviceSetMemPool(";
7871  oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7872  oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7873  oss << ")";
7874  break;
7875  case HIP_API_ID_hipDeviceSetSharedMemConfig:
7876  oss << "hipDeviceSetSharedMemConfig(";
7877  oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7878  oss << ")";
7879  break;
7880  case HIP_API_ID_hipDeviceSynchronize:
7881  oss << "hipDeviceSynchronize(";
7882  oss << ")";
7883  break;
7884  case HIP_API_ID_hipDeviceTotalMem:
7885  oss << "hipDeviceTotalMem(";
7886  if (data->args.hipDeviceTotalMem.bytes == NULL) oss << "bytes=NULL";
7887  else { oss << "bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7888  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7889  oss << ")";
7890  break;
7891  case HIP_API_ID_hipDriverGetVersion:
7892  oss << "hipDriverGetVersion(";
7893  if (data->args.hipDriverGetVersion.driverVersion == NULL) oss << "driverVersion=NULL";
7894  else { oss << "driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7895  oss << ")";
7896  break;
7897  case HIP_API_ID_hipDrvGraphAddMemcpyNode:
7898  oss << "hipDrvGraphAddMemcpyNode(";
7899  if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
7900  else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
7901  oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
7902  if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss << ", dependencies=NULL";
7903  else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
7904  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
7905  if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss << ", copyParams=NULL";
7906  else { oss << ", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
7907  oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
7908  oss << ")";
7909  break;
7910  case HIP_API_ID_hipDrvGraphAddMemsetNode:
7911  oss << "hipDrvGraphAddMemsetNode(";
7912  if (data->args.hipDrvGraphAddMemsetNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
7913  else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.phGraphNode__val); }
7914  oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.hGraph);
7915  if (data->args.hipDrvGraphAddMemsetNode.dependencies == NULL) oss << ", dependencies=NULL";
7916  else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.dependencies__val); }
7917  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.numDependencies);
7918  if (data->args.hipDrvGraphAddMemsetNode.memsetParams == NULL) oss << ", memsetParams=NULL";
7919  else { oss << ", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.memsetParams__val); }
7920  oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
7921  oss << ")";
7922  break;
7923  case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7924  oss << "hipDrvMemcpy2DUnaligned(";
7925  if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss << "pCopy=NULL";
7926  else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7927  oss << ")";
7928  break;
7929  case HIP_API_ID_hipDrvMemcpy3D:
7930  oss << "hipDrvMemcpy3D(";
7931  if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss << "pCopy=NULL";
7932  else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7933  oss << ")";
7934  break;
7935  case HIP_API_ID_hipDrvMemcpy3DAsync:
7936  oss << "hipDrvMemcpy3DAsync(";
7937  if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss << "pCopy=NULL";
7938  else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7939  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7940  oss << ")";
7941  break;
7942  case HIP_API_ID_hipDrvPointerGetAttributes:
7943  oss << "hipDrvPointerGetAttributes(";
7944  oss << "numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7945  if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss << ", attributes=NULL";
7946  else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7947  if (data->args.hipDrvPointerGetAttributes.data == NULL) oss << ", data=NULL";
7948  else { oss << ", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7949  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7950  oss << ")";
7951  break;
7952  case HIP_API_ID_hipEventCreate:
7953  oss << "hipEventCreate(";
7954  if (data->args.hipEventCreate.event == NULL) oss << "event=NULL";
7955  else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7956  oss << ")";
7957  break;
7958  case HIP_API_ID_hipEventCreateWithFlags:
7959  oss << "hipEventCreateWithFlags(";
7960  if (data->args.hipEventCreateWithFlags.event == NULL) oss << "event=NULL";
7961  else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7962  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7963  oss << ")";
7964  break;
7965  case HIP_API_ID_hipEventDestroy:
7966  oss << "hipEventDestroy(";
7967  oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7968  oss << ")";
7969  break;
7970  case HIP_API_ID_hipEventElapsedTime:
7971  oss << "hipEventElapsedTime(";
7972  if (data->args.hipEventElapsedTime.ms == NULL) oss << "ms=NULL";
7973  else { oss << "ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7974  oss << ", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7975  oss << ", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7976  oss << ")";
7977  break;
7978  case HIP_API_ID_hipEventQuery:
7979  oss << "hipEventQuery(";
7980  oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7981  oss << ")";
7982  break;
7983  case HIP_API_ID_hipEventRecord:
7984  oss << "hipEventRecord(";
7985  oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7986  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7987  oss << ")";
7988  break;
7989  case HIP_API_ID_hipEventSynchronize:
7990  oss << "hipEventSynchronize(";
7991  oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7992  oss << ")";
7993  break;
7994  case HIP_API_ID_hipExtGetLastError:
7995  oss << "hipExtGetLastError(";
7996  oss << ")";
7997  break;
7998  case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7999  oss << "hipExtGetLinkTypeAndHopCount(";
8000  oss << "device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
8001  oss << ", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
8002  if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss << ", linktype=NULL";
8003  else { oss << ", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
8004  if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss << ", hopcount=NULL";
8005  else { oss << ", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
8006  oss << ")";
8007  break;
8008  case HIP_API_ID_hipExtLaunchKernel:
8009  oss << "hipExtLaunchKernel(";
8010  oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
8011  oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
8012  oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
8013  if (data->args.hipExtLaunchKernel.args == NULL) oss << ", args=NULL";
8014  else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
8015  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
8016  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
8017  oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
8018  oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
8019  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
8020  oss << ")";
8021  break;
8022  case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
8023  oss << "hipExtLaunchMultiKernelMultiDevice(";
8024  if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
8025  else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
8026  oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
8027  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
8028  oss << ")";
8029  break;
8030  case HIP_API_ID_hipExtMallocWithFlags:
8031  oss << "hipExtMallocWithFlags(";
8032  if (data->args.hipExtMallocWithFlags.ptr == NULL) oss << "ptr=NULL";
8033  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
8034  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
8035  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
8036  oss << ")";
8037  break;
8038  case HIP_API_ID_hipExtModuleLaunchKernel:
8039  oss << "hipExtModuleLaunchKernel(";
8040  oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
8041  oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
8042  oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
8043  oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
8044  oss << ", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
8045  oss << ", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
8046  oss << ", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
8047  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
8048  oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
8049  if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8050  else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
8051  if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
8052  else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
8053  oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
8054  oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
8055  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
8056  oss << ")";
8057  break;
8058  case HIP_API_ID_hipExtStreamCreateWithCUMask:
8059  oss << "hipExtStreamCreateWithCUMask(";
8060  if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss << "stream=NULL";
8061  else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
8062  oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
8063  if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss << ", cuMask=NULL";
8064  else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
8065  oss << ")";
8066  break;
8067  case HIP_API_ID_hipExtStreamGetCUMask:
8068  oss << "hipExtStreamGetCUMask(";
8069  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
8070  oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
8071  if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss << ", cuMask=NULL";
8072  else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
8073  oss << ")";
8074  break;
8075  case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
8076  oss << "hipExternalMemoryGetMappedBuffer(";
8077  if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss << "devPtr=NULL";
8078  else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
8079  oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
8080  if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss << ", bufferDesc=NULL";
8081  else { oss << ", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
8082  oss << ")";
8083  break;
8084  case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
8085  oss << "hipExternalMemoryGetMappedMipmappedArray(";
8086  if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss << "mipmap=NULL";
8087  else { oss << "mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
8088  oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
8089  if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss << ", mipmapDesc=NULL";
8090  else { oss << ", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
8091  oss << ")";
8092  break;
8093  case HIP_API_ID_hipFree:
8094  oss << "hipFree(";
8095  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
8096  oss << ")";
8097  break;
8098  case HIP_API_ID_hipFreeArray:
8099  oss << "hipFreeArray(";
8100  oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
8101  oss << ")";
8102  break;
8103  case HIP_API_ID_hipFreeAsync:
8104  oss << "hipFreeAsync(";
8105  oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
8106  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
8107  oss << ")";
8108  break;
8109  case HIP_API_ID_hipFreeHost:
8110  oss << "hipFreeHost(";
8111  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
8112  oss << ")";
8113  break;
8114  case HIP_API_ID_hipFreeMipmappedArray:
8115  oss << "hipFreeMipmappedArray(";
8116  oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
8117  oss << ")";
8118  break;
8119  case HIP_API_ID_hipFuncGetAttribute:
8120  oss << "hipFuncGetAttribute(";
8121  if (data->args.hipFuncGetAttribute.value == NULL) oss << "value=NULL";
8122  else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
8123  oss << ", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
8124  oss << ", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
8125  oss << ")";
8126  break;
8127  case HIP_API_ID_hipFuncGetAttributes:
8128  oss << "hipFuncGetAttributes(";
8129  if (data->args.hipFuncGetAttributes.attr == NULL) oss << "attr=NULL";
8130  else { oss << "attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
8131  oss << ", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
8132  oss << ")";
8133  break;
8134  case HIP_API_ID_hipFuncSetAttribute:
8135  oss << "hipFuncSetAttribute(";
8136  oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
8137  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
8138  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
8139  oss << ")";
8140  break;
8141  case HIP_API_ID_hipFuncSetCacheConfig:
8142  oss << "hipFuncSetCacheConfig(";
8143  oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
8144  oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
8145  oss << ")";
8146  break;
8147  case HIP_API_ID_hipFuncSetSharedMemConfig:
8148  oss << "hipFuncSetSharedMemConfig(";
8149  oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
8150  oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
8151  oss << ")";
8152  break;
8153  case HIP_API_ID_hipGLGetDevices:
8154  oss << "hipGLGetDevices(";
8155  if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss << "pHipDeviceCount=NULL";
8156  else { oss << "pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
8157  if (data->args.hipGLGetDevices.pHipDevices == NULL) oss << ", pHipDevices=NULL";
8158  else { oss << ", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
8159  oss << ", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
8160  oss << ", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
8161  oss << ")";
8162  break;
8163  case HIP_API_ID_hipGetChannelDesc:
8164  oss << "hipGetChannelDesc(";
8165  if (data->args.hipGetChannelDesc.desc == NULL) oss << "desc=NULL";
8166  else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
8167  oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
8168  oss << ")";
8169  break;
8170  case HIP_API_ID_hipGetDevice:
8171  oss << "hipGetDevice(";
8172  if (data->args.hipGetDevice.deviceId == NULL) oss << "deviceId=NULL";
8173  else { oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
8174  oss << ")";
8175  break;
8176  case HIP_API_ID_hipGetDeviceCount:
8177  oss << "hipGetDeviceCount(";
8178  if (data->args.hipGetDeviceCount.count == NULL) oss << "count=NULL";
8179  else { oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
8180  oss << ")";
8181  break;
8182  case HIP_API_ID_hipGetDeviceFlags:
8183  oss << "hipGetDeviceFlags(";
8184  if (data->args.hipGetDeviceFlags.flags == NULL) oss << "flags=NULL";
8185  else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
8186  oss << ")";
8187  break;
8188  case HIP_API_ID_hipGetDevicePropertiesR0000:
8189  oss << "hipGetDevicePropertiesR0000(";
8190  if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss << "prop=NULL";
8191  else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
8192  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
8193  oss << ")";
8194  break;
8195  case HIP_API_ID_hipGetDevicePropertiesR0600:
8196  oss << "hipGetDevicePropertiesR0600(";
8197  if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss << "prop=NULL";
8198  else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
8199  oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
8200  oss << ")";
8201  break;
8202  case HIP_API_ID_hipGetErrorString:
8203  oss << "hipGetErrorString(";
8204  oss << ")";
8205  break;
8206  case HIP_API_ID_hipGetFuncBySymbol:
8207  oss << "hipGetFuncBySymbol(";
8208  if (data->args.hipGetFuncBySymbol.functionPtr == NULL) oss << "functionPtr=NULL";
8209  else { oss << "functionPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.functionPtr__val); }
8210  oss << ", symbolPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.symbolPtr);
8211  oss << ")";
8212  break;
8213  case HIP_API_ID_hipGetLastError:
8214  oss << "hipGetLastError(";
8215  oss << ")";
8216  break;
8217  case HIP_API_ID_hipGetMipmappedArrayLevel:
8218  oss << "hipGetMipmappedArrayLevel(";
8219  if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss << "levelArray=NULL";
8220  else { oss << "levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
8221  oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
8222  oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
8223  oss << ")";
8224  break;
8225  case HIP_API_ID_hipGetProcAddress:
8226  oss << "hipGetProcAddress(";
8227  if (data->args.hipGetProcAddress.symbol == NULL) oss << "symbol=NULL";
8228  else { oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbol__val); }
8229  if (data->args.hipGetProcAddress.pfn == NULL) oss << ", pfn=NULL";
8230  else { oss << ", pfn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.pfn__val); }
8231  oss << ", hipVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.hipVersion);
8232  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.flags);
8233  if (data->args.hipGetProcAddress.symbolStatus == NULL) oss << ", symbolStatus=NULL";
8234  else { oss << ", symbolStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbolStatus__val); }
8235  oss << ")";
8236  break;
8237  case HIP_API_ID_hipGetSymbolAddress:
8238  oss << "hipGetSymbolAddress(";
8239  if (data->args.hipGetSymbolAddress.devPtr == NULL) oss << "devPtr=NULL";
8240  else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
8241  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
8242  oss << ")";
8243  break;
8244  case HIP_API_ID_hipGetSymbolSize:
8245  oss << "hipGetSymbolSize(";
8246  if (data->args.hipGetSymbolSize.size == NULL) oss << "size=NULL";
8247  else { oss << "size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
8248  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
8249  oss << ")";
8250  break;
8251  case HIP_API_ID_hipGraphAddChildGraphNode:
8252  oss << "hipGraphAddChildGraphNode(";
8253  if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8254  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
8255  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
8256  if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8257  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
8258  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
8259  oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
8260  oss << ")";
8261  break;
8262  case HIP_API_ID_hipGraphAddDependencies:
8263  oss << "hipGraphAddDependencies(";
8264  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
8265  if (data->args.hipGraphAddDependencies.from == NULL) oss << ", from=NULL";
8266  else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
8267  if (data->args.hipGraphAddDependencies.to == NULL) oss << ", to=NULL";
8268  else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
8269  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
8270  oss << ")";
8271  break;
8272  case HIP_API_ID_hipGraphAddEmptyNode:
8273  oss << "hipGraphAddEmptyNode(";
8274  if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8275  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
8276  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
8277  if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8278  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
8279  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
8280  oss << ")";
8281  break;
8282  case HIP_API_ID_hipGraphAddEventRecordNode:
8283  oss << "hipGraphAddEventRecordNode(";
8284  if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8285  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
8286  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
8287  if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8288  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
8289  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
8290  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
8291  oss << ")";
8292  break;
8293  case HIP_API_ID_hipGraphAddEventWaitNode:
8294  oss << "hipGraphAddEventWaitNode(";
8295  if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8296  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
8297  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
8298  if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8299  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
8300  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
8301  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
8302  oss << ")";
8303  break;
8304  case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
8305  oss << "hipGraphAddExternalSemaphoresSignalNode(";
8306  if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8307  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
8308  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
8309  if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8310  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
8311  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
8312  if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8313  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
8314  oss << ")";
8315  break;
8316  case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
8317  oss << "hipGraphAddExternalSemaphoresWaitNode(";
8318  if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8319  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
8320  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
8321  if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8322  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
8323  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8324  if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8325  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8326  oss << ")";
8327  break;
8328  case HIP_API_ID_hipGraphAddHostNode:
8329  oss << "hipGraphAddHostNode(";
8330  if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8331  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8332  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8333  if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8334  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8335  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8336  if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8337  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8338  oss << ")";
8339  break;
8340  case HIP_API_ID_hipGraphAddKernelNode:
8341  oss << "hipGraphAddKernelNode(";
8342  if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8343  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8344  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8345  if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8346  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8347  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8348  if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8349  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8350  oss << ")";
8351  break;
8352  case HIP_API_ID_hipGraphAddMemAllocNode:
8353  oss << "hipGraphAddMemAllocNode(";
8354  if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8355  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8356  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8357  if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8358  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8359  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8360  if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8361  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8362  oss << ")";
8363  break;
8364  case HIP_API_ID_hipGraphAddMemFreeNode:
8365  oss << "hipGraphAddMemFreeNode(";
8366  if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8367  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8368  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8369  if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8370  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8371  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8372  oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8373  oss << ")";
8374  break;
8375  case HIP_API_ID_hipGraphAddMemcpyNode:
8376  oss << "hipGraphAddMemcpyNode(";
8377  if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8378  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8379  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8380  if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8381  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8382  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8383  if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss << ", pCopyParams=NULL";
8384  else { oss << ", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8385  oss << ")";
8386  break;
8387  case HIP_API_ID_hipGraphAddMemcpyNode1D:
8388  oss << "hipGraphAddMemcpyNode1D(";
8389  if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss << "pGraphNode=NULL";
8390  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8391  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8392  if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss << ", pDependencies=NULL";
8393  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8394  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8395  oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8396  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8397  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8398  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8399  oss << ")";
8400  break;
8401  case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8402  oss << "hipGraphAddMemcpyNodeFromSymbol(";
8403  if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8404  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8405  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8406  if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8407  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8408  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8409  oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8410  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8411  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8412  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8413  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8414  oss << ")";
8415  break;
8416  case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8417  oss << "hipGraphAddMemcpyNodeToSymbol(";
8418  if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8419  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8420  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8421  if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8422  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8423  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8424  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8425  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8426  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8427  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8428  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8429  oss << ")";
8430  break;
8431  case HIP_API_ID_hipGraphAddMemsetNode:
8432  oss << "hipGraphAddMemsetNode(";
8433  if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8434  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8435  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8436  if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8437  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8438  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8439  if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss << ", pMemsetParams=NULL";
8440  else { oss << ", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8441  oss << ")";
8442  break;
8443  case HIP_API_ID_hipGraphAddNode:
8444  oss << "hipGraphAddNode(";
8445  if (data->args.hipGraphAddNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8446  else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pGraphNode__val); }
8447  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.graph);
8448  if (data->args.hipGraphAddNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8449  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pDependencies__val); }
8450  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.numDependencies);
8451  if (data->args.hipGraphAddNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8452  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.nodeParams__val); }
8453  oss << ")";
8454  break;
8455  case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8456  oss << "hipGraphChildGraphNodeGetGraph(";
8457  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8458  if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss << ", pGraph=NULL";
8459  else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8460  oss << ")";
8461  break;
8462  case HIP_API_ID_hipGraphClone:
8463  oss << "hipGraphClone(";
8464  if (data->args.hipGraphClone.pGraphClone == NULL) oss << "pGraphClone=NULL";
8465  else { oss << "pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8466  oss << ", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8467  oss << ")";
8468  break;
8469  case HIP_API_ID_hipGraphCreate:
8470  oss << "hipGraphCreate(";
8471  if (data->args.hipGraphCreate.pGraph == NULL) oss << "pGraph=NULL";
8472  else { oss << "pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8473  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8474  oss << ")";
8475  break;
8476  case HIP_API_ID_hipGraphDebugDotPrint:
8477  oss << "hipGraphDebugDotPrint(";
8478  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8479  if (data->args.hipGraphDebugDotPrint.path == NULL) oss << ", path=NULL";
8480  else { oss << ", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8481  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8482  oss << ")";
8483  break;
8484  case HIP_API_ID_hipGraphDestroy:
8485  oss << "hipGraphDestroy(";
8486  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8487  oss << ")";
8488  break;
8489  case HIP_API_ID_hipGraphDestroyNode:
8490  oss << "hipGraphDestroyNode(";
8491  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8492  oss << ")";
8493  break;
8494  case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8495  oss << "hipGraphEventRecordNodeGetEvent(";
8496  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8497  if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8498  else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8499  oss << ")";
8500  break;
8501  case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8502  oss << "hipGraphEventRecordNodeSetEvent(";
8503  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8504  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8505  oss << ")";
8506  break;
8507  case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8508  oss << "hipGraphEventWaitNodeGetEvent(";
8509  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8510  if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8511  else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8512  oss << ")";
8513  break;
8514  case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8515  oss << "hipGraphEventWaitNodeSetEvent(";
8516  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8517  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8518  oss << ")";
8519  break;
8520  case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8521  oss << "hipGraphExecChildGraphNodeSetParams(";
8522  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8523  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8524  oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8525  oss << ")";
8526  break;
8527  case HIP_API_ID_hipGraphExecDestroy:
8528  oss << "hipGraphExecDestroy(";
8529  oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8530  oss << ")";
8531  break;
8532  case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8533  oss << "hipGraphExecEventRecordNodeSetEvent(";
8534  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8535  oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8536  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8537  oss << ")";
8538  break;
8539  case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8540  oss << "hipGraphExecEventWaitNodeSetEvent(";
8541  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8542  oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8543  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8544  oss << ")";
8545  break;
8546  case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8547  oss << "hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8548  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8549  oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8550  if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8551  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8552  oss << ")";
8553  break;
8554  case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8555  oss << "hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8556  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8557  oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8558  if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8559  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8560  oss << ")";
8561  break;
8562  case HIP_API_ID_hipGraphExecHostNodeSetParams:
8563  oss << "hipGraphExecHostNodeSetParams(";
8564  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8565  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8566  if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8567  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8568  oss << ")";
8569  break;
8570  case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8571  oss << "hipGraphExecKernelNodeSetParams(";
8572  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8573  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8574  if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8575  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8576  oss << ")";
8577  break;
8578  case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8579  oss << "hipGraphExecMemcpyNodeSetParams(";
8580  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8581  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8582  if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8583  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8584  oss << ")";
8585  break;
8586  case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8587  oss << "hipGraphExecMemcpyNodeSetParams1D(";
8588  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8589  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8590  oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8591  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8592  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8593  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8594  oss << ")";
8595  break;
8596  case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8597  oss << "hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8598  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8599  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8600  oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8601  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8602  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8603  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8604  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8605  oss << ")";
8606  break;
8607  case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8608  oss << "hipGraphExecMemcpyNodeSetParamsToSymbol(";
8609  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8610  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8611  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8612  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8613  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8614  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8615  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8616  oss << ")";
8617  break;
8618  case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8619  oss << "hipGraphExecMemsetNodeSetParams(";
8620  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8621  oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8622  if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8623  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8624  oss << ")";
8625  break;
8626  case HIP_API_ID_hipGraphExecUpdate:
8627  oss << "hipGraphExecUpdate(";
8628  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8629  oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8630  if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss << ", hErrorNode_out=NULL";
8631  else { oss << ", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8632  if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss << ", updateResult_out=NULL";
8633  else { oss << ", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8634  oss << ")";
8635  break;
8636  case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8637  oss << "hipGraphExternalSemaphoresSignalNodeGetParams(";
8638  oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8639  if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8640  else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8641  oss << ")";
8642  break;
8643  case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8644  oss << "hipGraphExternalSemaphoresSignalNodeSetParams(";
8645  oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8646  if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8647  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8648  oss << ")";
8649  break;
8650  case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8651  oss << "hipGraphExternalSemaphoresWaitNodeGetParams(";
8652  oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8653  if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8654  else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8655  oss << ")";
8656  break;
8657  case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8658  oss << "hipGraphExternalSemaphoresWaitNodeSetParams(";
8659  oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8660  if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8661  else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8662  oss << ")";
8663  break;
8664  case HIP_API_ID_hipGraphGetEdges:
8665  oss << "hipGraphGetEdges(";
8666  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8667  if (data->args.hipGraphGetEdges.from == NULL) oss << ", from=NULL";
8668  else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8669  if (data->args.hipGraphGetEdges.to == NULL) oss << ", to=NULL";
8670  else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8671  if (data->args.hipGraphGetEdges.numEdges == NULL) oss << ", numEdges=NULL";
8672  else { oss << ", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8673  oss << ")";
8674  break;
8675  case HIP_API_ID_hipGraphGetNodes:
8676  oss << "hipGraphGetNodes(";
8677  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8678  if (data->args.hipGraphGetNodes.nodes == NULL) oss << ", nodes=NULL";
8679  else { oss << ", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8680  if (data->args.hipGraphGetNodes.numNodes == NULL) oss << ", numNodes=NULL";
8681  else { oss << ", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8682  oss << ")";
8683  break;
8684  case HIP_API_ID_hipGraphGetRootNodes:
8685  oss << "hipGraphGetRootNodes(";
8686  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8687  if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss << ", pRootNodes=NULL";
8688  else { oss << ", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8689  if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss << ", pNumRootNodes=NULL";
8690  else { oss << ", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8691  oss << ")";
8692  break;
8693  case HIP_API_ID_hipGraphHostNodeGetParams:
8694  oss << "hipGraphHostNodeGetParams(";
8695  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8696  if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8697  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8698  oss << ")";
8699  break;
8700  case HIP_API_ID_hipGraphHostNodeSetParams:
8701  oss << "hipGraphHostNodeSetParams(";
8702  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8703  if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8704  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8705  oss << ")";
8706  break;
8707  case HIP_API_ID_hipGraphInstantiate:
8708  oss << "hipGraphInstantiate(";
8709  if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss << "pGraphExec=NULL";
8710  else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8711  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8712  if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss << ", pErrorNode=NULL";
8713  else { oss << ", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8714  if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss << ", pLogBuffer=NULL";
8715  else { oss << ", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8716  oss << ", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8717  oss << ")";
8718  break;
8719  case HIP_API_ID_hipGraphInstantiateWithFlags:
8720  oss << "hipGraphInstantiateWithFlags(";
8721  if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss << "pGraphExec=NULL";
8722  else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8723  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8724  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8725  oss << ")";
8726  break;
8727  case HIP_API_ID_hipGraphInstantiateWithParams:
8728  oss << "hipGraphInstantiateWithParams(";
8729  if (data->args.hipGraphInstantiateWithParams.pGraphExec == NULL) oss << "pGraphExec=NULL";
8730  else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.pGraphExec__val); }
8731  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.graph);
8732  if (data->args.hipGraphInstantiateWithParams.instantiateParams == NULL) oss << ", instantiateParams=NULL";
8733  else { oss << ", instantiateParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.instantiateParams__val); }
8734  oss << ")";
8735  break;
8736  case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8737  oss << "hipGraphKernelNodeCopyAttributes(";
8738  oss << "hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8739  oss << ", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8740  oss << ")";
8741  break;
8742  case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8743  oss << "hipGraphKernelNodeGetAttribute(";
8744  oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8745  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8746  if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss << ", value=NULL";
8747  else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8748  oss << ")";
8749  break;
8750  case HIP_API_ID_hipGraphKernelNodeGetParams:
8751  oss << "hipGraphKernelNodeGetParams(";
8752  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8753  if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8754  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8755  oss << ")";
8756  break;
8757  case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8758  oss << "hipGraphKernelNodeSetAttribute(";
8759  oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8760  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8761  if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss << ", value=NULL";
8762  else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8763  oss << ")";
8764  break;
8765  case HIP_API_ID_hipGraphKernelNodeSetParams:
8766  oss << "hipGraphKernelNodeSetParams(";
8767  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8768  if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8769  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8770  oss << ")";
8771  break;
8772  case HIP_API_ID_hipGraphLaunch:
8773  oss << "hipGraphLaunch(";
8774  oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8775  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8776  oss << ")";
8777  break;
8778  case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8779  oss << "hipGraphMemAllocNodeGetParams(";
8780  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8781  if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8782  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8783  oss << ")";
8784  break;
8785  case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8786  oss << "hipGraphMemFreeNodeGetParams(";
8787  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8788  oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8789  oss << ")";
8790  break;
8791  case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8792  oss << "hipGraphMemcpyNodeGetParams(";
8793  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8794  if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8795  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8796  oss << ")";
8797  break;
8798  case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8799  oss << "hipGraphMemcpyNodeSetParams(";
8800  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8801  if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8802  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8803  oss << ")";
8804  break;
8805  case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8806  oss << "hipGraphMemcpyNodeSetParams1D(";
8807  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8808  oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8809  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8810  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8811  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8812  oss << ")";
8813  break;
8814  case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8815  oss << "hipGraphMemcpyNodeSetParamsFromSymbol(";
8816  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8817  oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8818  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8819  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8820  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8821  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8822  oss << ")";
8823  break;
8824  case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8825  oss << "hipGraphMemcpyNodeSetParamsToSymbol(";
8826  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8827  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8828  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8829  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8830  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8831  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8832  oss << ")";
8833  break;
8834  case HIP_API_ID_hipGraphMemsetNodeGetParams:
8835  oss << "hipGraphMemsetNodeGetParams(";
8836  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8837  if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8838  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8839  oss << ")";
8840  break;
8841  case HIP_API_ID_hipGraphMemsetNodeSetParams:
8842  oss << "hipGraphMemsetNodeSetParams(";
8843  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8844  if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8845  else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8846  oss << ")";
8847  break;
8848  case HIP_API_ID_hipGraphNodeFindInClone:
8849  oss << "hipGraphNodeFindInClone(";
8850  if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss << "pNode=NULL";
8851  else { oss << "pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8852  oss << ", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8853  oss << ", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8854  oss << ")";
8855  break;
8856  case HIP_API_ID_hipGraphNodeGetDependencies:
8857  oss << "hipGraphNodeGetDependencies(";
8858  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8859  if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss << ", pDependencies=NULL";
8860  else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8861  if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss << ", pNumDependencies=NULL";
8862  else { oss << ", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8863  oss << ")";
8864  break;
8865  case HIP_API_ID_hipGraphNodeGetDependentNodes:
8866  oss << "hipGraphNodeGetDependentNodes(";
8867  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8868  if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss << ", pDependentNodes=NULL";
8869  else { oss << ", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8870  if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss << ", pNumDependentNodes=NULL";
8871  else { oss << ", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8872  oss << ")";
8873  break;
8874  case HIP_API_ID_hipGraphNodeGetEnabled:
8875  oss << "hipGraphNodeGetEnabled(";
8876  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8877  oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8878  if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss << ", isEnabled=NULL";
8879  else { oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8880  oss << ")";
8881  break;
8882  case HIP_API_ID_hipGraphNodeGetType:
8883  oss << "hipGraphNodeGetType(";
8884  oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8885  if (data->args.hipGraphNodeGetType.pType == NULL) oss << ", pType=NULL";
8886  else { oss << ", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8887  oss << ")";
8888  break;
8889  case HIP_API_ID_hipGraphNodeSetEnabled:
8890  oss << "hipGraphNodeSetEnabled(";
8891  oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8892  oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8893  oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8894  oss << ")";
8895  break;
8896  case HIP_API_ID_hipGraphReleaseUserObject:
8897  oss << "hipGraphReleaseUserObject(";
8898  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8899  oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8900  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8901  oss << ")";
8902  break;
8903  case HIP_API_ID_hipGraphRemoveDependencies:
8904  oss << "hipGraphRemoveDependencies(";
8905  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8906  if (data->args.hipGraphRemoveDependencies.from == NULL) oss << ", from=NULL";
8907  else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8908  if (data->args.hipGraphRemoveDependencies.to == NULL) oss << ", to=NULL";
8909  else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8910  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8911  oss << ")";
8912  break;
8913  case HIP_API_ID_hipGraphRetainUserObject:
8914  oss << "hipGraphRetainUserObject(";
8915  oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8916  oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8917  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8918  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8919  oss << ")";
8920  break;
8921  case HIP_API_ID_hipGraphUpload:
8922  oss << "hipGraphUpload(";
8923  oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8924  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8925  oss << ")";
8926  break;
8927  case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8928  oss << "hipGraphicsGLRegisterBuffer(";
8929  if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss << "resource=NULL";
8930  else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8931  oss << ", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8932  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8933  oss << ")";
8934  break;
8935  case HIP_API_ID_hipGraphicsGLRegisterImage:
8936  oss << "hipGraphicsGLRegisterImage(";
8937  if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss << "resource=NULL";
8938  else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8939  oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8940  oss << ", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8941  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8942  oss << ")";
8943  break;
8944  case HIP_API_ID_hipGraphicsMapResources:
8945  oss << "hipGraphicsMapResources(";
8946  oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8947  if (data->args.hipGraphicsMapResources.resources == NULL) oss << ", resources=NULL";
8948  else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8949  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8950  oss << ")";
8951  break;
8952  case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8953  oss << "hipGraphicsResourceGetMappedPointer(";
8954  if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss << "devPtr=NULL";
8955  else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8956  if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss << ", size=NULL";
8957  else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8958  oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8959  oss << ")";
8960  break;
8961  case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8962  oss << "hipGraphicsSubResourceGetMappedArray(";
8963  if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss << "array=NULL";
8964  else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8965  oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8966  oss << ", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8967  oss << ", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8968  oss << ")";
8969  break;
8970  case HIP_API_ID_hipGraphicsUnmapResources:
8971  oss << "hipGraphicsUnmapResources(";
8972  oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8973  if (data->args.hipGraphicsUnmapResources.resources == NULL) oss << ", resources=NULL";
8974  else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8975  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8976  oss << ")";
8977  break;
8978  case HIP_API_ID_hipGraphicsUnregisterResource:
8979  oss << "hipGraphicsUnregisterResource(";
8980  oss << "resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8981  oss << ")";
8982  break;
8983  case HIP_API_ID_hipHccModuleLaunchKernel:
8984  oss << "hipHccModuleLaunchKernel(";
8985  oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8986  oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8987  oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8988  oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8989  oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8990  oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8991  oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8992  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8993  oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8994  if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8995  else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8996  if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
8997  else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8998  oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8999  oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
9000  oss << ")";
9001  break;
9002  case HIP_API_ID_hipHostAlloc:
9003  oss << "hipHostAlloc(";
9004  if (data->args.hipHostAlloc.ptr == NULL) oss << "ptr=NULL";
9005  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
9006  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
9007  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
9008  oss << ")";
9009  break;
9010  case HIP_API_ID_hipHostFree:
9011  oss << "hipHostFree(";
9012  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
9013  oss << ")";
9014  break;
9015  case HIP_API_ID_hipHostGetDevicePointer:
9016  oss << "hipHostGetDevicePointer(";
9017  if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss << "devPtr=NULL";
9018  else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
9019  oss << ", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
9020  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
9021  oss << ")";
9022  break;
9023  case HIP_API_ID_hipHostGetFlags:
9024  oss << "hipHostGetFlags(";
9025  if (data->args.hipHostGetFlags.flagsPtr == NULL) oss << "flagsPtr=NULL";
9026  else { oss << "flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
9027  oss << ", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
9028  oss << ")";
9029  break;
9030  case HIP_API_ID_hipHostMalloc:
9031  oss << "hipHostMalloc(";
9032  if (data->args.hipHostMalloc.ptr == NULL) oss << "ptr=NULL";
9033  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
9034  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
9035  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
9036  oss << ")";
9037  break;
9038  case HIP_API_ID_hipHostRegister:
9039  oss << "hipHostRegister(";
9040  oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
9041  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
9042  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
9043  oss << ")";
9044  break;
9045  case HIP_API_ID_hipHostUnregister:
9046  oss << "hipHostUnregister(";
9047  oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
9048  oss << ")";
9049  break;
9050  case HIP_API_ID_hipImportExternalMemory:
9051  oss << "hipImportExternalMemory(";
9052  if (data->args.hipImportExternalMemory.extMem_out == NULL) oss << "extMem_out=NULL";
9053  else { oss << "extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
9054  if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss << ", memHandleDesc=NULL";
9055  else { oss << ", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
9056  oss << ")";
9057  break;
9058  case HIP_API_ID_hipImportExternalSemaphore:
9059  oss << "hipImportExternalSemaphore(";
9060  if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss << "extSem_out=NULL";
9061  else { oss << "extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
9062  if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss << ", semHandleDesc=NULL";
9063  else { oss << ", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
9064  oss << ")";
9065  break;
9066  case HIP_API_ID_hipInit:
9067  oss << "hipInit(";
9068  oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
9069  oss << ")";
9070  break;
9071  case HIP_API_ID_hipIpcCloseMemHandle:
9072  oss << "hipIpcCloseMemHandle(";
9073  oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
9074  oss << ")";
9075  break;
9076  case HIP_API_ID_hipIpcGetEventHandle:
9077  oss << "hipIpcGetEventHandle(";
9078  if (data->args.hipIpcGetEventHandle.handle == NULL) oss << "handle=NULL";
9079  else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
9080  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
9081  oss << ")";
9082  break;
9083  case HIP_API_ID_hipIpcGetMemHandle:
9084  oss << "hipIpcGetMemHandle(";
9085  if (data->args.hipIpcGetMemHandle.handle == NULL) oss << "handle=NULL";
9086  else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
9087  oss << ", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
9088  oss << ")";
9089  break;
9090  case HIP_API_ID_hipIpcOpenEventHandle:
9091  oss << "hipIpcOpenEventHandle(";
9092  if (data->args.hipIpcOpenEventHandle.event == NULL) oss << "event=NULL";
9093  else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
9094  oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
9095  oss << ")";
9096  break;
9097  case HIP_API_ID_hipIpcOpenMemHandle:
9098  oss << "hipIpcOpenMemHandle(";
9099  if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss << "devPtr=NULL";
9100  else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
9101  oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
9102  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
9103  oss << ")";
9104  break;
9105  case HIP_API_ID_hipLaunchByPtr:
9106  oss << "hipLaunchByPtr(";
9107  oss << "hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
9108  oss << ")";
9109  break;
9110  case HIP_API_ID_hipLaunchCooperativeKernel:
9111  oss << "hipLaunchCooperativeKernel(";
9112  oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
9113  oss << ", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
9114  oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
9115  if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9116  else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
9117  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
9118  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
9119  oss << ")";
9120  break;
9121  case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
9122  oss << "hipLaunchCooperativeKernelMultiDevice(";
9123  if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
9124  else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9125  oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
9126  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
9127  oss << ")";
9128  break;
9129  case HIP_API_ID_hipLaunchHostFunc:
9130  oss << "hipLaunchHostFunc(";
9131  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
9132  oss << ", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
9133  oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
9134  oss << ")";
9135  break;
9136  case HIP_API_ID_hipLaunchKernel:
9137  oss << "hipLaunchKernel(";
9138  oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
9139  oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
9140  oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
9141  if (data->args.hipLaunchKernel.args == NULL) oss << ", args=NULL";
9142  else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
9143  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
9144  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
9145  oss << ")";
9146  break;
9147  case HIP_API_ID_hipMalloc:
9148  oss << "hipMalloc(";
9149  if (data->args.hipMalloc.ptr == NULL) oss << "ptr=NULL";
9150  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
9151  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
9152  oss << ")";
9153  break;
9154  case HIP_API_ID_hipMalloc3D:
9155  oss << "hipMalloc3D(";
9156  if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss << "pitchedDevPtr=NULL";
9157  else { oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
9158  oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
9159  oss << ")";
9160  break;
9161  case HIP_API_ID_hipMalloc3DArray:
9162  oss << "hipMalloc3DArray(";
9163  if (data->args.hipMalloc3DArray.array == NULL) oss << "array=NULL";
9164  else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
9165  if (data->args.hipMalloc3DArray.desc == NULL) oss << ", desc=NULL";
9166  else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
9167  oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
9168  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
9169  oss << ")";
9170  break;
9171  case HIP_API_ID_hipMallocArray:
9172  oss << "hipMallocArray(";
9173  if (data->args.hipMallocArray.array == NULL) oss << "array=NULL";
9174  else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.array__val); }
9175  if (data->args.hipMallocArray.desc == NULL) oss << ", desc=NULL";
9176  else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
9177  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
9178  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
9179  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
9180  oss << ")";
9181  break;
9182  case HIP_API_ID_hipMallocAsync:
9183  oss << "hipMallocAsync(";
9184  if (data->args.hipMallocAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
9185  else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
9186  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
9187  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
9188  oss << ")";
9189  break;
9190  case HIP_API_ID_hipMallocFromPoolAsync:
9191  oss << "hipMallocFromPoolAsync(";
9192  if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
9193  else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
9194  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
9195  oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
9196  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
9197  oss << ")";
9198  break;
9199  case HIP_API_ID_hipMallocHost:
9200  oss << "hipMallocHost(";
9201  if (data->args.hipMallocHost.ptr == NULL) oss << "ptr=NULL";
9202  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
9203  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
9204  oss << ")";
9205  break;
9206  case HIP_API_ID_hipMallocManaged:
9207  oss << "hipMallocManaged(";
9208  if (data->args.hipMallocManaged.dev_ptr == NULL) oss << "dev_ptr=NULL";
9209  else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
9210  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
9211  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
9212  oss << ")";
9213  break;
9214  case HIP_API_ID_hipMallocMipmappedArray:
9215  oss << "hipMallocMipmappedArray(";
9216  if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss << "mipmappedArray=NULL";
9217  else { oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
9218  if (data->args.hipMallocMipmappedArray.desc == NULL) oss << ", desc=NULL";
9219  else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
9220  oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
9221  oss << ", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
9222  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
9223  oss << ")";
9224  break;
9225  case HIP_API_ID_hipMallocPitch:
9226  oss << "hipMallocPitch(";
9227  if (data->args.hipMallocPitch.ptr == NULL) oss << "ptr=NULL";
9228  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
9229  if (data->args.hipMallocPitch.pitch == NULL) oss << ", pitch=NULL";
9230  else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
9231  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
9232  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
9233  oss << ")";
9234  break;
9235  case HIP_API_ID_hipMemAddressFree:
9236  oss << "hipMemAddressFree(";
9237  oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
9238  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
9239  oss << ")";
9240  break;
9241  case HIP_API_ID_hipMemAddressReserve:
9242  oss << "hipMemAddressReserve(";
9243  if (data->args.hipMemAddressReserve.ptr == NULL) oss << "ptr=NULL";
9244  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
9245  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
9246  oss << ", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
9247  oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
9248  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
9249  oss << ")";
9250  break;
9251  case HIP_API_ID_hipMemAdvise:
9252  oss << "hipMemAdvise(";
9253  oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
9254  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
9255  oss << ", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
9256  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
9257  oss << ")";
9258  break;
9259  case HIP_API_ID_hipMemAllocHost:
9260  oss << "hipMemAllocHost(";
9261  if (data->args.hipMemAllocHost.ptr == NULL) oss << "ptr=NULL";
9262  else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
9263  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
9264  oss << ")";
9265  break;
9266  case HIP_API_ID_hipMemAllocPitch:
9267  oss << "hipMemAllocPitch(";
9268  if (data->args.hipMemAllocPitch.dptr == NULL) oss << "dptr=NULL";
9269  else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
9270  if (data->args.hipMemAllocPitch.pitch == NULL) oss << ", pitch=NULL";
9271  else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
9272  oss << ", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
9273  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
9274  oss << ", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
9275  oss << ")";
9276  break;
9277  case HIP_API_ID_hipMemCreate:
9278  oss << "hipMemCreate(";
9279  if (data->args.hipMemCreate.handle == NULL) oss << "handle=NULL";
9280  else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
9281  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
9282  if (data->args.hipMemCreate.prop == NULL) oss << ", prop=NULL";
9283  else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
9284  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
9285  oss << ")";
9286  break;
9287  case HIP_API_ID_hipMemExportToShareableHandle:
9288  oss << "hipMemExportToShareableHandle(";
9289  oss << "shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
9290  oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
9291  oss << ", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
9292  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
9293  oss << ")";
9294  break;
9295  case HIP_API_ID_hipMemGetAccess:
9296  oss << "hipMemGetAccess(";
9297  if (data->args.hipMemGetAccess.flags == NULL) oss << "flags=NULL";
9298  else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
9299  if (data->args.hipMemGetAccess.location == NULL) oss << ", location=NULL";
9300  else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
9301  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
9302  oss << ")";
9303  break;
9304  case HIP_API_ID_hipMemGetAddressRange:
9305  oss << "hipMemGetAddressRange(";
9306  if (data->args.hipMemGetAddressRange.pbase == NULL) oss << "pbase=NULL";
9307  else { oss << "pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
9308  if (data->args.hipMemGetAddressRange.psize == NULL) oss << ", psize=NULL";
9309  else { oss << ", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
9310  oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
9311  oss << ")";
9312  break;
9313  case HIP_API_ID_hipMemGetAllocationGranularity:
9314  oss << "hipMemGetAllocationGranularity(";
9315  if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss << "granularity=NULL";
9316  else { oss << "granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
9317  if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss << ", prop=NULL";
9318  else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
9319  oss << ", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
9320  oss << ")";
9321  break;
9322  case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
9323  oss << "hipMemGetAllocationPropertiesFromHandle(";
9324  if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss << "prop=NULL";
9325  else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
9326  oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
9327  oss << ")";
9328  break;
9329  case HIP_API_ID_hipMemGetInfo:
9330  oss << "hipMemGetInfo(";
9331  if (data->args.hipMemGetInfo.free == NULL) oss << "free=NULL";
9332  else { oss << "free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
9333  if (data->args.hipMemGetInfo.total == NULL) oss << ", total=NULL";
9334  else { oss << ", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
9335  oss << ")";
9336  break;
9337  case HIP_API_ID_hipMemImportFromShareableHandle:
9338  oss << "hipMemImportFromShareableHandle(";
9339  if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss << "handle=NULL";
9340  else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
9341  oss << ", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
9342  oss << ", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9343  oss << ")";
9344  break;
9345  case HIP_API_ID_hipMemMap:
9346  oss << "hipMemMap(";
9347  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9348  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9349  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9350  oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9351  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9352  oss << ")";
9353  break;
9354  case HIP_API_ID_hipMemMapArrayAsync:
9355  oss << "hipMemMapArrayAsync(";
9356  if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss << "mapInfoList=NULL";
9357  else { oss << "mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9358  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9359  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9360  oss << ")";
9361  break;
9362  case HIP_API_ID_hipMemPoolCreate:
9363  oss << "hipMemPoolCreate(";
9364  if (data->args.hipMemPoolCreate.mem_pool == NULL) oss << "mem_pool=NULL";
9365  else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9366  if (data->args.hipMemPoolCreate.pool_props == NULL) oss << ", pool_props=NULL";
9367  else { oss << ", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9368  oss << ")";
9369  break;
9370  case HIP_API_ID_hipMemPoolDestroy:
9371  oss << "hipMemPoolDestroy(";
9372  oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9373  oss << ")";
9374  break;
9375  case HIP_API_ID_hipMemPoolExportPointer:
9376  oss << "hipMemPoolExportPointer(";
9377  if (data->args.hipMemPoolExportPointer.export_data == NULL) oss << "export_data=NULL";
9378  else { oss << "export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9379  oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9380  oss << ")";
9381  break;
9382  case HIP_API_ID_hipMemPoolExportToShareableHandle:
9383  oss << "hipMemPoolExportToShareableHandle(";
9384  oss << "shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9385  oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9386  oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9387  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9388  oss << ")";
9389  break;
9390  case HIP_API_ID_hipMemPoolGetAccess:
9391  oss << "hipMemPoolGetAccess(";
9392  if (data->args.hipMemPoolGetAccess.flags == NULL) oss << "flags=NULL";
9393  else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9394  oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9395  if (data->args.hipMemPoolGetAccess.location == NULL) oss << ", location=NULL";
9396  else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9397  oss << ")";
9398  break;
9399  case HIP_API_ID_hipMemPoolGetAttribute:
9400  oss << "hipMemPoolGetAttribute(";
9401  oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9402  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9403  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9404  oss << ")";
9405  break;
9406  case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9407  oss << "hipMemPoolImportFromShareableHandle(";
9408  if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss << "mem_pool=NULL";
9409  else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9410  oss << ", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9411  oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9412  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9413  oss << ")";
9414  break;
9415  case HIP_API_ID_hipMemPoolImportPointer:
9416  oss << "hipMemPoolImportPointer(";
9417  if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss << "dev_ptr=NULL";
9418  else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9419  oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9420  if (data->args.hipMemPoolImportPointer.export_data == NULL) oss << ", export_data=NULL";
9421  else { oss << ", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9422  oss << ")";
9423  break;
9424  case HIP_API_ID_hipMemPoolSetAccess:
9425  oss << "hipMemPoolSetAccess(";
9426  oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9427  if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss << ", desc_list=NULL";
9428  else { oss << ", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9429  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9430  oss << ")";
9431  break;
9432  case HIP_API_ID_hipMemPoolSetAttribute:
9433  oss << "hipMemPoolSetAttribute(";
9434  oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9435  oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9436  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9437  oss << ")";
9438  break;
9439  case HIP_API_ID_hipMemPoolTrimTo:
9440  oss << "hipMemPoolTrimTo(";
9441  oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9442  oss << ", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9443  oss << ")";
9444  break;
9445  case HIP_API_ID_hipMemPrefetchAsync:
9446  oss << "hipMemPrefetchAsync(";
9447  oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9448  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9449  oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9450  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9451  oss << ")";
9452  break;
9453  case HIP_API_ID_hipMemPtrGetInfo:
9454  oss << "hipMemPtrGetInfo(";
9455  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9456  if (data->args.hipMemPtrGetInfo.size == NULL) oss << ", size=NULL";
9457  else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9458  oss << ")";
9459  break;
9460  case HIP_API_ID_hipMemRangeGetAttribute:
9461  oss << "hipMemRangeGetAttribute(";
9462  oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9463  oss << ", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9464  oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9465  oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9466  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9467  oss << ")";
9468  break;
9469  case HIP_API_ID_hipMemRangeGetAttributes:
9470  oss << "hipMemRangeGetAttributes(";
9471  if (data->args.hipMemRangeGetAttributes.data == NULL) oss << "data=NULL";
9472  else { oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9473  if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss << ", data_sizes=NULL";
9474  else { oss << ", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9475  if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss << ", attributes=NULL";
9476  else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9477  oss << ", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9478  oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9479  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9480  oss << ")";
9481  break;
9482  case HIP_API_ID_hipMemRelease:
9483  oss << "hipMemRelease(";
9484  oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9485  oss << ")";
9486  break;
9487  case HIP_API_ID_hipMemRetainAllocationHandle:
9488  oss << "hipMemRetainAllocationHandle(";
9489  if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss << "handle=NULL";
9490  else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9491  oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9492  oss << ")";
9493  break;
9494  case HIP_API_ID_hipMemSetAccess:
9495  oss << "hipMemSetAccess(";
9496  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9497  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9498  if (data->args.hipMemSetAccess.desc == NULL) oss << ", desc=NULL";
9499  else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9500  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9501  oss << ")";
9502  break;
9503  case HIP_API_ID_hipMemUnmap:
9504  oss << "hipMemUnmap(";
9505  oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9506  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9507  oss << ")";
9508  break;
9509  case HIP_API_ID_hipMemcpy:
9510  oss << "hipMemcpy(";
9511  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9512  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9513  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9514  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9515  oss << ")";
9516  break;
9517  case HIP_API_ID_hipMemcpy2D:
9518  oss << "hipMemcpy2D(";
9519  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9520  oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9521  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9522  oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9523  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9524  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9525  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9526  oss << ")";
9527  break;
9528  case HIP_API_ID_hipMemcpy2DArrayToArray:
9529  oss << "hipMemcpy2DArrayToArray(";
9530  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.dst);
9531  oss << ", wOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetDst);
9532  oss << ", hOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetDst);
9533  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.src);
9534  oss << ", wOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetSrc);
9535  oss << ", hOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetSrc);
9536  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.width);
9537  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.height);
9538  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.kind);
9539  oss << ")";
9540  break;
9541  case HIP_API_ID_hipMemcpy2DAsync:
9542  oss << "hipMemcpy2DAsync(";
9543  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9544  oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9545  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9546  oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9547  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9548  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9549  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9550  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9551  oss << ")";
9552  break;
9553  case HIP_API_ID_hipMemcpy2DFromArray:
9554  oss << "hipMemcpy2DFromArray(";
9555  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9556  oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9557  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9558  oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9559  oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9560  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9561  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9562  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9563  oss << ")";
9564  break;
9565  case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9566  oss << "hipMemcpy2DFromArrayAsync(";
9567  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9568  oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9569  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9570  oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9571  oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9572  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9573  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9574  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9575  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9576  oss << ")";
9577  break;
9578  case HIP_API_ID_hipMemcpy2DToArray:
9579  oss << "hipMemcpy2DToArray(";
9580  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9581  oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9582  oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9583  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9584  oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9585  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9586  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9587  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9588  oss << ")";
9589  break;
9590  case HIP_API_ID_hipMemcpy2DToArrayAsync:
9591  oss << "hipMemcpy2DToArrayAsync(";
9592  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9593  oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9594  oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9595  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9596  oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9597  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9598  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9599  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9600  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9601  oss << ")";
9602  break;
9603  case HIP_API_ID_hipMemcpy3D:
9604  oss << "hipMemcpy3D(";
9605  if (data->args.hipMemcpy3D.p == NULL) oss << "p=NULL";
9606  else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9607  oss << ")";
9608  break;
9609  case HIP_API_ID_hipMemcpy3DAsync:
9610  oss << "hipMemcpy3DAsync(";
9611  if (data->args.hipMemcpy3DAsync.p == NULL) oss << "p=NULL";
9612  else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9613  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9614  oss << ")";
9615  break;
9616  case HIP_API_ID_hipMemcpyAsync:
9617  oss << "hipMemcpyAsync(";
9618  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9619  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9620  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9621  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9622  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9623  oss << ")";
9624  break;
9625  case HIP_API_ID_hipMemcpyAtoA:
9626  oss << "hipMemcpyAtoA(";
9627  oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstArray);
9628  oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstOffset);
9629  oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcArray);
9630  oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcOffset);
9631  oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.ByteCount);
9632  oss << ")";
9633  break;
9634  case HIP_API_ID_hipMemcpyAtoD:
9635  oss << "hipMemcpyAtoD(";
9636  oss << "dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.dstDevice);
9637  oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcArray);
9638  oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcOffset);
9639  oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.ByteCount);
9640  oss << ")";
9641  break;
9642  case HIP_API_ID_hipMemcpyAtoH:
9643  oss << "hipMemcpyAtoH(";
9644  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9645  oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9646  oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9647  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9648  oss << ")";
9649  break;
9650  case HIP_API_ID_hipMemcpyAtoHAsync:
9651  oss << "hipMemcpyAtoHAsync(";
9652  oss << "dstHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.dstHost);
9653  oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcArray);
9654  oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcOffset);
9655  oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.ByteCount);
9656  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.stream);
9657  oss << ")";
9658  break;
9659  case HIP_API_ID_hipMemcpyDtoA:
9660  oss << "hipMemcpyDtoA(";
9661  oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstArray);
9662  oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstOffset);
9663  oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.srcDevice);
9664  oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.ByteCount);
9665  oss << ")";
9666  break;
9667  case HIP_API_ID_hipMemcpyDtoD:
9668  oss << "hipMemcpyDtoD(";
9669  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9670  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9671  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9672  oss << ")";
9673  break;
9674  case HIP_API_ID_hipMemcpyDtoDAsync:
9675  oss << "hipMemcpyDtoDAsync(";
9676  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9677  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9678  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9679  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9680  oss << ")";
9681  break;
9682  case HIP_API_ID_hipMemcpyDtoH:
9683  oss << "hipMemcpyDtoH(";
9684  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9685  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9686  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9687  oss << ")";
9688  break;
9689  case HIP_API_ID_hipMemcpyDtoHAsync:
9690  oss << "hipMemcpyDtoHAsync(";
9691  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9692  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9693  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9694  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9695  oss << ")";
9696  break;
9697  case HIP_API_ID_hipMemcpyFromArray:
9698  oss << "hipMemcpyFromArray(";
9699  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9700  oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9701  oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9702  oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9703  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9704  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9705  oss << ")";
9706  break;
9707  case HIP_API_ID_hipMemcpyFromSymbol:
9708  oss << "hipMemcpyFromSymbol(";
9709  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9710  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9711  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9712  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9713  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9714  oss << ")";
9715  break;
9716  case HIP_API_ID_hipMemcpyFromSymbolAsync:
9717  oss << "hipMemcpyFromSymbolAsync(";
9718  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9719  oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9720  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9721  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9722  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9723  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9724  oss << ")";
9725  break;
9726  case HIP_API_ID_hipMemcpyHtoA:
9727  oss << "hipMemcpyHtoA(";
9728  oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9729  oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9730  oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9731  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9732  oss << ")";
9733  break;
9734  case HIP_API_ID_hipMemcpyHtoAAsync:
9735  oss << "hipMemcpyHtoAAsync(";
9736  oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstArray);
9737  oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstOffset);
9738  oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.srcHost);
9739  oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.ByteCount);
9740  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.stream);
9741  oss << ")";
9742  break;
9743  case HIP_API_ID_hipMemcpyHtoD:
9744  oss << "hipMemcpyHtoD(";
9745  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9746  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9747  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9748  oss << ")";
9749  break;
9750  case HIP_API_ID_hipMemcpyHtoDAsync:
9751  oss << "hipMemcpyHtoDAsync(";
9752  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9753  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9754  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9755  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9756  oss << ")";
9757  break;
9758  case HIP_API_ID_hipMemcpyParam2D:
9759  oss << "hipMemcpyParam2D(";
9760  if (data->args.hipMemcpyParam2D.pCopy == NULL) oss << "pCopy=NULL";
9761  else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9762  oss << ")";
9763  break;
9764  case HIP_API_ID_hipMemcpyParam2DAsync:
9765  oss << "hipMemcpyParam2DAsync(";
9766  if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss << "pCopy=NULL";
9767  else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9768  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9769  oss << ")";
9770  break;
9771  case HIP_API_ID_hipMemcpyPeer:
9772  oss << "hipMemcpyPeer(";
9773  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9774  oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9775  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9776  oss << ", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9777  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9778  oss << ")";
9779  break;
9780  case HIP_API_ID_hipMemcpyPeerAsync:
9781  oss << "hipMemcpyPeerAsync(";
9782  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9783  oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9784  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9785  oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9786  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9787  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9788  oss << ")";
9789  break;
9790  case HIP_API_ID_hipMemcpyToArray:
9791  oss << "hipMemcpyToArray(";
9792  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
9793  oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9794  oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9795  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9796  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9797  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9798  oss << ")";
9799  break;
9800  case HIP_API_ID_hipMemcpyToSymbol:
9801  oss << "hipMemcpyToSymbol(";
9802  oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9803  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9804  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9805  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9806  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9807  oss << ")";
9808  break;
9809  case HIP_API_ID_hipMemcpyToSymbolAsync:
9810  oss << "hipMemcpyToSymbolAsync(";
9811  oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9812  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9813  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9814  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9815  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9816  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9817  oss << ")";
9818  break;
9819  case HIP_API_ID_hipMemcpyWithStream:
9820  oss << "hipMemcpyWithStream(";
9821  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9822  oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9823  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9824  oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9825  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9826  oss << ")";
9827  break;
9828  case HIP_API_ID_hipMemset:
9829  oss << "hipMemset(";
9830  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9831  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9832  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9833  oss << ")";
9834  break;
9835  case HIP_API_ID_hipMemset2D:
9836  oss << "hipMemset2D(";
9837  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9838  oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9839  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9840  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9841  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9842  oss << ")";
9843  break;
9844  case HIP_API_ID_hipMemset2DAsync:
9845  oss << "hipMemset2DAsync(";
9846  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9847  oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9848  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9849  oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9850  oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9851  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9852  oss << ")";
9853  break;
9854  case HIP_API_ID_hipMemset3D:
9855  oss << "hipMemset3D(";
9856  oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9857  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9858  oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9859  oss << ")";
9860  break;
9861  case HIP_API_ID_hipMemset3DAsync:
9862  oss << "hipMemset3DAsync(";
9863  oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9864  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9865  oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9866  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9867  oss << ")";
9868  break;
9869  case HIP_API_ID_hipMemsetAsync:
9870  oss << "hipMemsetAsync(";
9871  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9872  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9873  oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9874  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9875  oss << ")";
9876  break;
9877  case HIP_API_ID_hipMemsetD16:
9878  oss << "hipMemsetD16(";
9879  oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9880  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9881  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9882  oss << ")";
9883  break;
9884  case HIP_API_ID_hipMemsetD16Async:
9885  oss << "hipMemsetD16Async(";
9886  oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9887  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9888  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9889  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9890  oss << ")";
9891  break;
9892  case HIP_API_ID_hipMemsetD32:
9893  oss << "hipMemsetD32(";
9894  oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9895  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9896  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9897  oss << ")";
9898  break;
9899  case HIP_API_ID_hipMemsetD32Async:
9900  oss << "hipMemsetD32Async(";
9901  oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9902  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9903  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9904  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9905  oss << ")";
9906  break;
9907  case HIP_API_ID_hipMemsetD8:
9908  oss << "hipMemsetD8(";
9909  oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9910  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9911  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9912  oss << ")";
9913  break;
9914  case HIP_API_ID_hipMemsetD8Async:
9915  oss << "hipMemsetD8Async(";
9916  oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9917  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9918  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9919  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9920  oss << ")";
9921  break;
9922  case HIP_API_ID_hipMipmappedArrayCreate:
9923  oss << "hipMipmappedArrayCreate(";
9924  if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
9925  else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9926  if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss << ", pMipmappedArrayDesc=NULL";
9927  else { oss << ", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9928  oss << ", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9929  oss << ")";
9930  break;
9931  case HIP_API_ID_hipMipmappedArrayDestroy:
9932  oss << "hipMipmappedArrayDestroy(";
9933  oss << "hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9934  oss << ")";
9935  break;
9936  case HIP_API_ID_hipMipmappedArrayGetLevel:
9937  oss << "hipMipmappedArrayGetLevel(";
9938  if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss << "pLevelArray=NULL";
9939  else { oss << "pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9940  oss << ", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9941  oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9942  oss << ")";
9943  break;
9944  case HIP_API_ID_hipModuleGetFunction:
9945  oss << "hipModuleGetFunction(";
9946  if (data->args.hipModuleGetFunction.function == NULL) oss << "function=NULL";
9947  else { oss << "function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9948  oss << ", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9949  if (data->args.hipModuleGetFunction.kname == NULL) oss << ", kname=NULL";
9950  else { oss << ", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9951  oss << ")";
9952  break;
9953  case HIP_API_ID_hipModuleGetGlobal:
9954  oss << "hipModuleGetGlobal(";
9955  if (data->args.hipModuleGetGlobal.dptr == NULL) oss << "dptr=NULL";
9956  else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9957  if (data->args.hipModuleGetGlobal.bytes == NULL) oss << ", bytes=NULL";
9958  else { oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9959  oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9960  if (data->args.hipModuleGetGlobal.name == NULL) oss << ", name=NULL";
9961  else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9962  oss << ")";
9963  break;
9964  case HIP_API_ID_hipModuleGetTexRef:
9965  oss << "hipModuleGetTexRef(";
9966  if (data->args.hipModuleGetTexRef.texRef == NULL) oss << "texRef=NULL";
9967  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipModuleGetTexRef.texRef__val); }
9968  oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9969  if (data->args.hipModuleGetTexRef.name == NULL) oss << ", name=NULL";
9970  else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9971  oss << ")";
9972  break;
9973  case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9974  oss << "hipModuleLaunchCooperativeKernel(";
9975  oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9976  oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9977  oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9978  oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9979  oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9980  oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9981  oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9982  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9983  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9984  if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9985  else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9986  oss << ")";
9987  break;
9988  case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9989  oss << "hipModuleLaunchCooperativeKernelMultiDevice(";
9990  if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
9991  else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9992  oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9993  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9994  oss << ")";
9995  break;
9996  case HIP_API_ID_hipModuleLaunchKernel:
9997  oss << "hipModuleLaunchKernel(";
9998  oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9999  oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
10000  oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
10001  oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
10002  oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
10003  oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
10004  oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
10005  oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
10006  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
10007  if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
10008  else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
10009  if (data->args.hipModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
10010  else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
10011  oss << ")";
10012  break;
10013  case HIP_API_ID_hipModuleLoad:
10014  oss << "hipModuleLoad(";
10015  if (data->args.hipModuleLoad.module == NULL) oss << "module=NULL";
10016  else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
10017  if (data->args.hipModuleLoad.fname == NULL) oss << ", fname=NULL";
10018  else { oss << ", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
10019  oss << ")";
10020  break;
10021  case HIP_API_ID_hipModuleLoadData:
10022  oss << "hipModuleLoadData(";
10023  if (data->args.hipModuleLoadData.module == NULL) oss << "module=NULL";
10024  else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
10025  oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
10026  oss << ")";
10027  break;
10028  case HIP_API_ID_hipModuleLoadDataEx:
10029  oss << "hipModuleLoadDataEx(";
10030  if (data->args.hipModuleLoadDataEx.module == NULL) oss << "module=NULL";
10031  else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
10032  oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
10033  oss << ", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
10034  if (data->args.hipModuleLoadDataEx.options == NULL) oss << ", options=NULL";
10035  else { oss << ", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
10036  if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss << ", optionsValues=NULL";
10037  else { oss << ", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
10038  oss << ")";
10039  break;
10040  case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
10041  oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
10042  if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
10043  else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10044  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
10045  oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10046  oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
10047  oss << ")";
10048  break;
10049  case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10050  oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10051  if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
10052  else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10053  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10054  oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10055  oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
10056  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10057  oss << ")";
10058  break;
10059  case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
10060  oss << "hipModuleOccupancyMaxPotentialBlockSize(";
10061  if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
10062  else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
10063  if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
10064  else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
10065  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
10066  oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10067  oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
10068  oss << ")";
10069  break;
10070  case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
10071  oss << "hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
10072  if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss << "gridSize=NULL";
10073  else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
10074  if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss << ", blockSize=NULL";
10075  else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
10076  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
10077  oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
10078  oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
10079  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
10080  oss << ")";
10081  break;
10082  case HIP_API_ID_hipModuleUnload:
10083  oss << "hipModuleUnload(";
10084  oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
10085  oss << ")";
10086  break;
10087  case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
10088  oss << "hipOccupancyMaxActiveBlocksPerMultiprocessor(";
10089  if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
10090  else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10091  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
10092  oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10093  oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
10094  oss << ")";
10095  break;
10096  case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10097  oss << "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10098  if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
10099  else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10100  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10101  oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10102  oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
10103  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10104  oss << ")";
10105  break;
10106  case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
10107  oss << "hipOccupancyMaxPotentialBlockSize(";
10108  if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
10109  else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
10110  if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
10111  else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
10112  oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
10113  oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10114  oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
10115  oss << ")";
10116  break;
10117  case HIP_API_ID_hipPeekAtLastError:
10118  oss << "hipPeekAtLastError(";
10119  oss << ")";
10120  break;
10121  case HIP_API_ID_hipPointerGetAttribute:
10122  oss << "hipPointerGetAttribute(";
10123  oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
10124  oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
10125  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
10126  oss << ")";
10127  break;
10128  case HIP_API_ID_hipPointerGetAttributes:
10129  oss << "hipPointerGetAttributes(";
10130  if (data->args.hipPointerGetAttributes.attributes == NULL) oss << "attributes=NULL";
10131  else { oss << "attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
10132  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
10133  oss << ")";
10134  break;
10135  case HIP_API_ID_hipPointerSetAttribute:
10136  oss << "hipPointerSetAttribute(";
10137  oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
10138  oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
10139  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
10140  oss << ")";
10141  break;
10142  case HIP_API_ID_hipProfilerStart:
10143  oss << "hipProfilerStart(";
10144  oss << ")";
10145  break;
10146  case HIP_API_ID_hipProfilerStop:
10147  oss << "hipProfilerStop(";
10148  oss << ")";
10149  break;
10150  case HIP_API_ID_hipRuntimeGetVersion:
10151  oss << "hipRuntimeGetVersion(";
10152  if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss << "runtimeVersion=NULL";
10153  else { oss << "runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
10154  oss << ")";
10155  break;
10156  case HIP_API_ID_hipSetDevice:
10157  oss << "hipSetDevice(";
10158  oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
10159  oss << ")";
10160  break;
10161  case HIP_API_ID_hipSetDeviceFlags:
10162  oss << "hipSetDeviceFlags(";
10163  oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
10164  oss << ")";
10165  break;
10166  case HIP_API_ID_hipSetValidDevices:
10167  oss << "hipSetValidDevices(";
10168  if (data->args.hipSetValidDevices.device_arr == NULL) oss << "device_arr=NULL";
10169  else { oss << "device_arr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.device_arr__val); }
10170  oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.len);
10171  oss << ")";
10172  break;
10173  case HIP_API_ID_hipSetupArgument:
10174  oss << "hipSetupArgument(";
10175  oss << "arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
10176  oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
10177  oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
10178  oss << ")";
10179  break;
10180  case HIP_API_ID_hipSignalExternalSemaphoresAsync:
10181  oss << "hipSignalExternalSemaphoresAsync(";
10182  if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
10183  else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
10184  if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
10185  else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
10186  oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
10187  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
10188  oss << ")";
10189  break;
10190  case HIP_API_ID_hipStreamAddCallback:
10191  oss << "hipStreamAddCallback(";
10192  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
10193  oss << ", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
10194  oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
10195  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
10196  oss << ")";
10197  break;
10198  case HIP_API_ID_hipStreamAttachMemAsync:
10199  oss << "hipStreamAttachMemAsync(";
10200  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
10201  oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
10202  oss << ", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
10203  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
10204  oss << ")";
10205  break;
10206  case HIP_API_ID_hipStreamBeginCapture:
10207  oss << "hipStreamBeginCapture(";
10208  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
10209  oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
10210  oss << ")";
10211  break;
10212  case HIP_API_ID_hipStreamBeginCaptureToGraph:
10213  oss << "hipStreamBeginCaptureToGraph(";
10214  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.stream);
10215  oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.graph);
10216  if (data->args.hipStreamBeginCaptureToGraph.dependencies == NULL) oss << ", dependencies=NULL";
10217  else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencies__val); }
10218  if (data->args.hipStreamBeginCaptureToGraph.dependencyData == NULL) oss << ", dependencyData=NULL";
10219  else { oss << ", dependencyData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencyData__val); }
10220  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.numDependencies);
10221  oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.mode);
10222  oss << ")";
10223  break;
10224  case HIP_API_ID_hipStreamCreate:
10225  oss << "hipStreamCreate(";
10226  if (data->args.hipStreamCreate.stream == NULL) oss << "stream=NULL";
10227  else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
10228  oss << ")";
10229  break;
10230  case HIP_API_ID_hipStreamCreateWithFlags:
10231  oss << "hipStreamCreateWithFlags(";
10232  if (data->args.hipStreamCreateWithFlags.stream == NULL) oss << "stream=NULL";
10233  else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
10234  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
10235  oss << ")";
10236  break;
10237  case HIP_API_ID_hipStreamCreateWithPriority:
10238  oss << "hipStreamCreateWithPriority(";
10239  if (data->args.hipStreamCreateWithPriority.stream == NULL) oss << "stream=NULL";
10240  else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
10241  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
10242  oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
10243  oss << ")";
10244  break;
10245  case HIP_API_ID_hipStreamDestroy:
10246  oss << "hipStreamDestroy(";
10247  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
10248  oss << ")";
10249  break;
10250  case HIP_API_ID_hipStreamEndCapture:
10251  oss << "hipStreamEndCapture(";
10252  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
10253  if (data->args.hipStreamEndCapture.pGraph == NULL) oss << ", pGraph=NULL";
10254  else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
10255  oss << ")";
10256  break;
10257  case HIP_API_ID_hipStreamGetCaptureInfo:
10258  oss << "hipStreamGetCaptureInfo(";
10259  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
10260  if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
10261  else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
10262  if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss << ", pId=NULL";
10263  else { oss << ", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
10264  oss << ")";
10265  break;
10266  case HIP_API_ID_hipStreamGetCaptureInfo_v2:
10267  oss << "hipStreamGetCaptureInfo_v2(";
10268  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
10269  if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss << ", captureStatus_out=NULL";
10270  else { oss << ", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
10271  if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss << ", id_out=NULL";
10272  else { oss << ", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
10273  if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss << ", graph_out=NULL";
10274  else { oss << ", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
10275  if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss << ", dependencies_out=NULL";
10276  else { oss << ", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
10277  if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss << ", numDependencies_out=NULL";
10278  else { oss << ", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
10279  oss << ")";
10280  break;
10281  case HIP_API_ID_hipStreamGetDevice:
10282  oss << "hipStreamGetDevice(";
10283  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
10284  if (data->args.hipStreamGetDevice.device == NULL) oss << ", device=NULL";
10285  else { oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
10286  oss << ")";
10287  break;
10288  case HIP_API_ID_hipStreamGetFlags:
10289  oss << "hipStreamGetFlags(";
10290  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
10291  if (data->args.hipStreamGetFlags.flags == NULL) oss << ", flags=NULL";
10292  else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
10293  oss << ")";
10294  break;
10295  case HIP_API_ID_hipStreamGetPriority:
10296  oss << "hipStreamGetPriority(";
10297  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
10298  if (data->args.hipStreamGetPriority.priority == NULL) oss << ", priority=NULL";
10299  else { oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
10300  oss << ")";
10301  break;
10302  case HIP_API_ID_hipStreamIsCapturing:
10303  oss << "hipStreamIsCapturing(";
10304  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
10305  if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
10306  else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
10307  oss << ")";
10308  break;
10309  case HIP_API_ID_hipStreamQuery:
10310  oss << "hipStreamQuery(";
10311  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
10312  oss << ")";
10313  break;
10314  case HIP_API_ID_hipStreamSynchronize:
10315  oss << "hipStreamSynchronize(";
10316  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
10317  oss << ")";
10318  break;
10319  case HIP_API_ID_hipStreamUpdateCaptureDependencies:
10320  oss << "hipStreamUpdateCaptureDependencies(";
10321  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
10322  if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss << ", dependencies=NULL";
10323  else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
10324  oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
10325  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
10326  oss << ")";
10327  break;
10328  case HIP_API_ID_hipStreamWaitEvent:
10329  oss << "hipStreamWaitEvent(";
10330  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
10331  oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
10332  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
10333  oss << ")";
10334  break;
10335  case HIP_API_ID_hipStreamWaitValue32:
10336  oss << "hipStreamWaitValue32(";
10337  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
10338  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
10339  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
10340  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
10341  oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
10342  oss << ")";
10343  break;
10344  case HIP_API_ID_hipStreamWaitValue64:
10345  oss << "hipStreamWaitValue64(";
10346  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
10347  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
10348  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
10349  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
10350  oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
10351  oss << ")";
10352  break;
10353  case HIP_API_ID_hipStreamWriteValue32:
10354  oss << "hipStreamWriteValue32(";
10355  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
10356  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
10357  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
10358  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
10359  oss << ")";
10360  break;
10361  case HIP_API_ID_hipStreamWriteValue64:
10362  oss << "hipStreamWriteValue64(";
10363  oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
10364  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
10365  oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
10366  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
10367  oss << ")";
10368  break;
10369  case HIP_API_ID_hipTexRefGetAddress:
10370  oss << "hipTexRefGetAddress(";
10371  if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss << "dev_ptr=NULL";
10372  else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
10373  if (data->args.hipTexRefGetAddress.texRef == NULL) oss << ", texRef=NULL";
10374  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
10375  oss << ")";
10376  break;
10377  case HIP_API_ID_hipTexRefGetArray:
10378  oss << "hipTexRefGetArray(";
10379  if (data->args.hipTexRefGetArray.pArray == NULL) oss << "pArray=NULL";
10380  else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.pArray__val); }
10381  if (data->args.hipTexRefGetArray.texRef == NULL) oss << ", texRef=NULL";
10382  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.texRef__val); }
10383  oss << ")";
10384  break;
10385  case HIP_API_ID_hipTexRefGetBorderColor:
10386  oss << "hipTexRefGetBorderColor(";
10387  if (data->args.hipTexRefGetBorderColor.pBorderColor == NULL) oss << "pBorderColor=NULL";
10388  else { oss << "pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.pBorderColor__val); }
10389  if (data->args.hipTexRefGetBorderColor.texRef == NULL) oss << ", texRef=NULL";
10390  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.texRef__val); }
10391  oss << ")";
10392  break;
10393  case HIP_API_ID_hipTexRefGetFlags:
10394  oss << "hipTexRefGetFlags(";
10395  if (data->args.hipTexRefGetFlags.pFlags == NULL) oss << "pFlags=NULL";
10396  else { oss << "pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
10397  if (data->args.hipTexRefGetFlags.texRef == NULL) oss << ", texRef=NULL";
10398  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
10399  oss << ")";
10400  break;
10401  case HIP_API_ID_hipTexRefGetFormat:
10402  oss << "hipTexRefGetFormat(";
10403  if (data->args.hipTexRefGetFormat.pFormat == NULL) oss << "pFormat=NULL";
10404  else { oss << "pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
10405  if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss << ", pNumChannels=NULL";
10406  else { oss << ", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
10407  if (data->args.hipTexRefGetFormat.texRef == NULL) oss << ", texRef=NULL";
10408  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
10409  oss << ")";
10410  break;
10411  case HIP_API_ID_hipTexRefGetMaxAnisotropy:
10412  oss << "hipTexRefGetMaxAnisotropy(";
10413  if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss << "pmaxAnsio=NULL";
10414  else { oss << "pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
10415  if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss << ", texRef=NULL";
10416  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
10417  oss << ")";
10418  break;
10419  case HIP_API_ID_hipTexRefGetMipMappedArray:
10420  oss << "hipTexRefGetMipMappedArray(";
10421  if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss << "pArray=NULL";
10422  else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
10423  if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss << ", texRef=NULL";
10424  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
10425  oss << ")";
10426  break;
10427  case HIP_API_ID_hipTexRefGetMipmapLevelBias:
10428  oss << "hipTexRefGetMipmapLevelBias(";
10429  if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss << "pbias=NULL";
10430  else { oss << "pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
10431  if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss << ", texRef=NULL";
10432  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
10433  oss << ")";
10434  break;
10435  case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10436  oss << "hipTexRefGetMipmapLevelClamp(";
10437  if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss << "pminMipmapLevelClamp=NULL";
10438  else { oss << "pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10439  if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss << ", pmaxMipmapLevelClamp=NULL";
10440  else { oss << ", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10441  if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss << ", texRef=NULL";
10442  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10443  oss << ")";
10444  break;
10445  case HIP_API_ID_hipTexRefSetAddress:
10446  oss << "hipTexRefSetAddress(";
10447  if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss << "ByteOffset=NULL";
10448  else { oss << "ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10449  if (data->args.hipTexRefSetAddress.texRef == NULL) oss << ", texRef=NULL";
10450  else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10451  oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10452  oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10453  oss << ")";
10454  break;
10455  case HIP_API_ID_hipTexRefSetAddress2D:
10456  oss << "hipTexRefSetAddress2D(";
10457  if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss << "texRef=NULL";
10458  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10459  if (data->args.hipTexRefSetAddress2D.desc == NULL) oss << ", desc=NULL";
10460  else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10461  oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10462  oss << ", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10463  oss << ")";
10464  break;
10465  case HIP_API_ID_hipTexRefSetArray:
10466  oss << "hipTexRefSetArray(";
10467  if (data->args.hipTexRefSetArray.tex == NULL) oss << "tex=NULL";
10468  else { oss << "tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10469  oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10470  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10471  oss << ")";
10472  break;
10473  case HIP_API_ID_hipTexRefSetBorderColor:
10474  oss << "hipTexRefSetBorderColor(";
10475  if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss << "texRef=NULL";
10476  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10477  if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss << ", pBorderColor=NULL";
10478  else { oss << ", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10479  oss << ")";
10480  break;
10481  case HIP_API_ID_hipTexRefSetFlags:
10482  oss << "hipTexRefSetFlags(";
10483  if (data->args.hipTexRefSetFlags.texRef == NULL) oss << "texRef=NULL";
10484  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10485  oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10486  oss << ")";
10487  break;
10488  case HIP_API_ID_hipTexRefSetFormat:
10489  oss << "hipTexRefSetFormat(";
10490  if (data->args.hipTexRefSetFormat.texRef == NULL) oss << "texRef=NULL";
10491  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10492  oss << ", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10493  oss << ", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10494  oss << ")";
10495  break;
10496  case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10497  oss << "hipTexRefSetMaxAnisotropy(";
10498  if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss << "texRef=NULL";
10499  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10500  oss << ", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10501  oss << ")";
10502  break;
10503  case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10504  oss << "hipTexRefSetMipmapLevelBias(";
10505  if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss << "texRef=NULL";
10506  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10507  oss << ", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10508  oss << ")";
10509  break;
10510  case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10511  oss << "hipTexRefSetMipmapLevelClamp(";
10512  if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss << "texRef=NULL";
10513  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10514  oss << ", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10515  oss << ", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10516  oss << ")";
10517  break;
10518  case HIP_API_ID_hipTexRefSetMipmappedArray:
10519  oss << "hipTexRefSetMipmappedArray(";
10520  if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss << "texRef=NULL";
10521  else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10522  if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss << ", mipmappedArray=NULL";
10523  else { oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10524  oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10525  oss << ")";
10526  break;
10527  case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10528  oss << "hipThreadExchangeStreamCaptureMode(";
10529  if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss << "mode=NULL";
10530  else { oss << "mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10531  oss << ")";
10532  break;
10533  case HIP_API_ID_hipUserObjectCreate:
10534  oss << "hipUserObjectCreate(";
10535  if (data->args.hipUserObjectCreate.object_out == NULL) oss << "object_out=NULL";
10536  else { oss << "object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10537  oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10538  oss << ", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10539  oss << ", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10540  oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10541  oss << ")";
10542  break;
10543  case HIP_API_ID_hipUserObjectRelease:
10544  oss << "hipUserObjectRelease(";
10545  oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10546  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10547  oss << ")";
10548  break;
10549  case HIP_API_ID_hipUserObjectRetain:
10550  oss << "hipUserObjectRetain(";
10551  oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10552  oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10553  oss << ")";
10554  break;
10555  case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10556  oss << "hipWaitExternalSemaphoresAsync(";
10557  if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
10558  else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10559  if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
10560  else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10561  oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10562  oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10563  oss << ")";
10564  break;
10565  default: oss << "unknown";
10566  };
10567  return strdup(oss.str().c_str());
10568 }
10569 #endif // HIP_PROF_HIP_API_STRING
10570 #endif // _HIP_PROF_STR_H
hipGLDeviceList
Definition: amd_hip_gl_interop.h:40
unsigned int GLenum
Definition: amd_hip_gl_interop.h:52
unsigned int GLuint
Definition: amd_hip_gl_interop.h:50
Definition: hip_prof_str.h:1242