HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
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
18enum 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_hipDrvGraphMemcpyNodeGetParams = 368,
389 HIP_API_ID_hipDrvGraphMemcpyNodeSetParams = 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_LAST = 379,
401
402 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
403 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
404
405 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
406 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
407 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
408 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
409 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
410 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
411 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
412 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
413 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
414 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
415 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
416 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
417 HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
418 HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
419 HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
420 HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
421 HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
422 HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
423 HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
424 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
425 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
426 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
427 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
428 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
429 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
430 HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
431 HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
432 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
433 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
434 HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
435 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
436 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
437 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
438 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
439};
440
441#undef HIP_API_ID_CONCAT_HELPER
442#undef HIP_API_ID_CONCAT
443
444// Return the HIP API string for a given callback ID
445static inline const char* hip_api_name(const uint32_t id) {
446 switch(id) {
447 case HIP_API_ID___hipPopCallConfiguration: return "__hipPopCallConfiguration";
448 case HIP_API_ID___hipPushCallConfiguration: return "__hipPushCallConfiguration";
449 case HIP_API_ID_hipArray3DCreate: return "hipArray3DCreate";
450 case HIP_API_ID_hipArray3DGetDescriptor: return "hipArray3DGetDescriptor";
451 case HIP_API_ID_hipArrayCreate: return "hipArrayCreate";
452 case HIP_API_ID_hipArrayDestroy: return "hipArrayDestroy";
453 case HIP_API_ID_hipArrayGetDescriptor: return "hipArrayGetDescriptor";
454 case HIP_API_ID_hipArrayGetInfo: return "hipArrayGetInfo";
455 case HIP_API_ID_hipChooseDeviceR0000: return "hipChooseDeviceR0000";
456 case HIP_API_ID_hipChooseDeviceR0600: return "hipChooseDeviceR0600";
457 case HIP_API_ID_hipConfigureCall: return "hipConfigureCall";
458 case HIP_API_ID_hipCreateSurfaceObject: return "hipCreateSurfaceObject";
459 case HIP_API_ID_hipCtxCreate: return "hipCtxCreate";
460 case HIP_API_ID_hipCtxDestroy: return "hipCtxDestroy";
461 case HIP_API_ID_hipCtxDisablePeerAccess: return "hipCtxDisablePeerAccess";
462 case HIP_API_ID_hipCtxEnablePeerAccess: return "hipCtxEnablePeerAccess";
463 case HIP_API_ID_hipCtxGetApiVersion: return "hipCtxGetApiVersion";
464 case HIP_API_ID_hipCtxGetCacheConfig: return "hipCtxGetCacheConfig";
465 case HIP_API_ID_hipCtxGetCurrent: return "hipCtxGetCurrent";
466 case HIP_API_ID_hipCtxGetDevice: return "hipCtxGetDevice";
467 case HIP_API_ID_hipCtxGetFlags: return "hipCtxGetFlags";
468 case HIP_API_ID_hipCtxGetSharedMemConfig: return "hipCtxGetSharedMemConfig";
469 case HIP_API_ID_hipCtxPopCurrent: return "hipCtxPopCurrent";
470 case HIP_API_ID_hipCtxPushCurrent: return "hipCtxPushCurrent";
471 case HIP_API_ID_hipCtxSetCacheConfig: return "hipCtxSetCacheConfig";
472 case HIP_API_ID_hipCtxSetCurrent: return "hipCtxSetCurrent";
473 case HIP_API_ID_hipCtxSetSharedMemConfig: return "hipCtxSetSharedMemConfig";
474 case HIP_API_ID_hipCtxSynchronize: return "hipCtxSynchronize";
475 case HIP_API_ID_hipDestroyExternalMemory: return "hipDestroyExternalMemory";
476 case HIP_API_ID_hipDestroyExternalSemaphore: return "hipDestroyExternalSemaphore";
477 case HIP_API_ID_hipDestroySurfaceObject: return "hipDestroySurfaceObject";
478 case HIP_API_ID_hipDeviceCanAccessPeer: return "hipDeviceCanAccessPeer";
479 case HIP_API_ID_hipDeviceComputeCapability: return "hipDeviceComputeCapability";
480 case HIP_API_ID_hipDeviceDisablePeerAccess: return "hipDeviceDisablePeerAccess";
481 case HIP_API_ID_hipDeviceEnablePeerAccess: return "hipDeviceEnablePeerAccess";
482 case HIP_API_ID_hipDeviceGet: return "hipDeviceGet";
483 case HIP_API_ID_hipDeviceGetAttribute: return "hipDeviceGetAttribute";
484 case HIP_API_ID_hipDeviceGetByPCIBusId: return "hipDeviceGetByPCIBusId";
485 case HIP_API_ID_hipDeviceGetCacheConfig: return "hipDeviceGetCacheConfig";
486 case HIP_API_ID_hipDeviceGetDefaultMemPool: return "hipDeviceGetDefaultMemPool";
487 case HIP_API_ID_hipDeviceGetGraphMemAttribute: return "hipDeviceGetGraphMemAttribute";
488 case HIP_API_ID_hipDeviceGetLimit: return "hipDeviceGetLimit";
489 case HIP_API_ID_hipDeviceGetMemPool: return "hipDeviceGetMemPool";
490 case HIP_API_ID_hipDeviceGetName: return "hipDeviceGetName";
491 case HIP_API_ID_hipDeviceGetP2PAttribute: return "hipDeviceGetP2PAttribute";
492 case HIP_API_ID_hipDeviceGetPCIBusId: return "hipDeviceGetPCIBusId";
493 case HIP_API_ID_hipDeviceGetSharedMemConfig: return "hipDeviceGetSharedMemConfig";
494 case HIP_API_ID_hipDeviceGetStreamPriorityRange: return "hipDeviceGetStreamPriorityRange";
495 case HIP_API_ID_hipDeviceGetUuid: return "hipDeviceGetUuid";
496 case HIP_API_ID_hipDeviceGraphMemTrim: return "hipDeviceGraphMemTrim";
497 case HIP_API_ID_hipDevicePrimaryCtxGetState: return "hipDevicePrimaryCtxGetState";
498 case HIP_API_ID_hipDevicePrimaryCtxRelease: return "hipDevicePrimaryCtxRelease";
499 case HIP_API_ID_hipDevicePrimaryCtxReset: return "hipDevicePrimaryCtxReset";
500 case HIP_API_ID_hipDevicePrimaryCtxRetain: return "hipDevicePrimaryCtxRetain";
501 case HIP_API_ID_hipDevicePrimaryCtxSetFlags: return "hipDevicePrimaryCtxSetFlags";
502 case HIP_API_ID_hipDeviceReset: return "hipDeviceReset";
503 case HIP_API_ID_hipDeviceSetCacheConfig: return "hipDeviceSetCacheConfig";
504 case HIP_API_ID_hipDeviceSetGraphMemAttribute: return "hipDeviceSetGraphMemAttribute";
505 case HIP_API_ID_hipDeviceSetLimit: return "hipDeviceSetLimit";
506 case HIP_API_ID_hipDeviceSetMemPool: return "hipDeviceSetMemPool";
507 case HIP_API_ID_hipDeviceSetSharedMemConfig: return "hipDeviceSetSharedMemConfig";
508 case HIP_API_ID_hipDeviceSynchronize: return "hipDeviceSynchronize";
509 case HIP_API_ID_hipDeviceTotalMem: return "hipDeviceTotalMem";
510 case HIP_API_ID_hipDriverGetVersion: return "hipDriverGetVersion";
511 case HIP_API_ID_hipDrvGraphAddMemcpyNode: return "hipDrvGraphAddMemcpyNode";
512 case HIP_API_ID_hipDrvGraphAddMemsetNode: return "hipDrvGraphAddMemsetNode";
513 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams: return "hipDrvGraphMemcpyNodeGetParams";
514 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams: return "hipDrvGraphMemcpyNodeSetParams";
515 case HIP_API_ID_hipDrvMemcpy2DUnaligned: return "hipDrvMemcpy2DUnaligned";
516 case HIP_API_ID_hipDrvMemcpy3D: return "hipDrvMemcpy3D";
517 case HIP_API_ID_hipDrvMemcpy3DAsync: return "hipDrvMemcpy3DAsync";
518 case HIP_API_ID_hipDrvPointerGetAttributes: return "hipDrvPointerGetAttributes";
519 case HIP_API_ID_hipEventCreate: return "hipEventCreate";
520 case HIP_API_ID_hipEventCreateWithFlags: return "hipEventCreateWithFlags";
521 case HIP_API_ID_hipEventDestroy: return "hipEventDestroy";
522 case HIP_API_ID_hipEventElapsedTime: return "hipEventElapsedTime";
523 case HIP_API_ID_hipEventQuery: return "hipEventQuery";
524 case HIP_API_ID_hipEventRecord: return "hipEventRecord";
525 case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
526 case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
527 case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
528 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
529 case HIP_API_ID_hipExtMallocWithFlags: return "hipExtMallocWithFlags";
530 case HIP_API_ID_hipExtModuleLaunchKernel: return "hipExtModuleLaunchKernel";
531 case HIP_API_ID_hipExtStreamCreateWithCUMask: return "hipExtStreamCreateWithCUMask";
532 case HIP_API_ID_hipExtStreamGetCUMask: return "hipExtStreamGetCUMask";
533 case HIP_API_ID_hipExternalMemoryGetMappedBuffer: return "hipExternalMemoryGetMappedBuffer";
534 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray: return "hipExternalMemoryGetMappedMipmappedArray";
535 case HIP_API_ID_hipFree: return "hipFree";
536 case HIP_API_ID_hipFreeArray: return "hipFreeArray";
537 case HIP_API_ID_hipFreeAsync: return "hipFreeAsync";
538 case HIP_API_ID_hipFreeHost: return "hipFreeHost";
539 case HIP_API_ID_hipFreeMipmappedArray: return "hipFreeMipmappedArray";
540 case HIP_API_ID_hipFuncGetAttribute: return "hipFuncGetAttribute";
541 case HIP_API_ID_hipFuncGetAttributes: return "hipFuncGetAttributes";
542 case HIP_API_ID_hipFuncSetAttribute: return "hipFuncSetAttribute";
543 case HIP_API_ID_hipFuncSetCacheConfig: return "hipFuncSetCacheConfig";
544 case HIP_API_ID_hipFuncSetSharedMemConfig: return "hipFuncSetSharedMemConfig";
545 case HIP_API_ID_hipGLGetDevices: return "hipGLGetDevices";
546 case HIP_API_ID_hipGetChannelDesc: return "hipGetChannelDesc";
547 case HIP_API_ID_hipGetDevice: return "hipGetDevice";
548 case HIP_API_ID_hipGetDeviceCount: return "hipGetDeviceCount";
549 case HIP_API_ID_hipGetDeviceFlags: return "hipGetDeviceFlags";
550 case HIP_API_ID_hipGetDevicePropertiesR0000: return "hipGetDevicePropertiesR0000";
551 case HIP_API_ID_hipGetDevicePropertiesR0600: return "hipGetDevicePropertiesR0600";
552 case HIP_API_ID_hipGetErrorString: return "hipGetErrorString";
553 case HIP_API_ID_hipGetLastError: return "hipGetLastError";
554 case HIP_API_ID_hipGetMipmappedArrayLevel: return "hipGetMipmappedArrayLevel";
555 case HIP_API_ID_hipGetSymbolAddress: return "hipGetSymbolAddress";
556 case HIP_API_ID_hipGetSymbolSize: return "hipGetSymbolSize";
557 case HIP_API_ID_hipGraphAddChildGraphNode: return "hipGraphAddChildGraphNode";
558 case HIP_API_ID_hipGraphAddDependencies: return "hipGraphAddDependencies";
559 case HIP_API_ID_hipGraphAddEmptyNode: return "hipGraphAddEmptyNode";
560 case HIP_API_ID_hipGraphAddEventRecordNode: return "hipGraphAddEventRecordNode";
561 case HIP_API_ID_hipGraphAddEventWaitNode: return "hipGraphAddEventWaitNode";
562 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode: return "hipGraphAddExternalSemaphoresSignalNode";
563 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode: return "hipGraphAddExternalSemaphoresWaitNode";
564 case HIP_API_ID_hipGraphAddHostNode: return "hipGraphAddHostNode";
565 case HIP_API_ID_hipGraphAddKernelNode: return "hipGraphAddKernelNode";
566 case HIP_API_ID_hipGraphAddMemAllocNode: return "hipGraphAddMemAllocNode";
567 case HIP_API_ID_hipGraphAddMemFreeNode: return "hipGraphAddMemFreeNode";
568 case HIP_API_ID_hipGraphAddMemcpyNode: return "hipGraphAddMemcpyNode";
569 case HIP_API_ID_hipGraphAddMemcpyNode1D: return "hipGraphAddMemcpyNode1D";
570 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol: return "hipGraphAddMemcpyNodeFromSymbol";
571 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol: return "hipGraphAddMemcpyNodeToSymbol";
572 case HIP_API_ID_hipGraphAddMemsetNode: return "hipGraphAddMemsetNode";
573 case HIP_API_ID_hipGraphChildGraphNodeGetGraph: return "hipGraphChildGraphNodeGetGraph";
574 case HIP_API_ID_hipGraphClone: return "hipGraphClone";
575 case HIP_API_ID_hipGraphCreate: return "hipGraphCreate";
576 case HIP_API_ID_hipGraphDebugDotPrint: return "hipGraphDebugDotPrint";
577 case HIP_API_ID_hipGraphDestroy: return "hipGraphDestroy";
578 case HIP_API_ID_hipGraphDestroyNode: return "hipGraphDestroyNode";
579 case HIP_API_ID_hipGraphEventRecordNodeGetEvent: return "hipGraphEventRecordNodeGetEvent";
580 case HIP_API_ID_hipGraphEventRecordNodeSetEvent: return "hipGraphEventRecordNodeSetEvent";
581 case HIP_API_ID_hipGraphEventWaitNodeGetEvent: return "hipGraphEventWaitNodeGetEvent";
582 case HIP_API_ID_hipGraphEventWaitNodeSetEvent: return "hipGraphEventWaitNodeSetEvent";
583 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams: return "hipGraphExecChildGraphNodeSetParams";
584 case HIP_API_ID_hipGraphExecDestroy: return "hipGraphExecDestroy";
585 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent: return "hipGraphExecEventRecordNodeSetEvent";
586 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent: return "hipGraphExecEventWaitNodeSetEvent";
587 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams: return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
588 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams: return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
589 case HIP_API_ID_hipGraphExecHostNodeSetParams: return "hipGraphExecHostNodeSetParams";
590 case HIP_API_ID_hipGraphExecKernelNodeSetParams: return "hipGraphExecKernelNodeSetParams";
591 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams: return "hipGraphExecMemcpyNodeSetParams";
592 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D: return "hipGraphExecMemcpyNodeSetParams1D";
593 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol: return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
594 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol: return "hipGraphExecMemcpyNodeSetParamsToSymbol";
595 case HIP_API_ID_hipGraphExecMemsetNodeSetParams: return "hipGraphExecMemsetNodeSetParams";
596 case HIP_API_ID_hipGraphExecUpdate: return "hipGraphExecUpdate";
597 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams: return "hipGraphExternalSemaphoresSignalNodeGetParams";
598 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams: return "hipGraphExternalSemaphoresSignalNodeSetParams";
599 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams: return "hipGraphExternalSemaphoresWaitNodeGetParams";
600 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams: return "hipGraphExternalSemaphoresWaitNodeSetParams";
601 case HIP_API_ID_hipGraphGetEdges: return "hipGraphGetEdges";
602 case HIP_API_ID_hipGraphGetNodes: return "hipGraphGetNodes";
603 case HIP_API_ID_hipGraphGetRootNodes: return "hipGraphGetRootNodes";
604 case HIP_API_ID_hipGraphHostNodeGetParams: return "hipGraphHostNodeGetParams";
605 case HIP_API_ID_hipGraphHostNodeSetParams: return "hipGraphHostNodeSetParams";
606 case HIP_API_ID_hipGraphInstantiate: return "hipGraphInstantiate";
607 case HIP_API_ID_hipGraphInstantiateWithFlags: return "hipGraphInstantiateWithFlags";
608 case HIP_API_ID_hipGraphKernelNodeCopyAttributes: return "hipGraphKernelNodeCopyAttributes";
609 case HIP_API_ID_hipGraphKernelNodeGetAttribute: return "hipGraphKernelNodeGetAttribute";
610 case HIP_API_ID_hipGraphKernelNodeGetParams: return "hipGraphKernelNodeGetParams";
611 case HIP_API_ID_hipGraphKernelNodeSetAttribute: return "hipGraphKernelNodeSetAttribute";
612 case HIP_API_ID_hipGraphKernelNodeSetParams: return "hipGraphKernelNodeSetParams";
613 case HIP_API_ID_hipGraphLaunch: return "hipGraphLaunch";
614 case HIP_API_ID_hipGraphMemAllocNodeGetParams: return "hipGraphMemAllocNodeGetParams";
615 case HIP_API_ID_hipGraphMemFreeNodeGetParams: return "hipGraphMemFreeNodeGetParams";
616 case HIP_API_ID_hipGraphMemcpyNodeGetParams: return "hipGraphMemcpyNodeGetParams";
617 case HIP_API_ID_hipGraphMemcpyNodeSetParams: return "hipGraphMemcpyNodeSetParams";
618 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D: return "hipGraphMemcpyNodeSetParams1D";
619 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol: return "hipGraphMemcpyNodeSetParamsFromSymbol";
620 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol: return "hipGraphMemcpyNodeSetParamsToSymbol";
621 case HIP_API_ID_hipGraphMemsetNodeGetParams: return "hipGraphMemsetNodeGetParams";
622 case HIP_API_ID_hipGraphMemsetNodeSetParams: return "hipGraphMemsetNodeSetParams";
623 case HIP_API_ID_hipGraphNodeFindInClone: return "hipGraphNodeFindInClone";
624 case HIP_API_ID_hipGraphNodeGetDependencies: return "hipGraphNodeGetDependencies";
625 case HIP_API_ID_hipGraphNodeGetDependentNodes: return "hipGraphNodeGetDependentNodes";
626 case HIP_API_ID_hipGraphNodeGetEnabled: return "hipGraphNodeGetEnabled";
627 case HIP_API_ID_hipGraphNodeGetType: return "hipGraphNodeGetType";
628 case HIP_API_ID_hipGraphNodeSetEnabled: return "hipGraphNodeSetEnabled";
629 case HIP_API_ID_hipGraphReleaseUserObject: return "hipGraphReleaseUserObject";
630 case HIP_API_ID_hipGraphRemoveDependencies: return "hipGraphRemoveDependencies";
631 case HIP_API_ID_hipGraphRetainUserObject: return "hipGraphRetainUserObject";
632 case HIP_API_ID_hipGraphUpload: return "hipGraphUpload";
633 case HIP_API_ID_hipGraphicsGLRegisterBuffer: return "hipGraphicsGLRegisterBuffer";
634 case HIP_API_ID_hipGraphicsGLRegisterImage: return "hipGraphicsGLRegisterImage";
635 case HIP_API_ID_hipGraphicsMapResources: return "hipGraphicsMapResources";
636 case HIP_API_ID_hipGraphicsResourceGetMappedPointer: return "hipGraphicsResourceGetMappedPointer";
637 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray: return "hipGraphicsSubResourceGetMappedArray";
638 case HIP_API_ID_hipGraphicsUnmapResources: return "hipGraphicsUnmapResources";
639 case HIP_API_ID_hipGraphicsUnregisterResource: return "hipGraphicsUnregisterResource";
640 case HIP_API_ID_hipHccModuleLaunchKernel: return "hipHccModuleLaunchKernel";
641 case HIP_API_ID_hipHostAlloc: return "hipHostAlloc";
642 case HIP_API_ID_hipHostFree: return "hipHostFree";
643 case HIP_API_ID_hipHostGetDevicePointer: return "hipHostGetDevicePointer";
644 case HIP_API_ID_hipHostGetFlags: return "hipHostGetFlags";
645 case HIP_API_ID_hipHostMalloc: return "hipHostMalloc";
646 case HIP_API_ID_hipHostRegister: return "hipHostRegister";
647 case HIP_API_ID_hipHostUnregister: return "hipHostUnregister";
648 case HIP_API_ID_hipImportExternalMemory: return "hipImportExternalMemory";
649 case HIP_API_ID_hipImportExternalSemaphore: return "hipImportExternalSemaphore";
650 case HIP_API_ID_hipInit: return "hipInit";
651 case HIP_API_ID_hipIpcCloseMemHandle: return "hipIpcCloseMemHandle";
652 case HIP_API_ID_hipIpcGetEventHandle: return "hipIpcGetEventHandle";
653 case HIP_API_ID_hipIpcGetMemHandle: return "hipIpcGetMemHandle";
654 case HIP_API_ID_hipIpcOpenEventHandle: return "hipIpcOpenEventHandle";
655 case HIP_API_ID_hipIpcOpenMemHandle: return "hipIpcOpenMemHandle";
656 case HIP_API_ID_hipLaunchByPtr: return "hipLaunchByPtr";
657 case HIP_API_ID_hipLaunchCooperativeKernel: return "hipLaunchCooperativeKernel";
658 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice: return "hipLaunchCooperativeKernelMultiDevice";
659 case HIP_API_ID_hipLaunchHostFunc: return "hipLaunchHostFunc";
660 case HIP_API_ID_hipLaunchKernel: return "hipLaunchKernel";
661 case HIP_API_ID_hipMalloc: return "hipMalloc";
662 case HIP_API_ID_hipMalloc3D: return "hipMalloc3D";
663 case HIP_API_ID_hipMalloc3DArray: return "hipMalloc3DArray";
664 case HIP_API_ID_hipMallocArray: return "hipMallocArray";
665 case HIP_API_ID_hipMallocAsync: return "hipMallocAsync";
666 case HIP_API_ID_hipMallocFromPoolAsync: return "hipMallocFromPoolAsync";
667 case HIP_API_ID_hipMallocHost: return "hipMallocHost";
668 case HIP_API_ID_hipMallocManaged: return "hipMallocManaged";
669 case HIP_API_ID_hipMallocMipmappedArray: return "hipMallocMipmappedArray";
670 case HIP_API_ID_hipMallocPitch: return "hipMallocPitch";
671 case HIP_API_ID_hipMemAddressFree: return "hipMemAddressFree";
672 case HIP_API_ID_hipMemAddressReserve: return "hipMemAddressReserve";
673 case HIP_API_ID_hipMemAdvise: return "hipMemAdvise";
674 case HIP_API_ID_hipMemAllocHost: return "hipMemAllocHost";
675 case HIP_API_ID_hipMemAllocPitch: return "hipMemAllocPitch";
676 case HIP_API_ID_hipMemCreate: return "hipMemCreate";
677 case HIP_API_ID_hipMemExportToShareableHandle: return "hipMemExportToShareableHandle";
678 case HIP_API_ID_hipMemGetAccess: return "hipMemGetAccess";
679 case HIP_API_ID_hipMemGetAddressRange: return "hipMemGetAddressRange";
680 case HIP_API_ID_hipMemGetAllocationGranularity: return "hipMemGetAllocationGranularity";
681 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle: return "hipMemGetAllocationPropertiesFromHandle";
682 case HIP_API_ID_hipMemGetInfo: return "hipMemGetInfo";
683 case HIP_API_ID_hipMemImportFromShareableHandle: return "hipMemImportFromShareableHandle";
684 case HIP_API_ID_hipMemMap: return "hipMemMap";
685 case HIP_API_ID_hipMemMapArrayAsync: return "hipMemMapArrayAsync";
686 case HIP_API_ID_hipMemPoolCreate: return "hipMemPoolCreate";
687 case HIP_API_ID_hipMemPoolDestroy: return "hipMemPoolDestroy";
688 case HIP_API_ID_hipMemPoolExportPointer: return "hipMemPoolExportPointer";
689 case HIP_API_ID_hipMemPoolExportToShareableHandle: return "hipMemPoolExportToShareableHandle";
690 case HIP_API_ID_hipMemPoolGetAccess: return "hipMemPoolGetAccess";
691 case HIP_API_ID_hipMemPoolGetAttribute: return "hipMemPoolGetAttribute";
692 case HIP_API_ID_hipMemPoolImportFromShareableHandle: return "hipMemPoolImportFromShareableHandle";
693 case HIP_API_ID_hipMemPoolImportPointer: return "hipMemPoolImportPointer";
694 case HIP_API_ID_hipMemPoolSetAccess: return "hipMemPoolSetAccess";
695 case HIP_API_ID_hipMemPoolSetAttribute: return "hipMemPoolSetAttribute";
696 case HIP_API_ID_hipMemPoolTrimTo: return "hipMemPoolTrimTo";
697 case HIP_API_ID_hipMemPrefetchAsync: return "hipMemPrefetchAsync";
698 case HIP_API_ID_hipMemPtrGetInfo: return "hipMemPtrGetInfo";
699 case HIP_API_ID_hipMemRangeGetAttribute: return "hipMemRangeGetAttribute";
700 case HIP_API_ID_hipMemRangeGetAttributes: return "hipMemRangeGetAttributes";
701 case HIP_API_ID_hipMemRelease: return "hipMemRelease";
702 case HIP_API_ID_hipMemRetainAllocationHandle: return "hipMemRetainAllocationHandle";
703 case HIP_API_ID_hipMemSetAccess: return "hipMemSetAccess";
704 case HIP_API_ID_hipMemUnmap: return "hipMemUnmap";
705 case HIP_API_ID_hipMemcpy: return "hipMemcpy";
706 case HIP_API_ID_hipMemcpy2D: return "hipMemcpy2D";
707 case HIP_API_ID_hipMemcpy2DAsync: return "hipMemcpy2DAsync";
708 case HIP_API_ID_hipMemcpy2DFromArray: return "hipMemcpy2DFromArray";
709 case HIP_API_ID_hipMemcpy2DFromArrayAsync: return "hipMemcpy2DFromArrayAsync";
710 case HIP_API_ID_hipMemcpy2DToArray: return "hipMemcpy2DToArray";
711 case HIP_API_ID_hipMemcpy2DToArrayAsync: return "hipMemcpy2DToArrayAsync";
712 case HIP_API_ID_hipMemcpy3D: return "hipMemcpy3D";
713 case HIP_API_ID_hipMemcpy3DAsync: return "hipMemcpy3DAsync";
714 case HIP_API_ID_hipMemcpyAsync: return "hipMemcpyAsync";
715 case HIP_API_ID_hipMemcpyAtoH: return "hipMemcpyAtoH";
716 case HIP_API_ID_hipMemcpyDtoD: return "hipMemcpyDtoD";
717 case HIP_API_ID_hipMemcpyDtoDAsync: return "hipMemcpyDtoDAsync";
718 case HIP_API_ID_hipMemcpyDtoH: return "hipMemcpyDtoH";
719 case HIP_API_ID_hipMemcpyDtoHAsync: return "hipMemcpyDtoHAsync";
720 case HIP_API_ID_hipMemcpyFromArray: return "hipMemcpyFromArray";
721 case HIP_API_ID_hipMemcpyFromSymbol: return "hipMemcpyFromSymbol";
722 case HIP_API_ID_hipMemcpyFromSymbolAsync: return "hipMemcpyFromSymbolAsync";
723 case HIP_API_ID_hipMemcpyHtoA: return "hipMemcpyHtoA";
724 case HIP_API_ID_hipMemcpyHtoD: return "hipMemcpyHtoD";
725 case HIP_API_ID_hipMemcpyHtoDAsync: return "hipMemcpyHtoDAsync";
726 case HIP_API_ID_hipMemcpyParam2D: return "hipMemcpyParam2D";
727 case HIP_API_ID_hipMemcpyParam2DAsync: return "hipMemcpyParam2DAsync";
728 case HIP_API_ID_hipMemcpyPeer: return "hipMemcpyPeer";
729 case HIP_API_ID_hipMemcpyPeerAsync: return "hipMemcpyPeerAsync";
730 case HIP_API_ID_hipMemcpyToArray: return "hipMemcpyToArray";
731 case HIP_API_ID_hipMemcpyToSymbol: return "hipMemcpyToSymbol";
732 case HIP_API_ID_hipMemcpyToSymbolAsync: return "hipMemcpyToSymbolAsync";
733 case HIP_API_ID_hipMemcpyWithStream: return "hipMemcpyWithStream";
734 case HIP_API_ID_hipMemset: return "hipMemset";
735 case HIP_API_ID_hipMemset2D: return "hipMemset2D";
736 case HIP_API_ID_hipMemset2DAsync: return "hipMemset2DAsync";
737 case HIP_API_ID_hipMemset3D: return "hipMemset3D";
738 case HIP_API_ID_hipMemset3DAsync: return "hipMemset3DAsync";
739 case HIP_API_ID_hipMemsetAsync: return "hipMemsetAsync";
740 case HIP_API_ID_hipMemsetD16: return "hipMemsetD16";
741 case HIP_API_ID_hipMemsetD16Async: return "hipMemsetD16Async";
742 case HIP_API_ID_hipMemsetD32: return "hipMemsetD32";
743 case HIP_API_ID_hipMemsetD32Async: return "hipMemsetD32Async";
744 case HIP_API_ID_hipMemsetD8: return "hipMemsetD8";
745 case HIP_API_ID_hipMemsetD8Async: return "hipMemsetD8Async";
746 case HIP_API_ID_hipMipmappedArrayCreate: return "hipMipmappedArrayCreate";
747 case HIP_API_ID_hipMipmappedArrayDestroy: return "hipMipmappedArrayDestroy";
748 case HIP_API_ID_hipMipmappedArrayGetLevel: return "hipMipmappedArrayGetLevel";
749 case HIP_API_ID_hipModuleGetFunction: return "hipModuleGetFunction";
750 case HIP_API_ID_hipModuleGetGlobal: return "hipModuleGetGlobal";
751 case HIP_API_ID_hipModuleGetTexRef: return "hipModuleGetTexRef";
752 case HIP_API_ID_hipModuleLaunchCooperativeKernel: return "hipModuleLaunchCooperativeKernel";
753 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice: return "hipModuleLaunchCooperativeKernelMultiDevice";
754 case HIP_API_ID_hipModuleLaunchKernel: return "hipModuleLaunchKernel";
755 case HIP_API_ID_hipModuleLoad: return "hipModuleLoad";
756 case HIP_API_ID_hipModuleLoadData: return "hipModuleLoadData";
757 case HIP_API_ID_hipModuleLoadDataEx: return "hipModuleLoadDataEx";
758 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
759 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
760 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize: return "hipModuleOccupancyMaxPotentialBlockSize";
761 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags: return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
762 case HIP_API_ID_hipModuleUnload: return "hipModuleUnload";
763 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor: return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
764 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
765 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize: return "hipOccupancyMaxPotentialBlockSize";
766 case HIP_API_ID_hipPeekAtLastError: return "hipPeekAtLastError";
767 case HIP_API_ID_hipPointerGetAttribute: return "hipPointerGetAttribute";
768 case HIP_API_ID_hipPointerGetAttributes: return "hipPointerGetAttributes";
769 case HIP_API_ID_hipPointerSetAttribute: return "hipPointerSetAttribute";
770 case HIP_API_ID_hipProfilerStart: return "hipProfilerStart";
771 case HIP_API_ID_hipProfilerStop: return "hipProfilerStop";
772 case HIP_API_ID_hipRuntimeGetVersion: return "hipRuntimeGetVersion";
773 case HIP_API_ID_hipSetDevice: return "hipSetDevice";
774 case HIP_API_ID_hipSetDeviceFlags: return "hipSetDeviceFlags";
775 case HIP_API_ID_hipSetupArgument: return "hipSetupArgument";
776 case HIP_API_ID_hipSignalExternalSemaphoresAsync: return "hipSignalExternalSemaphoresAsync";
777 case HIP_API_ID_hipStreamAddCallback: return "hipStreamAddCallback";
778 case HIP_API_ID_hipStreamAttachMemAsync: return "hipStreamAttachMemAsync";
779 case HIP_API_ID_hipStreamBeginCapture: return "hipStreamBeginCapture";
780 case HIP_API_ID_hipStreamCreate: return "hipStreamCreate";
781 case HIP_API_ID_hipStreamCreateWithFlags: return "hipStreamCreateWithFlags";
782 case HIP_API_ID_hipStreamCreateWithPriority: return "hipStreamCreateWithPriority";
783 case HIP_API_ID_hipStreamDestroy: return "hipStreamDestroy";
784 case HIP_API_ID_hipStreamEndCapture: return "hipStreamEndCapture";
785 case HIP_API_ID_hipStreamGetCaptureInfo: return "hipStreamGetCaptureInfo";
786 case HIP_API_ID_hipStreamGetCaptureInfo_v2: return "hipStreamGetCaptureInfo_v2";
787 case HIP_API_ID_hipStreamGetDevice: return "hipStreamGetDevice";
788 case HIP_API_ID_hipStreamGetFlags: return "hipStreamGetFlags";
789 case HIP_API_ID_hipStreamGetPriority: return "hipStreamGetPriority";
790 case HIP_API_ID_hipStreamIsCapturing: return "hipStreamIsCapturing";
791 case HIP_API_ID_hipStreamQuery: return "hipStreamQuery";
792 case HIP_API_ID_hipStreamSynchronize: return "hipStreamSynchronize";
793 case HIP_API_ID_hipStreamUpdateCaptureDependencies: return "hipStreamUpdateCaptureDependencies";
794 case HIP_API_ID_hipStreamWaitEvent: return "hipStreamWaitEvent";
795 case HIP_API_ID_hipStreamWaitValue32: return "hipStreamWaitValue32";
796 case HIP_API_ID_hipStreamWaitValue64: return "hipStreamWaitValue64";
797 case HIP_API_ID_hipStreamWriteValue32: return "hipStreamWriteValue32";
798 case HIP_API_ID_hipStreamWriteValue64: return "hipStreamWriteValue64";
799 case HIP_API_ID_hipTexRefGetAddress: return "hipTexRefGetAddress";
800 case HIP_API_ID_hipTexRefGetFlags: return "hipTexRefGetFlags";
801 case HIP_API_ID_hipTexRefGetFormat: return "hipTexRefGetFormat";
802 case HIP_API_ID_hipTexRefGetMaxAnisotropy: return "hipTexRefGetMaxAnisotropy";
803 case HIP_API_ID_hipTexRefGetMipMappedArray: return "hipTexRefGetMipMappedArray";
804 case HIP_API_ID_hipTexRefGetMipmapLevelBias: return "hipTexRefGetMipmapLevelBias";
805 case HIP_API_ID_hipTexRefGetMipmapLevelClamp: return "hipTexRefGetMipmapLevelClamp";
806 case HIP_API_ID_hipTexRefSetAddress: return "hipTexRefSetAddress";
807 case HIP_API_ID_hipTexRefSetAddress2D: return "hipTexRefSetAddress2D";
808 case HIP_API_ID_hipTexRefSetArray: return "hipTexRefSetArray";
809 case HIP_API_ID_hipTexRefSetBorderColor: return "hipTexRefSetBorderColor";
810 case HIP_API_ID_hipTexRefSetFlags: return "hipTexRefSetFlags";
811 case HIP_API_ID_hipTexRefSetFormat: return "hipTexRefSetFormat";
812 case HIP_API_ID_hipTexRefSetMaxAnisotropy: return "hipTexRefSetMaxAnisotropy";
813 case HIP_API_ID_hipTexRefSetMipmapLevelBias: return "hipTexRefSetMipmapLevelBias";
814 case HIP_API_ID_hipTexRefSetMipmapLevelClamp: return "hipTexRefSetMipmapLevelClamp";
815 case HIP_API_ID_hipTexRefSetMipmappedArray: return "hipTexRefSetMipmappedArray";
816 case HIP_API_ID_hipThreadExchangeStreamCaptureMode: return "hipThreadExchangeStreamCaptureMode";
817 case HIP_API_ID_hipUserObjectCreate: return "hipUserObjectCreate";
818 case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
819 case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
820 case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
821 case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
822 };
823 return "unknown";
824};
825
826#include <string.h>
827// Return the HIP API callback ID for a given name
828static inline uint32_t hipApiIdByName(const char* name) {
829 if (strcmp("__hipPopCallConfiguration", name) == 0) return HIP_API_ID___hipPopCallConfiguration;
830 if (strcmp("__hipPushCallConfiguration", name) == 0) return HIP_API_ID___hipPushCallConfiguration;
831 if (strcmp("hipArray3DCreate", name) == 0) return HIP_API_ID_hipArray3DCreate;
832 if (strcmp("hipArray3DGetDescriptor", name) == 0) return HIP_API_ID_hipArray3DGetDescriptor;
833 if (strcmp("hipArrayCreate", name) == 0) return HIP_API_ID_hipArrayCreate;
834 if (strcmp("hipArrayDestroy", name) == 0) return HIP_API_ID_hipArrayDestroy;
835 if (strcmp("hipArrayGetDescriptor", name) == 0) return HIP_API_ID_hipArrayGetDescriptor;
836 if (strcmp("hipArrayGetInfo", name) == 0) return HIP_API_ID_hipArrayGetInfo;
837 if (strcmp("hipChooseDeviceR0000", name) == 0) return HIP_API_ID_hipChooseDeviceR0000;
838 if (strcmp("hipChooseDeviceR0600", name) == 0) return HIP_API_ID_hipChooseDeviceR0600;
839 if (strcmp("hipConfigureCall", name) == 0) return HIP_API_ID_hipConfigureCall;
840 if (strcmp("hipCreateSurfaceObject", name) == 0) return HIP_API_ID_hipCreateSurfaceObject;
841 if (strcmp("hipCtxCreate", name) == 0) return HIP_API_ID_hipCtxCreate;
842 if (strcmp("hipCtxDestroy", name) == 0) return HIP_API_ID_hipCtxDestroy;
843 if (strcmp("hipCtxDisablePeerAccess", name) == 0) return HIP_API_ID_hipCtxDisablePeerAccess;
844 if (strcmp("hipCtxEnablePeerAccess", name) == 0) return HIP_API_ID_hipCtxEnablePeerAccess;
845 if (strcmp("hipCtxGetApiVersion", name) == 0) return HIP_API_ID_hipCtxGetApiVersion;
846 if (strcmp("hipCtxGetCacheConfig", name) == 0) return HIP_API_ID_hipCtxGetCacheConfig;
847 if (strcmp("hipCtxGetCurrent", name) == 0) return HIP_API_ID_hipCtxGetCurrent;
848 if (strcmp("hipCtxGetDevice", name) == 0) return HIP_API_ID_hipCtxGetDevice;
849 if (strcmp("hipCtxGetFlags", name) == 0) return HIP_API_ID_hipCtxGetFlags;
850 if (strcmp("hipCtxGetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxGetSharedMemConfig;
851 if (strcmp("hipCtxPopCurrent", name) == 0) return HIP_API_ID_hipCtxPopCurrent;
852 if (strcmp("hipCtxPushCurrent", name) == 0) return HIP_API_ID_hipCtxPushCurrent;
853 if (strcmp("hipCtxSetCacheConfig", name) == 0) return HIP_API_ID_hipCtxSetCacheConfig;
854 if (strcmp("hipCtxSetCurrent", name) == 0) return HIP_API_ID_hipCtxSetCurrent;
855 if (strcmp("hipCtxSetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxSetSharedMemConfig;
856 if (strcmp("hipCtxSynchronize", name) == 0) return HIP_API_ID_hipCtxSynchronize;
857 if (strcmp("hipDestroyExternalMemory", name) == 0) return HIP_API_ID_hipDestroyExternalMemory;
858 if (strcmp("hipDestroyExternalSemaphore", name) == 0) return HIP_API_ID_hipDestroyExternalSemaphore;
859 if (strcmp("hipDestroySurfaceObject", name) == 0) return HIP_API_ID_hipDestroySurfaceObject;
860 if (strcmp("hipDeviceCanAccessPeer", name) == 0) return HIP_API_ID_hipDeviceCanAccessPeer;
861 if (strcmp("hipDeviceComputeCapability", name) == 0) return HIP_API_ID_hipDeviceComputeCapability;
862 if (strcmp("hipDeviceDisablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceDisablePeerAccess;
863 if (strcmp("hipDeviceEnablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceEnablePeerAccess;
864 if (strcmp("hipDeviceGet", name) == 0) return HIP_API_ID_hipDeviceGet;
865 if (strcmp("hipDeviceGetAttribute", name) == 0) return HIP_API_ID_hipDeviceGetAttribute;
866 if (strcmp("hipDeviceGetByPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetByPCIBusId;
867 if (strcmp("hipDeviceGetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceGetCacheConfig;
868 if (strcmp("hipDeviceGetDefaultMemPool", name) == 0) return HIP_API_ID_hipDeviceGetDefaultMemPool;
869 if (strcmp("hipDeviceGetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceGetGraphMemAttribute;
870 if (strcmp("hipDeviceGetLimit", name) == 0) return HIP_API_ID_hipDeviceGetLimit;
871 if (strcmp("hipDeviceGetMemPool", name) == 0) return HIP_API_ID_hipDeviceGetMemPool;
872 if (strcmp("hipDeviceGetName", name) == 0) return HIP_API_ID_hipDeviceGetName;
873 if (strcmp("hipDeviceGetP2PAttribute", name) == 0) return HIP_API_ID_hipDeviceGetP2PAttribute;
874 if (strcmp("hipDeviceGetPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetPCIBusId;
875 if (strcmp("hipDeviceGetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceGetSharedMemConfig;
876 if (strcmp("hipDeviceGetStreamPriorityRange", name) == 0) return HIP_API_ID_hipDeviceGetStreamPriorityRange;
877 if (strcmp("hipDeviceGetUuid", name) == 0) return HIP_API_ID_hipDeviceGetUuid;
878 if (strcmp("hipDeviceGraphMemTrim", name) == 0) return HIP_API_ID_hipDeviceGraphMemTrim;
879 if (strcmp("hipDevicePrimaryCtxGetState", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxGetState;
880 if (strcmp("hipDevicePrimaryCtxRelease", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRelease;
881 if (strcmp("hipDevicePrimaryCtxReset", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxReset;
882 if (strcmp("hipDevicePrimaryCtxRetain", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRetain;
883 if (strcmp("hipDevicePrimaryCtxSetFlags", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
884 if (strcmp("hipDeviceReset", name) == 0) return HIP_API_ID_hipDeviceReset;
885 if (strcmp("hipDeviceSetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceSetCacheConfig;
886 if (strcmp("hipDeviceSetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceSetGraphMemAttribute;
887 if (strcmp("hipDeviceSetLimit", name) == 0) return HIP_API_ID_hipDeviceSetLimit;
888 if (strcmp("hipDeviceSetMemPool", name) == 0) return HIP_API_ID_hipDeviceSetMemPool;
889 if (strcmp("hipDeviceSetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceSetSharedMemConfig;
890 if (strcmp("hipDeviceSynchronize", name) == 0) return HIP_API_ID_hipDeviceSynchronize;
891 if (strcmp("hipDeviceTotalMem", name) == 0) return HIP_API_ID_hipDeviceTotalMem;
892 if (strcmp("hipDriverGetVersion", name) == 0) return HIP_API_ID_hipDriverGetVersion;
893 if (strcmp("hipDrvGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemcpyNode;
894 if (strcmp("hipDrvGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemsetNode;
895 if (strcmp("hipDrvGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
896 if (strcmp("hipDrvGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
897 if (strcmp("hipDrvMemcpy2DUnaligned", name) == 0) return HIP_API_ID_hipDrvMemcpy2DUnaligned;
898 if (strcmp("hipDrvMemcpy3D", name) == 0) return HIP_API_ID_hipDrvMemcpy3D;
899 if (strcmp("hipDrvMemcpy3DAsync", name) == 0) return HIP_API_ID_hipDrvMemcpy3DAsync;
900 if (strcmp("hipDrvPointerGetAttributes", name) == 0) return HIP_API_ID_hipDrvPointerGetAttributes;
901 if (strcmp("hipEventCreate", name) == 0) return HIP_API_ID_hipEventCreate;
902 if (strcmp("hipEventCreateWithFlags", name) == 0) return HIP_API_ID_hipEventCreateWithFlags;
903 if (strcmp("hipEventDestroy", name) == 0) return HIP_API_ID_hipEventDestroy;
904 if (strcmp("hipEventElapsedTime", name) == 0) return HIP_API_ID_hipEventElapsedTime;
905 if (strcmp("hipEventQuery", name) == 0) return HIP_API_ID_hipEventQuery;
906 if (strcmp("hipEventRecord", name) == 0) return HIP_API_ID_hipEventRecord;
907 if (strcmp("hipEventSynchronize", name) == 0) return HIP_API_ID_hipEventSynchronize;
908 if (strcmp("hipExtGetLinkTypeAndHopCount", name) == 0) return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
909 if (strcmp("hipExtLaunchKernel", name) == 0) return HIP_API_ID_hipExtLaunchKernel;
910 if (strcmp("hipExtLaunchMultiKernelMultiDevice", name) == 0) return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
911 if (strcmp("hipExtMallocWithFlags", name) == 0) return HIP_API_ID_hipExtMallocWithFlags;
912 if (strcmp("hipExtModuleLaunchKernel", name) == 0) return HIP_API_ID_hipExtModuleLaunchKernel;
913 if (strcmp("hipExtStreamCreateWithCUMask", name) == 0) return HIP_API_ID_hipExtStreamCreateWithCUMask;
914 if (strcmp("hipExtStreamGetCUMask", name) == 0) return HIP_API_ID_hipExtStreamGetCUMask;
915 if (strcmp("hipExternalMemoryGetMappedBuffer", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
916 if (strcmp("hipExternalMemoryGetMappedMipmappedArray", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
917 if (strcmp("hipFree", name) == 0) return HIP_API_ID_hipFree;
918 if (strcmp("hipFreeArray", name) == 0) return HIP_API_ID_hipFreeArray;
919 if (strcmp("hipFreeAsync", name) == 0) return HIP_API_ID_hipFreeAsync;
920 if (strcmp("hipFreeHost", name) == 0) return HIP_API_ID_hipFreeHost;
921 if (strcmp("hipFreeMipmappedArray", name) == 0) return HIP_API_ID_hipFreeMipmappedArray;
922 if (strcmp("hipFuncGetAttribute", name) == 0) return HIP_API_ID_hipFuncGetAttribute;
923 if (strcmp("hipFuncGetAttributes", name) == 0) return HIP_API_ID_hipFuncGetAttributes;
924 if (strcmp("hipFuncSetAttribute", name) == 0) return HIP_API_ID_hipFuncSetAttribute;
925 if (strcmp("hipFuncSetCacheConfig", name) == 0) return HIP_API_ID_hipFuncSetCacheConfig;
926 if (strcmp("hipFuncSetSharedMemConfig", name) == 0) return HIP_API_ID_hipFuncSetSharedMemConfig;
927 if (strcmp("hipGLGetDevices", name) == 0) return HIP_API_ID_hipGLGetDevices;
928 if (strcmp("hipGetChannelDesc", name) == 0) return HIP_API_ID_hipGetChannelDesc;
929 if (strcmp("hipGetDevice", name) == 0) return HIP_API_ID_hipGetDevice;
930 if (strcmp("hipGetDeviceCount", name) == 0) return HIP_API_ID_hipGetDeviceCount;
931 if (strcmp("hipGetDeviceFlags", name) == 0) return HIP_API_ID_hipGetDeviceFlags;
932 if (strcmp("hipGetDevicePropertiesR0000", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0000;
933 if (strcmp("hipGetDevicePropertiesR0600", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0600;
934 if (strcmp("hipGetErrorString", name) == 0) return HIP_API_ID_hipGetErrorString;
935 if (strcmp("hipGetLastError", name) == 0) return HIP_API_ID_hipGetLastError;
936 if (strcmp("hipGetMipmappedArrayLevel", name) == 0) return HIP_API_ID_hipGetMipmappedArrayLevel;
937 if (strcmp("hipGetSymbolAddress", name) == 0) return HIP_API_ID_hipGetSymbolAddress;
938 if (strcmp("hipGetSymbolSize", name) == 0) return HIP_API_ID_hipGetSymbolSize;
939 if (strcmp("hipGraphAddChildGraphNode", name) == 0) return HIP_API_ID_hipGraphAddChildGraphNode;
940 if (strcmp("hipGraphAddDependencies", name) == 0) return HIP_API_ID_hipGraphAddDependencies;
941 if (strcmp("hipGraphAddEmptyNode", name) == 0) return HIP_API_ID_hipGraphAddEmptyNode;
942 if (strcmp("hipGraphAddEventRecordNode", name) == 0) return HIP_API_ID_hipGraphAddEventRecordNode;
943 if (strcmp("hipGraphAddEventWaitNode", name) == 0) return HIP_API_ID_hipGraphAddEventWaitNode;
944 if (strcmp("hipGraphAddExternalSemaphoresSignalNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
945 if (strcmp("hipGraphAddExternalSemaphoresWaitNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
946 if (strcmp("hipGraphAddHostNode", name) == 0) return HIP_API_ID_hipGraphAddHostNode;
947 if (strcmp("hipGraphAddKernelNode", name) == 0) return HIP_API_ID_hipGraphAddKernelNode;
948 if (strcmp("hipGraphAddMemAllocNode", name) == 0) return HIP_API_ID_hipGraphAddMemAllocNode;
949 if (strcmp("hipGraphAddMemFreeNode", name) == 0) return HIP_API_ID_hipGraphAddMemFreeNode;
950 if (strcmp("hipGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode;
951 if (strcmp("hipGraphAddMemcpyNode1D", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode1D;
952 if (strcmp("hipGraphAddMemcpyNodeFromSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
953 if (strcmp("hipGraphAddMemcpyNodeToSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
954 if (strcmp("hipGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipGraphAddMemsetNode;
955 if (strcmp("hipGraphChildGraphNodeGetGraph", name) == 0) return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
956 if (strcmp("hipGraphClone", name) == 0) return HIP_API_ID_hipGraphClone;
957 if (strcmp("hipGraphCreate", name) == 0) return HIP_API_ID_hipGraphCreate;
958 if (strcmp("hipGraphDebugDotPrint", name) == 0) return HIP_API_ID_hipGraphDebugDotPrint;
959 if (strcmp("hipGraphDestroy", name) == 0) return HIP_API_ID_hipGraphDestroy;
960 if (strcmp("hipGraphDestroyNode", name) == 0) return HIP_API_ID_hipGraphDestroyNode;
961 if (strcmp("hipGraphEventRecordNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
962 if (strcmp("hipGraphEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
963 if (strcmp("hipGraphEventWaitNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
964 if (strcmp("hipGraphEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
965 if (strcmp("hipGraphExecChildGraphNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
966 if (strcmp("hipGraphExecDestroy", name) == 0) return HIP_API_ID_hipGraphExecDestroy;
967 if (strcmp("hipGraphExecEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
968 if (strcmp("hipGraphExecEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
969 if (strcmp("hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
970 if (strcmp("hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
971 if (strcmp("hipGraphExecHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecHostNodeSetParams;
972 if (strcmp("hipGraphExecKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecKernelNodeSetParams;
973 if (strcmp("hipGraphExecMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
974 if (strcmp("hipGraphExecMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
975 if (strcmp("hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
976 if (strcmp("hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
977 if (strcmp("hipGraphExecMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
978 if (strcmp("hipGraphExecUpdate", name) == 0) return HIP_API_ID_hipGraphExecUpdate;
979 if (strcmp("hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
980 if (strcmp("hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
981 if (strcmp("hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
982 if (strcmp("hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
983 if (strcmp("hipGraphGetEdges", name) == 0) return HIP_API_ID_hipGraphGetEdges;
984 if (strcmp("hipGraphGetNodes", name) == 0) return HIP_API_ID_hipGraphGetNodes;
985 if (strcmp("hipGraphGetRootNodes", name) == 0) return HIP_API_ID_hipGraphGetRootNodes;
986 if (strcmp("hipGraphHostNodeGetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeGetParams;
987 if (strcmp("hipGraphHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeSetParams;
988 if (strcmp("hipGraphInstantiate", name) == 0) return HIP_API_ID_hipGraphInstantiate;
989 if (strcmp("hipGraphInstantiateWithFlags", name) == 0) return HIP_API_ID_hipGraphInstantiateWithFlags;
990 if (strcmp("hipGraphKernelNodeCopyAttributes", name) == 0) return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
991 if (strcmp("hipGraphKernelNodeGetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetAttribute;
992 if (strcmp("hipGraphKernelNodeGetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetParams;
993 if (strcmp("hipGraphKernelNodeSetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetAttribute;
994 if (strcmp("hipGraphKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetParams;
995 if (strcmp("hipGraphLaunch", name) == 0) return HIP_API_ID_hipGraphLaunch;
996 if (strcmp("hipGraphMemAllocNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemAllocNodeGetParams;
997 if (strcmp("hipGraphMemFreeNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemFreeNodeGetParams;
998 if (strcmp("hipGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeGetParams;
999 if (strcmp("hipGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams;
1000 if (strcmp("hipGraphMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
1001 if (strcmp("hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1002 if (strcmp("hipGraphMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1003 if (strcmp("hipGraphMemsetNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeGetParams;
1004 if (strcmp("hipGraphMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeSetParams;
1005 if (strcmp("hipGraphNodeFindInClone", name) == 0) return HIP_API_ID_hipGraphNodeFindInClone;
1006 if (strcmp("hipGraphNodeGetDependencies", name) == 0) return HIP_API_ID_hipGraphNodeGetDependencies;
1007 if (strcmp("hipGraphNodeGetDependentNodes", name) == 0) return HIP_API_ID_hipGraphNodeGetDependentNodes;
1008 if (strcmp("hipGraphNodeGetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeGetEnabled;
1009 if (strcmp("hipGraphNodeGetType", name) == 0) return HIP_API_ID_hipGraphNodeGetType;
1010 if (strcmp("hipGraphNodeSetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeSetEnabled;
1011 if (strcmp("hipGraphReleaseUserObject", name) == 0) return HIP_API_ID_hipGraphReleaseUserObject;
1012 if (strcmp("hipGraphRemoveDependencies", name) == 0) return HIP_API_ID_hipGraphRemoveDependencies;
1013 if (strcmp("hipGraphRetainUserObject", name) == 0) return HIP_API_ID_hipGraphRetainUserObject;
1014 if (strcmp("hipGraphUpload", name) == 0) return HIP_API_ID_hipGraphUpload;
1015 if (strcmp("hipGraphicsGLRegisterBuffer", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1016 if (strcmp("hipGraphicsGLRegisterImage", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterImage;
1017 if (strcmp("hipGraphicsMapResources", name) == 0) return HIP_API_ID_hipGraphicsMapResources;
1018 if (strcmp("hipGraphicsResourceGetMappedPointer", name) == 0) return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1019 if (strcmp("hipGraphicsSubResourceGetMappedArray", name) == 0) return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1020 if (strcmp("hipGraphicsUnmapResources", name) == 0) return HIP_API_ID_hipGraphicsUnmapResources;
1021 if (strcmp("hipGraphicsUnregisterResource", name) == 0) return HIP_API_ID_hipGraphicsUnregisterResource;
1022 if (strcmp("hipHccModuleLaunchKernel", name) == 0) return HIP_API_ID_hipHccModuleLaunchKernel;
1023 if (strcmp("hipHostAlloc", name) == 0) return HIP_API_ID_hipHostAlloc;
1024 if (strcmp("hipHostFree", name) == 0) return HIP_API_ID_hipHostFree;
1025 if (strcmp("hipHostGetDevicePointer", name) == 0) return HIP_API_ID_hipHostGetDevicePointer;
1026 if (strcmp("hipHostGetFlags", name) == 0) return HIP_API_ID_hipHostGetFlags;
1027 if (strcmp("hipHostMalloc", name) == 0) return HIP_API_ID_hipHostMalloc;
1028 if (strcmp("hipHostRegister", name) == 0) return HIP_API_ID_hipHostRegister;
1029 if (strcmp("hipHostUnregister", name) == 0) return HIP_API_ID_hipHostUnregister;
1030 if (strcmp("hipImportExternalMemory", name) == 0) return HIP_API_ID_hipImportExternalMemory;
1031 if (strcmp("hipImportExternalSemaphore", name) == 0) return HIP_API_ID_hipImportExternalSemaphore;
1032 if (strcmp("hipInit", name) == 0) return HIP_API_ID_hipInit;
1033 if (strcmp("hipIpcCloseMemHandle", name) == 0) return HIP_API_ID_hipIpcCloseMemHandle;
1034 if (strcmp("hipIpcGetEventHandle", name) == 0) return HIP_API_ID_hipIpcGetEventHandle;
1035 if (strcmp("hipIpcGetMemHandle", name) == 0) return HIP_API_ID_hipIpcGetMemHandle;
1036 if (strcmp("hipIpcOpenEventHandle", name) == 0) return HIP_API_ID_hipIpcOpenEventHandle;
1037 if (strcmp("hipIpcOpenMemHandle", name) == 0) return HIP_API_ID_hipIpcOpenMemHandle;
1038 if (strcmp("hipLaunchByPtr", name) == 0) return HIP_API_ID_hipLaunchByPtr;
1039 if (strcmp("hipLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernel;
1040 if (strcmp("hipLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1041 if (strcmp("hipLaunchHostFunc", name) == 0) return HIP_API_ID_hipLaunchHostFunc;
1042 if (strcmp("hipLaunchKernel", name) == 0) return HIP_API_ID_hipLaunchKernel;
1043 if (strcmp("hipMalloc", name) == 0) return HIP_API_ID_hipMalloc;
1044 if (strcmp("hipMalloc3D", name) == 0) return HIP_API_ID_hipMalloc3D;
1045 if (strcmp("hipMalloc3DArray", name) == 0) return HIP_API_ID_hipMalloc3DArray;
1046 if (strcmp("hipMallocArray", name) == 0) return HIP_API_ID_hipMallocArray;
1047 if (strcmp("hipMallocAsync", name) == 0) return HIP_API_ID_hipMallocAsync;
1048 if (strcmp("hipMallocFromPoolAsync", name) == 0) return HIP_API_ID_hipMallocFromPoolAsync;
1049 if (strcmp("hipMallocHost", name) == 0) return HIP_API_ID_hipMallocHost;
1050 if (strcmp("hipMallocManaged", name) == 0) return HIP_API_ID_hipMallocManaged;
1051 if (strcmp("hipMallocMipmappedArray", name) == 0) return HIP_API_ID_hipMallocMipmappedArray;
1052 if (strcmp("hipMallocPitch", name) == 0) return HIP_API_ID_hipMallocPitch;
1053 if (strcmp("hipMemAddressFree", name) == 0) return HIP_API_ID_hipMemAddressFree;
1054 if (strcmp("hipMemAddressReserve", name) == 0) return HIP_API_ID_hipMemAddressReserve;
1055 if (strcmp("hipMemAdvise", name) == 0) return HIP_API_ID_hipMemAdvise;
1056 if (strcmp("hipMemAllocHost", name) == 0) return HIP_API_ID_hipMemAllocHost;
1057 if (strcmp("hipMemAllocPitch", name) == 0) return HIP_API_ID_hipMemAllocPitch;
1058 if (strcmp("hipMemCreate", name) == 0) return HIP_API_ID_hipMemCreate;
1059 if (strcmp("hipMemExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemExportToShareableHandle;
1060 if (strcmp("hipMemGetAccess", name) == 0) return HIP_API_ID_hipMemGetAccess;
1061 if (strcmp("hipMemGetAddressRange", name) == 0) return HIP_API_ID_hipMemGetAddressRange;
1062 if (strcmp("hipMemGetAllocationGranularity", name) == 0) return HIP_API_ID_hipMemGetAllocationGranularity;
1063 if (strcmp("hipMemGetAllocationPropertiesFromHandle", name) == 0) return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1064 if (strcmp("hipMemGetInfo", name) == 0) return HIP_API_ID_hipMemGetInfo;
1065 if (strcmp("hipMemImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemImportFromShareableHandle;
1066 if (strcmp("hipMemMap", name) == 0) return HIP_API_ID_hipMemMap;
1067 if (strcmp("hipMemMapArrayAsync", name) == 0) return HIP_API_ID_hipMemMapArrayAsync;
1068 if (strcmp("hipMemPoolCreate", name) == 0) return HIP_API_ID_hipMemPoolCreate;
1069 if (strcmp("hipMemPoolDestroy", name) == 0) return HIP_API_ID_hipMemPoolDestroy;
1070 if (strcmp("hipMemPoolExportPointer", name) == 0) return HIP_API_ID_hipMemPoolExportPointer;
1071 if (strcmp("hipMemPoolExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolExportToShareableHandle;
1072 if (strcmp("hipMemPoolGetAccess", name) == 0) return HIP_API_ID_hipMemPoolGetAccess;
1073 if (strcmp("hipMemPoolGetAttribute", name) == 0) return HIP_API_ID_hipMemPoolGetAttribute;
1074 if (strcmp("hipMemPoolImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1075 if (strcmp("hipMemPoolImportPointer", name) == 0) return HIP_API_ID_hipMemPoolImportPointer;
1076 if (strcmp("hipMemPoolSetAccess", name) == 0) return HIP_API_ID_hipMemPoolSetAccess;
1077 if (strcmp("hipMemPoolSetAttribute", name) == 0) return HIP_API_ID_hipMemPoolSetAttribute;
1078 if (strcmp("hipMemPoolTrimTo", name) == 0) return HIP_API_ID_hipMemPoolTrimTo;
1079 if (strcmp("hipMemPrefetchAsync", name) == 0) return HIP_API_ID_hipMemPrefetchAsync;
1080 if (strcmp("hipMemPtrGetInfo", name) == 0) return HIP_API_ID_hipMemPtrGetInfo;
1081 if (strcmp("hipMemRangeGetAttribute", name) == 0) return HIP_API_ID_hipMemRangeGetAttribute;
1082 if (strcmp("hipMemRangeGetAttributes", name) == 0) return HIP_API_ID_hipMemRangeGetAttributes;
1083 if (strcmp("hipMemRelease", name) == 0) return HIP_API_ID_hipMemRelease;
1084 if (strcmp("hipMemRetainAllocationHandle", name) == 0) return HIP_API_ID_hipMemRetainAllocationHandle;
1085 if (strcmp("hipMemSetAccess", name) == 0) return HIP_API_ID_hipMemSetAccess;
1086 if (strcmp("hipMemUnmap", name) == 0) return HIP_API_ID_hipMemUnmap;
1087 if (strcmp("hipMemcpy", name) == 0) return HIP_API_ID_hipMemcpy;
1088 if (strcmp("hipMemcpy2D", name) == 0) return HIP_API_ID_hipMemcpy2D;
1089 if (strcmp("hipMemcpy2DAsync", name) == 0) return HIP_API_ID_hipMemcpy2DAsync;
1090 if (strcmp("hipMemcpy2DFromArray", name) == 0) return HIP_API_ID_hipMemcpy2DFromArray;
1091 if (strcmp("hipMemcpy2DFromArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1092 if (strcmp("hipMemcpy2DToArray", name) == 0) return HIP_API_ID_hipMemcpy2DToArray;
1093 if (strcmp("hipMemcpy2DToArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DToArrayAsync;
1094 if (strcmp("hipMemcpy3D", name) == 0) return HIP_API_ID_hipMemcpy3D;
1095 if (strcmp("hipMemcpy3DAsync", name) == 0) return HIP_API_ID_hipMemcpy3DAsync;
1096 if (strcmp("hipMemcpyAsync", name) == 0) return HIP_API_ID_hipMemcpyAsync;
1097 if (strcmp("hipMemcpyAtoH", name) == 0) return HIP_API_ID_hipMemcpyAtoH;
1098 if (strcmp("hipMemcpyDtoD", name) == 0) return HIP_API_ID_hipMemcpyDtoD;
1099 if (strcmp("hipMemcpyDtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoDAsync;
1100 if (strcmp("hipMemcpyDtoH", name) == 0) return HIP_API_ID_hipMemcpyDtoH;
1101 if (strcmp("hipMemcpyDtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoHAsync;
1102 if (strcmp("hipMemcpyFromArray", name) == 0) return HIP_API_ID_hipMemcpyFromArray;
1103 if (strcmp("hipMemcpyFromSymbol", name) == 0) return HIP_API_ID_hipMemcpyFromSymbol;
1104 if (strcmp("hipMemcpyFromSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyFromSymbolAsync;
1105 if (strcmp("hipMemcpyHtoA", name) == 0) return HIP_API_ID_hipMemcpyHtoA;
1106 if (strcmp("hipMemcpyHtoD", name) == 0) return HIP_API_ID_hipMemcpyHtoD;
1107 if (strcmp("hipMemcpyHtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoDAsync;
1108 if (strcmp("hipMemcpyParam2D", name) == 0) return HIP_API_ID_hipMemcpyParam2D;
1109 if (strcmp("hipMemcpyParam2DAsync", name) == 0) return HIP_API_ID_hipMemcpyParam2DAsync;
1110 if (strcmp("hipMemcpyPeer", name) == 0) return HIP_API_ID_hipMemcpyPeer;
1111 if (strcmp("hipMemcpyPeerAsync", name) == 0) return HIP_API_ID_hipMemcpyPeerAsync;
1112 if (strcmp("hipMemcpyToArray", name) == 0) return HIP_API_ID_hipMemcpyToArray;
1113 if (strcmp("hipMemcpyToSymbol", name) == 0) return HIP_API_ID_hipMemcpyToSymbol;
1114 if (strcmp("hipMemcpyToSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyToSymbolAsync;
1115 if (strcmp("hipMemcpyWithStream", name) == 0) return HIP_API_ID_hipMemcpyWithStream;
1116 if (strcmp("hipMemset", name) == 0) return HIP_API_ID_hipMemset;
1117 if (strcmp("hipMemset2D", name) == 0) return HIP_API_ID_hipMemset2D;
1118 if (strcmp("hipMemset2DAsync", name) == 0) return HIP_API_ID_hipMemset2DAsync;
1119 if (strcmp("hipMemset3D", name) == 0) return HIP_API_ID_hipMemset3D;
1120 if (strcmp("hipMemset3DAsync", name) == 0) return HIP_API_ID_hipMemset3DAsync;
1121 if (strcmp("hipMemsetAsync", name) == 0) return HIP_API_ID_hipMemsetAsync;
1122 if (strcmp("hipMemsetD16", name) == 0) return HIP_API_ID_hipMemsetD16;
1123 if (strcmp("hipMemsetD16Async", name) == 0) return HIP_API_ID_hipMemsetD16Async;
1124 if (strcmp("hipMemsetD32", name) == 0) return HIP_API_ID_hipMemsetD32;
1125 if (strcmp("hipMemsetD32Async", name) == 0) return HIP_API_ID_hipMemsetD32Async;
1126 if (strcmp("hipMemsetD8", name) == 0) return HIP_API_ID_hipMemsetD8;
1127 if (strcmp("hipMemsetD8Async", name) == 0) return HIP_API_ID_hipMemsetD8Async;
1128 if (strcmp("hipMipmappedArrayCreate", name) == 0) return HIP_API_ID_hipMipmappedArrayCreate;
1129 if (strcmp("hipMipmappedArrayDestroy", name) == 0) return HIP_API_ID_hipMipmappedArrayDestroy;
1130 if (strcmp("hipMipmappedArrayGetLevel", name) == 0) return HIP_API_ID_hipMipmappedArrayGetLevel;
1131 if (strcmp("hipModuleGetFunction", name) == 0) return HIP_API_ID_hipModuleGetFunction;
1132 if (strcmp("hipModuleGetGlobal", name) == 0) return HIP_API_ID_hipModuleGetGlobal;
1133 if (strcmp("hipModuleGetTexRef", name) == 0) return HIP_API_ID_hipModuleGetTexRef;
1134 if (strcmp("hipModuleLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1135 if (strcmp("hipModuleLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1136 if (strcmp("hipModuleLaunchKernel", name) == 0) return HIP_API_ID_hipModuleLaunchKernel;
1137 if (strcmp("hipModuleLoad", name) == 0) return HIP_API_ID_hipModuleLoad;
1138 if (strcmp("hipModuleLoadData", name) == 0) return HIP_API_ID_hipModuleLoadData;
1139 if (strcmp("hipModuleLoadDataEx", name) == 0) return HIP_API_ID_hipModuleLoadDataEx;
1140 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1141 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1142 if (strcmp("hipModuleOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1143 if (strcmp("hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1144 if (strcmp("hipModuleUnload", name) == 0) return HIP_API_ID_hipModuleUnload;
1145 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1146 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1147 if (strcmp("hipOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1148 if (strcmp("hipPeekAtLastError", name) == 0) return HIP_API_ID_hipPeekAtLastError;
1149 if (strcmp("hipPointerGetAttribute", name) == 0) return HIP_API_ID_hipPointerGetAttribute;
1150 if (strcmp("hipPointerGetAttributes", name) == 0) return HIP_API_ID_hipPointerGetAttributes;
1151 if (strcmp("hipPointerSetAttribute", name) == 0) return HIP_API_ID_hipPointerSetAttribute;
1152 if (strcmp("hipProfilerStart", name) == 0) return HIP_API_ID_hipProfilerStart;
1153 if (strcmp("hipProfilerStop", name) == 0) return HIP_API_ID_hipProfilerStop;
1154 if (strcmp("hipRuntimeGetVersion", name) == 0) return HIP_API_ID_hipRuntimeGetVersion;
1155 if (strcmp("hipSetDevice", name) == 0) return HIP_API_ID_hipSetDevice;
1156 if (strcmp("hipSetDeviceFlags", name) == 0) return HIP_API_ID_hipSetDeviceFlags;
1157 if (strcmp("hipSetupArgument", name) == 0) return HIP_API_ID_hipSetupArgument;
1158 if (strcmp("hipSignalExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1159 if (strcmp("hipStreamAddCallback", name) == 0) return HIP_API_ID_hipStreamAddCallback;
1160 if (strcmp("hipStreamAttachMemAsync", name) == 0) return HIP_API_ID_hipStreamAttachMemAsync;
1161 if (strcmp("hipStreamBeginCapture", name) == 0) return HIP_API_ID_hipStreamBeginCapture;
1162 if (strcmp("hipStreamCreate", name) == 0) return HIP_API_ID_hipStreamCreate;
1163 if (strcmp("hipStreamCreateWithFlags", name) == 0) return HIP_API_ID_hipStreamCreateWithFlags;
1164 if (strcmp("hipStreamCreateWithPriority", name) == 0) return HIP_API_ID_hipStreamCreateWithPriority;
1165 if (strcmp("hipStreamDestroy", name) == 0) return HIP_API_ID_hipStreamDestroy;
1166 if (strcmp("hipStreamEndCapture", name) == 0) return HIP_API_ID_hipStreamEndCapture;
1167 if (strcmp("hipStreamGetCaptureInfo", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo;
1168 if (strcmp("hipStreamGetCaptureInfo_v2", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1169 if (strcmp("hipStreamGetDevice", name) == 0) return HIP_API_ID_hipStreamGetDevice;
1170 if (strcmp("hipStreamGetFlags", name) == 0) return HIP_API_ID_hipStreamGetFlags;
1171 if (strcmp("hipStreamGetPriority", name) == 0) return HIP_API_ID_hipStreamGetPriority;
1172 if (strcmp("hipStreamIsCapturing", name) == 0) return HIP_API_ID_hipStreamIsCapturing;
1173 if (strcmp("hipStreamQuery", name) == 0) return HIP_API_ID_hipStreamQuery;
1174 if (strcmp("hipStreamSynchronize", name) == 0) return HIP_API_ID_hipStreamSynchronize;
1175 if (strcmp("hipStreamUpdateCaptureDependencies", name) == 0) return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1176 if (strcmp("hipStreamWaitEvent", name) == 0) return HIP_API_ID_hipStreamWaitEvent;
1177 if (strcmp("hipStreamWaitValue32", name) == 0) return HIP_API_ID_hipStreamWaitValue32;
1178 if (strcmp("hipStreamWaitValue64", name) == 0) return HIP_API_ID_hipStreamWaitValue64;
1179 if (strcmp("hipStreamWriteValue32", name) == 0) return HIP_API_ID_hipStreamWriteValue32;
1180 if (strcmp("hipStreamWriteValue64", name) == 0) return HIP_API_ID_hipStreamWriteValue64;
1181 if (strcmp("hipTexRefGetAddress", name) == 0) return HIP_API_ID_hipTexRefGetAddress;
1182 if (strcmp("hipTexRefGetFlags", name) == 0) return HIP_API_ID_hipTexRefGetFlags;
1183 if (strcmp("hipTexRefGetFormat", name) == 0) return HIP_API_ID_hipTexRefGetFormat;
1184 if (strcmp("hipTexRefGetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1185 if (strcmp("hipTexRefGetMipMappedArray", name) == 0) return HIP_API_ID_hipTexRefGetMipMappedArray;
1186 if (strcmp("hipTexRefGetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1187 if (strcmp("hipTexRefGetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1188 if (strcmp("hipTexRefSetAddress", name) == 0) return HIP_API_ID_hipTexRefSetAddress;
1189 if (strcmp("hipTexRefSetAddress2D", name) == 0) return HIP_API_ID_hipTexRefSetAddress2D;
1190 if (strcmp("hipTexRefSetArray", name) == 0) return HIP_API_ID_hipTexRefSetArray;
1191 if (strcmp("hipTexRefSetBorderColor", name) == 0) return HIP_API_ID_hipTexRefSetBorderColor;
1192 if (strcmp("hipTexRefSetFlags", name) == 0) return HIP_API_ID_hipTexRefSetFlags;
1193 if (strcmp("hipTexRefSetFormat", name) == 0) return HIP_API_ID_hipTexRefSetFormat;
1194 if (strcmp("hipTexRefSetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1195 if (strcmp("hipTexRefSetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1196 if (strcmp("hipTexRefSetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1197 if (strcmp("hipTexRefSetMipmappedArray", name) == 0) return HIP_API_ID_hipTexRefSetMipmappedArray;
1198 if (strcmp("hipThreadExchangeStreamCaptureMode", name) == 0) return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1199 if (strcmp("hipUserObjectCreate", name) == 0) return HIP_API_ID_hipUserObjectCreate;
1200 if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
1201 if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
1202 if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1203 if (strcmp("hipExtGetLastError", name) == 0) return HIP_API_ID_hipExtGetLastError;
1204 return HIP_API_ID_NONE;
1205}
1206
1207// HIP API callbacks data structures
1208typedef struct hip_api_data_s {
1209 uint64_t correlation_id;
1210 uint32_t phase;
1211 union {
1212 struct {
1213 dim3* gridDim;
1214 dim3 gridDim__val;
1215 dim3* blockDim;
1216 dim3 blockDim__val;
1217 size_t* sharedMem;
1218 size_t sharedMem__val;
1219 hipStream_t* stream;
1220 hipStream_t stream__val;
1221 } __hipPopCallConfiguration;
1222 struct {
1223 dim3 gridDim;
1224 dim3 blockDim;
1225 size_t sharedMem;
1226 hipStream_t stream;
1227 } __hipPushCallConfiguration;
1228 struct {
1229 hipArray_t* array;
1230 hipArray_t array__val;
1231 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1232 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1233 } hipArray3DCreate;
1234 struct {
1235 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1236 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1237 hipArray_t array;
1238 } hipArray3DGetDescriptor;
1239 struct {
1240 hipArray_t* pHandle;
1241 hipArray_t pHandle__val;
1242 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1243 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1244 } hipArrayCreate;
1245 struct {
1246 hipArray_t array;
1247 } hipArrayDestroy;
1248 struct {
1249 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1250 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1251 hipArray_t array;
1252 } hipArrayGetDescriptor;
1253 struct {
1254 hipChannelFormatDesc* desc;
1255 hipChannelFormatDesc desc__val;
1256 hipExtent* extent;
1257 hipExtent extent__val;
1258 unsigned int* flags;
1259 unsigned int flags__val;
1260 hipArray_t array;
1261 } hipArrayGetInfo;
1262 struct {
1263 int* device;
1264 int device__val;
1265 const hipDeviceProp_tR0000* prop;
1266 hipDeviceProp_tR0000 prop__val;
1267 } hipChooseDeviceR0000;
1268 struct {
1269 int* device;
1270 int device__val;
1271 const hipDeviceProp_tR0600* prop;
1272 hipDeviceProp_tR0600 prop__val;
1273 } hipChooseDeviceR0600;
1274 struct {
1275 dim3 gridDim;
1276 dim3 blockDim;
1277 size_t sharedMem;
1278 hipStream_t stream;
1279 } hipConfigureCall;
1280 struct {
1281 hipSurfaceObject_t* pSurfObject;
1282 hipSurfaceObject_t pSurfObject__val;
1283 const hipResourceDesc* pResDesc;
1284 hipResourceDesc pResDesc__val;
1285 } hipCreateSurfaceObject;
1286 struct {
1287 hipCtx_t* ctx;
1288 hipCtx_t ctx__val;
1289 unsigned int flags;
1290 hipDevice_t device;
1291 } hipCtxCreate;
1292 struct {
1293 hipCtx_t ctx;
1294 } hipCtxDestroy;
1295 struct {
1296 hipCtx_t peerCtx;
1297 } hipCtxDisablePeerAccess;
1298 struct {
1299 hipCtx_t peerCtx;
1300 unsigned int flags;
1301 } hipCtxEnablePeerAccess;
1302 struct {
1303 hipCtx_t ctx;
1304 int* apiVersion;
1305 int apiVersion__val;
1306 } hipCtxGetApiVersion;
1307 struct {
1308 hipFuncCache_t* cacheConfig;
1309 hipFuncCache_t cacheConfig__val;
1310 } hipCtxGetCacheConfig;
1311 struct {
1312 hipCtx_t* ctx;
1313 hipCtx_t ctx__val;
1314 } hipCtxGetCurrent;
1315 struct {
1316 hipDevice_t* device;
1317 hipDevice_t device__val;
1318 } hipCtxGetDevice;
1319 struct {
1320 unsigned int* flags;
1321 unsigned int flags__val;
1322 } hipCtxGetFlags;
1323 struct {
1324 hipSharedMemConfig* pConfig;
1325 hipSharedMemConfig pConfig__val;
1326 } hipCtxGetSharedMemConfig;
1327 struct {
1328 hipCtx_t* ctx;
1329 hipCtx_t ctx__val;
1330 } hipCtxPopCurrent;
1331 struct {
1332 hipCtx_t ctx;
1333 } hipCtxPushCurrent;
1334 struct {
1335 hipFuncCache_t cacheConfig;
1336 } hipCtxSetCacheConfig;
1337 struct {
1338 hipCtx_t ctx;
1339 } hipCtxSetCurrent;
1340 struct {
1341 hipSharedMemConfig config;
1342 } hipCtxSetSharedMemConfig;
1343 struct {
1344 hipExternalMemory_t extMem;
1345 } hipDestroyExternalMemory;
1346 struct {
1347 hipExternalSemaphore_t extSem;
1348 } hipDestroyExternalSemaphore;
1349 struct {
1350 hipSurfaceObject_t surfaceObject;
1351 } hipDestroySurfaceObject;
1352 struct {
1353 int* canAccessPeer;
1354 int canAccessPeer__val;
1355 int deviceId;
1356 int peerDeviceId;
1357 } hipDeviceCanAccessPeer;
1358 struct {
1359 int* major;
1360 int major__val;
1361 int* minor;
1362 int minor__val;
1363 hipDevice_t device;
1364 } hipDeviceComputeCapability;
1365 struct {
1366 int peerDeviceId;
1367 } hipDeviceDisablePeerAccess;
1368 struct {
1369 int peerDeviceId;
1370 unsigned int flags;
1371 } hipDeviceEnablePeerAccess;
1372 struct {
1373 hipDevice_t* device;
1374 hipDevice_t device__val;
1375 int ordinal;
1376 } hipDeviceGet;
1377 struct {
1378 int* pi;
1379 int pi__val;
1380 hipDeviceAttribute_t attr;
1381 int deviceId;
1382 } hipDeviceGetAttribute;
1383 struct {
1384 int* device;
1385 int device__val;
1386 const char* pciBusId;
1387 char pciBusId__val;
1388 } hipDeviceGetByPCIBusId;
1389 struct {
1390 hipFuncCache_t* cacheConfig;
1391 hipFuncCache_t cacheConfig__val;
1392 } hipDeviceGetCacheConfig;
1393 struct {
1394 hipMemPool_t* mem_pool;
1395 hipMemPool_t mem_pool__val;
1396 int device;
1397 } hipDeviceGetDefaultMemPool;
1398 struct {
1399 int device;
1400 hipGraphMemAttributeType attr;
1401 void* value;
1402 } hipDeviceGetGraphMemAttribute;
1403 struct {
1404 size_t* pValue;
1405 size_t pValue__val;
1406 enum hipLimit_t limit;
1407 } hipDeviceGetLimit;
1408 struct {
1409 hipMemPool_t* mem_pool;
1410 hipMemPool_t mem_pool__val;
1411 int device;
1412 } hipDeviceGetMemPool;
1413 struct {
1414 char* name;
1415 char name__val;
1416 int len;
1417 hipDevice_t device;
1418 } hipDeviceGetName;
1419 struct {
1420 int* value;
1421 int value__val;
1422 hipDeviceP2PAttr attr;
1423 int srcDevice;
1424 int dstDevice;
1425 } hipDeviceGetP2PAttribute;
1426 struct {
1427 char* pciBusId;
1428 char pciBusId__val;
1429 int len;
1430 int device;
1431 } hipDeviceGetPCIBusId;
1432 struct {
1433 hipSharedMemConfig* pConfig;
1434 hipSharedMemConfig pConfig__val;
1435 } hipDeviceGetSharedMemConfig;
1436 struct {
1437 int* leastPriority;
1438 int leastPriority__val;
1439 int* greatestPriority;
1440 int greatestPriority__val;
1441 } hipDeviceGetStreamPriorityRange;
1442 struct {
1443 hipUUID* uuid;
1444 hipUUID uuid__val;
1445 hipDevice_t device;
1446 } hipDeviceGetUuid;
1447 struct {
1448 int device;
1449 } hipDeviceGraphMemTrim;
1450 struct {
1451 hipDevice_t dev;
1452 unsigned int* flags;
1453 unsigned int flags__val;
1454 int* active;
1455 int active__val;
1456 } hipDevicePrimaryCtxGetState;
1457 struct {
1458 hipDevice_t dev;
1459 } hipDevicePrimaryCtxRelease;
1460 struct {
1461 hipDevice_t dev;
1462 } hipDevicePrimaryCtxReset;
1463 struct {
1464 hipCtx_t* pctx;
1465 hipCtx_t pctx__val;
1466 hipDevice_t dev;
1467 } hipDevicePrimaryCtxRetain;
1468 struct {
1469 hipDevice_t dev;
1470 unsigned int flags;
1471 } hipDevicePrimaryCtxSetFlags;
1472 struct {
1473 hipFuncCache_t cacheConfig;
1474 } hipDeviceSetCacheConfig;
1475 struct {
1476 int device;
1477 hipGraphMemAttributeType attr;
1478 void* value;
1479 } hipDeviceSetGraphMemAttribute;
1480 struct {
1481 enum hipLimit_t limit;
1482 size_t value;
1483 } hipDeviceSetLimit;
1484 struct {
1485 int device;
1486 hipMemPool_t mem_pool;
1487 } hipDeviceSetMemPool;
1488 struct {
1489 hipSharedMemConfig config;
1490 } hipDeviceSetSharedMemConfig;
1491 struct {
1492 size_t* bytes;
1493 size_t bytes__val;
1494 hipDevice_t device;
1495 } hipDeviceTotalMem;
1496 struct {
1497 int* driverVersion;
1498 int driverVersion__val;
1499 } hipDriverGetVersion;
1500 struct {
1501 hipGraphNode_t* phGraphNode;
1502 hipGraphNode_t phGraphNode__val;
1503 hipGraph_t hGraph;
1504 const hipGraphNode_t* dependencies;
1505 hipGraphNode_t dependencies__val;
1506 size_t numDependencies;
1507 const HIP_MEMCPY3D* copyParams;
1508 HIP_MEMCPY3D copyParams__val;
1509 hipCtx_t ctx;
1510 } hipDrvGraphAddMemcpyNode;
1511 struct {
1512 hipGraphNode_t* phGraphNode;
1513 hipGraphNode_t phGraphNode__val;
1514 hipGraph_t hGraph;
1515 const hipGraphNode_t* dependencies;
1516 hipGraphNode_t dependencies__val;
1517 size_t numDependencies;
1518 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1519 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1520 hipCtx_t ctx;
1521 } hipDrvGraphAddMemsetNode;
1522 struct {
1523 hipGraphNode_t hNode;
1524 HIP_MEMCPY3D* nodeParams;
1525 HIP_MEMCPY3D nodeParams__val;
1526 } hipDrvGraphMemcpyNodeGetParams;
1527 struct {
1528 hipGraphNode_t hNode;
1529 const HIP_MEMCPY3D* nodeParams;
1530 HIP_MEMCPY3D nodeParams__val;
1531 } hipDrvGraphMemcpyNodeSetParams;
1532 struct {
1533 const hip_Memcpy2D* pCopy;
1534 hip_Memcpy2D pCopy__val;
1535 } hipDrvMemcpy2DUnaligned;
1536 struct {
1537 const HIP_MEMCPY3D* pCopy;
1538 HIP_MEMCPY3D pCopy__val;
1539 } hipDrvMemcpy3D;
1540 struct {
1541 const HIP_MEMCPY3D* pCopy;
1542 HIP_MEMCPY3D pCopy__val;
1543 hipStream_t stream;
1544 } hipDrvMemcpy3DAsync;
1545 struct {
1546 unsigned int numAttributes;
1547 hipPointer_attribute* attributes;
1548 hipPointer_attribute attributes__val;
1549 void** data;
1550 void* data__val;
1551 hipDeviceptr_t ptr;
1552 } hipDrvPointerGetAttributes;
1553 struct {
1554 hipEvent_t* event;
1555 hipEvent_t event__val;
1556 } hipEventCreate;
1557 struct {
1558 hipEvent_t* event;
1559 hipEvent_t event__val;
1560 unsigned int flags;
1561 } hipEventCreateWithFlags;
1562 struct {
1563 hipEvent_t event;
1564 } hipEventDestroy;
1565 struct {
1566 float* ms;
1567 float ms__val;
1568 hipEvent_t start;
1569 hipEvent_t stop;
1570 } hipEventElapsedTime;
1571 struct {
1572 hipEvent_t event;
1573 } hipEventQuery;
1574 struct {
1575 hipEvent_t event;
1576 hipStream_t stream;
1577 } hipEventRecord;
1578 struct {
1579 hipEvent_t event;
1580 } hipEventSynchronize;
1581 struct {
1582 int device1;
1583 int device2;
1584 unsigned int* linktype;
1585 unsigned int linktype__val;
1586 unsigned int* hopcount;
1587 unsigned int hopcount__val;
1588 } hipExtGetLinkTypeAndHopCount;
1589 struct {
1590 const void* function_address;
1591 dim3 numBlocks;
1592 dim3 dimBlocks;
1593 void** args;
1594 void* args__val;
1595 size_t sharedMemBytes;
1596 hipStream_t stream;
1597 hipEvent_t startEvent;
1598 hipEvent_t stopEvent;
1599 int flags;
1600 } hipExtLaunchKernel;
1601 struct {
1602 hipLaunchParams* launchParamsList;
1603 hipLaunchParams launchParamsList__val;
1604 int numDevices;
1605 unsigned int flags;
1606 } hipExtLaunchMultiKernelMultiDevice;
1607 struct {
1608 void** ptr;
1609 void* ptr__val;
1610 size_t sizeBytes;
1611 unsigned int flags;
1612 } hipExtMallocWithFlags;
1613 struct {
1614 hipFunction_t f;
1615 unsigned int globalWorkSizeX;
1616 unsigned int globalWorkSizeY;
1617 unsigned int globalWorkSizeZ;
1618 unsigned int localWorkSizeX;
1619 unsigned int localWorkSizeY;
1620 unsigned int localWorkSizeZ;
1621 size_t sharedMemBytes;
1622 hipStream_t hStream;
1623 void** kernelParams;
1624 void* kernelParams__val;
1625 void** extra;
1626 void* extra__val;
1627 hipEvent_t startEvent;
1628 hipEvent_t stopEvent;
1629 unsigned int flags;
1630 } hipExtModuleLaunchKernel;
1631 struct {
1632 hipStream_t* stream;
1633 hipStream_t stream__val;
1634 unsigned int cuMaskSize;
1635 const unsigned int* cuMask;
1636 unsigned int cuMask__val;
1637 } hipExtStreamCreateWithCUMask;
1638 struct {
1639 hipStream_t stream;
1640 unsigned int cuMaskSize;
1641 unsigned int* cuMask;
1642 unsigned int cuMask__val;
1643 } hipExtStreamGetCUMask;
1644 struct {
1645 void** devPtr;
1646 void* devPtr__val;
1647 hipExternalMemory_t extMem;
1648 const hipExternalMemoryBufferDesc* bufferDesc;
1649 hipExternalMemoryBufferDesc bufferDesc__val;
1650 } hipExternalMemoryGetMappedBuffer;
1651 struct {
1652 hipMipmappedArray_t* mipmap;
1653 hipMipmappedArray_t mipmap__val;
1654 hipExternalMemory_t extMem;
1655 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1656 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1657 } hipExternalMemoryGetMappedMipmappedArray;
1658 struct {
1659 void* ptr;
1660 } hipFree;
1661 struct {
1662 hipArray_t array;
1663 } hipFreeArray;
1664 struct {
1665 void* dev_ptr;
1666 hipStream_t stream;
1667 } hipFreeAsync;
1668 struct {
1669 void* ptr;
1670 } hipFreeHost;
1671 struct {
1672 hipMipmappedArray_t mipmappedArray;
1673 } hipFreeMipmappedArray;
1674 struct {
1675 int* value;
1676 int value__val;
1677 hipFunction_attribute attrib;
1678 hipFunction_t hfunc;
1679 } hipFuncGetAttribute;
1680 struct {
1681 hipFuncAttributes* attr;
1682 hipFuncAttributes attr__val;
1683 const void* func;
1684 } hipFuncGetAttributes;
1685 struct {
1686 const void* func;
1687 hipFuncAttribute attr;
1688 int value;
1689 } hipFuncSetAttribute;
1690 struct {
1691 const void* func;
1692 hipFuncCache_t config;
1693 } hipFuncSetCacheConfig;
1694 struct {
1695 const void* func;
1696 hipSharedMemConfig config;
1697 } hipFuncSetSharedMemConfig;
1698 struct {
1699 unsigned int* pHipDeviceCount;
1700 unsigned int pHipDeviceCount__val;
1701 int* pHipDevices;
1702 int pHipDevices__val;
1703 unsigned int hipDeviceCount;
1704 hipGLDeviceList deviceList;
1705 } hipGLGetDevices;
1706 struct {
1707 hipChannelFormatDesc* desc;
1708 hipChannelFormatDesc desc__val;
1709 hipArray_const_t array;
1710 } hipGetChannelDesc;
1711 struct {
1712 int* deviceId;
1713 int deviceId__val;
1714 } hipGetDevice;
1715 struct {
1716 int* count;
1717 int count__val;
1718 } hipGetDeviceCount;
1719 struct {
1720 unsigned int* flags;
1721 unsigned int flags__val;
1722 } hipGetDeviceFlags;
1723 struct {
1724 hipDeviceProp_tR0000* prop;
1725 hipDeviceProp_tR0000 prop__val;
1726 int device;
1727 } hipGetDevicePropertiesR0000;
1728 struct {
1729 hipDeviceProp_tR0600* prop;
1730 hipDeviceProp_tR0600 prop__val;
1731 int deviceId;
1732 } hipGetDevicePropertiesR0600;
1733 struct {
1734 hipArray_t* levelArray;
1735 hipArray_t levelArray__val;
1736 hipMipmappedArray_const_t mipmappedArray;
1737 unsigned int level;
1738 } hipGetMipmappedArrayLevel;
1739 struct {
1740 void** devPtr;
1741 void* devPtr__val;
1742 const void* symbol;
1743 } hipGetSymbolAddress;
1744 struct {
1745 size_t* size;
1746 size_t size__val;
1747 const void* symbol;
1748 } hipGetSymbolSize;
1749 struct {
1750 hipGraphNode_t* pGraphNode;
1751 hipGraphNode_t pGraphNode__val;
1752 hipGraph_t graph;
1753 const hipGraphNode_t* pDependencies;
1754 hipGraphNode_t pDependencies__val;
1755 size_t numDependencies;
1756 hipGraph_t childGraph;
1757 } hipGraphAddChildGraphNode;
1758 struct {
1759 hipGraph_t graph;
1760 const hipGraphNode_t* from;
1761 hipGraphNode_t from__val;
1762 const hipGraphNode_t* to;
1763 hipGraphNode_t to__val;
1764 size_t numDependencies;
1765 } hipGraphAddDependencies;
1766 struct {
1767 hipGraphNode_t* pGraphNode;
1768 hipGraphNode_t pGraphNode__val;
1769 hipGraph_t graph;
1770 const hipGraphNode_t* pDependencies;
1771 hipGraphNode_t pDependencies__val;
1772 size_t numDependencies;
1773 } hipGraphAddEmptyNode;
1774 struct {
1775 hipGraphNode_t* pGraphNode;
1776 hipGraphNode_t pGraphNode__val;
1777 hipGraph_t graph;
1778 const hipGraphNode_t* pDependencies;
1779 hipGraphNode_t pDependencies__val;
1780 size_t numDependencies;
1781 hipEvent_t event;
1782 } hipGraphAddEventRecordNode;
1783 struct {
1784 hipGraphNode_t* pGraphNode;
1785 hipGraphNode_t pGraphNode__val;
1786 hipGraph_t graph;
1787 const hipGraphNode_t* pDependencies;
1788 hipGraphNode_t pDependencies__val;
1789 size_t numDependencies;
1790 hipEvent_t event;
1791 } hipGraphAddEventWaitNode;
1792 struct {
1793 hipGraphNode_t* pGraphNode;
1794 hipGraphNode_t pGraphNode__val;
1795 hipGraph_t graph;
1796 const hipGraphNode_t* pDependencies;
1797 hipGraphNode_t pDependencies__val;
1798 size_t numDependencies;
1799 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1800 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1801 } hipGraphAddExternalSemaphoresSignalNode;
1802 struct {
1803 hipGraphNode_t* pGraphNode;
1804 hipGraphNode_t pGraphNode__val;
1805 hipGraph_t graph;
1806 const hipGraphNode_t* pDependencies;
1807 hipGraphNode_t pDependencies__val;
1808 size_t numDependencies;
1809 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1810 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1811 } hipGraphAddExternalSemaphoresWaitNode;
1812 struct {
1813 hipGraphNode_t* pGraphNode;
1814 hipGraphNode_t pGraphNode__val;
1815 hipGraph_t graph;
1816 const hipGraphNode_t* pDependencies;
1817 hipGraphNode_t pDependencies__val;
1818 size_t numDependencies;
1819 const hipHostNodeParams* pNodeParams;
1820 hipHostNodeParams pNodeParams__val;
1821 } hipGraphAddHostNode;
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 const hipKernelNodeParams* pNodeParams;
1830 hipKernelNodeParams pNodeParams__val;
1831 } hipGraphAddKernelNode;
1832 struct {
1833 hipGraphNode_t* pGraphNode;
1834 hipGraphNode_t pGraphNode__val;
1835 hipGraph_t graph;
1836 const hipGraphNode_t* pDependencies;
1837 hipGraphNode_t pDependencies__val;
1838 size_t numDependencies;
1839 hipMemAllocNodeParams* pNodeParams;
1840 hipMemAllocNodeParams pNodeParams__val;
1841 } hipGraphAddMemAllocNode;
1842 struct {
1843 hipGraphNode_t* pGraphNode;
1844 hipGraphNode_t pGraphNode__val;
1845 hipGraph_t graph;
1846 const hipGraphNode_t* pDependencies;
1847 hipGraphNode_t pDependencies__val;
1848 size_t numDependencies;
1849 void* dev_ptr;
1850 } hipGraphAddMemFreeNode;
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 hipMemcpy3DParms* pCopyParams;
1859 hipMemcpy3DParms pCopyParams__val;
1860 } hipGraphAddMemcpyNode;
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 void* dst;
1869 const void* src;
1870 size_t count;
1871 hipMemcpyKind kind;
1872 } hipGraphAddMemcpyNode1D;
1873 struct {
1874 hipGraphNode_t* pGraphNode;
1875 hipGraphNode_t pGraphNode__val;
1876 hipGraph_t graph;
1877 const hipGraphNode_t* pDependencies;
1878 hipGraphNode_t pDependencies__val;
1879 size_t numDependencies;
1880 void* dst;
1881 const void* symbol;
1882 size_t count;
1883 size_t offset;
1884 hipMemcpyKind kind;
1885 } hipGraphAddMemcpyNodeFromSymbol;
1886 struct {
1887 hipGraphNode_t* pGraphNode;
1888 hipGraphNode_t pGraphNode__val;
1889 hipGraph_t graph;
1890 const hipGraphNode_t* pDependencies;
1891 hipGraphNode_t pDependencies__val;
1892 size_t numDependencies;
1893 const void* symbol;
1894 const void* src;
1895 size_t count;
1896 size_t offset;
1897 hipMemcpyKind kind;
1898 } hipGraphAddMemcpyNodeToSymbol;
1899 struct {
1900 hipGraphNode_t* pGraphNode;
1901 hipGraphNode_t pGraphNode__val;
1902 hipGraph_t graph;
1903 const hipGraphNode_t* pDependencies;
1904 hipGraphNode_t pDependencies__val;
1905 size_t numDependencies;
1906 const hipMemsetParams* pMemsetParams;
1907 hipMemsetParams pMemsetParams__val;
1908 } hipGraphAddMemsetNode;
1909 struct {
1910 hipGraphNode_t node;
1911 hipGraph_t* pGraph;
1912 hipGraph_t pGraph__val;
1913 } hipGraphChildGraphNodeGetGraph;
1914 struct {
1915 hipGraph_t* pGraphClone;
1916 hipGraph_t pGraphClone__val;
1917 hipGraph_t originalGraph;
1918 } hipGraphClone;
1919 struct {
1920 hipGraph_t* pGraph;
1921 hipGraph_t pGraph__val;
1922 unsigned int flags;
1923 } hipGraphCreate;
1924 struct {
1925 hipGraph_t graph;
1926 const char* path;
1927 char path__val;
1928 unsigned int flags;
1929 } hipGraphDebugDotPrint;
1930 struct {
1931 hipGraph_t graph;
1932 } hipGraphDestroy;
1933 struct {
1934 hipGraphNode_t node;
1935 } hipGraphDestroyNode;
1936 struct {
1937 hipGraphNode_t node;
1938 hipEvent_t* event_out;
1939 hipEvent_t event_out__val;
1940 } hipGraphEventRecordNodeGetEvent;
1941 struct {
1942 hipGraphNode_t node;
1943 hipEvent_t event;
1944 } hipGraphEventRecordNodeSetEvent;
1945 struct {
1946 hipGraphNode_t node;
1947 hipEvent_t* event_out;
1948 hipEvent_t event_out__val;
1949 } hipGraphEventWaitNodeGetEvent;
1950 struct {
1951 hipGraphNode_t node;
1952 hipEvent_t event;
1953 } hipGraphEventWaitNodeSetEvent;
1954 struct {
1955 hipGraphExec_t hGraphExec;
1956 hipGraphNode_t node;
1957 hipGraph_t childGraph;
1958 } hipGraphExecChildGraphNodeSetParams;
1959 struct {
1960 hipGraphExec_t graphExec;
1961 } hipGraphExecDestroy;
1962 struct {
1963 hipGraphExec_t hGraphExec;
1964 hipGraphNode_t hNode;
1965 hipEvent_t event;
1966 } hipGraphExecEventRecordNodeSetEvent;
1967 struct {
1968 hipGraphExec_t hGraphExec;
1969 hipGraphNode_t hNode;
1970 hipEvent_t event;
1971 } hipGraphExecEventWaitNodeSetEvent;
1972 struct {
1973 hipGraphExec_t hGraphExec;
1974 hipGraphNode_t hNode;
1975 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1976 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1977 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
1978 struct {
1979 hipGraphExec_t hGraphExec;
1980 hipGraphNode_t hNode;
1981 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1982 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1983 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
1984 struct {
1985 hipGraphExec_t hGraphExec;
1986 hipGraphNode_t node;
1987 const hipHostNodeParams* pNodeParams;
1988 hipHostNodeParams pNodeParams__val;
1989 } hipGraphExecHostNodeSetParams;
1990 struct {
1991 hipGraphExec_t hGraphExec;
1992 hipGraphNode_t node;
1993 const hipKernelNodeParams* pNodeParams;
1994 hipKernelNodeParams pNodeParams__val;
1995 } hipGraphExecKernelNodeSetParams;
1996 struct {
1997 hipGraphExec_t hGraphExec;
1998 hipGraphNode_t node;
1999 hipMemcpy3DParms* pNodeParams;
2000 hipMemcpy3DParms pNodeParams__val;
2001 } hipGraphExecMemcpyNodeSetParams;
2002 struct {
2003 hipGraphExec_t hGraphExec;
2004 hipGraphNode_t node;
2005 void* dst;
2006 const void* src;
2007 size_t count;
2008 hipMemcpyKind kind;
2009 } hipGraphExecMemcpyNodeSetParams1D;
2010 struct {
2011 hipGraphExec_t hGraphExec;
2012 hipGraphNode_t node;
2013 void* dst;
2014 const void* symbol;
2015 size_t count;
2016 size_t offset;
2017 hipMemcpyKind kind;
2018 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2019 struct {
2020 hipGraphExec_t hGraphExec;
2021 hipGraphNode_t node;
2022 const void* symbol;
2023 const void* src;
2024 size_t count;
2025 size_t offset;
2026 hipMemcpyKind kind;
2027 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2028 struct {
2029 hipGraphExec_t hGraphExec;
2030 hipGraphNode_t node;
2031 const hipMemsetParams* pNodeParams;
2032 hipMemsetParams pNodeParams__val;
2033 } hipGraphExecMemsetNodeSetParams;
2034 struct {
2035 hipGraphExec_t hGraphExec;
2036 hipGraph_t hGraph;
2037 hipGraphNode_t* hErrorNode_out;
2038 hipGraphNode_t hErrorNode_out__val;
2039 hipGraphExecUpdateResult* updateResult_out;
2040 hipGraphExecUpdateResult updateResult_out__val;
2041 } hipGraphExecUpdate;
2042 struct {
2043 hipGraphNode_t hNode;
2044 hipExternalSemaphoreSignalNodeParams* params_out;
2045 hipExternalSemaphoreSignalNodeParams params_out__val;
2046 } hipGraphExternalSemaphoresSignalNodeGetParams;
2047 struct {
2048 hipGraphNode_t hNode;
2049 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2050 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2051 } hipGraphExternalSemaphoresSignalNodeSetParams;
2052 struct {
2053 hipGraphNode_t hNode;
2054 hipExternalSemaphoreWaitNodeParams* params_out;
2055 hipExternalSemaphoreWaitNodeParams params_out__val;
2056 } hipGraphExternalSemaphoresWaitNodeGetParams;
2057 struct {
2058 hipGraphNode_t hNode;
2059 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2060 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2061 } hipGraphExternalSemaphoresWaitNodeSetParams;
2062 struct {
2063 hipGraph_t graph;
2064 hipGraphNode_t* from;
2065 hipGraphNode_t from__val;
2066 hipGraphNode_t* to;
2067 hipGraphNode_t to__val;
2068 size_t* numEdges;
2069 size_t numEdges__val;
2070 } hipGraphGetEdges;
2071 struct {
2072 hipGraph_t graph;
2073 hipGraphNode_t* nodes;
2074 hipGraphNode_t nodes__val;
2075 size_t* numNodes;
2076 size_t numNodes__val;
2077 } hipGraphGetNodes;
2078 struct {
2079 hipGraph_t graph;
2080 hipGraphNode_t* pRootNodes;
2081 hipGraphNode_t pRootNodes__val;
2082 size_t* pNumRootNodes;
2083 size_t pNumRootNodes__val;
2084 } hipGraphGetRootNodes;
2085 struct {
2086 hipGraphNode_t node;
2087 hipHostNodeParams* pNodeParams;
2088 hipHostNodeParams pNodeParams__val;
2089 } hipGraphHostNodeGetParams;
2090 struct {
2091 hipGraphNode_t node;
2092 const hipHostNodeParams* pNodeParams;
2093 hipHostNodeParams pNodeParams__val;
2094 } hipGraphHostNodeSetParams;
2095 struct {
2096 hipGraphExec_t* pGraphExec;
2097 hipGraphExec_t pGraphExec__val;
2098 hipGraph_t graph;
2099 hipGraphNode_t* pErrorNode;
2100 hipGraphNode_t pErrorNode__val;
2101 char* pLogBuffer;
2102 char pLogBuffer__val;
2103 size_t bufferSize;
2104 } hipGraphInstantiate;
2105 struct {
2106 hipGraphExec_t* pGraphExec;
2107 hipGraphExec_t pGraphExec__val;
2108 hipGraph_t graph;
2109 unsigned long long flags;
2110 } hipGraphInstantiateWithFlags;
2111 struct {
2112 hipGraphNode_t hSrc;
2113 hipGraphNode_t hDst;
2114 } hipGraphKernelNodeCopyAttributes;
2115 struct {
2116 hipGraphNode_t hNode;
2117 hipKernelNodeAttrID attr;
2118 hipKernelNodeAttrValue* value;
2119 hipKernelNodeAttrValue value__val;
2120 } hipGraphKernelNodeGetAttribute;
2121 struct {
2122 hipGraphNode_t node;
2123 hipKernelNodeParams* pNodeParams;
2124 hipKernelNodeParams pNodeParams__val;
2125 } hipGraphKernelNodeGetParams;
2126 struct {
2127 hipGraphNode_t hNode;
2128 hipKernelNodeAttrID attr;
2129 const hipKernelNodeAttrValue* value;
2130 hipKernelNodeAttrValue value__val;
2131 } hipGraphKernelNodeSetAttribute;
2132 struct {
2133 hipGraphNode_t node;
2134 const hipKernelNodeParams* pNodeParams;
2135 hipKernelNodeParams pNodeParams__val;
2136 } hipGraphKernelNodeSetParams;
2137 struct {
2138 hipGraphExec_t graphExec;
2139 hipStream_t stream;
2140 } hipGraphLaunch;
2141 struct {
2142 hipGraphNode_t node;
2143 hipMemAllocNodeParams* pNodeParams;
2144 hipMemAllocNodeParams pNodeParams__val;
2145 } hipGraphMemAllocNodeGetParams;
2146 struct {
2147 hipGraphNode_t node;
2148 void* dev_ptr;
2149 } hipGraphMemFreeNodeGetParams;
2150 struct {
2151 hipGraphNode_t node;
2152 hipMemcpy3DParms* pNodeParams;
2153 hipMemcpy3DParms pNodeParams__val;
2154 } hipGraphMemcpyNodeGetParams;
2155 struct {
2156 hipGraphNode_t node;
2157 const hipMemcpy3DParms* pNodeParams;
2158 hipMemcpy3DParms pNodeParams__val;
2159 } hipGraphMemcpyNodeSetParams;
2160 struct {
2161 hipGraphNode_t node;
2162 void* dst;
2163 const void* src;
2164 size_t count;
2165 hipMemcpyKind kind;
2166 } hipGraphMemcpyNodeSetParams1D;
2167 struct {
2168 hipGraphNode_t node;
2169 void* dst;
2170 const void* symbol;
2171 size_t count;
2172 size_t offset;
2173 hipMemcpyKind kind;
2174 } hipGraphMemcpyNodeSetParamsFromSymbol;
2175 struct {
2176 hipGraphNode_t node;
2177 const void* symbol;
2178 const void* src;
2179 size_t count;
2180 size_t offset;
2181 hipMemcpyKind kind;
2182 } hipGraphMemcpyNodeSetParamsToSymbol;
2183 struct {
2184 hipGraphNode_t node;
2185 hipMemsetParams* pNodeParams;
2186 hipMemsetParams pNodeParams__val;
2187 } hipGraphMemsetNodeGetParams;
2188 struct {
2189 hipGraphNode_t node;
2190 const hipMemsetParams* pNodeParams;
2191 hipMemsetParams pNodeParams__val;
2192 } hipGraphMemsetNodeSetParams;
2193 struct {
2194 hipGraphNode_t* pNode;
2195 hipGraphNode_t pNode__val;
2196 hipGraphNode_t originalNode;
2197 hipGraph_t clonedGraph;
2198 } hipGraphNodeFindInClone;
2199 struct {
2200 hipGraphNode_t node;
2201 hipGraphNode_t* pDependencies;
2202 hipGraphNode_t pDependencies__val;
2203 size_t* pNumDependencies;
2204 size_t pNumDependencies__val;
2205 } hipGraphNodeGetDependencies;
2206 struct {
2207 hipGraphNode_t node;
2208 hipGraphNode_t* pDependentNodes;
2209 hipGraphNode_t pDependentNodes__val;
2210 size_t* pNumDependentNodes;
2211 size_t pNumDependentNodes__val;
2212 } hipGraphNodeGetDependentNodes;
2213 struct {
2214 hipGraphExec_t hGraphExec;
2215 hipGraphNode_t hNode;
2216 unsigned int* isEnabled;
2217 unsigned int isEnabled__val;
2218 } hipGraphNodeGetEnabled;
2219 struct {
2220 hipGraphNode_t node;
2221 hipGraphNodeType* pType;
2222 hipGraphNodeType pType__val;
2223 } hipGraphNodeGetType;
2224 struct {
2225 hipGraphExec_t hGraphExec;
2226 hipGraphNode_t hNode;
2227 unsigned int isEnabled;
2228 } hipGraphNodeSetEnabled;
2229 struct {
2230 hipGraph_t graph;
2231 hipUserObject_t object;
2232 unsigned int count;
2233 } hipGraphReleaseUserObject;
2234 struct {
2235 hipGraph_t graph;
2236 const hipGraphNode_t* from;
2237 hipGraphNode_t from__val;
2238 const hipGraphNode_t* to;
2239 hipGraphNode_t to__val;
2240 size_t numDependencies;
2241 } hipGraphRemoveDependencies;
2242 struct {
2243 hipGraph_t graph;
2244 hipUserObject_t object;
2245 unsigned int count;
2246 unsigned int flags;
2247 } hipGraphRetainUserObject;
2248 struct {
2249 hipGraphExec_t graphExec;
2250 hipStream_t stream;
2251 } hipGraphUpload;
2252 struct {
2253 hipGraphicsResource** resource;
2254 hipGraphicsResource* resource__val;
2255 GLuint buffer;
2256 unsigned int flags;
2257 } hipGraphicsGLRegisterBuffer;
2258 struct {
2259 hipGraphicsResource** resource;
2260 hipGraphicsResource* resource__val;
2261 GLuint image;
2262 GLenum target;
2263 unsigned int flags;
2264 } hipGraphicsGLRegisterImage;
2265 struct {
2266 int count;
2267 hipGraphicsResource_t* resources;
2268 hipGraphicsResource_t resources__val;
2269 hipStream_t stream;
2270 } hipGraphicsMapResources;
2271 struct {
2272 void** devPtr;
2273 void* devPtr__val;
2274 size_t* size;
2275 size_t size__val;
2276 hipGraphicsResource_t resource;
2277 } hipGraphicsResourceGetMappedPointer;
2278 struct {
2279 hipArray_t* array;
2280 hipArray_t array__val;
2281 hipGraphicsResource_t resource;
2282 unsigned int arrayIndex;
2283 unsigned int mipLevel;
2284 } hipGraphicsSubResourceGetMappedArray;
2285 struct {
2286 int count;
2287 hipGraphicsResource_t* resources;
2288 hipGraphicsResource_t resources__val;
2289 hipStream_t stream;
2290 } hipGraphicsUnmapResources;
2291 struct {
2292 hipGraphicsResource_t resource;
2293 } hipGraphicsUnregisterResource;
2294 struct {
2295 hipFunction_t f;
2296 unsigned int globalWorkSizeX;
2297 unsigned int globalWorkSizeY;
2298 unsigned int globalWorkSizeZ;
2299 unsigned int blockDimX;
2300 unsigned int blockDimY;
2301 unsigned int blockDimZ;
2302 size_t sharedMemBytes;
2303 hipStream_t hStream;
2304 void** kernelParams;
2305 void* kernelParams__val;
2306 void** extra;
2307 void* extra__val;
2308 hipEvent_t startEvent;
2309 hipEvent_t stopEvent;
2310 } hipHccModuleLaunchKernel;
2311 struct {
2312 void** ptr;
2313 void* ptr__val;
2314 size_t size;
2315 unsigned int flags;
2316 } hipHostAlloc;
2317 struct {
2318 void* ptr;
2319 } hipHostFree;
2320 struct {
2321 void** devPtr;
2322 void* devPtr__val;
2323 void* hstPtr;
2324 unsigned int flags;
2325 } hipHostGetDevicePointer;
2326 struct {
2327 unsigned int* flagsPtr;
2328 unsigned int flagsPtr__val;
2329 void* hostPtr;
2330 } hipHostGetFlags;
2331 struct {
2332 void** ptr;
2333 void* ptr__val;
2334 size_t size;
2335 unsigned int flags;
2336 } hipHostMalloc;
2337 struct {
2338 void* hostPtr;
2339 size_t sizeBytes;
2340 unsigned int flags;
2341 } hipHostRegister;
2342 struct {
2343 void* hostPtr;
2344 } hipHostUnregister;
2345 struct {
2346 hipExternalMemory_t* extMem_out;
2347 hipExternalMemory_t extMem_out__val;
2348 const hipExternalMemoryHandleDesc* memHandleDesc;
2349 hipExternalMemoryHandleDesc memHandleDesc__val;
2350 } hipImportExternalMemory;
2351 struct {
2352 hipExternalSemaphore_t* extSem_out;
2353 hipExternalSemaphore_t extSem_out__val;
2354 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2355 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2356 } hipImportExternalSemaphore;
2357 struct {
2358 unsigned int flags;
2359 } hipInit;
2360 struct {
2361 void* devPtr;
2362 } hipIpcCloseMemHandle;
2363 struct {
2364 hipIpcEventHandle_t* handle;
2365 hipIpcEventHandle_t handle__val;
2366 hipEvent_t event;
2367 } hipIpcGetEventHandle;
2368 struct {
2369 hipIpcMemHandle_t* handle;
2370 hipIpcMemHandle_t handle__val;
2371 void* devPtr;
2372 } hipIpcGetMemHandle;
2373 struct {
2374 hipEvent_t* event;
2375 hipEvent_t event__val;
2376 hipIpcEventHandle_t handle;
2377 } hipIpcOpenEventHandle;
2378 struct {
2379 void** devPtr;
2380 void* devPtr__val;
2381 hipIpcMemHandle_t handle;
2382 unsigned int flags;
2383 } hipIpcOpenMemHandle;
2384 struct {
2385 const void* hostFunction;
2386 } hipLaunchByPtr;
2387 struct {
2388 const void* f;
2389 dim3 gridDim;
2390 dim3 blockDimX;
2391 void** kernelParams;
2392 void* kernelParams__val;
2393 unsigned int sharedMemBytes;
2394 hipStream_t stream;
2395 } hipLaunchCooperativeKernel;
2396 struct {
2397 hipLaunchParams* launchParamsList;
2398 hipLaunchParams launchParamsList__val;
2399 int numDevices;
2400 unsigned int flags;
2401 } hipLaunchCooperativeKernelMultiDevice;
2402 struct {
2403 hipStream_t stream;
2404 hipHostFn_t fn;
2405 void* userData;
2406 } hipLaunchHostFunc;
2407 struct {
2408 const void* function_address;
2409 dim3 numBlocks;
2410 dim3 dimBlocks;
2411 void** args;
2412 void* args__val;
2413 size_t sharedMemBytes;
2414 hipStream_t stream;
2415 } hipLaunchKernel;
2416 struct {
2417 void** ptr;
2418 void* ptr__val;
2419 size_t size;
2420 } hipMalloc;
2421 struct {
2422 hipPitchedPtr* pitchedDevPtr;
2423 hipPitchedPtr pitchedDevPtr__val;
2424 hipExtent extent;
2425 } hipMalloc3D;
2426 struct {
2427 hipArray_t* array;
2428 hipArray_t array__val;
2429 const hipChannelFormatDesc* desc;
2430 hipChannelFormatDesc desc__val;
2431 hipExtent extent;
2432 unsigned int flags;
2433 } hipMalloc3DArray;
2434 struct {
2435 hipArray_t* array;
2436 hipArray_t array__val;
2437 const hipChannelFormatDesc* desc;
2438 hipChannelFormatDesc desc__val;
2439 size_t width;
2440 size_t height;
2441 unsigned int flags;
2442 } hipMallocArray;
2443 struct {
2444 void** dev_ptr;
2445 void* dev_ptr__val;
2446 size_t size;
2447 hipStream_t stream;
2448 } hipMallocAsync;
2449 struct {
2450 void** dev_ptr;
2451 void* dev_ptr__val;
2452 size_t size;
2453 hipMemPool_t mem_pool;
2454 hipStream_t stream;
2455 } hipMallocFromPoolAsync;
2456 struct {
2457 void** ptr;
2458 void* ptr__val;
2459 size_t size;
2460 } hipMallocHost;
2461 struct {
2462 void** dev_ptr;
2463 void* dev_ptr__val;
2464 size_t size;
2465 unsigned int flags;
2466 } hipMallocManaged;
2467 struct {
2468 hipMipmappedArray_t* mipmappedArray;
2469 hipMipmappedArray_t mipmappedArray__val;
2470 const hipChannelFormatDesc* desc;
2471 hipChannelFormatDesc desc__val;
2472 hipExtent extent;
2473 unsigned int numLevels;
2474 unsigned int flags;
2475 } hipMallocMipmappedArray;
2476 struct {
2477 void** ptr;
2478 void* ptr__val;
2479 size_t* pitch;
2480 size_t pitch__val;
2481 size_t width;
2482 size_t height;
2483 } hipMallocPitch;
2484 struct {
2485 void* devPtr;
2486 size_t size;
2487 } hipMemAddressFree;
2488 struct {
2489 void** ptr;
2490 void* ptr__val;
2491 size_t size;
2492 size_t alignment;
2493 void* addr;
2494 unsigned long long flags;
2495 } hipMemAddressReserve;
2496 struct {
2497 const void* dev_ptr;
2498 size_t count;
2499 hipMemoryAdvise advice;
2500 int device;
2501 } hipMemAdvise;
2502 struct {
2503 void** ptr;
2504 void* ptr__val;
2505 size_t size;
2506 } hipMemAllocHost;
2507 struct {
2508 hipDeviceptr_t* dptr;
2509 hipDeviceptr_t dptr__val;
2510 size_t* pitch;
2511 size_t pitch__val;
2512 size_t widthInBytes;
2513 size_t height;
2514 unsigned int elementSizeBytes;
2515 } hipMemAllocPitch;
2516 struct {
2517 hipMemGenericAllocationHandle_t* handle;
2518 hipMemGenericAllocationHandle_t handle__val;
2519 size_t size;
2520 const hipMemAllocationProp* prop;
2521 hipMemAllocationProp prop__val;
2522 unsigned long long flags;
2523 } hipMemCreate;
2524 struct {
2525 void* shareableHandle;
2526 hipMemGenericAllocationHandle_t handle;
2527 hipMemAllocationHandleType handleType;
2528 unsigned long long flags;
2529 } hipMemExportToShareableHandle;
2530 struct {
2531 unsigned long long* flags;
2532 unsigned long long flags__val;
2533 const hipMemLocation* location;
2534 hipMemLocation location__val;
2535 void* ptr;
2536 } hipMemGetAccess;
2537 struct {
2538 hipDeviceptr_t* pbase;
2539 hipDeviceptr_t pbase__val;
2540 size_t* psize;
2541 size_t psize__val;
2542 hipDeviceptr_t dptr;
2543 } hipMemGetAddressRange;
2544 struct {
2545 size_t* granularity;
2546 size_t granularity__val;
2547 const hipMemAllocationProp* prop;
2548 hipMemAllocationProp prop__val;
2549 hipMemAllocationGranularity_flags option;
2550 } hipMemGetAllocationGranularity;
2551 struct {
2552 hipMemAllocationProp* prop;
2553 hipMemAllocationProp prop__val;
2554 hipMemGenericAllocationHandle_t handle;
2555 } hipMemGetAllocationPropertiesFromHandle;
2556 struct {
2557 size_t* free;
2558 size_t free__val;
2559 size_t* total;
2560 size_t total__val;
2561 } hipMemGetInfo;
2562 struct {
2563 hipMemGenericAllocationHandle_t* handle;
2564 hipMemGenericAllocationHandle_t handle__val;
2565 void* osHandle;
2566 hipMemAllocationHandleType shHandleType;
2567 } hipMemImportFromShareableHandle;
2568 struct {
2569 void* ptr;
2570 size_t size;
2571 size_t offset;
2572 hipMemGenericAllocationHandle_t handle;
2573 unsigned long long flags;
2574 } hipMemMap;
2575 struct {
2576 hipArrayMapInfo* mapInfoList;
2577 hipArrayMapInfo mapInfoList__val;
2578 unsigned int count;
2579 hipStream_t stream;
2580 } hipMemMapArrayAsync;
2581 struct {
2582 hipMemPool_t* mem_pool;
2583 hipMemPool_t mem_pool__val;
2584 const hipMemPoolProps* pool_props;
2585 hipMemPoolProps pool_props__val;
2586 } hipMemPoolCreate;
2587 struct {
2588 hipMemPool_t mem_pool;
2589 } hipMemPoolDestroy;
2590 struct {
2591 hipMemPoolPtrExportData* export_data;
2592 hipMemPoolPtrExportData export_data__val;
2593 void* dev_ptr;
2594 } hipMemPoolExportPointer;
2595 struct {
2596 void* shared_handle;
2597 hipMemPool_t mem_pool;
2598 hipMemAllocationHandleType handle_type;
2599 unsigned int flags;
2600 } hipMemPoolExportToShareableHandle;
2601 struct {
2602 hipMemAccessFlags* flags;
2603 hipMemAccessFlags flags__val;
2604 hipMemPool_t mem_pool;
2605 hipMemLocation* location;
2606 hipMemLocation location__val;
2607 } hipMemPoolGetAccess;
2608 struct {
2609 hipMemPool_t mem_pool;
2610 hipMemPoolAttr attr;
2611 void* value;
2612 } hipMemPoolGetAttribute;
2613 struct {
2614 hipMemPool_t* mem_pool;
2615 hipMemPool_t mem_pool__val;
2616 void* shared_handle;
2617 hipMemAllocationHandleType handle_type;
2618 unsigned int flags;
2619 } hipMemPoolImportFromShareableHandle;
2620 struct {
2621 void** dev_ptr;
2622 void* dev_ptr__val;
2623 hipMemPool_t mem_pool;
2624 hipMemPoolPtrExportData* export_data;
2625 hipMemPoolPtrExportData export_data__val;
2626 } hipMemPoolImportPointer;
2627 struct {
2628 hipMemPool_t mem_pool;
2629 const hipMemAccessDesc* desc_list;
2630 hipMemAccessDesc desc_list__val;
2631 size_t count;
2632 } hipMemPoolSetAccess;
2633 struct {
2634 hipMemPool_t mem_pool;
2635 hipMemPoolAttr attr;
2636 void* value;
2637 } hipMemPoolSetAttribute;
2638 struct {
2639 hipMemPool_t mem_pool;
2640 size_t min_bytes_to_hold;
2641 } hipMemPoolTrimTo;
2642 struct {
2643 const void* dev_ptr;
2644 size_t count;
2645 int device;
2646 hipStream_t stream;
2647 } hipMemPrefetchAsync;
2648 struct {
2649 void* ptr;
2650 size_t* size;
2651 size_t size__val;
2652 } hipMemPtrGetInfo;
2653 struct {
2654 void* data;
2655 size_t data_size;
2656 hipMemRangeAttribute attribute;
2657 const void* dev_ptr;
2658 size_t count;
2659 } hipMemRangeGetAttribute;
2660 struct {
2661 void** data;
2662 void* data__val;
2663 size_t* data_sizes;
2664 size_t data_sizes__val;
2665 hipMemRangeAttribute* attributes;
2666 hipMemRangeAttribute attributes__val;
2667 size_t num_attributes;
2668 const void* dev_ptr;
2669 size_t count;
2670 } hipMemRangeGetAttributes;
2671 struct {
2672 hipMemGenericAllocationHandle_t handle;
2673 } hipMemRelease;
2674 struct {
2675 hipMemGenericAllocationHandle_t* handle;
2676 hipMemGenericAllocationHandle_t handle__val;
2677 void* addr;
2678 } hipMemRetainAllocationHandle;
2679 struct {
2680 void* ptr;
2681 size_t size;
2682 const hipMemAccessDesc* desc;
2683 hipMemAccessDesc desc__val;
2684 size_t count;
2685 } hipMemSetAccess;
2686 struct {
2687 void* ptr;
2688 size_t size;
2689 } hipMemUnmap;
2690 struct {
2691 void* dst;
2692 const void* src;
2693 size_t sizeBytes;
2694 hipMemcpyKind kind;
2695 } hipMemcpy;
2696 struct {
2697 void* dst;
2698 size_t dpitch;
2699 const void* src;
2700 size_t spitch;
2701 size_t width;
2702 size_t height;
2703 hipMemcpyKind kind;
2704 } hipMemcpy2D;
2705 struct {
2706 void* dst;
2707 size_t dpitch;
2708 const void* src;
2709 size_t spitch;
2710 size_t width;
2711 size_t height;
2712 hipMemcpyKind kind;
2713 hipStream_t stream;
2714 } hipMemcpy2DAsync;
2715 struct {
2716 void* dst;
2717 size_t dpitch;
2718 hipArray_const_t src;
2719 size_t wOffset;
2720 size_t hOffset;
2721 size_t width;
2722 size_t height;
2723 hipMemcpyKind kind;
2724 } hipMemcpy2DFromArray;
2725 struct {
2726 void* dst;
2727 size_t dpitch;
2728 hipArray_const_t src;
2729 size_t wOffset;
2730 size_t hOffset;
2731 size_t width;
2732 size_t height;
2733 hipMemcpyKind kind;
2734 hipStream_t stream;
2735 } hipMemcpy2DFromArrayAsync;
2736 struct {
2737 hipArray_t dst;
2738 size_t wOffset;
2739 size_t hOffset;
2740 const void* src;
2741 size_t spitch;
2742 size_t width;
2743 size_t height;
2744 hipMemcpyKind kind;
2745 } hipMemcpy2DToArray;
2746 struct {
2747 hipArray_t dst;
2748 size_t wOffset;
2749 size_t hOffset;
2750 const void* src;
2751 size_t spitch;
2752 size_t width;
2753 size_t height;
2754 hipMemcpyKind kind;
2755 hipStream_t stream;
2756 } hipMemcpy2DToArrayAsync;
2757 struct {
2758 const hipMemcpy3DParms* p;
2759 hipMemcpy3DParms p__val;
2760 } hipMemcpy3D;
2761 struct {
2762 const hipMemcpy3DParms* p;
2763 hipMemcpy3DParms p__val;
2764 hipStream_t stream;
2765 } hipMemcpy3DAsync;
2766 struct {
2767 void* dst;
2768 const void* src;
2769 size_t sizeBytes;
2770 hipMemcpyKind kind;
2771 hipStream_t stream;
2772 } hipMemcpyAsync;
2773 struct {
2774 void* dst;
2775 hipArray_t srcArray;
2776 size_t srcOffset;
2777 size_t count;
2778 } hipMemcpyAtoH;
2779 struct {
2780 hipDeviceptr_t dst;
2781 hipDeviceptr_t src;
2782 size_t sizeBytes;
2783 } hipMemcpyDtoD;
2784 struct {
2785 hipDeviceptr_t dst;
2786 hipDeviceptr_t src;
2787 size_t sizeBytes;
2788 hipStream_t stream;
2789 } hipMemcpyDtoDAsync;
2790 struct {
2791 void* dst;
2792 hipDeviceptr_t src;
2793 size_t sizeBytes;
2794 } hipMemcpyDtoH;
2795 struct {
2796 void* dst;
2797 hipDeviceptr_t src;
2798 size_t sizeBytes;
2799 hipStream_t stream;
2800 } hipMemcpyDtoHAsync;
2801 struct {
2802 void* dst;
2803 hipArray_const_t srcArray;
2804 size_t wOffset;
2805 size_t hOffset;
2806 size_t count;
2807 hipMemcpyKind kind;
2808 } hipMemcpyFromArray;
2809 struct {
2810 void* dst;
2811 const void* symbol;
2812 size_t sizeBytes;
2813 size_t offset;
2814 hipMemcpyKind kind;
2815 } hipMemcpyFromSymbol;
2816 struct {
2817 void* dst;
2818 const void* symbol;
2819 size_t sizeBytes;
2820 size_t offset;
2821 hipMemcpyKind kind;
2822 hipStream_t stream;
2823 } hipMemcpyFromSymbolAsync;
2824 struct {
2825 hipArray_t dstArray;
2826 size_t dstOffset;
2827 const void* srcHost;
2828 size_t count;
2829 } hipMemcpyHtoA;
2830 struct {
2831 hipDeviceptr_t dst;
2832 void* src;
2833 size_t sizeBytes;
2834 } hipMemcpyHtoD;
2835 struct {
2836 hipDeviceptr_t dst;
2837 void* src;
2838 size_t sizeBytes;
2839 hipStream_t stream;
2840 } hipMemcpyHtoDAsync;
2841 struct {
2842 const hip_Memcpy2D* pCopy;
2843 hip_Memcpy2D pCopy__val;
2844 } hipMemcpyParam2D;
2845 struct {
2846 const hip_Memcpy2D* pCopy;
2847 hip_Memcpy2D pCopy__val;
2848 hipStream_t stream;
2849 } hipMemcpyParam2DAsync;
2850 struct {
2851 void* dst;
2852 int dstDeviceId;
2853 const void* src;
2854 int srcDeviceId;
2855 size_t sizeBytes;
2856 } hipMemcpyPeer;
2857 struct {
2858 void* dst;
2859 int dstDeviceId;
2860 const void* src;
2861 int srcDevice;
2862 size_t sizeBytes;
2863 hipStream_t stream;
2864 } hipMemcpyPeerAsync;
2865 struct {
2866 hipArray_t dst;
2867 size_t wOffset;
2868 size_t hOffset;
2869 const void* src;
2870 size_t count;
2871 hipMemcpyKind kind;
2872 } hipMemcpyToArray;
2873 struct {
2874 const void* symbol;
2875 const void* src;
2876 size_t sizeBytes;
2877 size_t offset;
2878 hipMemcpyKind kind;
2879 } hipMemcpyToSymbol;
2880 struct {
2881 const void* symbol;
2882 const void* src;
2883 size_t sizeBytes;
2884 size_t offset;
2885 hipMemcpyKind kind;
2886 hipStream_t stream;
2887 } hipMemcpyToSymbolAsync;
2888 struct {
2889 void* dst;
2890 const void* src;
2891 size_t sizeBytes;
2892 hipMemcpyKind kind;
2893 hipStream_t stream;
2894 } hipMemcpyWithStream;
2895 struct {
2896 void* dst;
2897 int value;
2898 size_t sizeBytes;
2899 } hipMemset;
2900 struct {
2901 void* dst;
2902 size_t pitch;
2903 int value;
2904 size_t width;
2905 size_t height;
2906 } hipMemset2D;
2907 struct {
2908 void* dst;
2909 size_t pitch;
2910 int value;
2911 size_t width;
2912 size_t height;
2913 hipStream_t stream;
2914 } hipMemset2DAsync;
2915 struct {
2916 hipPitchedPtr pitchedDevPtr;
2917 int value;
2918 hipExtent extent;
2919 } hipMemset3D;
2920 struct {
2921 hipPitchedPtr pitchedDevPtr;
2922 int value;
2923 hipExtent extent;
2924 hipStream_t stream;
2925 } hipMemset3DAsync;
2926 struct {
2927 void* dst;
2928 int value;
2929 size_t sizeBytes;
2930 hipStream_t stream;
2931 } hipMemsetAsync;
2932 struct {
2933 hipDeviceptr_t dest;
2934 unsigned short value;
2935 size_t count;
2936 } hipMemsetD16;
2937 struct {
2938 hipDeviceptr_t dest;
2939 unsigned short value;
2940 size_t count;
2941 hipStream_t stream;
2942 } hipMemsetD16Async;
2943 struct {
2944 hipDeviceptr_t dest;
2945 int value;
2946 size_t count;
2947 } hipMemsetD32;
2948 struct {
2949 hipDeviceptr_t dst;
2950 int value;
2951 size_t count;
2952 hipStream_t stream;
2953 } hipMemsetD32Async;
2954 struct {
2955 hipDeviceptr_t dest;
2956 unsigned char value;
2957 size_t count;
2958 } hipMemsetD8;
2959 struct {
2960 hipDeviceptr_t dest;
2961 unsigned char value;
2962 size_t count;
2963 hipStream_t stream;
2964 } hipMemsetD8Async;
2965 struct {
2966 hipMipmappedArray_t* pHandle;
2967 hipMipmappedArray_t pHandle__val;
2968 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
2969 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
2970 unsigned int numMipmapLevels;
2971 } hipMipmappedArrayCreate;
2972 struct {
2973 hipMipmappedArray_t hMipmappedArray;
2974 } hipMipmappedArrayDestroy;
2975 struct {
2976 hipArray_t* pLevelArray;
2977 hipArray_t pLevelArray__val;
2978 hipMipmappedArray_t hMipMappedArray;
2979 unsigned int level;
2980 } hipMipmappedArrayGetLevel;
2981 struct {
2982 hipFunction_t* function;
2983 hipFunction_t function__val;
2984 hipModule_t module;
2985 const char* kname;
2986 char kname__val;
2987 } hipModuleGetFunction;
2988 struct {
2989 hipDeviceptr_t* dptr;
2990 hipDeviceptr_t dptr__val;
2991 size_t* bytes;
2992 size_t bytes__val;
2993 hipModule_t hmod;
2994 const char* name;
2995 char name__val;
2996 } hipModuleGetGlobal;
2997 struct {
2998 textureReference** texRef;
2999 textureReference* texRef__val;
3000 hipModule_t hmod;
3001 const char* name;
3002 char name__val;
3003 } hipModuleGetTexRef;
3004 struct {
3005 hipFunction_t f;
3006 unsigned int gridDimX;
3007 unsigned int gridDimY;
3008 unsigned int gridDimZ;
3009 unsigned int blockDimX;
3010 unsigned int blockDimY;
3011 unsigned int blockDimZ;
3012 unsigned int sharedMemBytes;
3013 hipStream_t stream;
3014 void** kernelParams;
3015 void* kernelParams__val;
3016 } hipModuleLaunchCooperativeKernel;
3017 struct {
3018 hipFunctionLaunchParams* launchParamsList;
3019 hipFunctionLaunchParams launchParamsList__val;
3020 unsigned int numDevices;
3021 unsigned int flags;
3022 } hipModuleLaunchCooperativeKernelMultiDevice;
3023 struct {
3024 hipFunction_t f;
3025 unsigned int gridDimX;
3026 unsigned int gridDimY;
3027 unsigned int gridDimZ;
3028 unsigned int blockDimX;
3029 unsigned int blockDimY;
3030 unsigned int blockDimZ;
3031 unsigned int sharedMemBytes;
3032 hipStream_t stream;
3033 void** kernelParams;
3034 void* kernelParams__val;
3035 void** extra;
3036 void* extra__val;
3037 } hipModuleLaunchKernel;
3038 struct {
3039 hipModule_t* module;
3040 hipModule_t module__val;
3041 const char* fname;
3042 char fname__val;
3043 } hipModuleLoad;
3044 struct {
3045 hipModule_t* module;
3046 hipModule_t module__val;
3047 const void* image;
3048 } hipModuleLoadData;
3049 struct {
3050 hipModule_t* module;
3051 hipModule_t module__val;
3052 const void* image;
3053 unsigned int numOptions;
3054 hipJitOption* options;
3055 hipJitOption options__val;
3056 void** optionsValues;
3057 void* optionsValues__val;
3058 } hipModuleLoadDataEx;
3059 struct {
3060 int* numBlocks;
3061 int numBlocks__val;
3062 hipFunction_t f;
3063 int blockSize;
3064 size_t dynSharedMemPerBlk;
3065 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3066 struct {
3067 int* numBlocks;
3068 int numBlocks__val;
3069 hipFunction_t f;
3070 int blockSize;
3071 size_t dynSharedMemPerBlk;
3072 unsigned int flags;
3073 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3074 struct {
3075 int* gridSize;
3076 int gridSize__val;
3077 int* blockSize;
3078 int blockSize__val;
3079 hipFunction_t f;
3080 size_t dynSharedMemPerBlk;
3081 int blockSizeLimit;
3082 } hipModuleOccupancyMaxPotentialBlockSize;
3083 struct {
3084 int* gridSize;
3085 int gridSize__val;
3086 int* blockSize;
3087 int blockSize__val;
3088 hipFunction_t f;
3089 size_t dynSharedMemPerBlk;
3090 int blockSizeLimit;
3091 unsigned int flags;
3092 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3093 struct {
3094 hipModule_t module;
3095 } hipModuleUnload;
3096 struct {
3097 int* numBlocks;
3098 int numBlocks__val;
3099 const void* f;
3100 int blockSize;
3101 size_t dynamicSMemSize;
3102 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3103 struct {
3104 int* numBlocks;
3105 int numBlocks__val;
3106 const void* f;
3107 int blockSize;
3108 size_t dynamicSMemSize;
3109 unsigned int flags;
3110 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3111 struct {
3112 int* gridSize;
3113 int gridSize__val;
3114 int* blockSize;
3115 int blockSize__val;
3116 const void* f;
3117 size_t dynSharedMemPerBlk;
3118 int blockSizeLimit;
3119 } hipOccupancyMaxPotentialBlockSize;
3120 struct {
3121 void* data;
3122 hipPointer_attribute attribute;
3123 hipDeviceptr_t ptr;
3124 } hipPointerGetAttribute;
3125 struct {
3126 hipPointerAttribute_t* attributes;
3127 hipPointerAttribute_t attributes__val;
3128 const void* ptr;
3129 } hipPointerGetAttributes;
3130 struct {
3131 const void* value;
3132 hipPointer_attribute attribute;
3133 hipDeviceptr_t ptr;
3134 } hipPointerSetAttribute;
3135 struct {
3136 int* runtimeVersion;
3137 int runtimeVersion__val;
3138 } hipRuntimeGetVersion;
3139 struct {
3140 int deviceId;
3141 } hipSetDevice;
3142 struct {
3143 unsigned int flags;
3144 } hipSetDeviceFlags;
3145 struct {
3146 const void* arg;
3147 size_t size;
3148 size_t offset;
3149 } hipSetupArgument;
3150 struct {
3151 const hipExternalSemaphore_t* extSemArray;
3152 hipExternalSemaphore_t extSemArray__val;
3153 const hipExternalSemaphoreSignalParams* paramsArray;
3154 hipExternalSemaphoreSignalParams paramsArray__val;
3155 unsigned int numExtSems;
3156 hipStream_t stream;
3157 } hipSignalExternalSemaphoresAsync;
3158 struct {
3159 hipStream_t stream;
3160 hipStreamCallback_t callback;
3161 void* userData;
3162 unsigned int flags;
3163 } hipStreamAddCallback;
3164 struct {
3165 hipStream_t stream;
3166 void* dev_ptr;
3167 size_t length;
3168 unsigned int flags;
3169 } hipStreamAttachMemAsync;
3170 struct {
3171 hipStream_t stream;
3172 hipStreamCaptureMode mode;
3173 } hipStreamBeginCapture;
3174 struct {
3175 hipStream_t* stream;
3176 hipStream_t stream__val;
3177 } hipStreamCreate;
3178 struct {
3179 hipStream_t* stream;
3180 hipStream_t stream__val;
3181 unsigned int flags;
3182 } hipStreamCreateWithFlags;
3183 struct {
3184 hipStream_t* stream;
3185 hipStream_t stream__val;
3186 unsigned int flags;
3187 int priority;
3188 } hipStreamCreateWithPriority;
3189 struct {
3190 hipStream_t stream;
3191 } hipStreamDestroy;
3192 struct {
3193 hipStream_t stream;
3194 hipGraph_t* pGraph;
3195 hipGraph_t pGraph__val;
3196 } hipStreamEndCapture;
3197 struct {
3198 hipStream_t stream;
3199 hipStreamCaptureStatus* pCaptureStatus;
3200 hipStreamCaptureStatus pCaptureStatus__val;
3201 unsigned long long* pId;
3202 unsigned long long pId__val;
3203 } hipStreamGetCaptureInfo;
3204 struct {
3205 hipStream_t stream;
3206 hipStreamCaptureStatus* captureStatus_out;
3207 hipStreamCaptureStatus captureStatus_out__val;
3208 unsigned long long* id_out;
3209 unsigned long long id_out__val;
3210 hipGraph_t* graph_out;
3211 hipGraph_t graph_out__val;
3212 const hipGraphNode_t** dependencies_out;
3213 const hipGraphNode_t* dependencies_out__val;
3214 size_t* numDependencies_out;
3215 size_t numDependencies_out__val;
3216 } hipStreamGetCaptureInfo_v2;
3217 struct {
3218 hipStream_t stream;
3219 hipDevice_t* device;
3220 hipDevice_t device__val;
3221 } hipStreamGetDevice;
3222 struct {
3223 hipStream_t stream;
3224 unsigned int* flags;
3225 unsigned int flags__val;
3226 } hipStreamGetFlags;
3227 struct {
3228 hipStream_t stream;
3229 int* priority;
3230 int priority__val;
3231 } hipStreamGetPriority;
3232 struct {
3233 hipStream_t stream;
3234 hipStreamCaptureStatus* pCaptureStatus;
3235 hipStreamCaptureStatus pCaptureStatus__val;
3236 } hipStreamIsCapturing;
3237 struct {
3238 hipStream_t stream;
3239 } hipStreamQuery;
3240 struct {
3241 hipStream_t stream;
3242 } hipStreamSynchronize;
3243 struct {
3244 hipStream_t stream;
3245 hipGraphNode_t* dependencies;
3246 hipGraphNode_t dependencies__val;
3247 size_t numDependencies;
3248 unsigned int flags;
3249 } hipStreamUpdateCaptureDependencies;
3250 struct {
3251 hipStream_t stream;
3252 hipEvent_t event;
3253 unsigned int flags;
3254 } hipStreamWaitEvent;
3255 struct {
3256 hipStream_t stream;
3257 void* ptr;
3258 unsigned int value;
3259 unsigned int flags;
3260 unsigned int mask;
3261 } hipStreamWaitValue32;
3262 struct {
3263 hipStream_t stream;
3264 void* ptr;
3265 uint64_t value;
3266 unsigned int flags;
3267 uint64_t mask;
3268 } hipStreamWaitValue64;
3269 struct {
3270 hipStream_t stream;
3271 void* ptr;
3272 unsigned int value;
3273 unsigned int flags;
3274 } hipStreamWriteValue32;
3275 struct {
3276 hipStream_t stream;
3277 void* ptr;
3278 uint64_t value;
3279 unsigned int flags;
3280 } hipStreamWriteValue64;
3281 struct {
3282 hipDeviceptr_t* dev_ptr;
3283 hipDeviceptr_t dev_ptr__val;
3284 const textureReference* texRef;
3285 textureReference texRef__val;
3286 } hipTexRefGetAddress;
3287 struct {
3288 unsigned int* pFlags;
3289 unsigned int pFlags__val;
3290 const textureReference* texRef;
3291 textureReference texRef__val;
3292 } hipTexRefGetFlags;
3293 struct {
3294 hipArray_Format* pFormat;
3295 hipArray_Format pFormat__val;
3296 int* pNumChannels;
3297 int pNumChannels__val;
3298 const textureReference* texRef;
3299 textureReference texRef__val;
3300 } hipTexRefGetFormat;
3301 struct {
3302 int* pmaxAnsio;
3303 int pmaxAnsio__val;
3304 const textureReference* texRef;
3305 textureReference texRef__val;
3306 } hipTexRefGetMaxAnisotropy;
3307 struct {
3308 hipMipmappedArray_t* pArray;
3309 hipMipmappedArray_t pArray__val;
3310 const textureReference* texRef;
3311 textureReference texRef__val;
3312 } hipTexRefGetMipMappedArray;
3313 struct {
3314 float* pbias;
3315 float pbias__val;
3316 const textureReference* texRef;
3317 textureReference texRef__val;
3318 } hipTexRefGetMipmapLevelBias;
3319 struct {
3320 float* pminMipmapLevelClamp;
3321 float pminMipmapLevelClamp__val;
3322 float* pmaxMipmapLevelClamp;
3323 float pmaxMipmapLevelClamp__val;
3324 const textureReference* texRef;
3325 textureReference texRef__val;
3326 } hipTexRefGetMipmapLevelClamp;
3327 struct {
3328 size_t* ByteOffset;
3329 size_t ByteOffset__val;
3330 textureReference* texRef;
3331 textureReference texRef__val;
3332 hipDeviceptr_t dptr;
3333 size_t bytes;
3334 } hipTexRefSetAddress;
3335 struct {
3336 textureReference* texRef;
3337 textureReference texRef__val;
3338 const HIP_ARRAY_DESCRIPTOR* desc;
3339 HIP_ARRAY_DESCRIPTOR desc__val;
3340 hipDeviceptr_t dptr;
3341 size_t Pitch;
3342 } hipTexRefSetAddress2D;
3343 struct {
3344 textureReference* tex;
3345 textureReference tex__val;
3346 hipArray_const_t array;
3347 unsigned int flags;
3348 } hipTexRefSetArray;
3349 struct {
3350 textureReference* texRef;
3351 textureReference texRef__val;
3352 float* pBorderColor;
3353 float pBorderColor__val;
3354 } hipTexRefSetBorderColor;
3355 struct {
3356 textureReference* texRef;
3357 textureReference texRef__val;
3358 unsigned int Flags;
3359 } hipTexRefSetFlags;
3360 struct {
3361 textureReference* texRef;
3362 textureReference texRef__val;
3363 hipArray_Format fmt;
3364 int NumPackedComponents;
3365 } hipTexRefSetFormat;
3366 struct {
3367 textureReference* texRef;
3368 textureReference texRef__val;
3369 unsigned int maxAniso;
3370 } hipTexRefSetMaxAnisotropy;
3371 struct {
3372 textureReference* texRef;
3373 textureReference texRef__val;
3374 float bias;
3375 } hipTexRefSetMipmapLevelBias;
3376 struct {
3377 textureReference* texRef;
3378 textureReference texRef__val;
3379 float minMipMapLevelClamp;
3380 float maxMipMapLevelClamp;
3381 } hipTexRefSetMipmapLevelClamp;
3382 struct {
3383 textureReference* texRef;
3384 textureReference texRef__val;
3385 hipMipmappedArray* mipmappedArray;
3386 hipMipmappedArray mipmappedArray__val;
3387 unsigned int Flags;
3388 } hipTexRefSetMipmappedArray;
3389 struct {
3390 hipStreamCaptureMode* mode;
3391 hipStreamCaptureMode mode__val;
3392 } hipThreadExchangeStreamCaptureMode;
3393 struct {
3394 hipUserObject_t* object_out;
3395 hipUserObject_t object_out__val;
3396 void* ptr;
3397 hipHostFn_t destroy;
3398 unsigned int initialRefcount;
3399 unsigned int flags;
3400 } hipUserObjectCreate;
3401 struct {
3402 hipUserObject_t object;
3403 unsigned int count;
3404 } hipUserObjectRelease;
3405 struct {
3406 hipUserObject_t object;
3407 unsigned int count;
3408 } hipUserObjectRetain;
3409 struct {
3410 const hipExternalSemaphore_t* extSemArray;
3411 hipExternalSemaphore_t extSemArray__val;
3412 const hipExternalSemaphoreWaitParams* paramsArray;
3413 hipExternalSemaphoreWaitParams paramsArray__val;
3414 unsigned int numExtSems;
3415 hipStream_t stream;
3416 } hipWaitExternalSemaphoresAsync;
3417 } args;
3418 uint64_t *phase_data;
3420
3421// HIP API callbacks args data filling macros
3422// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
3423#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3424 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3425 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3426 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3427 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3428};
3429// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3430#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3431 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3432 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3433 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3434 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3435};
3436// hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
3437#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3438 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3439 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3440};
3441// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3442#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3443 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3444 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3445};
3446// hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
3447#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3448 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3449 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3450};
3451// hipArrayDestroy[('hipArray_t', 'array')]
3452#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3453 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3454};
3455// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3456#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3457 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3458 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3459};
3460// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
3461#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3462 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3463 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3464 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3465 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3466};
3467// hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
3468#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3469 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3470 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3471};
3472// hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
3473#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3474 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3475 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3476};
3477// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3478#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3479 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3480 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3481 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3482 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3483};
3484// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
3485#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3486 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3487 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3488};
3489// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
3490#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3491 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3492 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3493 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3494};
3495// hipCtxDestroy[('hipCtx_t', 'ctx')]
3496#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3497 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3498};
3499// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
3500#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3501 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3502};
3503// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
3504#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3505 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3506 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3507};
3508// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
3509#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3510 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3511 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3512};
3513// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3514#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3515 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3516};
3517// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
3518#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3519 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3520};
3521// hipCtxGetDevice[('hipDevice_t*', 'device')]
3522#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3523 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3524};
3525// hipCtxGetFlags[('unsigned int*', 'flags')]
3526#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3527 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3528};
3529// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3530#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3531 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3532};
3533// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
3534#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3535 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3536};
3537// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
3538#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3539 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3540};
3541// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3542#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3543 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3544};
3545// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
3546#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3547 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3548};
3549// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3550#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3551 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3552};
3553// hipCtxSynchronize[]
3554#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3555};
3556// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
3557#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3558 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3559};
3560// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
3561#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3562 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3563};
3564// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
3565#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3566 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3567};
3568// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
3569#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3570 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3571 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3572 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3573};
3574// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
3575#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3576 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3577 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3578 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3579};
3580// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
3581#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3582 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3583};
3584// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
3585#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3586 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3587 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3588};
3589// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
3590#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3591 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3592 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3593};
3594// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
3595#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3596 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3597 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3598 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3599};
3600// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
3601#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3602 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3603 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3604};
3605// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3606#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3607 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3608};
3609// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3610#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3611 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3612 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3613};
3614// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3615#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3616 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3617 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3618 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3619};
3620// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
3621#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3622 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3623 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3624};
3625// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3626#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3627 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3628 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3629};
3630// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
3631#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3632 cb_data.args.hipDeviceGetName.name = (char*)name; \
3633 cb_data.args.hipDeviceGetName.len = (int)len; \
3634 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3635};
3636// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
3637#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3638 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3639 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3640 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3641 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3642};
3643// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
3644#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3645 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3646 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3647 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3648};
3649// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3650#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3651 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3652};
3653// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
3654#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3655 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3656 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3657};
3658// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
3659#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3660 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3661 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3662};
3663// hipDeviceGraphMemTrim[('int', 'device')]
3664#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3665 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3666};
3667// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
3668#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3669 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3670 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3671 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3672};
3673// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
3674#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3675 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3676};
3677// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
3678#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3679 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3680};
3681// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
3682#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3683 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3684 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3685};
3686// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
3687#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3688 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3689 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3690};
3691// hipDeviceReset[]
3692#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3693};
3694// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3695#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3696 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3697};
3698// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3699#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3700 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3701 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3702 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3703};
3704// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
3705#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3706 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3707 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3708};
3709// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
3710#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3711 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3712 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3713};
3714// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3715#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3716 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3717};
3718// hipDeviceSynchronize[]
3719#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3720};
3721// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
3722#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3723 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3724 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3725};
3726// hipDriverGetVersion[('int*', 'driverVersion')]
3727#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3728 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3729};
3730// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
3731#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3732};
3733// hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
3734#define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3735};
3736// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
3737#define INIT_hipDrvGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
3738};
3739// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
3740#define INIT_hipDrvGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3741};
3742// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
3743#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3744 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3745};
3746// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
3747#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3748 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3749};
3750// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
3751#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3752 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3753 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3754};
3755// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
3756#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3757 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3758 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3759 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3760 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3761};
3762// hipEventCreate[('hipEvent_t*', 'event')]
3763#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3764 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3765};
3766// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
3767#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3768 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3769 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3770};
3771// hipEventDestroy[('hipEvent_t', 'event')]
3772#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3773 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3774};
3775// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
3776#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3777 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3778 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3779 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3780};
3781// hipEventQuery[('hipEvent_t', 'event')]
3782#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3783 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3784};
3785// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
3786#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3787 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3788 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3789};
3790// hipEventSynchronize[('hipEvent_t', 'event')]
3791#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3792 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3793};
3794// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
3795#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3796 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3797 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3798 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3799 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3800};
3801// 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')]
3802#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3803 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3804 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3805 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3806 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3807 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3808 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3809 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3810 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3811 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3812};
3813// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
3814#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3815 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3816 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3817 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3818};
3819// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
3820#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3821 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3822 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3823 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3824};
3825// 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')]
3826#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3827 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3828 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3829 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3830 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3831 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3832 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3833 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3834 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3835 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3836 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3837 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3838 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3839 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3840 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3841};
3842// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
3843#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3844 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3845 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3846 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3847};
3848// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
3849#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3850 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3851 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3852 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3853};
3854// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
3855#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3856 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3857 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3858 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3859};
3860// hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
3861#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
3862 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
3863 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
3864 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
3865};
3866// hipFree[('void*', 'ptr')]
3867#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
3868 cb_data.args.hipFree.ptr = (void*)ptr; \
3869};
3870// hipFreeArray[('hipArray_t', 'array')]
3871#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
3872 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
3873};
3874// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
3875#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
3876 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
3877 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
3878};
3879// hipFreeHost[('void*', 'ptr')]
3880#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
3881 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
3882};
3883// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
3884#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
3885 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
3886};
3887// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
3888#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
3889 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
3890 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
3891 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
3892};
3893// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
3894#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
3895 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
3896 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
3897};
3898// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
3899#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
3900 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
3901 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
3902 cb_data.args.hipFuncSetAttribute.value = (int)value; \
3903};
3904// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
3905#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3906 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
3907 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
3908};
3909// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
3910#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3911 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
3912 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3913};
3914// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
3915#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
3916 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
3917 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
3918 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
3919 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
3920};
3921// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
3922#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
3923 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
3924 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
3925};
3926// hipGetDevice[('int*', 'deviceId')]
3927#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
3928 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
3929};
3930// hipGetDeviceCount[('int*', 'count')]
3931#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
3932 cb_data.args.hipGetDeviceCount.count = (int*)count; \
3933};
3934// hipGetDeviceFlags[('unsigned int*', 'flags')]
3935#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
3936 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
3937};
3938// hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
3939#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
3940 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
3941 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
3942};
3943// hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
3944#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
3945 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
3946 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
3947};
3948// hipGetErrorString[]
3949#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
3950};
3951// hipGetLastError[]
3952#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
3953};
3954// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
3955#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
3956 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
3957 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
3958 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
3959};
3960// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
3961#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
3962 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
3963 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
3964};
3965// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
3966#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
3967 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
3968 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
3969};
3970// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
3971#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
3972 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3973 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
3974 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3975 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
3976 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
3977};
3978// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
3979#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
3980 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
3981 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
3982 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
3983 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
3984};
3985// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
3986#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
3987 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3988 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
3989 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3990 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
3991};
3992// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
3993#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
3994 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3995 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
3996 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3997 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
3998 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
3999};
4000// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
4001#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
4002 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4003 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
4004 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4005 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
4006 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
4007};
4008// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4009#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
4010};
4011// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4012#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4013};
4014// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
4015#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4016 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4017 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4018 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4019 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4020 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4021};
4022// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
4023#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4024 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4025 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4026 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4027 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4028 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4029};
4030// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4031#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4032 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4033 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4034 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4035 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4036 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4037};
4038// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
4039#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4040 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4041 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4042 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4043 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4044 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4045};
4046// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
4047#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4048 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4049 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4050 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4051 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4052 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4053};
4054// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4055#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4056 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4057 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4058 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4059 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4060 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4061 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4062 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4063 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4064};
4065// 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')]
4066#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4067 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4068 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4069 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4070 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4071 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4072 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4073 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4074 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4075 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4076};
4077// 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')]
4078#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4079 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4080 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4081 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4082 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4083 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4084 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4085 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4086 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4087 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4088};
4089// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
4090#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4091 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4092 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4093 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4094 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4095 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4096};
4097// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
4098#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4099 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4100 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4101};
4102// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
4103#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4104 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4105 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4106};
4107// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
4108#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4109 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4110 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4111};
4112// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
4113#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4114 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4115 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4116 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4117};
4118// hipGraphDestroy[('hipGraph_t', 'graph')]
4119#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4120 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4121};
4122// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
4123#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4124 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4125};
4126// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4127#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4128 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4129 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4130};
4131// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4132#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4133 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4134 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4135};
4136// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4137#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4138 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4139 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4140};
4141// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4142#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4143 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4144 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4145};
4146// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
4147#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4148 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4149 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4150 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4151};
4152// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
4153#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4154 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4155};
4156// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4157#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4158 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4159 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4160 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4161};
4162// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4163#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4164 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4165 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4166 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4167};
4168// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4169#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4170};
4171// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4172#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4173};
4174// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4175#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4176 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4177 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4178 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4179};
4180// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4181#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4182 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4183 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4184 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4185};
4186// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4187#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4188 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4189 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4190 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4191};
4192// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4193#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4194 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4195 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4196 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4197 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4198 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4199 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4200};
4201// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4202#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4203 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4204 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4205 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4206 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4207 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4208 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4209 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4210};
4211// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4212#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4213 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4214 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4215 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4216 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4217 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4218 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4219 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4220};
4221// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4222#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4223 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4224 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4225 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4226};
4227// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
4228#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4229 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4230 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4231 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4232 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4233};
4234// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
4235#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4236};
4237// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4238#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4239};
4240// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
4241#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4242};
4243// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4244#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4245};
4246// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
4247#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4248 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4249 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4250 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4251 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4252};
4253// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
4254#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4255 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4256 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4257 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4258};
4259// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
4260#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4261 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4262 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4263 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4264};
4265// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
4266#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4267 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4268 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4269};
4270// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4271#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4272 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4273 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4274};
4275// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
4276#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4277 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4278 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4279 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4280 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4281 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4282};
4283// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
4284#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4285 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4286 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4287 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4288};
4289// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
4290#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4291 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4292 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4293};
4294// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('hipKernelNodeAttrValue*', 'value')]
4295#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4296 cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
4297 cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
4298 cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
4299};
4300// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
4301#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4302 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4303 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4304};
4305// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('const hipKernelNodeAttrValue*', 'value')]
4306#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4307 cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
4308 cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
4309 cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
4310};
4311// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4312#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4313 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4314 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4315};
4316// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4317#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4318 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4319 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4320};
4321// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4322#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4323 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4324 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4325};
4326// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
4327#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4328 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4329 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4330};
4331// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4332#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4333 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4334 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4335};
4336// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
4337#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4338 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4339 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4340};
4341// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4342#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4343 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4344 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4345 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4346 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4347 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4348};
4349// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4350#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4351 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4352 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4353 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4354 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4355 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4356 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4357};
4358// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4359#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4360 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4361 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4362 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4363 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4364 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4365 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4366};
4367// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
4368#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4369 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4370 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4371};
4372// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4373#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4374 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4375 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4376};
4377// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
4378#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4379 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4380 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4381 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4382};
4383// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
4384#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4385 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4386 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4387 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4388};
4389// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
4390#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4391 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4392 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4393 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4394};
4395// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
4396#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4397 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4398 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4399 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4400};
4401// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
4402#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4403 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4404 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4405};
4406// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
4407#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4408 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4409 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4410 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4411};
4412// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
4413#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4414 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4415 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4416 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4417};
4418// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4419#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4420 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4421 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4422 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4423 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4424};
4425// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
4426#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4427 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4428 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4429 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4430 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4431};
4432// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4433#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4434 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4435 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4436};
4437// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
4438#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4439 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4440 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4441 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4442};
4443// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
4444#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4445 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4446 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4447 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4448 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4449};
4450// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4451#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4452 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4453 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4454 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4455};
4456// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
4457#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4458 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4459 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4460 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4461};
4462// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
4463#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4464 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4465 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4466 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4467 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4468};
4469// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4470#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4471 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4472 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4473 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4474};
4475// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
4476#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4477 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4478};
4479// 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')]
4480#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4481 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4482 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4483 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4484 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4485 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4486 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4487 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4488 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4489 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4490 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4491 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4492 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4493 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4494};
4495// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4496#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4497 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4498 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4499 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4500};
4501// hipHostFree[('void*', 'ptr')]
4502#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4503 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4504};
4505// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
4506#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4507 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4508 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4509 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4510};
4511// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
4512#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4513 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4514 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4515};
4516// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4517#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4518 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4519 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4520 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4521};
4522// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
4523#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4524 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4525 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4526 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4527};
4528// hipHostUnregister[('void*', 'hostPtr')]
4529#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4530 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4531};
4532// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
4533#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4534 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4535 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4536};
4537// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
4538#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4539 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4540 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4541};
4542// hipInit[('unsigned int', 'flags')]
4543#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4544 cb_data.args.hipInit.flags = (unsigned int)flags; \
4545};
4546// hipIpcCloseMemHandle[('void*', 'devPtr')]
4547#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4548 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4549};
4550// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
4551#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4552 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4553 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4554};
4555// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
4556#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4557 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4558 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4559};
4560// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
4561#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4562 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4563 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4564};
4565// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
4566#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4567 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4568 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4569 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4570};
4571// hipLaunchByPtr[('const void*', 'hostFunction')]
4572#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4573 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4574};
4575// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4576#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4577 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4578 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4579 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4580 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4581 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4582 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4583};
4584// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
4585#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4586 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4587 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4588 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4589};
4590// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
4591#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4592 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4593 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4594 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4595};
4596// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4597#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4598 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4599 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4600 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4601 cb_data.args.hipLaunchKernel.args = (void**)args; \
4602 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4603 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4604};
4605// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
4606#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4607 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4608 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4609};
4610// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
4611#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4612 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4613 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4614};
4615// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
4616#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4617 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4618 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4619 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4620 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4621};
4622// hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
4623#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4624 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4625 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4626 cb_data.args.hipMallocArray.width = (size_t)width; \
4627 cb_data.args.hipMallocArray.height = (size_t)height; \
4628 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4629};
4630// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
4631#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4632 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4633 cb_data.args.hipMallocAsync.size = (size_t)size; \
4634 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4635};
4636// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
4637#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4638 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4639 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4640 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4641 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4642};
4643// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
4644#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4645 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4646 cb_data.args.hipMallocHost.size = (size_t)size; \
4647};
4648// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4649#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4650 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4651 cb_data.args.hipMallocManaged.size = (size_t)size; \
4652 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4653};
4654// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
4655#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4656 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4657 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4658 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4659 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4660 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4661};
4662// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
4663#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4664 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4665 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4666 cb_data.args.hipMallocPitch.width = (size_t)width; \
4667 cb_data.args.hipMallocPitch.height = (size_t)height; \
4668};
4669// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
4670#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4671 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4672 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4673};
4674// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
4675#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4676 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4677 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4678 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4679 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4680 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4681};
4682// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
4683#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4684 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4685 cb_data.args.hipMemAdvise.count = (size_t)count; \
4686 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4687 cb_data.args.hipMemAdvise.device = (int)device; \
4688};
4689// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
4690#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4691 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4692 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4693};
4694// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
4695#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4696 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4697 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4698 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4699 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4700 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4701};
4702// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
4703#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4704 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4705 cb_data.args.hipMemCreate.size = (size_t)size; \
4706 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4707 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4708};
4709// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
4710#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4711 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4712 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4713 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4714 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4715};
4716// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
4717#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4718 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4719 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4720 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4721};
4722// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
4723#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4724 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4725 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4726 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4727};
4728// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
4729#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4730 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4731 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4732 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4733};
4734// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
4735#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4736 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4737 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4738};
4739// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
4740#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4741 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4742 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4743};
4744// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
4745#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4746 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4747 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4748 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4749};
4750// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
4751#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4752 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4753 cb_data.args.hipMemMap.size = (size_t)size; \
4754 cb_data.args.hipMemMap.offset = (size_t)offset; \
4755 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4756 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4757};
4758// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
4759#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4760 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4761 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4762 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4763};
4764// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
4765#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4766 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4767 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4768};
4769// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
4770#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4771 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4772};
4773// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
4774#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4775 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4776 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4777};
4778// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4779#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4780 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4781 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4782 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4783 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4784};
4785// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
4786#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4787 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4788 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4789 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4790};
4791// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4792#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4793 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4794 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4795 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4796};
4797// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4798#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4799 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4800 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4801 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4802 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4803};
4804// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
4805#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4806 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4807 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4808 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4809};
4810// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
4811#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4812 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4813 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4814 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4815};
4816// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4817#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4818 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4819 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
4820 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
4821};
4822// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
4823#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
4824 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
4825 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
4826};
4827// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
4828#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
4829 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
4830 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
4831 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
4832 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
4833};
4834// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
4835#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
4836 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
4837 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
4838};
4839// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
4840#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
4841 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
4842 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
4843 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
4844 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
4845 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
4846};
4847// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
4848#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
4849 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
4850 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
4851 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
4852 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
4853 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
4854 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
4855};
4856// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
4857#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
4858 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
4859};
4860// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
4861#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
4862 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4863 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
4864};
4865// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
4866#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
4867 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
4868 cb_data.args.hipMemSetAccess.size = (size_t)size; \
4869 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
4870 cb_data.args.hipMemSetAccess.count = (size_t)count; \
4871};
4872// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
4873#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
4874 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
4875 cb_data.args.hipMemUnmap.size = (size_t)size; \
4876};
4877// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
4878#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
4879 cb_data.args.hipMemcpy.dst = (void*)dst; \
4880 cb_data.args.hipMemcpy.src = (const void*)src; \
4881 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
4882 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
4883};
4884// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4885#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
4886 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
4887 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
4888 cb_data.args.hipMemcpy2D.src = (const void*)src; \
4889 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
4890 cb_data.args.hipMemcpy2D.width = (size_t)width; \
4891 cb_data.args.hipMemcpy2D.height = (size_t)height; \
4892 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
4893};
4894// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4895#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
4896 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
4897 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
4898 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
4899 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
4900 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
4901 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
4902 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
4903 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
4904};
4905// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4906#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
4907 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
4908 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
4909 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
4910 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
4911 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
4912 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
4913 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
4914 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
4915};
4916// 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')]
4917#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
4918 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
4919 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
4920 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
4921 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
4922 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
4923 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
4924 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
4925 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
4926 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
4927};
4928// hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4929#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
4930 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
4931 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
4932 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
4933 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
4934 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
4935 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
4936 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
4937 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
4938};
4939// 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')]
4940#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
4941 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
4942 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
4943 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
4944 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
4945 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
4946 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
4947 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
4948 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
4949 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
4950};
4951// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
4952#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
4953 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
4954};
4955// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
4956#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
4957 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
4958 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
4959};
4960// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4961#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
4962 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
4963 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
4964 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
4965 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
4966 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
4967};
4968// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
4969#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
4970 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
4971 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
4972 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
4973 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
4974};
4975// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
4976#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
4977 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
4978 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
4979 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
4980};
4981// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4982#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
4983 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4984 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
4985 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
4986 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
4987};
4988// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
4989#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
4990 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
4991 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
4992 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
4993};
4994// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4995#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
4996 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
4997 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
4998 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
4999 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
5000};
5001// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5002#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
5003 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
5004 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
5005 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
5006 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
5007 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
5008 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
5009};
5010// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5011#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
5012 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
5013 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5014 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5015 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5016 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5017};
5018// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5019#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5020 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5021 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5022 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5023 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5024 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5025 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5026};
5027// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
5028#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5029 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5030 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5031 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5032 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5033};
5034// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
5035#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5036 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5037 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5038 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5039};
5040// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5041#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5042 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5043 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5044 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5045 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5046};
5047// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
5048#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5049 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5050};
5051// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
5052#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5053 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5054 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5055};
5056// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
5057#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5058 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5059 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5060 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5061 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5062 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5063};
5064// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5065#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5066 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5067 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5068 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5069 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5070 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5071 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5072};
5073// hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5074#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5075 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5076 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5077 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5078 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5079 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5080 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5081};
5082// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5083#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5084 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5085 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5086 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5087 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5088 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5089};
5090// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5091#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5092 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5093 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5094 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5095 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5096 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5097 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5098};
5099// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5100#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5101 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5102 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5103 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5104 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5105 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5106};
5107// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
5108#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5109 cb_data.args.hipMemset.dst = (void*)dst; \
5110 cb_data.args.hipMemset.value = (int)value; \
5111 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5112};
5113// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
5114#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5115 cb_data.args.hipMemset2D.dst = (void*)dst; \
5116 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5117 cb_data.args.hipMemset2D.value = (int)value; \
5118 cb_data.args.hipMemset2D.width = (size_t)width; \
5119 cb_data.args.hipMemset2D.height = (size_t)height; \
5120};
5121// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
5122#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5123 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5124 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5125 cb_data.args.hipMemset2DAsync.value = (int)value; \
5126 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5127 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5128 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5129};
5130// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
5131#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5132 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5133 cb_data.args.hipMemset3D.value = (int)value; \
5134 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5135};
5136// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
5137#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5138 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5139 cb_data.args.hipMemset3DAsync.value = (int)value; \
5140 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5141 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5142};
5143// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5144#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5145 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5146 cb_data.args.hipMemsetAsync.value = (int)value; \
5147 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5148 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5149};
5150// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
5151#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5152 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5153 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5154 cb_data.args.hipMemsetD16.count = (size_t)count; \
5155};
5156// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5157#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5158 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5159 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5160 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5161 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5162};
5163// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
5164#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5165 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5166 cb_data.args.hipMemsetD32.value = (int)value; \
5167 cb_data.args.hipMemsetD32.count = (size_t)count; \
5168};
5169// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5170#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5171 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5172 cb_data.args.hipMemsetD32Async.value = (int)value; \
5173 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5174 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5175};
5176// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
5177#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5178 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5179 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5180 cb_data.args.hipMemsetD8.count = (size_t)count; \
5181};
5182// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5183#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5184 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5185 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5186 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5187 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5188};
5189// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
5190#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5191 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5192 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5193 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5194};
5195// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
5196#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5197 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5198};
5199// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
5200#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5201 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5202 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5203 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5204};
5205// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
5206#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5207 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5208 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5209 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5210};
5211// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5212#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5213 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5214 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5215 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5216 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5217};
5218// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5219#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5220 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5221 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5222 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5223};
5224// 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')]
5225#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5226 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5227 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5228 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5229 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5230 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5231 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5232 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5233 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5234 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5235 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5236};
5237// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
5238#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5239 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5240 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5241 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5242};
5243// 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')]
5244#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5245 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5246 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5247 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5248 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5249 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5250 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5251 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5252 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5253 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5254 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5255 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5256};
5257// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
5258#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5260 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5261};
5262// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
5263#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5264 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5265 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5266};
5267// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
5268#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5269 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5270 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5271 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5272 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5273 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5274};
5275// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
5276#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5277 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5278 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5279 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5280 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5281};
5282// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
5283#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5284 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5285 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5286 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5287 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5288 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5289};
5290// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5291#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5292 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5293 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5294 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5295 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5296 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5297};
5298// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
5299#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5300 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5301 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5302 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5303 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5304 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5305 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5306};
5307// hipModuleUnload[('hipModule_t', 'module')]
5308#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5309 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5310};
5311// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
5312#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5313 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5314 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5315 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5316 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5317};
5318// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
5319#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5320 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5321 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5322 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5323 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5324 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5325};
5326// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5327#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5328 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5329 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5330 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5331 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5332 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5333};
5334// hipPeekAtLastError[]
5335#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5336};
5337// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5338#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5339 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5340 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5341 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5342};
5343// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
5344#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5345 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5346 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5347};
5348// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5349#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5350 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5351 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5352 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5353};
5354// hipProfilerStart[]
5355#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5356};
5357// hipProfilerStop[]
5358#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5359};
5360// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
5361#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5362 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5363};
5364// hipSetDevice[('int', 'deviceId')]
5365#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5366 cb_data.args.hipSetDevice.deviceId = (int)device; \
5367};
5368// hipSetDeviceFlags[('unsigned int', 'flags')]
5369#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5370 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5371};
5372// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
5373#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5374 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5375 cb_data.args.hipSetupArgument.size = (size_t)size; \
5376 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5377};
5378// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5379#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5380 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5381 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5382 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5383 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5384};
5385// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
5386#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5387 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5388 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5389 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5390 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5391};
5392// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
5393#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5394 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5395 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5396 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5397 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5398};
5399// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
5400#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5401 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5402 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5403};
5404// hipStreamCreate[('hipStream_t*', 'stream')]
5405#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5406 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5407};
5408// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
5409#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5410 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5411 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5412};
5413// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
5414#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5415 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5416 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5417 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5418};
5419// hipStreamDestroy[('hipStream_t', 'stream')]
5420#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5421 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5422};
5423// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
5424#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5425 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5426 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5427};
5428// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
5429#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5430 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5431 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5432 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5433};
5434// 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')]
5435#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5436 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5437 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5438 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5439 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5440 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5441 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5442};
5443// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
5444#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5445 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5446 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5447};
5448// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
5449#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5450 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5451 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5452};
5453// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
5454#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5455 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5456 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5457};
5458// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
5459#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5460 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5461 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5462};
5463// hipStreamQuery[('hipStream_t', 'stream')]
5464#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5465 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5466};
5467// hipStreamSynchronize[('hipStream_t', 'stream')]
5468#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5469 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5470};
5471// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
5472#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5473 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5474 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5475 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5476 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5477};
5478// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
5479#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5480 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5481 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5482 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5483};
5484// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
5485#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5486 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5487 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5488 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5489 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5490 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5491};
5492// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
5493#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5494 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5495 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5496 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5497 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5498 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5499};
5500// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
5501#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5502 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5503 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5504 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5505 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5506};
5507// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
5508#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5509 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5510 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5511 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5512 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5513};
5514// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
5515#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5516 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5517 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5518};
5519// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
5520#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5521 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5522 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5523};
5524// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
5525#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5526 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5527 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5528 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5529};
5530// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
5531#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5532 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5533 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5534};
5535// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5536#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5537};
5538// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
5539#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5540 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5541 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5542};
5543// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
5544#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5545 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5546 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5547 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5548};
5549// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
5550#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5551 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5552 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5553 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5554 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5555};
5556// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
5557#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5558 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5559 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5560 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5561 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5562};
5563// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
5564#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5565 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5566 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5567 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5568};
5569// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
5570#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5571 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5572 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5573};
5574// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
5575#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5576 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5577 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5578};
5579// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
5580#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5581 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5582 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5583 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5584};
5585// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
5586#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5587 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5588 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5589};
5590// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
5591#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5592 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5593 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5594};
5595// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
5596#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5597 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5598 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5599 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5600};
5601// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
5602#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5603 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5604 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5605 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5606};
5607// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
5608#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5609 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5610};
5611// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
5612#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5613 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5614 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5615 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5616 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5617 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5618};
5619// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5620#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5621 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5622 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5623};
5624// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5625#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5626 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5627 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5628};
5629// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5630#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5631 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5632 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5633 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5634 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5635};
5636// hipExtGetLastError[]
5637#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
5638};
5639#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5640
5641// Macros for non-public API primitives
5642// hipBindTexture()
5643#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5644// hipBindTexture2D()
5645#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5646// hipBindTextureToArray()
5647#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5648// hipBindTextureToMipmappedArray()
5649#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5650// hipCreateTextureObject()
5651#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5652// hipDestroyTextureObject()
5653#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5654// hipDeviceGetCount()
5655#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5656// hipGetTextureAlignmentOffset()
5657#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5658// hipGetTextureObjectResourceDesc()
5659#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5660// hipGetTextureObjectResourceViewDesc()
5661#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5662// hipGetTextureObjectTextureDesc()
5663#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5664// hipGetTextureReference()
5665#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5666// hipMemcpy2DArrayToArray()
5667#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
5668// hipMemcpyAtoA()
5669#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
5670// hipMemcpyAtoD()
5671#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
5672// hipMemcpyAtoHAsync()
5673#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
5674// hipMemcpyDtoA()
5675#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
5676// hipMemcpyHtoAAsync()
5677#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
5678// hipSetValidDevices()
5679#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
5680// hipTexObjectCreate()
5681#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5682// hipTexObjectDestroy()
5683#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5684// hipTexObjectGetResourceDesc()
5685#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5686// hipTexObjectGetResourceViewDesc()
5687#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5688// hipTexObjectGetTextureDesc()
5689#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5690// hipTexRefGetAddressMode()
5691#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5692// hipTexRefGetArray()
5693#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
5694// hipTexRefGetBorderColor()
5695#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
5696// hipTexRefGetFilterMode()
5697#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5698// hipTexRefGetMipmapFilterMode()
5699#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5700// hipTexRefGetMipmappedArray()
5701#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
5702// hipTexRefSetAddressMode()
5703#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5704// hipTexRefSetFilterMode()
5705#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5706// hipTexRefSetMipmapFilterMode()
5707#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5708// hipUnbindTexture()
5709#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5710
5711#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5712
5713#if HIP_PROF_HIP_API_STRING
5714// HIP API args filling helper
5715static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
5716 switch (id) {
5717// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
5718 case HIP_API_ID___hipPopCallConfiguration:
5719 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5720 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5721 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5722 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5723 break;
5724// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5725 case HIP_API_ID___hipPushCallConfiguration:
5726 break;
5727// hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
5728 case HIP_API_ID_hipArray3DCreate:
5729 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5730 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5731 break;
5732// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
5733 case HIP_API_ID_hipArray3DGetDescriptor:
5734 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5735 break;
5736// hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
5737 case HIP_API_ID_hipArrayCreate:
5738 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5739 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5740 break;
5741// hipArrayDestroy[('hipArray_t', 'array')]
5742 case HIP_API_ID_hipArrayDestroy:
5743 break;
5744// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
5745 case HIP_API_ID_hipArrayGetDescriptor:
5746 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5747 break;
5748// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
5749 case HIP_API_ID_hipArrayGetInfo:
5750 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5751 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5752 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5753 break;
5754// hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
5755 case HIP_API_ID_hipChooseDeviceR0000:
5756 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
5757 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
5758 break;
5759// hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
5760 case HIP_API_ID_hipChooseDeviceR0600:
5761 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
5762 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
5763 break;
5764// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5765 case HIP_API_ID_hipConfigureCall:
5766 break;
5767// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
5768 case HIP_API_ID_hipCreateSurfaceObject:
5769 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
5770 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
5771 break;
5772// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
5773 case HIP_API_ID_hipCtxCreate:
5774 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
5775 break;
5776// hipCtxDestroy[('hipCtx_t', 'ctx')]
5777 case HIP_API_ID_hipCtxDestroy:
5778 break;
5779// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
5780 case HIP_API_ID_hipCtxDisablePeerAccess:
5781 break;
5782// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
5783 case HIP_API_ID_hipCtxEnablePeerAccess:
5784 break;
5785// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
5786 case HIP_API_ID_hipCtxGetApiVersion:
5787 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
5788 break;
5789// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
5790 case HIP_API_ID_hipCtxGetCacheConfig:
5791 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
5792 break;
5793// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
5794 case HIP_API_ID_hipCtxGetCurrent:
5795 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
5796 break;
5797// hipCtxGetDevice[('hipDevice_t*', 'device')]
5798 case HIP_API_ID_hipCtxGetDevice:
5799 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
5800 break;
5801// hipCtxGetFlags[('unsigned int*', 'flags')]
5802 case HIP_API_ID_hipCtxGetFlags:
5803 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
5804 break;
5805// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
5806 case HIP_API_ID_hipCtxGetSharedMemConfig:
5807 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
5808 break;
5809// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
5810 case HIP_API_ID_hipCtxPopCurrent:
5811 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
5812 break;
5813// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
5814 case HIP_API_ID_hipCtxPushCurrent:
5815 break;
5816// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
5817 case HIP_API_ID_hipCtxSetCacheConfig:
5818 break;
5819// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
5820 case HIP_API_ID_hipCtxSetCurrent:
5821 break;
5822// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
5823 case HIP_API_ID_hipCtxSetSharedMemConfig:
5824 break;
5825// hipCtxSynchronize[]
5826 case HIP_API_ID_hipCtxSynchronize:
5827 break;
5828// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
5829 case HIP_API_ID_hipDestroyExternalMemory:
5830 break;
5831// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
5832 case HIP_API_ID_hipDestroyExternalSemaphore:
5833 break;
5834// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
5835 case HIP_API_ID_hipDestroySurfaceObject:
5836 break;
5837// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
5838 case HIP_API_ID_hipDeviceCanAccessPeer:
5839 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
5840 break;
5841// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
5842 case HIP_API_ID_hipDeviceComputeCapability:
5843 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
5844 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
5845 break;
5846// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
5847 case HIP_API_ID_hipDeviceDisablePeerAccess:
5848 break;
5849// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
5850 case HIP_API_ID_hipDeviceEnablePeerAccess:
5851 break;
5852// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
5853 case HIP_API_ID_hipDeviceGet:
5854 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
5855 break;
5856// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
5857 case HIP_API_ID_hipDeviceGetAttribute:
5858 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
5859 break;
5860// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
5861 case HIP_API_ID_hipDeviceGetByPCIBusId:
5862 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
5863 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
5864 break;
5865// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
5866 case HIP_API_ID_hipDeviceGetCacheConfig:
5867 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
5868 break;
5869// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
5870 case HIP_API_ID_hipDeviceGetDefaultMemPool:
5871 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
5872 break;
5873// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
5874 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
5875 break;
5876// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
5877 case HIP_API_ID_hipDeviceGetLimit:
5878 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
5879 break;
5880// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
5881 case HIP_API_ID_hipDeviceGetMemPool:
5882 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
5883 break;
5884// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
5885 case HIP_API_ID_hipDeviceGetName:
5886 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
5887 break;
5888// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
5889 case HIP_API_ID_hipDeviceGetP2PAttribute:
5890 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
5891 break;
5892// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
5893 case HIP_API_ID_hipDeviceGetPCIBusId:
5894 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
5895 break;
5896// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
5897 case HIP_API_ID_hipDeviceGetSharedMemConfig:
5898 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
5899 break;
5900// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
5901 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
5902 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
5903 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
5904 break;
5905// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
5906 case HIP_API_ID_hipDeviceGetUuid:
5907 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
5908 break;
5909// hipDeviceGraphMemTrim[('int', 'device')]
5910 case HIP_API_ID_hipDeviceGraphMemTrim:
5911 break;
5912// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
5913 case HIP_API_ID_hipDevicePrimaryCtxGetState:
5914 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
5915 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
5916 break;
5917// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
5918 case HIP_API_ID_hipDevicePrimaryCtxRelease:
5919 break;
5920// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
5921 case HIP_API_ID_hipDevicePrimaryCtxReset:
5922 break;
5923// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
5924 case HIP_API_ID_hipDevicePrimaryCtxRetain:
5925 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
5926 break;
5927// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
5928 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
5929 break;
5930// hipDeviceReset[]
5931 case HIP_API_ID_hipDeviceReset:
5932 break;
5933// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
5934 case HIP_API_ID_hipDeviceSetCacheConfig:
5935 break;
5936// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
5937 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
5938 break;
5939// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
5940 case HIP_API_ID_hipDeviceSetLimit:
5941 break;
5942// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
5943 case HIP_API_ID_hipDeviceSetMemPool:
5944 break;
5945// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
5946 case HIP_API_ID_hipDeviceSetSharedMemConfig:
5947 break;
5948// hipDeviceSynchronize[]
5949 case HIP_API_ID_hipDeviceSynchronize:
5950 break;
5951// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
5952 case HIP_API_ID_hipDeviceTotalMem:
5953 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
5954 break;
5955// hipDriverGetVersion[('int*', 'driverVersion')]
5956 case HIP_API_ID_hipDriverGetVersion:
5957 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
5958 break;
5959// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
5960 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
5961 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
5962 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
5963 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
5964 break;
5965// hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
5966 case HIP_API_ID_hipDrvGraphAddMemsetNode:
5967 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode) data->args.hipDrvGraphAddMemsetNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemsetNode.phGraphNode);
5968 if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
5969 if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
5970 break;
5971// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
5972 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
5973 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
5974 break;
5975// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
5976 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
5977 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
5978 break;
5979// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
5980 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
5981 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
5982 break;
5983// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
5984 case HIP_API_ID_hipDrvMemcpy3D:
5985 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
5986 break;
5987// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
5988 case HIP_API_ID_hipDrvMemcpy3DAsync:
5989 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
5990 break;
5991// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
5992 case HIP_API_ID_hipDrvPointerGetAttributes:
5993 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
5994 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
5995 break;
5996// hipEventCreate[('hipEvent_t*', 'event')]
5997 case HIP_API_ID_hipEventCreate:
5998 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
5999 break;
6000// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
6001 case HIP_API_ID_hipEventCreateWithFlags:
6002 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
6003 break;
6004// hipEventDestroy[('hipEvent_t', 'event')]
6005 case HIP_API_ID_hipEventDestroy:
6006 break;
6007// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
6008 case HIP_API_ID_hipEventElapsedTime:
6009 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
6010 break;
6011// hipEventQuery[('hipEvent_t', 'event')]
6012 case HIP_API_ID_hipEventQuery:
6013 break;
6014// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
6015 case HIP_API_ID_hipEventRecord:
6016 break;
6017// hipEventSynchronize[('hipEvent_t', 'event')]
6018 case HIP_API_ID_hipEventSynchronize:
6019 break;
6020// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
6021 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6022 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6023 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6024 break;
6025// 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')]
6026 case HIP_API_ID_hipExtLaunchKernel:
6027 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6028 break;
6029// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6030 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6031 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6032 break;
6033// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6034 case HIP_API_ID_hipExtMallocWithFlags:
6035 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6036 break;
6037// 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')]
6038 case HIP_API_ID_hipExtModuleLaunchKernel:
6039 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6040 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6041 break;
6042// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
6043 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6044 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6045 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6046 break;
6047// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
6048 case HIP_API_ID_hipExtStreamGetCUMask:
6049 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6050 break;
6051// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
6052 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6053 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6054 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6055 break;
6056// hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
6057 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6058 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6059 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6060 break;
6061// hipFree[('void*', 'ptr')]
6062 case HIP_API_ID_hipFree:
6063 break;
6064// hipFreeArray[('hipArray_t', 'array')]
6065 case HIP_API_ID_hipFreeArray:
6066 break;
6067// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
6068 case HIP_API_ID_hipFreeAsync:
6069 break;
6070// hipFreeHost[('void*', 'ptr')]
6071 case HIP_API_ID_hipFreeHost:
6072 break;
6073// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
6074 case HIP_API_ID_hipFreeMipmappedArray:
6075 break;
6076// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
6077 case HIP_API_ID_hipFuncGetAttribute:
6078 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6079 break;
6080// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
6081 case HIP_API_ID_hipFuncGetAttributes:
6082 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6083 break;
6084// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
6085 case HIP_API_ID_hipFuncSetAttribute:
6086 break;
6087// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
6088 case HIP_API_ID_hipFuncSetCacheConfig:
6089 break;
6090// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
6091 case HIP_API_ID_hipFuncSetSharedMemConfig:
6092 break;
6093// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
6094 case HIP_API_ID_hipGLGetDevices:
6095 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6096 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6097 break;
6098// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
6099 case HIP_API_ID_hipGetChannelDesc:
6100 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6101 break;
6102// hipGetDevice[('int*', 'deviceId')]
6103 case HIP_API_ID_hipGetDevice:
6104 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6105 break;
6106// hipGetDeviceCount[('int*', 'count')]
6107 case HIP_API_ID_hipGetDeviceCount:
6108 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6109 break;
6110// hipGetDeviceFlags[('unsigned int*', 'flags')]
6111 case HIP_API_ID_hipGetDeviceFlags:
6112 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6113 break;
6114// hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
6115 case HIP_API_ID_hipGetDevicePropertiesR0000:
6116 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6117 break;
6118// hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
6119 case HIP_API_ID_hipGetDevicePropertiesR0600:
6120 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6121 break;
6122// hipGetErrorString[]
6123 case HIP_API_ID_hipGetErrorString:
6124 break;
6125// hipGetLastError[]
6126 case HIP_API_ID_hipGetLastError:
6127 break;
6128// hipExtGetLastError[]
6129 case HIP_API_ID_hipExtGetLastError:
6130 break;
6131// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
6132 case HIP_API_ID_hipGetMipmappedArrayLevel:
6133 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6134 break;
6135// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
6136 case HIP_API_ID_hipGetSymbolAddress:
6137 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6138 break;
6139// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
6140 case HIP_API_ID_hipGetSymbolSize:
6141 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6142 break;
6143// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
6144 case HIP_API_ID_hipGraphAddChildGraphNode:
6145 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6146 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6147 break;
6148// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6149 case HIP_API_ID_hipGraphAddDependencies:
6150 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6151 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6152 break;
6153// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
6154 case HIP_API_ID_hipGraphAddEmptyNode:
6155 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6156 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6157 break;
6158// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6159 case HIP_API_ID_hipGraphAddEventRecordNode:
6160 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6161 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6162 break;
6163// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6164 case HIP_API_ID_hipGraphAddEventWaitNode:
6165 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6166 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6167 break;
6168// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6169 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6170 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6171 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6172 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6173 break;
6174// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6175 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6176 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6177 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6178 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6179 break;
6180// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
6181 case HIP_API_ID_hipGraphAddHostNode:
6182 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6183 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6184 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6185 break;
6186// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
6187 case HIP_API_ID_hipGraphAddKernelNode:
6188 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6189 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6190 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6191 break;
6192// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6193 case HIP_API_ID_hipGraphAddMemAllocNode:
6194 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6195 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6196 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6197 break;
6198// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
6199 case HIP_API_ID_hipGraphAddMemFreeNode:
6200 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6201 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6202 break;
6203// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
6204 case HIP_API_ID_hipGraphAddMemcpyNode:
6205 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6206 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6207 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6208 break;
6209// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6210 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6211 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6212 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6213 break;
6214// 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')]
6215 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6216 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6217 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6218 break;
6219// 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')]
6220 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6221 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6222 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6223 break;
6224// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
6225 case HIP_API_ID_hipGraphAddMemsetNode:
6226 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6227 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6228 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6229 break;
6230// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
6231 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6232 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6233 break;
6234// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
6235 case HIP_API_ID_hipGraphClone:
6236 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6237 break;
6238// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
6239 case HIP_API_ID_hipGraphCreate:
6240 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6241 break;
6242// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
6243 case HIP_API_ID_hipGraphDebugDotPrint:
6244 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6245 break;
6246// hipGraphDestroy[('hipGraph_t', 'graph')]
6247 case HIP_API_ID_hipGraphDestroy:
6248 break;
6249// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
6250 case HIP_API_ID_hipGraphDestroyNode:
6251 break;
6252// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6253 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6254 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6255 break;
6256// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6257 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6258 break;
6259// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6260 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6261 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6262 break;
6263// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6264 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6265 break;
6266// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
6267 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6268 break;
6269// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
6270 case HIP_API_ID_hipGraphExecDestroy:
6271 break;
6272// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6273 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6274 break;
6275// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6276 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6277 break;
6278// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6279 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6280 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6281 break;
6282// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6283 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6284 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6285 break;
6286// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6287 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6288 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6289 break;
6290// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6291 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6292 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6293 break;
6294// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6295 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6296 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6297 break;
6298// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6299 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6300 break;
6301// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6302 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6303 break;
6304// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6305 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6306 break;
6307// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6308 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6309 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6310 break;
6311// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
6312 case HIP_API_ID_hipGraphExecUpdate:
6313 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6314 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6315 break;
6316// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
6317 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6318 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6319 break;
6320// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6321 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6322 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6323 break;
6324// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
6325 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6326 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6327 break;
6328// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6329 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6330 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6331 break;
6332// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
6333 case HIP_API_ID_hipGraphGetEdges:
6334 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6335 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6336 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6337 break;
6338// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
6339 case HIP_API_ID_hipGraphGetNodes:
6340 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6341 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6342 break;
6343// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
6344 case HIP_API_ID_hipGraphGetRootNodes:
6345 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6346 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6347 break;
6348// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
6349 case HIP_API_ID_hipGraphHostNodeGetParams:
6350 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6351 break;
6352// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6353 case HIP_API_ID_hipGraphHostNodeSetParams:
6354 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6355 break;
6356// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
6357 case HIP_API_ID_hipGraphInstantiate:
6358 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6359 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6360 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6361 break;
6362// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
6363 case HIP_API_ID_hipGraphInstantiateWithFlags:
6364 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6365 break;
6366// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
6367 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6368 break;
6369// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('hipKernelNodeAttrValue*', 'value')]
6370 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6371 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6372 break;
6373// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
6374 case HIP_API_ID_hipGraphKernelNodeGetParams:
6375 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6376 break;
6377// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('const hipKernelNodeAttrValue*', 'value')]
6378 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6379 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6380 break;
6381// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6382 case HIP_API_ID_hipGraphKernelNodeSetParams:
6383 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6384 break;
6385// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6386 case HIP_API_ID_hipGraphLaunch:
6387 break;
6388// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6389 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6390 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6391 break;
6392// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
6393 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6394 break;
6395// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6396 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6397 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6398 break;
6399// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
6400 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6401 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6402 break;
6403// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6404 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6405 break;
6406// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6407 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6408 break;
6409// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6410 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6411 break;
6412// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
6413 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6414 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6415 break;
6416// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6417 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6418 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6419 break;
6420// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
6421 case HIP_API_ID_hipGraphNodeFindInClone:
6422 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6423 break;
6424// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
6425 case HIP_API_ID_hipGraphNodeGetDependencies:
6426 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6427 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6428 break;
6429// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
6430 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6431 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6432 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6433 break;
6434// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
6435 case HIP_API_ID_hipGraphNodeGetEnabled:
6436 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6437 break;
6438// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
6439 case HIP_API_ID_hipGraphNodeGetType:
6440 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6441 break;
6442// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
6443 case HIP_API_ID_hipGraphNodeSetEnabled:
6444 break;
6445// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6446 case HIP_API_ID_hipGraphReleaseUserObject:
6447 break;
6448// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6449 case HIP_API_ID_hipGraphRemoveDependencies:
6450 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6451 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6452 break;
6453// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
6454 case HIP_API_ID_hipGraphRetainUserObject:
6455 break;
6456// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6457 case HIP_API_ID_hipGraphUpload:
6458 break;
6459// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
6460 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6461 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6462 break;
6463// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
6464 case HIP_API_ID_hipGraphicsGLRegisterImage:
6465 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6466 break;
6467// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6468 case HIP_API_ID_hipGraphicsMapResources:
6469 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6470 break;
6471// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
6472 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6473 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6474 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6475 break;
6476// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
6477 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6478 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6479 break;
6480// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6481 case HIP_API_ID_hipGraphicsUnmapResources:
6482 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6483 break;
6484// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
6485 case HIP_API_ID_hipGraphicsUnregisterResource:
6486 break;
6487// 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')]
6488 case HIP_API_ID_hipHccModuleLaunchKernel:
6489 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6490 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6491 break;
6492// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6493 case HIP_API_ID_hipHostAlloc:
6494 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6495 break;
6496// hipHostFree[('void*', 'ptr')]
6497 case HIP_API_ID_hipHostFree:
6498 break;
6499// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
6500 case HIP_API_ID_hipHostGetDevicePointer:
6501 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6502 break;
6503// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
6504 case HIP_API_ID_hipHostGetFlags:
6505 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6506 break;
6507// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6508 case HIP_API_ID_hipHostMalloc:
6509 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6510 break;
6511// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6512 case HIP_API_ID_hipHostRegister:
6513 break;
6514// hipHostUnregister[('void*', 'hostPtr')]
6515 case HIP_API_ID_hipHostUnregister:
6516 break;
6517// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
6518 case HIP_API_ID_hipImportExternalMemory:
6519 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6520 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6521 break;
6522// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
6523 case HIP_API_ID_hipImportExternalSemaphore:
6524 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6525 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6526 break;
6527// hipInit[('unsigned int', 'flags')]
6528 case HIP_API_ID_hipInit:
6529 break;
6530// hipIpcCloseMemHandle[('void*', 'devPtr')]
6531 case HIP_API_ID_hipIpcCloseMemHandle:
6532 break;
6533// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
6534 case HIP_API_ID_hipIpcGetEventHandle:
6535 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6536 break;
6537// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
6538 case HIP_API_ID_hipIpcGetMemHandle:
6539 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6540 break;
6541// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
6542 case HIP_API_ID_hipIpcOpenEventHandle:
6543 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6544 break;
6545// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
6546 case HIP_API_ID_hipIpcOpenMemHandle:
6547 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6548 break;
6549// hipLaunchByPtr[('const void*', 'hostFunction')]
6550 case HIP_API_ID_hipLaunchByPtr:
6551 break;
6552// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6553 case HIP_API_ID_hipLaunchCooperativeKernel:
6554 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6555 break;
6556// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6557 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6558 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6559 break;
6560// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
6561 case HIP_API_ID_hipLaunchHostFunc:
6562 break;
6563// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6564 case HIP_API_ID_hipLaunchKernel:
6565 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6566 break;
6567// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
6568 case HIP_API_ID_hipMalloc:
6569 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6570 break;
6571// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
6572 case HIP_API_ID_hipMalloc3D:
6573 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6574 break;
6575// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
6576 case HIP_API_ID_hipMalloc3DArray:
6577 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6578 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6579 break;
6580// hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
6581 case HIP_API_ID_hipMallocArray:
6582 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6583 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6584 break;
6585// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
6586 case HIP_API_ID_hipMallocAsync:
6587 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6588 break;
6589// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
6590 case HIP_API_ID_hipMallocFromPoolAsync:
6591 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6592 break;
6593// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
6594 case HIP_API_ID_hipMallocHost:
6595 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6596 break;
6597// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6598 case HIP_API_ID_hipMallocManaged:
6599 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6600 break;
6601// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
6602 case HIP_API_ID_hipMallocMipmappedArray:
6603 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6604 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6605 break;
6606// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
6607 case HIP_API_ID_hipMallocPitch:
6608 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6609 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6610 break;
6611// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
6612 case HIP_API_ID_hipMemAddressFree:
6613 break;
6614// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
6615 case HIP_API_ID_hipMemAddressReserve:
6616 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6617 break;
6618// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
6619 case HIP_API_ID_hipMemAdvise:
6620 break;
6621// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
6622 case HIP_API_ID_hipMemAllocHost:
6623 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6624 break;
6625// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
6626 case HIP_API_ID_hipMemAllocPitch:
6627 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6628 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6629 break;
6630// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
6631 case HIP_API_ID_hipMemCreate:
6632 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6633 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6634 break;
6635// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
6636 case HIP_API_ID_hipMemExportToShareableHandle:
6637 break;
6638// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
6639 case HIP_API_ID_hipMemGetAccess:
6640 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6641 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6642 break;
6643// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
6644 case HIP_API_ID_hipMemGetAddressRange:
6645 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6646 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6647 break;
6648// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
6649 case HIP_API_ID_hipMemGetAllocationGranularity:
6650 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6651 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6652 break;
6653// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
6654 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6655 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6656 break;
6657// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
6658 case HIP_API_ID_hipMemGetInfo:
6659 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6660 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6661 break;
6662// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
6663 case HIP_API_ID_hipMemImportFromShareableHandle:
6664 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6665 break;
6666// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
6667 case HIP_API_ID_hipMemMap:
6668 break;
6669// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
6670 case HIP_API_ID_hipMemMapArrayAsync:
6671 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6672 break;
6673// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
6674 case HIP_API_ID_hipMemPoolCreate:
6675 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6676 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6677 break;
6678// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
6679 case HIP_API_ID_hipMemPoolDestroy:
6680 break;
6681// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
6682 case HIP_API_ID_hipMemPoolExportPointer:
6683 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6684 break;
6685// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6686 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6687 break;
6688// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
6689 case HIP_API_ID_hipMemPoolGetAccess:
6690 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6691 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6692 break;
6693// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6694 case HIP_API_ID_hipMemPoolGetAttribute:
6695 break;
6696// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6697 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6698 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6699 break;
6700// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
6701 case HIP_API_ID_hipMemPoolImportPointer:
6702 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6703 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6704 break;
6705// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
6706 case HIP_API_ID_hipMemPoolSetAccess:
6707 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6708 break;
6709// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6710 case HIP_API_ID_hipMemPoolSetAttribute:
6711 break;
6712// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
6713 case HIP_API_ID_hipMemPoolTrimTo:
6714 break;
6715// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
6716 case HIP_API_ID_hipMemPrefetchAsync:
6717 break;
6718// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
6719 case HIP_API_ID_hipMemPtrGetInfo:
6720 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6721 break;
6722// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6723 case HIP_API_ID_hipMemRangeGetAttribute:
6724 break;
6725// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6726 case HIP_API_ID_hipMemRangeGetAttributes:
6727 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6728 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6729 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6730 break;
6731// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
6732 case HIP_API_ID_hipMemRelease:
6733 break;
6734// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
6735 case HIP_API_ID_hipMemRetainAllocationHandle:
6736 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6737 break;
6738// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
6739 case HIP_API_ID_hipMemSetAccess:
6740 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6741 break;
6742// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
6743 case HIP_API_ID_hipMemUnmap:
6744 break;
6745// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
6746 case HIP_API_ID_hipMemcpy:
6747 break;
6748// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6749 case HIP_API_ID_hipMemcpy2D:
6750 break;
6751// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6752 case HIP_API_ID_hipMemcpy2DAsync:
6753 break;
6754// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6755 case HIP_API_ID_hipMemcpy2DFromArray:
6756 break;
6757// 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')]
6758 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
6759 break;
6760// hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6761 case HIP_API_ID_hipMemcpy2DToArray:
6762 break;
6763// 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')]
6764 case HIP_API_ID_hipMemcpy2DToArrayAsync:
6765 break;
6766// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
6767 case HIP_API_ID_hipMemcpy3D:
6768 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
6769 break;
6770// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
6771 case HIP_API_ID_hipMemcpy3DAsync:
6772 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
6773 break;
6774// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6775 case HIP_API_ID_hipMemcpyAsync:
6776 break;
6777// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
6778 case HIP_API_ID_hipMemcpyAtoH:
6779 break;
6780// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
6781 case HIP_API_ID_hipMemcpyDtoD:
6782 break;
6783// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6784 case HIP_API_ID_hipMemcpyDtoDAsync:
6785 break;
6786// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
6787 case HIP_API_ID_hipMemcpyDtoH:
6788 break;
6789// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6790 case HIP_API_ID_hipMemcpyDtoHAsync:
6791 break;
6792// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6793 case HIP_API_ID_hipMemcpyFromArray:
6794 break;
6795// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6796 case HIP_API_ID_hipMemcpyFromSymbol:
6797 break;
6798// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6799 case HIP_API_ID_hipMemcpyFromSymbolAsync:
6800 break;
6801// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
6802 case HIP_API_ID_hipMemcpyHtoA:
6803 break;
6804// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
6805 case HIP_API_ID_hipMemcpyHtoD:
6806 break;
6807// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6808 case HIP_API_ID_hipMemcpyHtoDAsync:
6809 break;
6810// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
6811 case HIP_API_ID_hipMemcpyParam2D:
6812 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
6813 break;
6814// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
6815 case HIP_API_ID_hipMemcpyParam2DAsync:
6816 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
6817 break;
6818// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
6819 case HIP_API_ID_hipMemcpyPeer:
6820 break;
6821// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6822 case HIP_API_ID_hipMemcpyPeerAsync:
6823 break;
6824// hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6825 case HIP_API_ID_hipMemcpyToArray:
6826 break;
6827// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6828 case HIP_API_ID_hipMemcpyToSymbol:
6829 break;
6830// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6831 case HIP_API_ID_hipMemcpyToSymbolAsync:
6832 break;
6833// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6834 case HIP_API_ID_hipMemcpyWithStream:
6835 break;
6836// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
6837 case HIP_API_ID_hipMemset:
6838 break;
6839// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
6840 case HIP_API_ID_hipMemset2D:
6841 break;
6842// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
6843 case HIP_API_ID_hipMemset2DAsync:
6844 break;
6845// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
6846 case HIP_API_ID_hipMemset3D:
6847 break;
6848// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
6849 case HIP_API_ID_hipMemset3DAsync:
6850 break;
6851// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6852 case HIP_API_ID_hipMemsetAsync:
6853 break;
6854// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
6855 case HIP_API_ID_hipMemsetD16:
6856 break;
6857// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6858 case HIP_API_ID_hipMemsetD16Async:
6859 break;
6860// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
6861 case HIP_API_ID_hipMemsetD32:
6862 break;
6863// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6864 case HIP_API_ID_hipMemsetD32Async:
6865 break;
6866// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
6867 case HIP_API_ID_hipMemsetD8:
6868 break;
6869// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6870 case HIP_API_ID_hipMemsetD8Async:
6871 break;
6872// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
6873 case HIP_API_ID_hipMipmappedArrayCreate:
6874 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
6875 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
6876 break;
6877// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
6878 case HIP_API_ID_hipMipmappedArrayDestroy:
6879 break;
6880// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
6881 case HIP_API_ID_hipMipmappedArrayGetLevel:
6882 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
6883 break;
6884// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
6885 case HIP_API_ID_hipModuleGetFunction:
6886 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
6887 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
6888 break;
6889// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
6890 case HIP_API_ID_hipModuleGetGlobal:
6891 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
6892 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
6893 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
6894 break;
6895// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
6896 case HIP_API_ID_hipModuleGetTexRef:
6897 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
6898 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
6899 break;
6900// 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')]
6901 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
6902 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
6903 break;
6904// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
6905 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
6906 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
6907 break;
6908// 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')]
6909 case HIP_API_ID_hipModuleLaunchKernel:
6910 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
6911 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
6912 break;
6913// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
6914 case HIP_API_ID_hipModuleLoad:
6915 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
6916 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
6917 break;
6918// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
6919 case HIP_API_ID_hipModuleLoadData:
6920 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
6921 break;
6922// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
6923 case HIP_API_ID_hipModuleLoadDataEx:
6924 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
6925 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
6926 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
6927 break;
6928// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
6929 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
6930 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6931 break;
6932// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
6933 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6934 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6935 break;
6936// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
6937 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
6938 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
6939 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
6940 break;
6941// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
6942 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
6943 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
6944 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
6945 break;
6946// hipModuleUnload[('hipModule_t', 'module')]
6947 case HIP_API_ID_hipModuleUnload:
6948 break;
6949// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
6950 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
6951 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6952 break;
6953// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
6954 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6955 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6956 break;
6957// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
6958 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
6959 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
6960 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
6961 break;
6962// hipPeekAtLastError[]
6963 case HIP_API_ID_hipPeekAtLastError:
6964 break;
6965// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
6966 case HIP_API_ID_hipPointerGetAttribute:
6967 break;
6968// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
6969 case HIP_API_ID_hipPointerGetAttributes:
6970 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
6971 break;
6972// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
6973 case HIP_API_ID_hipPointerSetAttribute:
6974 break;
6975// hipProfilerStart[]
6976 case HIP_API_ID_hipProfilerStart:
6977 break;
6978// hipProfilerStop[]
6979 case HIP_API_ID_hipProfilerStop:
6980 break;
6981// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
6982 case HIP_API_ID_hipRuntimeGetVersion:
6983 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
6984 break;
6985// hipSetDevice[('int', 'deviceId')]
6986 case HIP_API_ID_hipSetDevice:
6987 break;
6988// hipSetDeviceFlags[('unsigned int', 'flags')]
6989 case HIP_API_ID_hipSetDeviceFlags:
6990 break;
6991// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
6992 case HIP_API_ID_hipSetupArgument:
6993 break;
6994// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
6995 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
6996 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
6997 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
6998 break;
6999// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
7000 case HIP_API_ID_hipStreamAddCallback:
7001 break;
7002// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
7003 case HIP_API_ID_hipStreamAttachMemAsync:
7004 break;
7005// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
7006 case HIP_API_ID_hipStreamBeginCapture:
7007 break;
7008// hipStreamCreate[('hipStream_t*', 'stream')]
7009 case HIP_API_ID_hipStreamCreate:
7010 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
7011 break;
7012// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
7013 case HIP_API_ID_hipStreamCreateWithFlags:
7014 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
7015 break;
7016// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
7017 case HIP_API_ID_hipStreamCreateWithPriority:
7018 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
7019 break;
7020// hipStreamDestroy[('hipStream_t', 'stream')]
7021 case HIP_API_ID_hipStreamDestroy:
7022 break;
7023// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
7024 case HIP_API_ID_hipStreamEndCapture:
7025 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7026 break;
7027// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
7028 case HIP_API_ID_hipStreamGetCaptureInfo:
7029 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7030 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7031 break;
7032// 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')]
7033 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7034 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7035 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7036 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7037 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7038 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7039 break;
7040// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
7041 case HIP_API_ID_hipStreamGetDevice:
7042 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7043 break;
7044// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
7045 case HIP_API_ID_hipStreamGetFlags:
7046 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7047 break;
7048// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
7049 case HIP_API_ID_hipStreamGetPriority:
7050 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7051 break;
7052// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
7053 case HIP_API_ID_hipStreamIsCapturing:
7054 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7055 break;
7056// hipStreamQuery[('hipStream_t', 'stream')]
7057 case HIP_API_ID_hipStreamQuery:
7058 break;
7059// hipStreamSynchronize[('hipStream_t', 'stream')]
7060 case HIP_API_ID_hipStreamSynchronize:
7061 break;
7062// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
7063 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7064 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7065 break;
7066// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
7067 case HIP_API_ID_hipStreamWaitEvent:
7068 break;
7069// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
7070 case HIP_API_ID_hipStreamWaitValue32:
7071 break;
7072// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
7073 case HIP_API_ID_hipStreamWaitValue64:
7074 break;
7075// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
7076 case HIP_API_ID_hipStreamWriteValue32:
7077 break;
7078// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
7079 case HIP_API_ID_hipStreamWriteValue64:
7080 break;
7081// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
7082 case HIP_API_ID_hipTexRefGetAddress:
7083 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7084 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7085 break;
7086// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
7087 case HIP_API_ID_hipTexRefGetFlags:
7088 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7089 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7090 break;
7091// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
7092 case HIP_API_ID_hipTexRefGetFormat:
7093 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7094 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7095 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7096 break;
7097// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
7098 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7099 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7100 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7101 break;
7102// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
7103 case HIP_API_ID_hipTexRefGetMipMappedArray:
7104 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7105 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7106 break;
7107// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
7108 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7109 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7110 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7111 break;
7112// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
7113 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7114 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7115 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7116 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7117 break;
7118// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
7119 case HIP_API_ID_hipTexRefSetAddress:
7120 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7121 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7122 break;
7123// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
7124 case HIP_API_ID_hipTexRefSetAddress2D:
7125 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7126 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7127 break;
7128// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
7129 case HIP_API_ID_hipTexRefSetArray:
7130 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7131 break;
7132// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
7133 case HIP_API_ID_hipTexRefSetBorderColor:
7134 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7135 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7136 break;
7137// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
7138 case HIP_API_ID_hipTexRefSetFlags:
7139 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7140 break;
7141// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
7142 case HIP_API_ID_hipTexRefSetFormat:
7143 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7144 break;
7145// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
7146 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7147 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7148 break;
7149// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
7150 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7151 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7152 break;
7153// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
7154 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7155 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7156 break;
7157// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
7158 case HIP_API_ID_hipTexRefSetMipmappedArray:
7159 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7160 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7161 break;
7162// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
7163 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7164 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7165 break;
7166// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
7167 case HIP_API_ID_hipUserObjectCreate:
7168 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7169 break;
7170// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7171 case HIP_API_ID_hipUserObjectRelease:
7172 break;
7173// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7174 case HIP_API_ID_hipUserObjectRetain:
7175 break;
7176// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
7177 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7178 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7179 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7180 break;
7181 default: break;
7182 };
7183}
7184
7185#include <sstream>
7186#include <string>
7187// HIP API string method, method name and parameters
7188static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* data) {
7189 std::ostringstream oss;
7190 switch (id) {
7191 case HIP_API_ID___hipPopCallConfiguration:
7192 oss << "__hipPopCallConfiguration(";
7193 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss << "gridDim=NULL";
7194 else { oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7195 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss << ", blockDim=NULL";
7196 else { oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7197 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss << ", sharedMem=NULL";
7198 else { oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7199 if (data->args.__hipPopCallConfiguration.stream == NULL) oss << ", stream=NULL";
7200 else { oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7201 oss << ")";
7202 break;
7203 case HIP_API_ID___hipPushCallConfiguration:
7204 oss << "__hipPushCallConfiguration(";
7205 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7206 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7207 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7208 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7209 oss << ")";
7210 break;
7211 case HIP_API_ID_hipArray3DCreate:
7212 oss << "hipArray3DCreate(";
7213 if (data->args.hipArray3DCreate.array == NULL) oss << "array=NULL";
7214 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.array__val); }
7215 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7216 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7217 oss << ")";
7218 break;
7219 case HIP_API_ID_hipArray3DGetDescriptor:
7220 oss << "hipArray3DGetDescriptor(";
7221 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7222 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7223 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7224 oss << ")";
7225 break;
7226 case HIP_API_ID_hipArrayCreate:
7227 oss << "hipArrayCreate(";
7228 if (data->args.hipArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
7229 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pHandle__val); }
7230 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7231 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7232 oss << ")";
7233 break;
7234 case HIP_API_ID_hipArrayDestroy:
7235 oss << "hipArrayDestroy(";
7236 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7237 oss << ")";
7238 break;
7239 case HIP_API_ID_hipArrayGetDescriptor:
7240 oss << "hipArrayGetDescriptor(";
7241 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7242 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7243 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7244 oss << ")";
7245 break;
7246 case HIP_API_ID_hipArrayGetInfo:
7247 oss << "hipArrayGetInfo(";
7248 if (data->args.hipArrayGetInfo.desc == NULL) oss << "desc=NULL";
7249 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7250 if (data->args.hipArrayGetInfo.extent == NULL) oss << ", extent=NULL";
7251 else { oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7252 if (data->args.hipArrayGetInfo.flags == NULL) oss << ", flags=NULL";
7253 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7254 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7255 oss << ")";
7256 break;
7257 case HIP_API_ID_hipChooseDeviceR0000:
7258 oss << "hipChooseDeviceR0000(";
7259 if (data->args.hipChooseDeviceR0000.device == NULL) oss << "device=NULL";
7260 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7261 if (data->args.hipChooseDeviceR0000.prop == NULL) oss << ", prop=NULL";
7262 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7263 oss << ")";
7264 break;
7265 case HIP_API_ID_hipChooseDeviceR0600:
7266 oss << "hipChooseDeviceR0600(";
7267 if (data->args.hipChooseDeviceR0600.device == NULL) oss << "device=NULL";
7268 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7269 if (data->args.hipChooseDeviceR0600.prop == NULL) oss << ", prop=NULL";
7270 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7271 oss << ")";
7272 break;
7273 case HIP_API_ID_hipConfigureCall:
7274 oss << "hipConfigureCall(";
7275 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7276 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7277 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7278 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7279 oss << ")";
7280 break;
7281 case HIP_API_ID_hipCreateSurfaceObject:
7282 oss << "hipCreateSurfaceObject(";
7283 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss << "pSurfObject=NULL";
7284 else { oss << "pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7285 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss << ", pResDesc=NULL";
7286 else { oss << ", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7287 oss << ")";
7288 break;
7289 case HIP_API_ID_hipCtxCreate:
7290 oss << "hipCtxCreate(";
7291 if (data->args.hipCtxCreate.ctx == NULL) oss << "ctx=NULL";
7292 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7293 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7294 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7295 oss << ")";
7296 break;
7297 case HIP_API_ID_hipCtxDestroy:
7298 oss << "hipCtxDestroy(";
7299 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7300 oss << ")";
7301 break;
7302 case HIP_API_ID_hipCtxDisablePeerAccess:
7303 oss << "hipCtxDisablePeerAccess(";
7304 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7305 oss << ")";
7306 break;
7307 case HIP_API_ID_hipCtxEnablePeerAccess:
7308 oss << "hipCtxEnablePeerAccess(";
7309 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7310 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7311 oss << ")";
7312 break;
7313 case HIP_API_ID_hipCtxGetApiVersion:
7314 oss << "hipCtxGetApiVersion(";
7315 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7316 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss << ", apiVersion=NULL";
7317 else { oss << ", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7318 oss << ")";
7319 break;
7320 case HIP_API_ID_hipCtxGetCacheConfig:
7321 oss << "hipCtxGetCacheConfig(";
7322 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7323 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7324 oss << ")";
7325 break;
7326 case HIP_API_ID_hipCtxGetCurrent:
7327 oss << "hipCtxGetCurrent(";
7328 if (data->args.hipCtxGetCurrent.ctx == NULL) oss << "ctx=NULL";
7329 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7330 oss << ")";
7331 break;
7332 case HIP_API_ID_hipCtxGetDevice:
7333 oss << "hipCtxGetDevice(";
7334 if (data->args.hipCtxGetDevice.device == NULL) oss << "device=NULL";
7335 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7336 oss << ")";
7337 break;
7338 case HIP_API_ID_hipCtxGetFlags:
7339 oss << "hipCtxGetFlags(";
7340 if (data->args.hipCtxGetFlags.flags == NULL) oss << "flags=NULL";
7341 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7342 oss << ")";
7343 break;
7344 case HIP_API_ID_hipCtxGetSharedMemConfig:
7345 oss << "hipCtxGetSharedMemConfig(";
7346 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7347 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7348 oss << ")";
7349 break;
7350 case HIP_API_ID_hipCtxPopCurrent:
7351 oss << "hipCtxPopCurrent(";
7352 if (data->args.hipCtxPopCurrent.ctx == NULL) oss << "ctx=NULL";
7353 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7354 oss << ")";
7355 break;
7356 case HIP_API_ID_hipCtxPushCurrent:
7357 oss << "hipCtxPushCurrent(";
7358 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7359 oss << ")";
7360 break;
7361 case HIP_API_ID_hipCtxSetCacheConfig:
7362 oss << "hipCtxSetCacheConfig(";
7363 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7364 oss << ")";
7365 break;
7366 case HIP_API_ID_hipCtxSetCurrent:
7367 oss << "hipCtxSetCurrent(";
7368 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7369 oss << ")";
7370 break;
7371 case HIP_API_ID_hipCtxSetSharedMemConfig:
7372 oss << "hipCtxSetSharedMemConfig(";
7373 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7374 oss << ")";
7375 break;
7376 case HIP_API_ID_hipCtxSynchronize:
7377 oss << "hipCtxSynchronize(";
7378 oss << ")";
7379 break;
7380 case HIP_API_ID_hipDestroyExternalMemory:
7381 oss << "hipDestroyExternalMemory(";
7382 oss << "extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7383 oss << ")";
7384 break;
7385 case HIP_API_ID_hipDestroyExternalSemaphore:
7386 oss << "hipDestroyExternalSemaphore(";
7387 oss << "extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7388 oss << ")";
7389 break;
7390 case HIP_API_ID_hipDestroySurfaceObject:
7391 oss << "hipDestroySurfaceObject(";
7392 oss << "surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7393 oss << ")";
7394 break;
7395 case HIP_API_ID_hipDeviceCanAccessPeer:
7396 oss << "hipDeviceCanAccessPeer(";
7397 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss << "canAccessPeer=NULL";
7398 else { oss << "canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7399 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7400 oss << ", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7401 oss << ")";
7402 break;
7403 case HIP_API_ID_hipDeviceComputeCapability:
7404 oss << "hipDeviceComputeCapability(";
7405 if (data->args.hipDeviceComputeCapability.major == NULL) oss << "major=NULL";
7406 else { oss << "major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7407 if (data->args.hipDeviceComputeCapability.minor == NULL) oss << ", minor=NULL";
7408 else { oss << ", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7409 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7410 oss << ")";
7411 break;
7412 case HIP_API_ID_hipDeviceDisablePeerAccess:
7413 oss << "hipDeviceDisablePeerAccess(";
7414 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7415 oss << ")";
7416 break;
7417 case HIP_API_ID_hipDeviceEnablePeerAccess:
7418 oss << "hipDeviceEnablePeerAccess(";
7419 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7420 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7421 oss << ")";
7422 break;
7423 case HIP_API_ID_hipDeviceGet:
7424 oss << "hipDeviceGet(";
7425 if (data->args.hipDeviceGet.device == NULL) oss << "device=NULL";
7426 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7427 oss << ", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7428 oss << ")";
7429 break;
7430 case HIP_API_ID_hipDeviceGetAttribute:
7431 oss << "hipDeviceGetAttribute(";
7432 if (data->args.hipDeviceGetAttribute.pi == NULL) oss << "pi=NULL";
7433 else { oss << "pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7434 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7435 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7436 oss << ")";
7437 break;
7438 case HIP_API_ID_hipDeviceGetByPCIBusId:
7439 oss << "hipDeviceGetByPCIBusId(";
7440 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss << "device=NULL";
7441 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7442 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss << ", pciBusId=NULL";
7443 else { oss << ", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7444 oss << ")";
7445 break;
7446 case HIP_API_ID_hipDeviceGetCacheConfig:
7447 oss << "hipDeviceGetCacheConfig(";
7448 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7449 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7450 oss << ")";
7451 break;
7452 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7453 oss << "hipDeviceGetDefaultMemPool(";
7454 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7455 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7456 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7457 oss << ")";
7458 break;
7459 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7460 oss << "hipDeviceGetGraphMemAttribute(";
7461 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7462 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7463 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7464 oss << ")";
7465 break;
7466 case HIP_API_ID_hipDeviceGetLimit:
7467 oss << "hipDeviceGetLimit(";
7468 if (data->args.hipDeviceGetLimit.pValue == NULL) oss << "pValue=NULL";
7469 else { oss << "pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7470 oss << ", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7471 oss << ")";
7472 break;
7473 case HIP_API_ID_hipDeviceGetMemPool:
7474 oss << "hipDeviceGetMemPool(";
7475 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7476 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7477 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7478 oss << ")";
7479 break;
7480 case HIP_API_ID_hipDeviceGetName:
7481 oss << "hipDeviceGetName(";
7482 if (data->args.hipDeviceGetName.name == NULL) oss << "name=NULL";
7483 else { oss << "name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7484 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7485 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7486 oss << ")";
7487 break;
7488 case HIP_API_ID_hipDeviceGetP2PAttribute:
7489 oss << "hipDeviceGetP2PAttribute(";
7490 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss << "value=NULL";
7491 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7492 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7493 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7494 oss << ", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7495 oss << ")";
7496 break;
7497 case HIP_API_ID_hipDeviceGetPCIBusId:
7498 oss << "hipDeviceGetPCIBusId(";
7499 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss << "pciBusId=NULL";
7500 else { oss << "pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7501 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7502 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7503 oss << ")";
7504 break;
7505 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7506 oss << "hipDeviceGetSharedMemConfig(";
7507 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7508 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7509 oss << ")";
7510 break;
7511 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7512 oss << "hipDeviceGetStreamPriorityRange(";
7513 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss << "leastPriority=NULL";
7514 else { oss << "leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7515 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss << ", greatestPriority=NULL";
7516 else { oss << ", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7517 oss << ")";
7518 break;
7519 case HIP_API_ID_hipDeviceGetUuid:
7520 oss << "hipDeviceGetUuid(";
7521 if (data->args.hipDeviceGetUuid.uuid == NULL) oss << "uuid=NULL";
7522 else { oss << "uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7523 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7524 oss << ")";
7525 break;
7526 case HIP_API_ID_hipDeviceGraphMemTrim:
7527 oss << "hipDeviceGraphMemTrim(";
7528 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7529 oss << ")";
7530 break;
7531 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7532 oss << "hipDevicePrimaryCtxGetState(";
7533 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7534 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss << ", flags=NULL";
7535 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7536 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss << ", active=NULL";
7537 else { oss << ", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7538 oss << ")";
7539 break;
7540 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7541 oss << "hipDevicePrimaryCtxRelease(";
7542 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7543 oss << ")";
7544 break;
7545 case HIP_API_ID_hipDevicePrimaryCtxReset:
7546 oss << "hipDevicePrimaryCtxReset(";
7547 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7548 oss << ")";
7549 break;
7550 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7551 oss << "hipDevicePrimaryCtxRetain(";
7552 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss << "pctx=NULL";
7553 else { oss << "pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7554 oss << ", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7555 oss << ")";
7556 break;
7557 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7558 oss << "hipDevicePrimaryCtxSetFlags(";
7559 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7560 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7561 oss << ")";
7562 break;
7563 case HIP_API_ID_hipDeviceReset:
7564 oss << "hipDeviceReset(";
7565 oss << ")";
7566 break;
7567 case HIP_API_ID_hipDeviceSetCacheConfig:
7568 oss << "hipDeviceSetCacheConfig(";
7569 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7570 oss << ")";
7571 break;
7572 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7573 oss << "hipDeviceSetGraphMemAttribute(";
7574 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7575 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7576 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7577 oss << ")";
7578 break;
7579 case HIP_API_ID_hipDeviceSetLimit:
7580 oss << "hipDeviceSetLimit(";
7581 oss << "limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7582 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7583 oss << ")";
7584 break;
7585 case HIP_API_ID_hipDeviceSetMemPool:
7586 oss << "hipDeviceSetMemPool(";
7587 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7588 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7589 oss << ")";
7590 break;
7591 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7592 oss << "hipDeviceSetSharedMemConfig(";
7593 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7594 oss << ")";
7595 break;
7596 case HIP_API_ID_hipDeviceSynchronize:
7597 oss << "hipDeviceSynchronize(";
7598 oss << ")";
7599 break;
7600 case HIP_API_ID_hipDeviceTotalMem:
7601 oss << "hipDeviceTotalMem(";
7602 if (data->args.hipDeviceTotalMem.bytes == NULL) oss << "bytes=NULL";
7603 else { oss << "bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7604 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7605 oss << ")";
7606 break;
7607 case HIP_API_ID_hipDriverGetVersion:
7608 oss << "hipDriverGetVersion(";
7609 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss << "driverVersion=NULL";
7610 else { oss << "driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7611 oss << ")";
7612 break;
7613 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
7614 oss << "hipDrvGraphAddMemcpyNode(";
7615 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
7616 else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
7617 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
7618 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss << ", dependencies=NULL";
7619 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
7620 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
7621 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss << ", copyParams=NULL";
7622 else { oss << ", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
7623 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
7624 oss << ")";
7625 break;
7626 case HIP_API_ID_hipDrvGraphAddMemsetNode:
7627 oss << "hipDrvGraphAddMemsetNode(";
7628 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
7629 else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.phGraphNode__val); }
7630 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.hGraph);
7631 if (data->args.hipDrvGraphAddMemsetNode.dependencies == NULL) oss << ", dependencies=NULL";
7632 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.dependencies__val); }
7633 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.numDependencies);
7634 if (data->args.hipDrvGraphAddMemsetNode.memsetParams == NULL) oss << ", memsetParams=NULL";
7635 else { oss << ", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.memsetParams__val); }
7636 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
7637 oss << ")";
7638 break;
7639 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
7640 oss << "hipDrvGraphMemcpyNodeGetParams(";
7641 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
7642 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
7643 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
7644 oss << ")";
7645 break;
7646 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
7647 oss << "hipDrvGraphMemcpyNodeSetParams(";
7648 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
7649 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
7650 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
7651 oss << ")";
7652 break;
7653 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7654 oss << "hipDrvMemcpy2DUnaligned(";
7655 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss << "pCopy=NULL";
7656 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7657 oss << ")";
7658 break;
7659 case HIP_API_ID_hipDrvMemcpy3D:
7660 oss << "hipDrvMemcpy3D(";
7661 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss << "pCopy=NULL";
7662 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7663 oss << ")";
7664 break;
7665 case HIP_API_ID_hipDrvMemcpy3DAsync:
7666 oss << "hipDrvMemcpy3DAsync(";
7667 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss << "pCopy=NULL";
7668 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7669 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7670 oss << ")";
7671 break;
7672 case HIP_API_ID_hipDrvPointerGetAttributes:
7673 oss << "hipDrvPointerGetAttributes(";
7674 oss << "numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7675 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss << ", attributes=NULL";
7676 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7677 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss << ", data=NULL";
7678 else { oss << ", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7679 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7680 oss << ")";
7681 break;
7682 case HIP_API_ID_hipEventCreate:
7683 oss << "hipEventCreate(";
7684 if (data->args.hipEventCreate.event == NULL) oss << "event=NULL";
7685 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7686 oss << ")";
7687 break;
7688 case HIP_API_ID_hipEventCreateWithFlags:
7689 oss << "hipEventCreateWithFlags(";
7690 if (data->args.hipEventCreateWithFlags.event == NULL) oss << "event=NULL";
7691 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7692 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7693 oss << ")";
7694 break;
7695 case HIP_API_ID_hipEventDestroy:
7696 oss << "hipEventDestroy(";
7697 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7698 oss << ")";
7699 break;
7700 case HIP_API_ID_hipEventElapsedTime:
7701 oss << "hipEventElapsedTime(";
7702 if (data->args.hipEventElapsedTime.ms == NULL) oss << "ms=NULL";
7703 else { oss << "ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7704 oss << ", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7705 oss << ", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7706 oss << ")";
7707 break;
7708 case HIP_API_ID_hipEventQuery:
7709 oss << "hipEventQuery(";
7710 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7711 oss << ")";
7712 break;
7713 case HIP_API_ID_hipEventRecord:
7714 oss << "hipEventRecord(";
7715 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7716 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7717 oss << ")";
7718 break;
7719 case HIP_API_ID_hipEventSynchronize:
7720 oss << "hipEventSynchronize(";
7721 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7722 oss << ")";
7723 break;
7724 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7725 oss << "hipExtGetLinkTypeAndHopCount(";
7726 oss << "device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
7727 oss << ", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
7728 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss << ", linktype=NULL";
7729 else { oss << ", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
7730 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss << ", hopcount=NULL";
7731 else { oss << ", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
7732 oss << ")";
7733 break;
7734 case HIP_API_ID_hipExtLaunchKernel:
7735 oss << "hipExtLaunchKernel(";
7736 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
7737 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
7738 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
7739 if (data->args.hipExtLaunchKernel.args == NULL) oss << ", args=NULL";
7740 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
7741 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
7742 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
7743 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
7744 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
7745 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
7746 oss << ")";
7747 break;
7748 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
7749 oss << "hipExtLaunchMultiKernelMultiDevice(";
7750 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
7751 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
7752 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
7753 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
7754 oss << ")";
7755 break;
7756 case HIP_API_ID_hipExtMallocWithFlags:
7757 oss << "hipExtMallocWithFlags(";
7758 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss << "ptr=NULL";
7759 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
7760 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
7761 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
7762 oss << ")";
7763 break;
7764 case HIP_API_ID_hipExtModuleLaunchKernel:
7765 oss << "hipExtModuleLaunchKernel(";
7766 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
7767 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
7768 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
7769 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
7770 oss << ", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
7771 oss << ", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
7772 oss << ", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
7773 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
7774 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
7775 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
7776 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
7777 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
7778 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
7779 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
7780 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
7781 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
7782 oss << ")";
7783 break;
7784 case HIP_API_ID_hipExtStreamCreateWithCUMask:
7785 oss << "hipExtStreamCreateWithCUMask(";
7786 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss << "stream=NULL";
7787 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
7788 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
7789 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss << ", cuMask=NULL";
7790 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
7791 oss << ")";
7792 break;
7793 case HIP_API_ID_hipExtStreamGetCUMask:
7794 oss << "hipExtStreamGetCUMask(";
7795 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
7796 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
7797 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss << ", cuMask=NULL";
7798 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
7799 oss << ")";
7800 break;
7801 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
7802 oss << "hipExternalMemoryGetMappedBuffer(";
7803 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss << "devPtr=NULL";
7804 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
7805 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
7806 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss << ", bufferDesc=NULL";
7807 else { oss << ", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
7808 oss << ")";
7809 break;
7810 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
7811 oss << "hipExternalMemoryGetMappedMipmappedArray(";
7812 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss << "mipmap=NULL";
7813 else { oss << "mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
7814 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
7815 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss << ", mipmapDesc=NULL";
7816 else { oss << ", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
7817 oss << ")";
7818 break;
7819 case HIP_API_ID_hipFree:
7820 oss << "hipFree(";
7821 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
7822 oss << ")";
7823 break;
7824 case HIP_API_ID_hipFreeArray:
7825 oss << "hipFreeArray(";
7826 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
7827 oss << ")";
7828 break;
7829 case HIP_API_ID_hipFreeAsync:
7830 oss << "hipFreeAsync(";
7831 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
7832 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
7833 oss << ")";
7834 break;
7835 case HIP_API_ID_hipFreeHost:
7836 oss << "hipFreeHost(";
7837 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
7838 oss << ")";
7839 break;
7840 case HIP_API_ID_hipFreeMipmappedArray:
7841 oss << "hipFreeMipmappedArray(";
7842 oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
7843 oss << ")";
7844 break;
7845 case HIP_API_ID_hipFuncGetAttribute:
7846 oss << "hipFuncGetAttribute(";
7847 if (data->args.hipFuncGetAttribute.value == NULL) oss << "value=NULL";
7848 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
7849 oss << ", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
7850 oss << ", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
7851 oss << ")";
7852 break;
7853 case HIP_API_ID_hipFuncGetAttributes:
7854 oss << "hipFuncGetAttributes(";
7855 if (data->args.hipFuncGetAttributes.attr == NULL) oss << "attr=NULL";
7856 else { oss << "attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
7857 oss << ", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
7858 oss << ")";
7859 break;
7860 case HIP_API_ID_hipFuncSetAttribute:
7861 oss << "hipFuncSetAttribute(";
7862 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
7863 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
7864 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
7865 oss << ")";
7866 break;
7867 case HIP_API_ID_hipFuncSetCacheConfig:
7868 oss << "hipFuncSetCacheConfig(";
7869 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
7870 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
7871 oss << ")";
7872 break;
7873 case HIP_API_ID_hipFuncSetSharedMemConfig:
7874 oss << "hipFuncSetSharedMemConfig(";
7875 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
7876 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
7877 oss << ")";
7878 break;
7879 case HIP_API_ID_hipGLGetDevices:
7880 oss << "hipGLGetDevices(";
7881 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss << "pHipDeviceCount=NULL";
7882 else { oss << "pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
7883 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss << ", pHipDevices=NULL";
7884 else { oss << ", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
7885 oss << ", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
7886 oss << ", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
7887 oss << ")";
7888 break;
7889 case HIP_API_ID_hipGetChannelDesc:
7890 oss << "hipGetChannelDesc(";
7891 if (data->args.hipGetChannelDesc.desc == NULL) oss << "desc=NULL";
7892 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
7893 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
7894 oss << ")";
7895 break;
7896 case HIP_API_ID_hipGetDevice:
7897 oss << "hipGetDevice(";
7898 if (data->args.hipGetDevice.deviceId == NULL) oss << "deviceId=NULL";
7899 else { oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
7900 oss << ")";
7901 break;
7902 case HIP_API_ID_hipGetDeviceCount:
7903 oss << "hipGetDeviceCount(";
7904 if (data->args.hipGetDeviceCount.count == NULL) oss << "count=NULL";
7905 else { oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
7906 oss << ")";
7907 break;
7908 case HIP_API_ID_hipGetDeviceFlags:
7909 oss << "hipGetDeviceFlags(";
7910 if (data->args.hipGetDeviceFlags.flags == NULL) oss << "flags=NULL";
7911 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
7912 oss << ")";
7913 break;
7914 case HIP_API_ID_hipGetDevicePropertiesR0000:
7915 oss << "hipGetDevicePropertiesR0000(";
7916 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss << "prop=NULL";
7917 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
7918 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
7919 oss << ")";
7920 break;
7921 case HIP_API_ID_hipGetDevicePropertiesR0600:
7922 oss << "hipGetDevicePropertiesR0600(";
7923 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss << "prop=NULL";
7924 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
7925 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
7926 oss << ")";
7927 break;
7928 case HIP_API_ID_hipGetErrorString:
7929 oss << "hipGetErrorString(";
7930 oss << ")";
7931 break;
7932 case HIP_API_ID_hipGetLastError:
7933 oss << "hipGetLastError(";
7934 oss << ")";
7935 break;
7936 case HIP_API_ID_hipExtGetLastError:
7937 oss << "hipExtGetLastError(";
7938 oss << ")";
7939 break;
7940 case HIP_API_ID_hipGetMipmappedArrayLevel:
7941 oss << "hipGetMipmappedArrayLevel(";
7942 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss << "levelArray=NULL";
7943 else { oss << "levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
7944 oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
7945 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
7946 oss << ")";
7947 break;
7948 case HIP_API_ID_hipGetSymbolAddress:
7949 oss << "hipGetSymbolAddress(";
7950 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss << "devPtr=NULL";
7951 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
7952 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
7953 oss << ")";
7954 break;
7955 case HIP_API_ID_hipGetSymbolSize:
7956 oss << "hipGetSymbolSize(";
7957 if (data->args.hipGetSymbolSize.size == NULL) oss << "size=NULL";
7958 else { oss << "size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
7959 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
7960 oss << ")";
7961 break;
7962 case HIP_API_ID_hipGraphAddChildGraphNode:
7963 oss << "hipGraphAddChildGraphNode(";
7964 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7965 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
7966 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
7967 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7968 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
7969 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
7970 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
7971 oss << ")";
7972 break;
7973 case HIP_API_ID_hipGraphAddDependencies:
7974 oss << "hipGraphAddDependencies(";
7975 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
7976 if (data->args.hipGraphAddDependencies.from == NULL) oss << ", from=NULL";
7977 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
7978 if (data->args.hipGraphAddDependencies.to == NULL) oss << ", to=NULL";
7979 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
7980 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
7981 oss << ")";
7982 break;
7983 case HIP_API_ID_hipGraphAddEmptyNode:
7984 oss << "hipGraphAddEmptyNode(";
7985 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7986 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
7987 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
7988 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7989 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
7990 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
7991 oss << ")";
7992 break;
7993 case HIP_API_ID_hipGraphAddEventRecordNode:
7994 oss << "hipGraphAddEventRecordNode(";
7995 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7996 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
7997 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
7998 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7999 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
8000 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
8001 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
8002 oss << ")";
8003 break;
8004 case HIP_API_ID_hipGraphAddEventWaitNode:
8005 oss << "hipGraphAddEventWaitNode(";
8006 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8007 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
8008 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
8009 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8010 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
8011 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
8012 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
8013 oss << ")";
8014 break;
8015 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
8016 oss << "hipGraphAddExternalSemaphoresSignalNode(";
8017 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8018 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
8019 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
8020 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8021 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
8022 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
8023 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8024 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
8025 oss << ")";
8026 break;
8027 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
8028 oss << "hipGraphAddExternalSemaphoresWaitNode(";
8029 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8030 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
8031 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
8032 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8033 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
8034 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8035 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8036 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8037 oss << ")";
8038 break;
8039 case HIP_API_ID_hipGraphAddHostNode:
8040 oss << "hipGraphAddHostNode(";
8041 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8042 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8043 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8044 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8045 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8046 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8047 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8048 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8049 oss << ")";
8050 break;
8051 case HIP_API_ID_hipGraphAddKernelNode:
8052 oss << "hipGraphAddKernelNode(";
8053 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8054 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8055 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8056 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8057 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8058 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8059 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8060 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8061 oss << ")";
8062 break;
8063 case HIP_API_ID_hipGraphAddMemAllocNode:
8064 oss << "hipGraphAddMemAllocNode(";
8065 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8066 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8067 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8068 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8069 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8070 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8071 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8072 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8073 oss << ")";
8074 break;
8075 case HIP_API_ID_hipGraphAddMemFreeNode:
8076 oss << "hipGraphAddMemFreeNode(";
8077 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8078 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8079 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8080 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8081 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8082 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8083 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8084 oss << ")";
8085 break;
8086 case HIP_API_ID_hipGraphAddMemcpyNode:
8087 oss << "hipGraphAddMemcpyNode(";
8088 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8089 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8090 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8091 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8092 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8093 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8094 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss << ", pCopyParams=NULL";
8095 else { oss << ", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8096 oss << ")";
8097 break;
8098 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8099 oss << "hipGraphAddMemcpyNode1D(";
8100 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss << "pGraphNode=NULL";
8101 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8102 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8103 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss << ", pDependencies=NULL";
8104 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8105 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8106 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8107 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8108 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8109 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8110 oss << ")";
8111 break;
8112 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8113 oss << "hipGraphAddMemcpyNodeFromSymbol(";
8114 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8115 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8116 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8117 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8118 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8119 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8120 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8121 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8122 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8123 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8124 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8125 oss << ")";
8126 break;
8127 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8128 oss << "hipGraphAddMemcpyNodeToSymbol(";
8129 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8130 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8131 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8132 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8133 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8134 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8135 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8136 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8137 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8138 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8139 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8140 oss << ")";
8141 break;
8142 case HIP_API_ID_hipGraphAddMemsetNode:
8143 oss << "hipGraphAddMemsetNode(";
8144 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8145 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8146 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8147 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8148 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8149 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8150 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss << ", pMemsetParams=NULL";
8151 else { oss << ", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8152 oss << ")";
8153 break;
8154 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8155 oss << "hipGraphChildGraphNodeGetGraph(";
8156 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8157 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss << ", pGraph=NULL";
8158 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8159 oss << ")";
8160 break;
8161 case HIP_API_ID_hipGraphClone:
8162 oss << "hipGraphClone(";
8163 if (data->args.hipGraphClone.pGraphClone == NULL) oss << "pGraphClone=NULL";
8164 else { oss << "pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8165 oss << ", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8166 oss << ")";
8167 break;
8168 case HIP_API_ID_hipGraphCreate:
8169 oss << "hipGraphCreate(";
8170 if (data->args.hipGraphCreate.pGraph == NULL) oss << "pGraph=NULL";
8171 else { oss << "pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8172 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8173 oss << ")";
8174 break;
8175 case HIP_API_ID_hipGraphDebugDotPrint:
8176 oss << "hipGraphDebugDotPrint(";
8177 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8178 if (data->args.hipGraphDebugDotPrint.path == NULL) oss << ", path=NULL";
8179 else { oss << ", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8180 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8181 oss << ")";
8182 break;
8183 case HIP_API_ID_hipGraphDestroy:
8184 oss << "hipGraphDestroy(";
8185 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8186 oss << ")";
8187 break;
8188 case HIP_API_ID_hipGraphDestroyNode:
8189 oss << "hipGraphDestroyNode(";
8190 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8191 oss << ")";
8192 break;
8193 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8194 oss << "hipGraphEventRecordNodeGetEvent(";
8195 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8196 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8197 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8198 oss << ")";
8199 break;
8200 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8201 oss << "hipGraphEventRecordNodeSetEvent(";
8202 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8203 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8204 oss << ")";
8205 break;
8206 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8207 oss << "hipGraphEventWaitNodeGetEvent(";
8208 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8209 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8210 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8211 oss << ")";
8212 break;
8213 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8214 oss << "hipGraphEventWaitNodeSetEvent(";
8215 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8216 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8217 oss << ")";
8218 break;
8219 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8220 oss << "hipGraphExecChildGraphNodeSetParams(";
8221 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8222 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8223 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8224 oss << ")";
8225 break;
8226 case HIP_API_ID_hipGraphExecDestroy:
8227 oss << "hipGraphExecDestroy(";
8228 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8229 oss << ")";
8230 break;
8231 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8232 oss << "hipGraphExecEventRecordNodeSetEvent(";
8233 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8234 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8235 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8236 oss << ")";
8237 break;
8238 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8239 oss << "hipGraphExecEventWaitNodeSetEvent(";
8240 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8241 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8242 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8243 oss << ")";
8244 break;
8245 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8246 oss << "hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8247 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8248 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8249 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8250 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8251 oss << ")";
8252 break;
8253 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8254 oss << "hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8255 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8256 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8257 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8258 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8259 oss << ")";
8260 break;
8261 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8262 oss << "hipGraphExecHostNodeSetParams(";
8263 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8264 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8265 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8266 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8267 oss << ")";
8268 break;
8269 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8270 oss << "hipGraphExecKernelNodeSetParams(";
8271 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8272 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8273 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8274 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8275 oss << ")";
8276 break;
8277 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8278 oss << "hipGraphExecMemcpyNodeSetParams(";
8279 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8280 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8281 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8282 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8283 oss << ")";
8284 break;
8285 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8286 oss << "hipGraphExecMemcpyNodeSetParams1D(";
8287 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8288 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8289 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8290 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8291 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8292 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8293 oss << ")";
8294 break;
8295 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8296 oss << "hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8297 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8298 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8299 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8300 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8301 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8302 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8303 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8304 oss << ")";
8305 break;
8306 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8307 oss << "hipGraphExecMemcpyNodeSetParamsToSymbol(";
8308 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8309 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8310 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8311 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8312 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8313 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8314 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8315 oss << ")";
8316 break;
8317 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8318 oss << "hipGraphExecMemsetNodeSetParams(";
8319 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8320 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8321 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8322 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8323 oss << ")";
8324 break;
8325 case HIP_API_ID_hipGraphExecUpdate:
8326 oss << "hipGraphExecUpdate(";
8327 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8328 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8329 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss << ", hErrorNode_out=NULL";
8330 else { oss << ", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8331 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss << ", updateResult_out=NULL";
8332 else { oss << ", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8333 oss << ")";
8334 break;
8335 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8336 oss << "hipGraphExternalSemaphoresSignalNodeGetParams(";
8337 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8338 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8339 else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8340 oss << ")";
8341 break;
8342 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8343 oss << "hipGraphExternalSemaphoresSignalNodeSetParams(";
8344 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8345 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8346 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8347 oss << ")";
8348 break;
8349 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8350 oss << "hipGraphExternalSemaphoresWaitNodeGetParams(";
8351 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8352 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8353 else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8354 oss << ")";
8355 break;
8356 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8357 oss << "hipGraphExternalSemaphoresWaitNodeSetParams(";
8358 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8359 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8360 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8361 oss << ")";
8362 break;
8363 case HIP_API_ID_hipGraphGetEdges:
8364 oss << "hipGraphGetEdges(";
8365 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8366 if (data->args.hipGraphGetEdges.from == NULL) oss << ", from=NULL";
8367 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8368 if (data->args.hipGraphGetEdges.to == NULL) oss << ", to=NULL";
8369 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8370 if (data->args.hipGraphGetEdges.numEdges == NULL) oss << ", numEdges=NULL";
8371 else { oss << ", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8372 oss << ")";
8373 break;
8374 case HIP_API_ID_hipGraphGetNodes:
8375 oss << "hipGraphGetNodes(";
8376 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8377 if (data->args.hipGraphGetNodes.nodes == NULL) oss << ", nodes=NULL";
8378 else { oss << ", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8379 if (data->args.hipGraphGetNodes.numNodes == NULL) oss << ", numNodes=NULL";
8380 else { oss << ", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8381 oss << ")";
8382 break;
8383 case HIP_API_ID_hipGraphGetRootNodes:
8384 oss << "hipGraphGetRootNodes(";
8385 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8386 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss << ", pRootNodes=NULL";
8387 else { oss << ", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8388 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss << ", pNumRootNodes=NULL";
8389 else { oss << ", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8390 oss << ")";
8391 break;
8392 case HIP_API_ID_hipGraphHostNodeGetParams:
8393 oss << "hipGraphHostNodeGetParams(";
8394 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8395 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8396 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8397 oss << ")";
8398 break;
8399 case HIP_API_ID_hipGraphHostNodeSetParams:
8400 oss << "hipGraphHostNodeSetParams(";
8401 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8402 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8403 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8404 oss << ")";
8405 break;
8406 case HIP_API_ID_hipGraphInstantiate:
8407 oss << "hipGraphInstantiate(";
8408 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss << "pGraphExec=NULL";
8409 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8410 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8411 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss << ", pErrorNode=NULL";
8412 else { oss << ", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8413 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss << ", pLogBuffer=NULL";
8414 else { oss << ", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8415 oss << ", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8416 oss << ")";
8417 break;
8418 case HIP_API_ID_hipGraphInstantiateWithFlags:
8419 oss << "hipGraphInstantiateWithFlags(";
8420 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss << "pGraphExec=NULL";
8421 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8422 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8423 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8424 oss << ")";
8425 break;
8426 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8427 oss << "hipGraphKernelNodeCopyAttributes(";
8428 oss << "hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8429 oss << ", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8430 oss << ")";
8431 break;
8432 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8433 oss << "hipGraphKernelNodeGetAttribute(";
8434 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8435 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8436 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss << ", value=NULL";
8437 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8438 oss << ")";
8439 break;
8440 case HIP_API_ID_hipGraphKernelNodeGetParams:
8441 oss << "hipGraphKernelNodeGetParams(";
8442 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8443 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8444 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8445 oss << ")";
8446 break;
8447 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8448 oss << "hipGraphKernelNodeSetAttribute(";
8449 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8450 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8451 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss << ", value=NULL";
8452 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8453 oss << ")";
8454 break;
8455 case HIP_API_ID_hipGraphKernelNodeSetParams:
8456 oss << "hipGraphKernelNodeSetParams(";
8457 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8458 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8459 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8460 oss << ")";
8461 break;
8462 case HIP_API_ID_hipGraphLaunch:
8463 oss << "hipGraphLaunch(";
8464 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8465 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8466 oss << ")";
8467 break;
8468 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8469 oss << "hipGraphMemAllocNodeGetParams(";
8470 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8471 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8472 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8473 oss << ")";
8474 break;
8475 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8476 oss << "hipGraphMemFreeNodeGetParams(";
8477 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8478 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8479 oss << ")";
8480 break;
8481 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8482 oss << "hipGraphMemcpyNodeGetParams(";
8483 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8484 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8485 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8486 oss << ")";
8487 break;
8488 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8489 oss << "hipGraphMemcpyNodeSetParams(";
8490 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8491 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8492 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8493 oss << ")";
8494 break;
8495 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8496 oss << "hipGraphMemcpyNodeSetParams1D(";
8497 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8498 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8499 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8500 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8501 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8502 oss << ")";
8503 break;
8504 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8505 oss << "hipGraphMemcpyNodeSetParamsFromSymbol(";
8506 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8507 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8508 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8509 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8510 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8511 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8512 oss << ")";
8513 break;
8514 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8515 oss << "hipGraphMemcpyNodeSetParamsToSymbol(";
8516 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8517 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8518 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8519 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8520 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8521 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8522 oss << ")";
8523 break;
8524 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8525 oss << "hipGraphMemsetNodeGetParams(";
8526 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8527 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8528 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8529 oss << ")";
8530 break;
8531 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8532 oss << "hipGraphMemsetNodeSetParams(";
8533 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8534 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8535 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8536 oss << ")";
8537 break;
8538 case HIP_API_ID_hipGraphNodeFindInClone:
8539 oss << "hipGraphNodeFindInClone(";
8540 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss << "pNode=NULL";
8541 else { oss << "pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8542 oss << ", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8543 oss << ", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8544 oss << ")";
8545 break;
8546 case HIP_API_ID_hipGraphNodeGetDependencies:
8547 oss << "hipGraphNodeGetDependencies(";
8548 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8549 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss << ", pDependencies=NULL";
8550 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8551 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss << ", pNumDependencies=NULL";
8552 else { oss << ", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8553 oss << ")";
8554 break;
8555 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8556 oss << "hipGraphNodeGetDependentNodes(";
8557 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8558 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss << ", pDependentNodes=NULL";
8559 else { oss << ", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8560 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss << ", pNumDependentNodes=NULL";
8561 else { oss << ", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8562 oss << ")";
8563 break;
8564 case HIP_API_ID_hipGraphNodeGetEnabled:
8565 oss << "hipGraphNodeGetEnabled(";
8566 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8567 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8568 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss << ", isEnabled=NULL";
8569 else { oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8570 oss << ")";
8571 break;
8572 case HIP_API_ID_hipGraphNodeGetType:
8573 oss << "hipGraphNodeGetType(";
8574 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8575 if (data->args.hipGraphNodeGetType.pType == NULL) oss << ", pType=NULL";
8576 else { oss << ", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8577 oss << ")";
8578 break;
8579 case HIP_API_ID_hipGraphNodeSetEnabled:
8580 oss << "hipGraphNodeSetEnabled(";
8581 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8582 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8583 oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8584 oss << ")";
8585 break;
8586 case HIP_API_ID_hipGraphReleaseUserObject:
8587 oss << "hipGraphReleaseUserObject(";
8588 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8589 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8590 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8591 oss << ")";
8592 break;
8593 case HIP_API_ID_hipGraphRemoveDependencies:
8594 oss << "hipGraphRemoveDependencies(";
8595 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8596 if (data->args.hipGraphRemoveDependencies.from == NULL) oss << ", from=NULL";
8597 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8598 if (data->args.hipGraphRemoveDependencies.to == NULL) oss << ", to=NULL";
8599 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8600 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8601 oss << ")";
8602 break;
8603 case HIP_API_ID_hipGraphRetainUserObject:
8604 oss << "hipGraphRetainUserObject(";
8605 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8606 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8607 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8608 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8609 oss << ")";
8610 break;
8611 case HIP_API_ID_hipGraphUpload:
8612 oss << "hipGraphUpload(";
8613 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8614 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8615 oss << ")";
8616 break;
8617 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8618 oss << "hipGraphicsGLRegisterBuffer(";
8619 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss << "resource=NULL";
8620 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8621 oss << ", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8622 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8623 oss << ")";
8624 break;
8625 case HIP_API_ID_hipGraphicsGLRegisterImage:
8626 oss << "hipGraphicsGLRegisterImage(";
8627 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss << "resource=NULL";
8628 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8629 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8630 oss << ", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8631 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8632 oss << ")";
8633 break;
8634 case HIP_API_ID_hipGraphicsMapResources:
8635 oss << "hipGraphicsMapResources(";
8636 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8637 if (data->args.hipGraphicsMapResources.resources == NULL) oss << ", resources=NULL";
8638 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8639 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8640 oss << ")";
8641 break;
8642 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8643 oss << "hipGraphicsResourceGetMappedPointer(";
8644 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss << "devPtr=NULL";
8645 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8646 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss << ", size=NULL";
8647 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8648 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8649 oss << ")";
8650 break;
8651 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8652 oss << "hipGraphicsSubResourceGetMappedArray(";
8653 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss << "array=NULL";
8654 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8655 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8656 oss << ", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8657 oss << ", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8658 oss << ")";
8659 break;
8660 case HIP_API_ID_hipGraphicsUnmapResources:
8661 oss << "hipGraphicsUnmapResources(";
8662 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8663 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss << ", resources=NULL";
8664 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8665 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8666 oss << ")";
8667 break;
8668 case HIP_API_ID_hipGraphicsUnregisterResource:
8669 oss << "hipGraphicsUnregisterResource(";
8670 oss << "resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8671 oss << ")";
8672 break;
8673 case HIP_API_ID_hipHccModuleLaunchKernel:
8674 oss << "hipHccModuleLaunchKernel(";
8675 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8676 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8677 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8678 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8679 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8680 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8681 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8682 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8683 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8684 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8685 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8686 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
8687 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8688 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8689 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
8690 oss << ")";
8691 break;
8692 case HIP_API_ID_hipHostAlloc:
8693 oss << "hipHostAlloc(";
8694 if (data->args.hipHostAlloc.ptr == NULL) oss << "ptr=NULL";
8695 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
8696 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
8697 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
8698 oss << ")";
8699 break;
8700 case HIP_API_ID_hipHostFree:
8701 oss << "hipHostFree(";
8702 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
8703 oss << ")";
8704 break;
8705 case HIP_API_ID_hipHostGetDevicePointer:
8706 oss << "hipHostGetDevicePointer(";
8707 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss << "devPtr=NULL";
8708 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
8709 oss << ", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
8710 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
8711 oss << ")";
8712 break;
8713 case HIP_API_ID_hipHostGetFlags:
8714 oss << "hipHostGetFlags(";
8715 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss << "flagsPtr=NULL";
8716 else { oss << "flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
8717 oss << ", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
8718 oss << ")";
8719 break;
8720 case HIP_API_ID_hipHostMalloc:
8721 oss << "hipHostMalloc(";
8722 if (data->args.hipHostMalloc.ptr == NULL) oss << "ptr=NULL";
8723 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
8724 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
8725 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
8726 oss << ")";
8727 break;
8728 case HIP_API_ID_hipHostRegister:
8729 oss << "hipHostRegister(";
8730 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
8731 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
8732 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
8733 oss << ")";
8734 break;
8735 case HIP_API_ID_hipHostUnregister:
8736 oss << "hipHostUnregister(";
8737 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
8738 oss << ")";
8739 break;
8740 case HIP_API_ID_hipImportExternalMemory:
8741 oss << "hipImportExternalMemory(";
8742 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss << "extMem_out=NULL";
8743 else { oss << "extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
8744 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss << ", memHandleDesc=NULL";
8745 else { oss << ", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
8746 oss << ")";
8747 break;
8748 case HIP_API_ID_hipImportExternalSemaphore:
8749 oss << "hipImportExternalSemaphore(";
8750 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss << "extSem_out=NULL";
8751 else { oss << "extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
8752 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss << ", semHandleDesc=NULL";
8753 else { oss << ", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
8754 oss << ")";
8755 break;
8756 case HIP_API_ID_hipInit:
8757 oss << "hipInit(";
8758 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
8759 oss << ")";
8760 break;
8761 case HIP_API_ID_hipIpcCloseMemHandle:
8762 oss << "hipIpcCloseMemHandle(";
8763 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
8764 oss << ")";
8765 break;
8766 case HIP_API_ID_hipIpcGetEventHandle:
8767 oss << "hipIpcGetEventHandle(";
8768 if (data->args.hipIpcGetEventHandle.handle == NULL) oss << "handle=NULL";
8769 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
8770 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
8771 oss << ")";
8772 break;
8773 case HIP_API_ID_hipIpcGetMemHandle:
8774 oss << "hipIpcGetMemHandle(";
8775 if (data->args.hipIpcGetMemHandle.handle == NULL) oss << "handle=NULL";
8776 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
8777 oss << ", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
8778 oss << ")";
8779 break;
8780 case HIP_API_ID_hipIpcOpenEventHandle:
8781 oss << "hipIpcOpenEventHandle(";
8782 if (data->args.hipIpcOpenEventHandle.event == NULL) oss << "event=NULL";
8783 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
8784 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
8785 oss << ")";
8786 break;
8787 case HIP_API_ID_hipIpcOpenMemHandle:
8788 oss << "hipIpcOpenMemHandle(";
8789 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss << "devPtr=NULL";
8790 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
8791 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
8792 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
8793 oss << ")";
8794 break;
8795 case HIP_API_ID_hipLaunchByPtr:
8796 oss << "hipLaunchByPtr(";
8797 oss << "hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
8798 oss << ")";
8799 break;
8800 case HIP_API_ID_hipLaunchCooperativeKernel:
8801 oss << "hipLaunchCooperativeKernel(";
8802 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
8803 oss << ", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
8804 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
8805 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8806 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
8807 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
8808 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
8809 oss << ")";
8810 break;
8811 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
8812 oss << "hipLaunchCooperativeKernelMultiDevice(";
8813 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
8814 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
8815 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
8816 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
8817 oss << ")";
8818 break;
8819 case HIP_API_ID_hipLaunchHostFunc:
8820 oss << "hipLaunchHostFunc(";
8821 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
8822 oss << ", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
8823 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
8824 oss << ")";
8825 break;
8826 case HIP_API_ID_hipLaunchKernel:
8827 oss << "hipLaunchKernel(";
8828 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
8829 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
8830 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
8831 if (data->args.hipLaunchKernel.args == NULL) oss << ", args=NULL";
8832 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
8833 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
8834 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
8835 oss << ")";
8836 break;
8837 case HIP_API_ID_hipMalloc:
8838 oss << "hipMalloc(";
8839 if (data->args.hipMalloc.ptr == NULL) oss << "ptr=NULL";
8840 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
8841 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
8842 oss << ")";
8843 break;
8844 case HIP_API_ID_hipMalloc3D:
8845 oss << "hipMalloc3D(";
8846 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss << "pitchedDevPtr=NULL";
8847 else { oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
8848 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
8849 oss << ")";
8850 break;
8851 case HIP_API_ID_hipMalloc3DArray:
8852 oss << "hipMalloc3DArray(";
8853 if (data->args.hipMalloc3DArray.array == NULL) oss << "array=NULL";
8854 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
8855 if (data->args.hipMalloc3DArray.desc == NULL) oss << ", desc=NULL";
8856 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
8857 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
8858 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
8859 oss << ")";
8860 break;
8861 case HIP_API_ID_hipMallocArray:
8862 oss << "hipMallocArray(";
8863 if (data->args.hipMallocArray.array == NULL) oss << "array=NULL";
8864 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.array__val); }
8865 if (data->args.hipMallocArray.desc == NULL) oss << ", desc=NULL";
8866 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
8867 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
8868 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
8869 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
8870 oss << ")";
8871 break;
8872 case HIP_API_ID_hipMallocAsync:
8873 oss << "hipMallocAsync(";
8874 if (data->args.hipMallocAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
8875 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
8876 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
8877 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
8878 oss << ")";
8879 break;
8880 case HIP_API_ID_hipMallocFromPoolAsync:
8881 oss << "hipMallocFromPoolAsync(";
8882 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
8883 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
8884 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
8885 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
8886 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
8887 oss << ")";
8888 break;
8889 case HIP_API_ID_hipMallocHost:
8890 oss << "hipMallocHost(";
8891 if (data->args.hipMallocHost.ptr == NULL) oss << "ptr=NULL";
8892 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
8893 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
8894 oss << ")";
8895 break;
8896 case HIP_API_ID_hipMallocManaged:
8897 oss << "hipMallocManaged(";
8898 if (data->args.hipMallocManaged.dev_ptr == NULL) oss << "dev_ptr=NULL";
8899 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
8900 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
8901 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
8902 oss << ")";
8903 break;
8904 case HIP_API_ID_hipMallocMipmappedArray:
8905 oss << "hipMallocMipmappedArray(";
8906 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss << "mipmappedArray=NULL";
8907 else { oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
8908 if (data->args.hipMallocMipmappedArray.desc == NULL) oss << ", desc=NULL";
8909 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
8910 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
8911 oss << ", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
8912 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
8913 oss << ")";
8914 break;
8915 case HIP_API_ID_hipMallocPitch:
8916 oss << "hipMallocPitch(";
8917 if (data->args.hipMallocPitch.ptr == NULL) oss << "ptr=NULL";
8918 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
8919 if (data->args.hipMallocPitch.pitch == NULL) oss << ", pitch=NULL";
8920 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
8921 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
8922 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
8923 oss << ")";
8924 break;
8925 case HIP_API_ID_hipMemAddressFree:
8926 oss << "hipMemAddressFree(";
8927 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
8928 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
8929 oss << ")";
8930 break;
8931 case HIP_API_ID_hipMemAddressReserve:
8932 oss << "hipMemAddressReserve(";
8933 if (data->args.hipMemAddressReserve.ptr == NULL) oss << "ptr=NULL";
8934 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
8935 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
8936 oss << ", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
8937 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
8938 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
8939 oss << ")";
8940 break;
8941 case HIP_API_ID_hipMemAdvise:
8942 oss << "hipMemAdvise(";
8943 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
8944 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
8945 oss << ", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
8946 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
8947 oss << ")";
8948 break;
8949 case HIP_API_ID_hipMemAllocHost:
8950 oss << "hipMemAllocHost(";
8951 if (data->args.hipMemAllocHost.ptr == NULL) oss << "ptr=NULL";
8952 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
8953 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
8954 oss << ")";
8955 break;
8956 case HIP_API_ID_hipMemAllocPitch:
8957 oss << "hipMemAllocPitch(";
8958 if (data->args.hipMemAllocPitch.dptr == NULL) oss << "dptr=NULL";
8959 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
8960 if (data->args.hipMemAllocPitch.pitch == NULL) oss << ", pitch=NULL";
8961 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
8962 oss << ", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
8963 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
8964 oss << ", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
8965 oss << ")";
8966 break;
8967 case HIP_API_ID_hipMemCreate:
8968 oss << "hipMemCreate(";
8969 if (data->args.hipMemCreate.handle == NULL) oss << "handle=NULL";
8970 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
8971 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
8972 if (data->args.hipMemCreate.prop == NULL) oss << ", prop=NULL";
8973 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
8974 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
8975 oss << ")";
8976 break;
8977 case HIP_API_ID_hipMemExportToShareableHandle:
8978 oss << "hipMemExportToShareableHandle(";
8979 oss << "shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
8980 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
8981 oss << ", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
8982 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
8983 oss << ")";
8984 break;
8985 case HIP_API_ID_hipMemGetAccess:
8986 oss << "hipMemGetAccess(";
8987 if (data->args.hipMemGetAccess.flags == NULL) oss << "flags=NULL";
8988 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
8989 if (data->args.hipMemGetAccess.location == NULL) oss << ", location=NULL";
8990 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
8991 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
8992 oss << ")";
8993 break;
8994 case HIP_API_ID_hipMemGetAddressRange:
8995 oss << "hipMemGetAddressRange(";
8996 if (data->args.hipMemGetAddressRange.pbase == NULL) oss << "pbase=NULL";
8997 else { oss << "pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
8998 if (data->args.hipMemGetAddressRange.psize == NULL) oss << ", psize=NULL";
8999 else { oss << ", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
9000 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
9001 oss << ")";
9002 break;
9003 case HIP_API_ID_hipMemGetAllocationGranularity:
9004 oss << "hipMemGetAllocationGranularity(";
9005 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss << "granularity=NULL";
9006 else { oss << "granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
9007 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss << ", prop=NULL";
9008 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
9009 oss << ", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
9010 oss << ")";
9011 break;
9012 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
9013 oss << "hipMemGetAllocationPropertiesFromHandle(";
9014 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss << "prop=NULL";
9015 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
9016 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
9017 oss << ")";
9018 break;
9019 case HIP_API_ID_hipMemGetInfo:
9020 oss << "hipMemGetInfo(";
9021 if (data->args.hipMemGetInfo.free == NULL) oss << "free=NULL";
9022 else { oss << "free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
9023 if (data->args.hipMemGetInfo.total == NULL) oss << ", total=NULL";
9024 else { oss << ", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
9025 oss << ")";
9026 break;
9027 case HIP_API_ID_hipMemImportFromShareableHandle:
9028 oss << "hipMemImportFromShareableHandle(";
9029 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss << "handle=NULL";
9030 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
9031 oss << ", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
9032 oss << ", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9033 oss << ")";
9034 break;
9035 case HIP_API_ID_hipMemMap:
9036 oss << "hipMemMap(";
9037 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9038 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9039 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9040 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9041 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9042 oss << ")";
9043 break;
9044 case HIP_API_ID_hipMemMapArrayAsync:
9045 oss << "hipMemMapArrayAsync(";
9046 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss << "mapInfoList=NULL";
9047 else { oss << "mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9048 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9049 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9050 oss << ")";
9051 break;
9052 case HIP_API_ID_hipMemPoolCreate:
9053 oss << "hipMemPoolCreate(";
9054 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss << "mem_pool=NULL";
9055 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9056 if (data->args.hipMemPoolCreate.pool_props == NULL) oss << ", pool_props=NULL";
9057 else { oss << ", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9058 oss << ")";
9059 break;
9060 case HIP_API_ID_hipMemPoolDestroy:
9061 oss << "hipMemPoolDestroy(";
9062 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9063 oss << ")";
9064 break;
9065 case HIP_API_ID_hipMemPoolExportPointer:
9066 oss << "hipMemPoolExportPointer(";
9067 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss << "export_data=NULL";
9068 else { oss << "export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9069 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9070 oss << ")";
9071 break;
9072 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9073 oss << "hipMemPoolExportToShareableHandle(";
9074 oss << "shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9075 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9076 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9077 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9078 oss << ")";
9079 break;
9080 case HIP_API_ID_hipMemPoolGetAccess:
9081 oss << "hipMemPoolGetAccess(";
9082 if (data->args.hipMemPoolGetAccess.flags == NULL) oss << "flags=NULL";
9083 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9084 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9085 if (data->args.hipMemPoolGetAccess.location == NULL) oss << ", location=NULL";
9086 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9087 oss << ")";
9088 break;
9089 case HIP_API_ID_hipMemPoolGetAttribute:
9090 oss << "hipMemPoolGetAttribute(";
9091 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9092 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9093 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9094 oss << ")";
9095 break;
9096 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9097 oss << "hipMemPoolImportFromShareableHandle(";
9098 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss << "mem_pool=NULL";
9099 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9100 oss << ", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9101 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9102 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9103 oss << ")";
9104 break;
9105 case HIP_API_ID_hipMemPoolImportPointer:
9106 oss << "hipMemPoolImportPointer(";
9107 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss << "dev_ptr=NULL";
9108 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9109 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9110 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss << ", export_data=NULL";
9111 else { oss << ", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9112 oss << ")";
9113 break;
9114 case HIP_API_ID_hipMemPoolSetAccess:
9115 oss << "hipMemPoolSetAccess(";
9116 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9117 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss << ", desc_list=NULL";
9118 else { oss << ", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9119 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9120 oss << ")";
9121 break;
9122 case HIP_API_ID_hipMemPoolSetAttribute:
9123 oss << "hipMemPoolSetAttribute(";
9124 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9125 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9126 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9127 oss << ")";
9128 break;
9129 case HIP_API_ID_hipMemPoolTrimTo:
9130 oss << "hipMemPoolTrimTo(";
9131 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9132 oss << ", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9133 oss << ")";
9134 break;
9135 case HIP_API_ID_hipMemPrefetchAsync:
9136 oss << "hipMemPrefetchAsync(";
9137 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9138 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9139 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9140 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9141 oss << ")";
9142 break;
9143 case HIP_API_ID_hipMemPtrGetInfo:
9144 oss << "hipMemPtrGetInfo(";
9145 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9146 if (data->args.hipMemPtrGetInfo.size == NULL) oss << ", size=NULL";
9147 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9148 oss << ")";
9149 break;
9150 case HIP_API_ID_hipMemRangeGetAttribute:
9151 oss << "hipMemRangeGetAttribute(";
9152 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9153 oss << ", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9154 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9155 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9156 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9157 oss << ")";
9158 break;
9159 case HIP_API_ID_hipMemRangeGetAttributes:
9160 oss << "hipMemRangeGetAttributes(";
9161 if (data->args.hipMemRangeGetAttributes.data == NULL) oss << "data=NULL";
9162 else { oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9163 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss << ", data_sizes=NULL";
9164 else { oss << ", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9165 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss << ", attributes=NULL";
9166 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9167 oss << ", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9168 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9169 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9170 oss << ")";
9171 break;
9172 case HIP_API_ID_hipMemRelease:
9173 oss << "hipMemRelease(";
9174 oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9175 oss << ")";
9176 break;
9177 case HIP_API_ID_hipMemRetainAllocationHandle:
9178 oss << "hipMemRetainAllocationHandle(";
9179 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss << "handle=NULL";
9180 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9181 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9182 oss << ")";
9183 break;
9184 case HIP_API_ID_hipMemSetAccess:
9185 oss << "hipMemSetAccess(";
9186 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9187 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9188 if (data->args.hipMemSetAccess.desc == NULL) oss << ", desc=NULL";
9189 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9190 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9191 oss << ")";
9192 break;
9193 case HIP_API_ID_hipMemUnmap:
9194 oss << "hipMemUnmap(";
9195 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9196 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9197 oss << ")";
9198 break;
9199 case HIP_API_ID_hipMemcpy:
9200 oss << "hipMemcpy(";
9201 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9202 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9203 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9204 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9205 oss << ")";
9206 break;
9207 case HIP_API_ID_hipMemcpy2D:
9208 oss << "hipMemcpy2D(";
9209 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9210 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9211 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9212 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9213 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9214 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9215 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9216 oss << ")";
9217 break;
9218 case HIP_API_ID_hipMemcpy2DAsync:
9219 oss << "hipMemcpy2DAsync(";
9220 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9221 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9222 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9223 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9224 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9225 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9226 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9227 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9228 oss << ")";
9229 break;
9230 case HIP_API_ID_hipMemcpy2DFromArray:
9231 oss << "hipMemcpy2DFromArray(";
9232 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9233 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9234 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9235 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9236 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9237 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9238 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9239 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9240 oss << ")";
9241 break;
9242 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9243 oss << "hipMemcpy2DFromArrayAsync(";
9244 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9245 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9246 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9247 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9248 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9249 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9250 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9251 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9252 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9253 oss << ")";
9254 break;
9255 case HIP_API_ID_hipMemcpy2DToArray:
9256 oss << "hipMemcpy2DToArray(";
9257 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9258 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9259 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9260 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9261 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9262 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9263 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9264 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9265 oss << ")";
9266 break;
9267 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9268 oss << "hipMemcpy2DToArrayAsync(";
9269 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9270 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9271 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9272 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9273 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9274 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9275 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9276 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9277 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9278 oss << ")";
9279 break;
9280 case HIP_API_ID_hipMemcpy3D:
9281 oss << "hipMemcpy3D(";
9282 if (data->args.hipMemcpy3D.p == NULL) oss << "p=NULL";
9283 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9284 oss << ")";
9285 break;
9286 case HIP_API_ID_hipMemcpy3DAsync:
9287 oss << "hipMemcpy3DAsync(";
9288 if (data->args.hipMemcpy3DAsync.p == NULL) oss << "p=NULL";
9289 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9290 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9291 oss << ")";
9292 break;
9293 case HIP_API_ID_hipMemcpyAsync:
9294 oss << "hipMemcpyAsync(";
9295 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9296 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9297 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9298 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9299 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9300 oss << ")";
9301 break;
9302 case HIP_API_ID_hipMemcpyAtoH:
9303 oss << "hipMemcpyAtoH(";
9304 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9305 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9306 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9307 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9308 oss << ")";
9309 break;
9310 case HIP_API_ID_hipMemcpyDtoD:
9311 oss << "hipMemcpyDtoD(";
9312 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9313 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9314 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9315 oss << ")";
9316 break;
9317 case HIP_API_ID_hipMemcpyDtoDAsync:
9318 oss << "hipMemcpyDtoDAsync(";
9319 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9320 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9321 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9322 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9323 oss << ")";
9324 break;
9325 case HIP_API_ID_hipMemcpyDtoH:
9326 oss << "hipMemcpyDtoH(";
9327 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9328 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9329 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9330 oss << ")";
9331 break;
9332 case HIP_API_ID_hipMemcpyDtoHAsync:
9333 oss << "hipMemcpyDtoHAsync(";
9334 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9335 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9336 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9337 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9338 oss << ")";
9339 break;
9340 case HIP_API_ID_hipMemcpyFromArray:
9341 oss << "hipMemcpyFromArray(";
9342 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9343 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9344 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9345 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9346 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9347 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9348 oss << ")";
9349 break;
9350 case HIP_API_ID_hipMemcpyFromSymbol:
9351 oss << "hipMemcpyFromSymbol(";
9352 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9353 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9354 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9355 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9356 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9357 oss << ")";
9358 break;
9359 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9360 oss << "hipMemcpyFromSymbolAsync(";
9361 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9362 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9363 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9364 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9365 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9366 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9367 oss << ")";
9368 break;
9369 case HIP_API_ID_hipMemcpyHtoA:
9370 oss << "hipMemcpyHtoA(";
9371 oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9372 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9373 oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9374 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9375 oss << ")";
9376 break;
9377 case HIP_API_ID_hipMemcpyHtoD:
9378 oss << "hipMemcpyHtoD(";
9379 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9380 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9381 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9382 oss << ")";
9383 break;
9384 case HIP_API_ID_hipMemcpyHtoDAsync:
9385 oss << "hipMemcpyHtoDAsync(";
9386 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9387 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9388 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9389 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9390 oss << ")";
9391 break;
9392 case HIP_API_ID_hipMemcpyParam2D:
9393 oss << "hipMemcpyParam2D(";
9394 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss << "pCopy=NULL";
9395 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9396 oss << ")";
9397 break;
9398 case HIP_API_ID_hipMemcpyParam2DAsync:
9399 oss << "hipMemcpyParam2DAsync(";
9400 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss << "pCopy=NULL";
9401 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9402 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9403 oss << ")";
9404 break;
9405 case HIP_API_ID_hipMemcpyPeer:
9406 oss << "hipMemcpyPeer(";
9407 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9408 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9409 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9410 oss << ", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9411 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9412 oss << ")";
9413 break;
9414 case HIP_API_ID_hipMemcpyPeerAsync:
9415 oss << "hipMemcpyPeerAsync(";
9416 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9417 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9418 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9419 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9420 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9421 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9422 oss << ")";
9423 break;
9424 case HIP_API_ID_hipMemcpyToArray:
9425 oss << "hipMemcpyToArray(";
9426 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
9427 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9428 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9429 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9430 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9431 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9432 oss << ")";
9433 break;
9434 case HIP_API_ID_hipMemcpyToSymbol:
9435 oss << "hipMemcpyToSymbol(";
9436 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9437 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9438 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9439 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9440 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9441 oss << ")";
9442 break;
9443 case HIP_API_ID_hipMemcpyToSymbolAsync:
9444 oss << "hipMemcpyToSymbolAsync(";
9445 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9446 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9447 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9448 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9449 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9450 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9451 oss << ")";
9452 break;
9453 case HIP_API_ID_hipMemcpyWithStream:
9454 oss << "hipMemcpyWithStream(";
9455 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9456 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9457 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9458 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9459 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9460 oss << ")";
9461 break;
9462 case HIP_API_ID_hipMemset:
9463 oss << "hipMemset(";
9464 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9465 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9466 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9467 oss << ")";
9468 break;
9469 case HIP_API_ID_hipMemset2D:
9470 oss << "hipMemset2D(";
9471 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9472 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9473 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9474 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9475 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9476 oss << ")";
9477 break;
9478 case HIP_API_ID_hipMemset2DAsync:
9479 oss << "hipMemset2DAsync(";
9480 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9481 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9482 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9483 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9484 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9485 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9486 oss << ")";
9487 break;
9488 case HIP_API_ID_hipMemset3D:
9489 oss << "hipMemset3D(";
9490 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9491 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9492 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9493 oss << ")";
9494 break;
9495 case HIP_API_ID_hipMemset3DAsync:
9496 oss << "hipMemset3DAsync(";
9497 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9498 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9499 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9500 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9501 oss << ")";
9502 break;
9503 case HIP_API_ID_hipMemsetAsync:
9504 oss << "hipMemsetAsync(";
9505 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9506 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9507 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9508 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9509 oss << ")";
9510 break;
9511 case HIP_API_ID_hipMemsetD16:
9512 oss << "hipMemsetD16(";
9513 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9514 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9515 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9516 oss << ")";
9517 break;
9518 case HIP_API_ID_hipMemsetD16Async:
9519 oss << "hipMemsetD16Async(";
9520 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9521 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9522 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9523 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9524 oss << ")";
9525 break;
9526 case HIP_API_ID_hipMemsetD32:
9527 oss << "hipMemsetD32(";
9528 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9529 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9530 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9531 oss << ")";
9532 break;
9533 case HIP_API_ID_hipMemsetD32Async:
9534 oss << "hipMemsetD32Async(";
9535 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9536 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9537 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9538 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9539 oss << ")";
9540 break;
9541 case HIP_API_ID_hipMemsetD8:
9542 oss << "hipMemsetD8(";
9543 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9544 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9545 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9546 oss << ")";
9547 break;
9548 case HIP_API_ID_hipMemsetD8Async:
9549 oss << "hipMemsetD8Async(";
9550 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9551 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9552 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9553 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9554 oss << ")";
9555 break;
9556 case HIP_API_ID_hipMipmappedArrayCreate:
9557 oss << "hipMipmappedArrayCreate(";
9558 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
9559 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9560 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss << ", pMipmappedArrayDesc=NULL";
9561 else { oss << ", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9562 oss << ", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9563 oss << ")";
9564 break;
9565 case HIP_API_ID_hipMipmappedArrayDestroy:
9566 oss << "hipMipmappedArrayDestroy(";
9567 oss << "hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9568 oss << ")";
9569 break;
9570 case HIP_API_ID_hipMipmappedArrayGetLevel:
9571 oss << "hipMipmappedArrayGetLevel(";
9572 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss << "pLevelArray=NULL";
9573 else { oss << "pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9574 oss << ", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9575 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9576 oss << ")";
9577 break;
9578 case HIP_API_ID_hipModuleGetFunction:
9579 oss << "hipModuleGetFunction(";
9580 if (data->args.hipModuleGetFunction.function == NULL) oss << "function=NULL";
9581 else { oss << "function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9582 oss << ", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9583 if (data->args.hipModuleGetFunction.kname == NULL) oss << ", kname=NULL";
9584 else { oss << ", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9585 oss << ")";
9586 break;
9587 case HIP_API_ID_hipModuleGetGlobal:
9588 oss << "hipModuleGetGlobal(";
9589 if (data->args.hipModuleGetGlobal.dptr == NULL) oss << "dptr=NULL";
9590 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9591 if (data->args.hipModuleGetGlobal.bytes == NULL) oss << ", bytes=NULL";
9592 else { oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9593 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9594 if (data->args.hipModuleGetGlobal.name == NULL) oss << ", name=NULL";
9595 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9596 oss << ")";
9597 break;
9598 case HIP_API_ID_hipModuleGetTexRef:
9599 oss << "hipModuleGetTexRef(";
9600 if (data->args.hipModuleGetTexRef.texRef == NULL) oss << "texRef=NULL";
9601 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipModuleGetTexRef.texRef__val); }
9602 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9603 if (data->args.hipModuleGetTexRef.name == NULL) oss << ", name=NULL";
9604 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9605 oss << ")";
9606 break;
9607 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9608 oss << "hipModuleLaunchCooperativeKernel(";
9609 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9610 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9611 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9612 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9613 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9614 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9615 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9616 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9617 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9618 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9619 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9620 oss << ")";
9621 break;
9622 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9623 oss << "hipModuleLaunchCooperativeKernelMultiDevice(";
9624 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
9625 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9626 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9627 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9628 oss << ")";
9629 break;
9630 case HIP_API_ID_hipModuleLaunchKernel:
9631 oss << "hipModuleLaunchKernel(";
9632 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9633 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
9634 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
9635 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
9636 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
9637 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
9638 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
9639 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
9640 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
9641 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9642 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
9643 if (data->args.hipModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
9644 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
9645 oss << ")";
9646 break;
9647 case HIP_API_ID_hipModuleLoad:
9648 oss << "hipModuleLoad(";
9649 if (data->args.hipModuleLoad.module == NULL) oss << "module=NULL";
9650 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
9651 if (data->args.hipModuleLoad.fname == NULL) oss << ", fname=NULL";
9652 else { oss << ", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
9653 oss << ")";
9654 break;
9655 case HIP_API_ID_hipModuleLoadData:
9656 oss << "hipModuleLoadData(";
9657 if (data->args.hipModuleLoadData.module == NULL) oss << "module=NULL";
9658 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
9659 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
9660 oss << ")";
9661 break;
9662 case HIP_API_ID_hipModuleLoadDataEx:
9663 oss << "hipModuleLoadDataEx(";
9664 if (data->args.hipModuleLoadDataEx.module == NULL) oss << "module=NULL";
9665 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
9666 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
9667 oss << ", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
9668 if (data->args.hipModuleLoadDataEx.options == NULL) oss << ", options=NULL";
9669 else { oss << ", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
9670 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss << ", optionsValues=NULL";
9671 else { oss << ", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
9672 oss << ")";
9673 break;
9674 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
9675 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
9676 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
9677 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9678 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
9679 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9680 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
9681 oss << ")";
9682 break;
9683 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9684 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9685 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
9686 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9687 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9688 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9689 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
9690 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9691 oss << ")";
9692 break;
9693 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
9694 oss << "hipModuleOccupancyMaxPotentialBlockSize(";
9695 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
9696 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
9697 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
9698 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
9699 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
9700 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9701 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
9702 oss << ")";
9703 break;
9704 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
9705 oss << "hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
9706 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss << "gridSize=NULL";
9707 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
9708 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss << ", blockSize=NULL";
9709 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
9710 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
9711 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
9712 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
9713 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
9714 oss << ")";
9715 break;
9716 case HIP_API_ID_hipModuleUnload:
9717 oss << "hipModuleUnload(";
9718 oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
9719 oss << ")";
9720 break;
9721 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
9722 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessor(";
9723 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
9724 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9725 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
9726 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9727 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
9728 oss << ")";
9729 break;
9730 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9731 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9732 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
9733 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9734 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9735 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9736 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
9737 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9738 oss << ")";
9739 break;
9740 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
9741 oss << "hipOccupancyMaxPotentialBlockSize(";
9742 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
9743 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
9744 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
9745 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
9746 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
9747 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9748 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
9749 oss << ")";
9750 break;
9751 case HIP_API_ID_hipPeekAtLastError:
9752 oss << "hipPeekAtLastError(";
9753 oss << ")";
9754 break;
9755 case HIP_API_ID_hipPointerGetAttribute:
9756 oss << "hipPointerGetAttribute(";
9757 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
9758 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
9759 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
9760 oss << ")";
9761 break;
9762 case HIP_API_ID_hipPointerGetAttributes:
9763 oss << "hipPointerGetAttributes(";
9764 if (data->args.hipPointerGetAttributes.attributes == NULL) oss << "attributes=NULL";
9765 else { oss << "attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
9766 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
9767 oss << ")";
9768 break;
9769 case HIP_API_ID_hipPointerSetAttribute:
9770 oss << "hipPointerSetAttribute(";
9771 oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
9772 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
9773 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
9774 oss << ")";
9775 break;
9776 case HIP_API_ID_hipProfilerStart:
9777 oss << "hipProfilerStart(";
9778 oss << ")";
9779 break;
9780 case HIP_API_ID_hipProfilerStop:
9781 oss << "hipProfilerStop(";
9782 oss << ")";
9783 break;
9784 case HIP_API_ID_hipRuntimeGetVersion:
9785 oss << "hipRuntimeGetVersion(";
9786 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss << "runtimeVersion=NULL";
9787 else { oss << "runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
9788 oss << ")";
9789 break;
9790 case HIP_API_ID_hipSetDevice:
9791 oss << "hipSetDevice(";
9792 oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
9793 oss << ")";
9794 break;
9795 case HIP_API_ID_hipSetDeviceFlags:
9796 oss << "hipSetDeviceFlags(";
9797 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
9798 oss << ")";
9799 break;
9800 case HIP_API_ID_hipSetupArgument:
9801 oss << "hipSetupArgument(";
9802 oss << "arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
9803 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
9804 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
9805 oss << ")";
9806 break;
9807 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
9808 oss << "hipSignalExternalSemaphoresAsync(";
9809 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
9810 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
9811 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
9812 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
9813 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
9814 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
9815 oss << ")";
9816 break;
9817 case HIP_API_ID_hipStreamAddCallback:
9818 oss << "hipStreamAddCallback(";
9819 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
9820 oss << ", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
9821 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
9822 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
9823 oss << ")";
9824 break;
9825 case HIP_API_ID_hipStreamAttachMemAsync:
9826 oss << "hipStreamAttachMemAsync(";
9827 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
9828 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
9829 oss << ", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
9830 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
9831 oss << ")";
9832 break;
9833 case HIP_API_ID_hipStreamBeginCapture:
9834 oss << "hipStreamBeginCapture(";
9835 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
9836 oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
9837 oss << ")";
9838 break;
9839 case HIP_API_ID_hipStreamCreate:
9840 oss << "hipStreamCreate(";
9841 if (data->args.hipStreamCreate.stream == NULL) oss << "stream=NULL";
9842 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
9843 oss << ")";
9844 break;
9845 case HIP_API_ID_hipStreamCreateWithFlags:
9846 oss << "hipStreamCreateWithFlags(";
9847 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss << "stream=NULL";
9848 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
9849 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
9850 oss << ")";
9851 break;
9852 case HIP_API_ID_hipStreamCreateWithPriority:
9853 oss << "hipStreamCreateWithPriority(";
9854 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss << "stream=NULL";
9855 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
9856 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
9857 oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
9858 oss << ")";
9859 break;
9860 case HIP_API_ID_hipStreamDestroy:
9861 oss << "hipStreamDestroy(";
9862 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
9863 oss << ")";
9864 break;
9865 case HIP_API_ID_hipStreamEndCapture:
9866 oss << "hipStreamEndCapture(";
9867 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
9868 if (data->args.hipStreamEndCapture.pGraph == NULL) oss << ", pGraph=NULL";
9869 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
9870 oss << ")";
9871 break;
9872 case HIP_API_ID_hipStreamGetCaptureInfo:
9873 oss << "hipStreamGetCaptureInfo(";
9874 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
9875 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
9876 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
9877 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss << ", pId=NULL";
9878 else { oss << ", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
9879 oss << ")";
9880 break;
9881 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
9882 oss << "hipStreamGetCaptureInfo_v2(";
9883 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
9884 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss << ", captureStatus_out=NULL";
9885 else { oss << ", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
9886 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss << ", id_out=NULL";
9887 else { oss << ", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
9888 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss << ", graph_out=NULL";
9889 else { oss << ", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
9890 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss << ", dependencies_out=NULL";
9891 else { oss << ", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
9892 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss << ", numDependencies_out=NULL";
9893 else { oss << ", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
9894 oss << ")";
9895 break;
9896 case HIP_API_ID_hipStreamGetDevice:
9897 oss << "hipStreamGetDevice(";
9898 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
9899 if (data->args.hipStreamGetDevice.device == NULL) oss << ", device=NULL";
9900 else { oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
9901 oss << ")";
9902 break;
9903 case HIP_API_ID_hipStreamGetFlags:
9904 oss << "hipStreamGetFlags(";
9905 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
9906 if (data->args.hipStreamGetFlags.flags == NULL) oss << ", flags=NULL";
9907 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
9908 oss << ")";
9909 break;
9910 case HIP_API_ID_hipStreamGetPriority:
9911 oss << "hipStreamGetPriority(";
9912 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
9913 if (data->args.hipStreamGetPriority.priority == NULL) oss << ", priority=NULL";
9914 else { oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
9915 oss << ")";
9916 break;
9917 case HIP_API_ID_hipStreamIsCapturing:
9918 oss << "hipStreamIsCapturing(";
9919 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
9920 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
9921 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
9922 oss << ")";
9923 break;
9924 case HIP_API_ID_hipStreamQuery:
9925 oss << "hipStreamQuery(";
9926 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
9927 oss << ")";
9928 break;
9929 case HIP_API_ID_hipStreamSynchronize:
9930 oss << "hipStreamSynchronize(";
9931 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
9932 oss << ")";
9933 break;
9934 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
9935 oss << "hipStreamUpdateCaptureDependencies(";
9936 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
9937 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss << ", dependencies=NULL";
9938 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
9939 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
9940 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
9941 oss << ")";
9942 break;
9943 case HIP_API_ID_hipStreamWaitEvent:
9944 oss << "hipStreamWaitEvent(";
9945 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
9946 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
9947 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
9948 oss << ")";
9949 break;
9950 case HIP_API_ID_hipStreamWaitValue32:
9951 oss << "hipStreamWaitValue32(";
9952 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
9953 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
9954 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
9955 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
9956 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
9957 oss << ")";
9958 break;
9959 case HIP_API_ID_hipStreamWaitValue64:
9960 oss << "hipStreamWaitValue64(";
9961 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
9962 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
9963 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
9964 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
9965 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
9966 oss << ")";
9967 break;
9968 case HIP_API_ID_hipStreamWriteValue32:
9969 oss << "hipStreamWriteValue32(";
9970 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
9971 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
9972 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
9973 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
9974 oss << ")";
9975 break;
9976 case HIP_API_ID_hipStreamWriteValue64:
9977 oss << "hipStreamWriteValue64(";
9978 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
9979 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
9980 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
9981 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
9982 oss << ")";
9983 break;
9984 case HIP_API_ID_hipTexRefGetAddress:
9985 oss << "hipTexRefGetAddress(";
9986 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss << "dev_ptr=NULL";
9987 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
9988 if (data->args.hipTexRefGetAddress.texRef == NULL) oss << ", texRef=NULL";
9989 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
9990 oss << ")";
9991 break;
9992 case HIP_API_ID_hipTexRefGetFlags:
9993 oss << "hipTexRefGetFlags(";
9994 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss << "pFlags=NULL";
9995 else { oss << "pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
9996 if (data->args.hipTexRefGetFlags.texRef == NULL) oss << ", texRef=NULL";
9997 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
9998 oss << ")";
9999 break;
10000 case HIP_API_ID_hipTexRefGetFormat:
10001 oss << "hipTexRefGetFormat(";
10002 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss << "pFormat=NULL";
10003 else { oss << "pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
10004 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss << ", pNumChannels=NULL";
10005 else { oss << ", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
10006 if (data->args.hipTexRefGetFormat.texRef == NULL) oss << ", texRef=NULL";
10007 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
10008 oss << ")";
10009 break;
10010 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
10011 oss << "hipTexRefGetMaxAnisotropy(";
10012 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss << "pmaxAnsio=NULL";
10013 else { oss << "pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
10014 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss << ", texRef=NULL";
10015 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
10016 oss << ")";
10017 break;
10018 case HIP_API_ID_hipTexRefGetMipMappedArray:
10019 oss << "hipTexRefGetMipMappedArray(";
10020 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss << "pArray=NULL";
10021 else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
10022 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss << ", texRef=NULL";
10023 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
10024 oss << ")";
10025 break;
10026 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
10027 oss << "hipTexRefGetMipmapLevelBias(";
10028 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss << "pbias=NULL";
10029 else { oss << "pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
10030 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss << ", texRef=NULL";
10031 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
10032 oss << ")";
10033 break;
10034 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10035 oss << "hipTexRefGetMipmapLevelClamp(";
10036 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss << "pminMipmapLevelClamp=NULL";
10037 else { oss << "pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10038 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss << ", pmaxMipmapLevelClamp=NULL";
10039 else { oss << ", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10040 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss << ", texRef=NULL";
10041 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10042 oss << ")";
10043 break;
10044 case HIP_API_ID_hipTexRefSetAddress:
10045 oss << "hipTexRefSetAddress(";
10046 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss << "ByteOffset=NULL";
10047 else { oss << "ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10048 if (data->args.hipTexRefSetAddress.texRef == NULL) oss << ", texRef=NULL";
10049 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10050 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10051 oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10052 oss << ")";
10053 break;
10054 case HIP_API_ID_hipTexRefSetAddress2D:
10055 oss << "hipTexRefSetAddress2D(";
10056 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss << "texRef=NULL";
10057 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10058 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss << ", desc=NULL";
10059 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10060 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10061 oss << ", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10062 oss << ")";
10063 break;
10064 case HIP_API_ID_hipTexRefSetArray:
10065 oss << "hipTexRefSetArray(";
10066 if (data->args.hipTexRefSetArray.tex == NULL) oss << "tex=NULL";
10067 else { oss << "tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10068 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10069 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10070 oss << ")";
10071 break;
10072 case HIP_API_ID_hipTexRefSetBorderColor:
10073 oss << "hipTexRefSetBorderColor(";
10074 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss << "texRef=NULL";
10075 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10076 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss << ", pBorderColor=NULL";
10077 else { oss << ", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10078 oss << ")";
10079 break;
10080 case HIP_API_ID_hipTexRefSetFlags:
10081 oss << "hipTexRefSetFlags(";
10082 if (data->args.hipTexRefSetFlags.texRef == NULL) oss << "texRef=NULL";
10083 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10084 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10085 oss << ")";
10086 break;
10087 case HIP_API_ID_hipTexRefSetFormat:
10088 oss << "hipTexRefSetFormat(";
10089 if (data->args.hipTexRefSetFormat.texRef == NULL) oss << "texRef=NULL";
10090 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10091 oss << ", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10092 oss << ", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10093 oss << ")";
10094 break;
10095 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10096 oss << "hipTexRefSetMaxAnisotropy(";
10097 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss << "texRef=NULL";
10098 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10099 oss << ", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10100 oss << ")";
10101 break;
10102 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10103 oss << "hipTexRefSetMipmapLevelBias(";
10104 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss << "texRef=NULL";
10105 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10106 oss << ", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10107 oss << ")";
10108 break;
10109 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10110 oss << "hipTexRefSetMipmapLevelClamp(";
10111 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss << "texRef=NULL";
10112 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10113 oss << ", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10114 oss << ", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10115 oss << ")";
10116 break;
10117 case HIP_API_ID_hipTexRefSetMipmappedArray:
10118 oss << "hipTexRefSetMipmappedArray(";
10119 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss << "texRef=NULL";
10120 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10121 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss << ", mipmappedArray=NULL";
10122 else { oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10123 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10124 oss << ")";
10125 break;
10126 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10127 oss << "hipThreadExchangeStreamCaptureMode(";
10128 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss << "mode=NULL";
10129 else { oss << "mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10130 oss << ")";
10131 break;
10132 case HIP_API_ID_hipUserObjectCreate:
10133 oss << "hipUserObjectCreate(";
10134 if (data->args.hipUserObjectCreate.object_out == NULL) oss << "object_out=NULL";
10135 else { oss << "object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10136 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10137 oss << ", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10138 oss << ", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10139 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10140 oss << ")";
10141 break;
10142 case HIP_API_ID_hipUserObjectRelease:
10143 oss << "hipUserObjectRelease(";
10144 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10145 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10146 oss << ")";
10147 break;
10148 case HIP_API_ID_hipUserObjectRetain:
10149 oss << "hipUserObjectRetain(";
10150 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10151 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10152 oss << ")";
10153 break;
10154 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10155 oss << "hipWaitExternalSemaphoresAsync(";
10156 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
10157 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10158 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
10159 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10160 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10161 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10162 oss << ")";
10163 break;
10164 default: oss << "unknown";
10165 };
10166 return strdup(oss.str().c_str());
10167}
10168#endif // HIP_PROF_HIP_API_STRING
10169#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:1208