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_hipExtGetLastError = 365,
386 HIP_API_ID_hipChooseDeviceR0600 = 366,
387 HIP_API_ID_hipDrvGraphAddMemcpyNode = 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_LAST = 378,
400
401 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
402 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
403
404 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
405 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
406 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
407 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
408 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
409 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
410 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
411 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
412 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
413 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
414 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
415 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
416 HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
417 HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
418 HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
419 HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
420 HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
421 HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
422 HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
423 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
424 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
425 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
426 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
427 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
428 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
429 HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
430 HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
431 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
432 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
433 HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
434 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
435 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
436 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
437 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
438};
439
440#undef HIP_API_ID_CONCAT_HELPER
441#undef HIP_API_ID_CONCAT
442
443// Return the HIP API string for a given callback ID
444static inline const char* hip_api_name(const uint32_t id) {
445 switch(id) {
446 case HIP_API_ID___hipPopCallConfiguration: return "__hipPopCallConfiguration";
447 case HIP_API_ID___hipPushCallConfiguration: return "__hipPushCallConfiguration";
448 case HIP_API_ID_hipArray3DCreate: return "hipArray3DCreate";
449 case HIP_API_ID_hipArray3DGetDescriptor: return "hipArray3DGetDescriptor";
450 case HIP_API_ID_hipArrayCreate: return "hipArrayCreate";
451 case HIP_API_ID_hipArrayDestroy: return "hipArrayDestroy";
452 case HIP_API_ID_hipArrayGetDescriptor: return "hipArrayGetDescriptor";
453 case HIP_API_ID_hipArrayGetInfo: return "hipArrayGetInfo";
454 case HIP_API_ID_hipChooseDeviceR0000: return "hipChooseDeviceR0000";
455 case HIP_API_ID_hipChooseDeviceR0600: return "hipChooseDeviceR0600";
456 case HIP_API_ID_hipConfigureCall: return "hipConfigureCall";
457 case HIP_API_ID_hipCreateSurfaceObject: return "hipCreateSurfaceObject";
458 case HIP_API_ID_hipCtxCreate: return "hipCtxCreate";
459 case HIP_API_ID_hipCtxDestroy: return "hipCtxDestroy";
460 case HIP_API_ID_hipCtxDisablePeerAccess: return "hipCtxDisablePeerAccess";
461 case HIP_API_ID_hipCtxEnablePeerAccess: return "hipCtxEnablePeerAccess";
462 case HIP_API_ID_hipCtxGetApiVersion: return "hipCtxGetApiVersion";
463 case HIP_API_ID_hipCtxGetCacheConfig: return "hipCtxGetCacheConfig";
464 case HIP_API_ID_hipCtxGetCurrent: return "hipCtxGetCurrent";
465 case HIP_API_ID_hipCtxGetDevice: return "hipCtxGetDevice";
466 case HIP_API_ID_hipCtxGetFlags: return "hipCtxGetFlags";
467 case HIP_API_ID_hipCtxGetSharedMemConfig: return "hipCtxGetSharedMemConfig";
468 case HIP_API_ID_hipCtxPopCurrent: return "hipCtxPopCurrent";
469 case HIP_API_ID_hipCtxPushCurrent: return "hipCtxPushCurrent";
470 case HIP_API_ID_hipCtxSetCacheConfig: return "hipCtxSetCacheConfig";
471 case HIP_API_ID_hipCtxSetCurrent: return "hipCtxSetCurrent";
472 case HIP_API_ID_hipCtxSetSharedMemConfig: return "hipCtxSetSharedMemConfig";
473 case HIP_API_ID_hipCtxSynchronize: return "hipCtxSynchronize";
474 case HIP_API_ID_hipDestroyExternalMemory: return "hipDestroyExternalMemory";
475 case HIP_API_ID_hipDestroyExternalSemaphore: return "hipDestroyExternalSemaphore";
476 case HIP_API_ID_hipDestroySurfaceObject: return "hipDestroySurfaceObject";
477 case HIP_API_ID_hipDeviceCanAccessPeer: return "hipDeviceCanAccessPeer";
478 case HIP_API_ID_hipDeviceComputeCapability: return "hipDeviceComputeCapability";
479 case HIP_API_ID_hipDeviceDisablePeerAccess: return "hipDeviceDisablePeerAccess";
480 case HIP_API_ID_hipDeviceEnablePeerAccess: return "hipDeviceEnablePeerAccess";
481 case HIP_API_ID_hipDeviceGet: return "hipDeviceGet";
482 case HIP_API_ID_hipDeviceGetAttribute: return "hipDeviceGetAttribute";
483 case HIP_API_ID_hipDeviceGetByPCIBusId: return "hipDeviceGetByPCIBusId";
484 case HIP_API_ID_hipDeviceGetCacheConfig: return "hipDeviceGetCacheConfig";
485 case HIP_API_ID_hipDeviceGetDefaultMemPool: return "hipDeviceGetDefaultMemPool";
486 case HIP_API_ID_hipDeviceGetGraphMemAttribute: return "hipDeviceGetGraphMemAttribute";
487 case HIP_API_ID_hipDeviceGetLimit: return "hipDeviceGetLimit";
488 case HIP_API_ID_hipDeviceGetMemPool: return "hipDeviceGetMemPool";
489 case HIP_API_ID_hipDeviceGetName: return "hipDeviceGetName";
490 case HIP_API_ID_hipDeviceGetP2PAttribute: return "hipDeviceGetP2PAttribute";
491 case HIP_API_ID_hipDeviceGetPCIBusId: return "hipDeviceGetPCIBusId";
492 case HIP_API_ID_hipDeviceGetSharedMemConfig: return "hipDeviceGetSharedMemConfig";
493 case HIP_API_ID_hipDeviceGetStreamPriorityRange: return "hipDeviceGetStreamPriorityRange";
494 case HIP_API_ID_hipDeviceGetUuid: return "hipDeviceGetUuid";
495 case HIP_API_ID_hipDeviceGraphMemTrim: return "hipDeviceGraphMemTrim";
496 case HIP_API_ID_hipDevicePrimaryCtxGetState: return "hipDevicePrimaryCtxGetState";
497 case HIP_API_ID_hipDevicePrimaryCtxRelease: return "hipDevicePrimaryCtxRelease";
498 case HIP_API_ID_hipDevicePrimaryCtxReset: return "hipDevicePrimaryCtxReset";
499 case HIP_API_ID_hipDevicePrimaryCtxRetain: return "hipDevicePrimaryCtxRetain";
500 case HIP_API_ID_hipDevicePrimaryCtxSetFlags: return "hipDevicePrimaryCtxSetFlags";
501 case HIP_API_ID_hipDeviceReset: return "hipDeviceReset";
502 case HIP_API_ID_hipDeviceSetCacheConfig: return "hipDeviceSetCacheConfig";
503 case HIP_API_ID_hipDeviceSetGraphMemAttribute: return "hipDeviceSetGraphMemAttribute";
504 case HIP_API_ID_hipDeviceSetLimit: return "hipDeviceSetLimit";
505 case HIP_API_ID_hipDeviceSetMemPool: return "hipDeviceSetMemPool";
506 case HIP_API_ID_hipDeviceSetSharedMemConfig: return "hipDeviceSetSharedMemConfig";
507 case HIP_API_ID_hipDeviceSynchronize: return "hipDeviceSynchronize";
508 case HIP_API_ID_hipDeviceTotalMem: return "hipDeviceTotalMem";
509 case HIP_API_ID_hipDriverGetVersion: return "hipDriverGetVersion";
510 case HIP_API_ID_hipDrvGraphAddMemcpyNode: return "hipDrvGraphAddMemcpyNode";
511 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams: return "hipDrvGraphMemcpyNodeGetParams";
512 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams: return "hipDrvGraphMemcpyNodeSetParams";
513 case HIP_API_ID_hipDrvMemcpy2DUnaligned: return "hipDrvMemcpy2DUnaligned";
514 case HIP_API_ID_hipDrvMemcpy3D: return "hipDrvMemcpy3D";
515 case HIP_API_ID_hipDrvMemcpy3DAsync: return "hipDrvMemcpy3DAsync";
516 case HIP_API_ID_hipDrvPointerGetAttributes: return "hipDrvPointerGetAttributes";
517 case HIP_API_ID_hipEventCreate: return "hipEventCreate";
518 case HIP_API_ID_hipEventCreateWithFlags: return "hipEventCreateWithFlags";
519 case HIP_API_ID_hipEventDestroy: return "hipEventDestroy";
520 case HIP_API_ID_hipEventElapsedTime: return "hipEventElapsedTime";
521 case HIP_API_ID_hipEventQuery: return "hipEventQuery";
522 case HIP_API_ID_hipEventRecord: return "hipEventRecord";
523 case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
524 case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
525 case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
526 case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
527 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
528 case HIP_API_ID_hipExtMallocWithFlags: return "hipExtMallocWithFlags";
529 case HIP_API_ID_hipExtModuleLaunchKernel: return "hipExtModuleLaunchKernel";
530 case HIP_API_ID_hipExtStreamCreateWithCUMask: return "hipExtStreamCreateWithCUMask";
531 case HIP_API_ID_hipExtStreamGetCUMask: return "hipExtStreamGetCUMask";
532 case HIP_API_ID_hipExternalMemoryGetMappedBuffer: return "hipExternalMemoryGetMappedBuffer";
533 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray: return "hipExternalMemoryGetMappedMipmappedArray";
534 case HIP_API_ID_hipFree: return "hipFree";
535 case HIP_API_ID_hipFreeArray: return "hipFreeArray";
536 case HIP_API_ID_hipFreeAsync: return "hipFreeAsync";
537 case HIP_API_ID_hipFreeHost: return "hipFreeHost";
538 case HIP_API_ID_hipFreeMipmappedArray: return "hipFreeMipmappedArray";
539 case HIP_API_ID_hipFuncGetAttribute: return "hipFuncGetAttribute";
540 case HIP_API_ID_hipFuncGetAttributes: return "hipFuncGetAttributes";
541 case HIP_API_ID_hipFuncSetAttribute: return "hipFuncSetAttribute";
542 case HIP_API_ID_hipFuncSetCacheConfig: return "hipFuncSetCacheConfig";
543 case HIP_API_ID_hipFuncSetSharedMemConfig: return "hipFuncSetSharedMemConfig";
544 case HIP_API_ID_hipGLGetDevices: return "hipGLGetDevices";
545 case HIP_API_ID_hipGetChannelDesc: return "hipGetChannelDesc";
546 case HIP_API_ID_hipGetDevice: return "hipGetDevice";
547 case HIP_API_ID_hipGetDeviceCount: return "hipGetDeviceCount";
548 case HIP_API_ID_hipGetDeviceFlags: return "hipGetDeviceFlags";
549 case HIP_API_ID_hipGetDevicePropertiesR0000: return "hipGetDevicePropertiesR0000";
550 case HIP_API_ID_hipGetDevicePropertiesR0600: return "hipGetDevicePropertiesR0600";
551 case HIP_API_ID_hipGetErrorString: return "hipGetErrorString";
552 case HIP_API_ID_hipGetLastError: return "hipGetLastError";
553 case HIP_API_ID_hipGetMipmappedArrayLevel: return "hipGetMipmappedArrayLevel";
554 case HIP_API_ID_hipGetSymbolAddress: return "hipGetSymbolAddress";
555 case HIP_API_ID_hipGetSymbolSize: return "hipGetSymbolSize";
556 case HIP_API_ID_hipGraphAddChildGraphNode: return "hipGraphAddChildGraphNode";
557 case HIP_API_ID_hipGraphAddDependencies: return "hipGraphAddDependencies";
558 case HIP_API_ID_hipGraphAddEmptyNode: return "hipGraphAddEmptyNode";
559 case HIP_API_ID_hipGraphAddEventRecordNode: return "hipGraphAddEventRecordNode";
560 case HIP_API_ID_hipGraphAddEventWaitNode: return "hipGraphAddEventWaitNode";
561 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode: return "hipGraphAddExternalSemaphoresSignalNode";
562 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode: return "hipGraphAddExternalSemaphoresWaitNode";
563 case HIP_API_ID_hipGraphAddHostNode: return "hipGraphAddHostNode";
564 case HIP_API_ID_hipGraphAddKernelNode: return "hipGraphAddKernelNode";
565 case HIP_API_ID_hipGraphAddMemAllocNode: return "hipGraphAddMemAllocNode";
566 case HIP_API_ID_hipGraphAddMemFreeNode: return "hipGraphAddMemFreeNode";
567 case HIP_API_ID_hipGraphAddMemcpyNode: return "hipGraphAddMemcpyNode";
568 case HIP_API_ID_hipGraphAddMemcpyNode1D: return "hipGraphAddMemcpyNode1D";
569 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol: return "hipGraphAddMemcpyNodeFromSymbol";
570 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol: return "hipGraphAddMemcpyNodeToSymbol";
571 case HIP_API_ID_hipGraphAddMemsetNode: return "hipGraphAddMemsetNode";
572 case HIP_API_ID_hipGraphChildGraphNodeGetGraph: return "hipGraphChildGraphNodeGetGraph";
573 case HIP_API_ID_hipGraphClone: return "hipGraphClone";
574 case HIP_API_ID_hipGraphCreate: return "hipGraphCreate";
575 case HIP_API_ID_hipGraphDebugDotPrint: return "hipGraphDebugDotPrint";
576 case HIP_API_ID_hipGraphDestroy: return "hipGraphDestroy";
577 case HIP_API_ID_hipGraphDestroyNode: return "hipGraphDestroyNode";
578 case HIP_API_ID_hipGraphEventRecordNodeGetEvent: return "hipGraphEventRecordNodeGetEvent";
579 case HIP_API_ID_hipGraphEventRecordNodeSetEvent: return "hipGraphEventRecordNodeSetEvent";
580 case HIP_API_ID_hipGraphEventWaitNodeGetEvent: return "hipGraphEventWaitNodeGetEvent";
581 case HIP_API_ID_hipGraphEventWaitNodeSetEvent: return "hipGraphEventWaitNodeSetEvent";
582 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams: return "hipGraphExecChildGraphNodeSetParams";
583 case HIP_API_ID_hipGraphExecDestroy: return "hipGraphExecDestroy";
584 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent: return "hipGraphExecEventRecordNodeSetEvent";
585 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent: return "hipGraphExecEventWaitNodeSetEvent";
586 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams: return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
587 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams: return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
588 case HIP_API_ID_hipGraphExecHostNodeSetParams: return "hipGraphExecHostNodeSetParams";
589 case HIP_API_ID_hipGraphExecKernelNodeSetParams: return "hipGraphExecKernelNodeSetParams";
590 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams: return "hipGraphExecMemcpyNodeSetParams";
591 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D: return "hipGraphExecMemcpyNodeSetParams1D";
592 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol: return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
593 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol: return "hipGraphExecMemcpyNodeSetParamsToSymbol";
594 case HIP_API_ID_hipGraphExecMemsetNodeSetParams: return "hipGraphExecMemsetNodeSetParams";
595 case HIP_API_ID_hipGraphExecUpdate: return "hipGraphExecUpdate";
596 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams: return "hipGraphExternalSemaphoresSignalNodeGetParams";
597 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams: return "hipGraphExternalSemaphoresSignalNodeSetParams";
598 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams: return "hipGraphExternalSemaphoresWaitNodeGetParams";
599 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams: return "hipGraphExternalSemaphoresWaitNodeSetParams";
600 case HIP_API_ID_hipGraphGetEdges: return "hipGraphGetEdges";
601 case HIP_API_ID_hipGraphGetNodes: return "hipGraphGetNodes";
602 case HIP_API_ID_hipGraphGetRootNodes: return "hipGraphGetRootNodes";
603 case HIP_API_ID_hipGraphHostNodeGetParams: return "hipGraphHostNodeGetParams";
604 case HIP_API_ID_hipGraphHostNodeSetParams: return "hipGraphHostNodeSetParams";
605 case HIP_API_ID_hipGraphInstantiate: return "hipGraphInstantiate";
606 case HIP_API_ID_hipGraphInstantiateWithFlags: return "hipGraphInstantiateWithFlags";
607 case HIP_API_ID_hipGraphKernelNodeCopyAttributes: return "hipGraphKernelNodeCopyAttributes";
608 case HIP_API_ID_hipGraphKernelNodeGetAttribute: return "hipGraphKernelNodeGetAttribute";
609 case HIP_API_ID_hipGraphKernelNodeGetParams: return "hipGraphKernelNodeGetParams";
610 case HIP_API_ID_hipGraphKernelNodeSetAttribute: return "hipGraphKernelNodeSetAttribute";
611 case HIP_API_ID_hipGraphKernelNodeSetParams: return "hipGraphKernelNodeSetParams";
612 case HIP_API_ID_hipGraphLaunch: return "hipGraphLaunch";
613 case HIP_API_ID_hipGraphMemAllocNodeGetParams: return "hipGraphMemAllocNodeGetParams";
614 case HIP_API_ID_hipGraphMemFreeNodeGetParams: return "hipGraphMemFreeNodeGetParams";
615 case HIP_API_ID_hipGraphMemcpyNodeGetParams: return "hipGraphMemcpyNodeGetParams";
616 case HIP_API_ID_hipGraphMemcpyNodeSetParams: return "hipGraphMemcpyNodeSetParams";
617 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D: return "hipGraphMemcpyNodeSetParams1D";
618 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol: return "hipGraphMemcpyNodeSetParamsFromSymbol";
619 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol: return "hipGraphMemcpyNodeSetParamsToSymbol";
620 case HIP_API_ID_hipGraphMemsetNodeGetParams: return "hipGraphMemsetNodeGetParams";
621 case HIP_API_ID_hipGraphMemsetNodeSetParams: return "hipGraphMemsetNodeSetParams";
622 case HIP_API_ID_hipGraphNodeFindInClone: return "hipGraphNodeFindInClone";
623 case HIP_API_ID_hipGraphNodeGetDependencies: return "hipGraphNodeGetDependencies";
624 case HIP_API_ID_hipGraphNodeGetDependentNodes: return "hipGraphNodeGetDependentNodes";
625 case HIP_API_ID_hipGraphNodeGetEnabled: return "hipGraphNodeGetEnabled";
626 case HIP_API_ID_hipGraphNodeGetType: return "hipGraphNodeGetType";
627 case HIP_API_ID_hipGraphNodeSetEnabled: return "hipGraphNodeSetEnabled";
628 case HIP_API_ID_hipGraphReleaseUserObject: return "hipGraphReleaseUserObject";
629 case HIP_API_ID_hipGraphRemoveDependencies: return "hipGraphRemoveDependencies";
630 case HIP_API_ID_hipGraphRetainUserObject: return "hipGraphRetainUserObject";
631 case HIP_API_ID_hipGraphUpload: return "hipGraphUpload";
632 case HIP_API_ID_hipGraphicsGLRegisterBuffer: return "hipGraphicsGLRegisterBuffer";
633 case HIP_API_ID_hipGraphicsGLRegisterImage: return "hipGraphicsGLRegisterImage";
634 case HIP_API_ID_hipGraphicsMapResources: return "hipGraphicsMapResources";
635 case HIP_API_ID_hipGraphicsResourceGetMappedPointer: return "hipGraphicsResourceGetMappedPointer";
636 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray: return "hipGraphicsSubResourceGetMappedArray";
637 case HIP_API_ID_hipGraphicsUnmapResources: return "hipGraphicsUnmapResources";
638 case HIP_API_ID_hipGraphicsUnregisterResource: return "hipGraphicsUnregisterResource";
639 case HIP_API_ID_hipHccModuleLaunchKernel: return "hipHccModuleLaunchKernel";
640 case HIP_API_ID_hipHostAlloc: return "hipHostAlloc";
641 case HIP_API_ID_hipHostFree: return "hipHostFree";
642 case HIP_API_ID_hipHostGetDevicePointer: return "hipHostGetDevicePointer";
643 case HIP_API_ID_hipHostGetFlags: return "hipHostGetFlags";
644 case HIP_API_ID_hipHostMalloc: return "hipHostMalloc";
645 case HIP_API_ID_hipHostRegister: return "hipHostRegister";
646 case HIP_API_ID_hipHostUnregister: return "hipHostUnregister";
647 case HIP_API_ID_hipImportExternalMemory: return "hipImportExternalMemory";
648 case HIP_API_ID_hipImportExternalSemaphore: return "hipImportExternalSemaphore";
649 case HIP_API_ID_hipInit: return "hipInit";
650 case HIP_API_ID_hipIpcCloseMemHandle: return "hipIpcCloseMemHandle";
651 case HIP_API_ID_hipIpcGetEventHandle: return "hipIpcGetEventHandle";
652 case HIP_API_ID_hipIpcGetMemHandle: return "hipIpcGetMemHandle";
653 case HIP_API_ID_hipIpcOpenEventHandle: return "hipIpcOpenEventHandle";
654 case HIP_API_ID_hipIpcOpenMemHandle: return "hipIpcOpenMemHandle";
655 case HIP_API_ID_hipLaunchByPtr: return "hipLaunchByPtr";
656 case HIP_API_ID_hipLaunchCooperativeKernel: return "hipLaunchCooperativeKernel";
657 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice: return "hipLaunchCooperativeKernelMultiDevice";
658 case HIP_API_ID_hipLaunchHostFunc: return "hipLaunchHostFunc";
659 case HIP_API_ID_hipLaunchKernel: return "hipLaunchKernel";
660 case HIP_API_ID_hipMalloc: return "hipMalloc";
661 case HIP_API_ID_hipMalloc3D: return "hipMalloc3D";
662 case HIP_API_ID_hipMalloc3DArray: return "hipMalloc3DArray";
663 case HIP_API_ID_hipMallocArray: return "hipMallocArray";
664 case HIP_API_ID_hipMallocAsync: return "hipMallocAsync";
665 case HIP_API_ID_hipMallocFromPoolAsync: return "hipMallocFromPoolAsync";
666 case HIP_API_ID_hipMallocHost: return "hipMallocHost";
667 case HIP_API_ID_hipMallocManaged: return "hipMallocManaged";
668 case HIP_API_ID_hipMallocMipmappedArray: return "hipMallocMipmappedArray";
669 case HIP_API_ID_hipMallocPitch: return "hipMallocPitch";
670 case HIP_API_ID_hipMemAddressFree: return "hipMemAddressFree";
671 case HIP_API_ID_hipMemAddressReserve: return "hipMemAddressReserve";
672 case HIP_API_ID_hipMemAdvise: return "hipMemAdvise";
673 case HIP_API_ID_hipMemAllocHost: return "hipMemAllocHost";
674 case HIP_API_ID_hipMemAllocPitch: return "hipMemAllocPitch";
675 case HIP_API_ID_hipMemCreate: return "hipMemCreate";
676 case HIP_API_ID_hipMemExportToShareableHandle: return "hipMemExportToShareableHandle";
677 case HIP_API_ID_hipMemGetAccess: return "hipMemGetAccess";
678 case HIP_API_ID_hipMemGetAddressRange: return "hipMemGetAddressRange";
679 case HIP_API_ID_hipMemGetAllocationGranularity: return "hipMemGetAllocationGranularity";
680 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle: return "hipMemGetAllocationPropertiesFromHandle";
681 case HIP_API_ID_hipMemGetInfo: return "hipMemGetInfo";
682 case HIP_API_ID_hipMemImportFromShareableHandle: return "hipMemImportFromShareableHandle";
683 case HIP_API_ID_hipMemMap: return "hipMemMap";
684 case HIP_API_ID_hipMemMapArrayAsync: return "hipMemMapArrayAsync";
685 case HIP_API_ID_hipMemPoolCreate: return "hipMemPoolCreate";
686 case HIP_API_ID_hipMemPoolDestroy: return "hipMemPoolDestroy";
687 case HIP_API_ID_hipMemPoolExportPointer: return "hipMemPoolExportPointer";
688 case HIP_API_ID_hipMemPoolExportToShareableHandle: return "hipMemPoolExportToShareableHandle";
689 case HIP_API_ID_hipMemPoolGetAccess: return "hipMemPoolGetAccess";
690 case HIP_API_ID_hipMemPoolGetAttribute: return "hipMemPoolGetAttribute";
691 case HIP_API_ID_hipMemPoolImportFromShareableHandle: return "hipMemPoolImportFromShareableHandle";
692 case HIP_API_ID_hipMemPoolImportPointer: return "hipMemPoolImportPointer";
693 case HIP_API_ID_hipMemPoolSetAccess: return "hipMemPoolSetAccess";
694 case HIP_API_ID_hipMemPoolSetAttribute: return "hipMemPoolSetAttribute";
695 case HIP_API_ID_hipMemPoolTrimTo: return "hipMemPoolTrimTo";
696 case HIP_API_ID_hipMemPrefetchAsync: return "hipMemPrefetchAsync";
697 case HIP_API_ID_hipMemPtrGetInfo: return "hipMemPtrGetInfo";
698 case HIP_API_ID_hipMemRangeGetAttribute: return "hipMemRangeGetAttribute";
699 case HIP_API_ID_hipMemRangeGetAttributes: return "hipMemRangeGetAttributes";
700 case HIP_API_ID_hipMemRelease: return "hipMemRelease";
701 case HIP_API_ID_hipMemRetainAllocationHandle: return "hipMemRetainAllocationHandle";
702 case HIP_API_ID_hipMemSetAccess: return "hipMemSetAccess";
703 case HIP_API_ID_hipMemUnmap: return "hipMemUnmap";
704 case HIP_API_ID_hipMemcpy: return "hipMemcpy";
705 case HIP_API_ID_hipMemcpy2D: return "hipMemcpy2D";
706 case HIP_API_ID_hipMemcpy2DAsync: return "hipMemcpy2DAsync";
707 case HIP_API_ID_hipMemcpy2DFromArray: return "hipMemcpy2DFromArray";
708 case HIP_API_ID_hipMemcpy2DFromArrayAsync: return "hipMemcpy2DFromArrayAsync";
709 case HIP_API_ID_hipMemcpy2DToArray: return "hipMemcpy2DToArray";
710 case HIP_API_ID_hipMemcpy2DToArrayAsync: return "hipMemcpy2DToArrayAsync";
711 case HIP_API_ID_hipMemcpy3D: return "hipMemcpy3D";
712 case HIP_API_ID_hipMemcpy3DAsync: return "hipMemcpy3DAsync";
713 case HIP_API_ID_hipMemcpyAsync: return "hipMemcpyAsync";
714 case HIP_API_ID_hipMemcpyAtoH: return "hipMemcpyAtoH";
715 case HIP_API_ID_hipMemcpyDtoD: return "hipMemcpyDtoD";
716 case HIP_API_ID_hipMemcpyDtoDAsync: return "hipMemcpyDtoDAsync";
717 case HIP_API_ID_hipMemcpyDtoH: return "hipMemcpyDtoH";
718 case HIP_API_ID_hipMemcpyDtoHAsync: return "hipMemcpyDtoHAsync";
719 case HIP_API_ID_hipMemcpyFromArray: return "hipMemcpyFromArray";
720 case HIP_API_ID_hipMemcpyFromSymbol: return "hipMemcpyFromSymbol";
721 case HIP_API_ID_hipMemcpyFromSymbolAsync: return "hipMemcpyFromSymbolAsync";
722 case HIP_API_ID_hipMemcpyHtoA: return "hipMemcpyHtoA";
723 case HIP_API_ID_hipMemcpyHtoD: return "hipMemcpyHtoD";
724 case HIP_API_ID_hipMemcpyHtoDAsync: return "hipMemcpyHtoDAsync";
725 case HIP_API_ID_hipMemcpyParam2D: return "hipMemcpyParam2D";
726 case HIP_API_ID_hipMemcpyParam2DAsync: return "hipMemcpyParam2DAsync";
727 case HIP_API_ID_hipMemcpyPeer: return "hipMemcpyPeer";
728 case HIP_API_ID_hipMemcpyPeerAsync: return "hipMemcpyPeerAsync";
729 case HIP_API_ID_hipMemcpyToArray: return "hipMemcpyToArray";
730 case HIP_API_ID_hipMemcpyToSymbol: return "hipMemcpyToSymbol";
731 case HIP_API_ID_hipMemcpyToSymbolAsync: return "hipMemcpyToSymbolAsync";
732 case HIP_API_ID_hipMemcpyWithStream: return "hipMemcpyWithStream";
733 case HIP_API_ID_hipMemset: return "hipMemset";
734 case HIP_API_ID_hipMemset2D: return "hipMemset2D";
735 case HIP_API_ID_hipMemset2DAsync: return "hipMemset2DAsync";
736 case HIP_API_ID_hipMemset3D: return "hipMemset3D";
737 case HIP_API_ID_hipMemset3DAsync: return "hipMemset3DAsync";
738 case HIP_API_ID_hipMemsetAsync: return "hipMemsetAsync";
739 case HIP_API_ID_hipMemsetD16: return "hipMemsetD16";
740 case HIP_API_ID_hipMemsetD16Async: return "hipMemsetD16Async";
741 case HIP_API_ID_hipMemsetD32: return "hipMemsetD32";
742 case HIP_API_ID_hipMemsetD32Async: return "hipMemsetD32Async";
743 case HIP_API_ID_hipMemsetD8: return "hipMemsetD8";
744 case HIP_API_ID_hipMemsetD8Async: return "hipMemsetD8Async";
745 case HIP_API_ID_hipMipmappedArrayCreate: return "hipMipmappedArrayCreate";
746 case HIP_API_ID_hipMipmappedArrayDestroy: return "hipMipmappedArrayDestroy";
747 case HIP_API_ID_hipMipmappedArrayGetLevel: return "hipMipmappedArrayGetLevel";
748 case HIP_API_ID_hipModuleGetFunction: return "hipModuleGetFunction";
749 case HIP_API_ID_hipModuleGetGlobal: return "hipModuleGetGlobal";
750 case HIP_API_ID_hipModuleGetTexRef: return "hipModuleGetTexRef";
751 case HIP_API_ID_hipModuleLaunchCooperativeKernel: return "hipModuleLaunchCooperativeKernel";
752 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice: return "hipModuleLaunchCooperativeKernelMultiDevice";
753 case HIP_API_ID_hipModuleLaunchKernel: return "hipModuleLaunchKernel";
754 case HIP_API_ID_hipModuleLoad: return "hipModuleLoad";
755 case HIP_API_ID_hipModuleLoadData: return "hipModuleLoadData";
756 case HIP_API_ID_hipModuleLoadDataEx: return "hipModuleLoadDataEx";
757 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
758 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
759 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize: return "hipModuleOccupancyMaxPotentialBlockSize";
760 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags: return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
761 case HIP_API_ID_hipModuleUnload: return "hipModuleUnload";
762 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor: return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
763 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
764 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize: return "hipOccupancyMaxPotentialBlockSize";
765 case HIP_API_ID_hipPeekAtLastError: return "hipPeekAtLastError";
766 case HIP_API_ID_hipPointerGetAttribute: return "hipPointerGetAttribute";
767 case HIP_API_ID_hipPointerGetAttributes: return "hipPointerGetAttributes";
768 case HIP_API_ID_hipPointerSetAttribute: return "hipPointerSetAttribute";
769 case HIP_API_ID_hipProfilerStart: return "hipProfilerStart";
770 case HIP_API_ID_hipProfilerStop: return "hipProfilerStop";
771 case HIP_API_ID_hipRuntimeGetVersion: return "hipRuntimeGetVersion";
772 case HIP_API_ID_hipSetDevice: return "hipSetDevice";
773 case HIP_API_ID_hipSetDeviceFlags: return "hipSetDeviceFlags";
774 case HIP_API_ID_hipSetupArgument: return "hipSetupArgument";
775 case HIP_API_ID_hipSignalExternalSemaphoresAsync: return "hipSignalExternalSemaphoresAsync";
776 case HIP_API_ID_hipStreamAddCallback: return "hipStreamAddCallback";
777 case HIP_API_ID_hipStreamAttachMemAsync: return "hipStreamAttachMemAsync";
778 case HIP_API_ID_hipStreamBeginCapture: return "hipStreamBeginCapture";
779 case HIP_API_ID_hipStreamCreate: return "hipStreamCreate";
780 case HIP_API_ID_hipStreamCreateWithFlags: return "hipStreamCreateWithFlags";
781 case HIP_API_ID_hipStreamCreateWithPriority: return "hipStreamCreateWithPriority";
782 case HIP_API_ID_hipStreamDestroy: return "hipStreamDestroy";
783 case HIP_API_ID_hipStreamEndCapture: return "hipStreamEndCapture";
784 case HIP_API_ID_hipStreamGetCaptureInfo: return "hipStreamGetCaptureInfo";
785 case HIP_API_ID_hipStreamGetCaptureInfo_v2: return "hipStreamGetCaptureInfo_v2";
786 case HIP_API_ID_hipStreamGetDevice: return "hipStreamGetDevice";
787 case HIP_API_ID_hipStreamGetFlags: return "hipStreamGetFlags";
788 case HIP_API_ID_hipStreamGetPriority: return "hipStreamGetPriority";
789 case HIP_API_ID_hipStreamIsCapturing: return "hipStreamIsCapturing";
790 case HIP_API_ID_hipStreamQuery: return "hipStreamQuery";
791 case HIP_API_ID_hipStreamSynchronize: return "hipStreamSynchronize";
792 case HIP_API_ID_hipStreamUpdateCaptureDependencies: return "hipStreamUpdateCaptureDependencies";
793 case HIP_API_ID_hipStreamWaitEvent: return "hipStreamWaitEvent";
794 case HIP_API_ID_hipStreamWaitValue32: return "hipStreamWaitValue32";
795 case HIP_API_ID_hipStreamWaitValue64: return "hipStreamWaitValue64";
796 case HIP_API_ID_hipStreamWriteValue32: return "hipStreamWriteValue32";
797 case HIP_API_ID_hipStreamWriteValue64: return "hipStreamWriteValue64";
798 case HIP_API_ID_hipTexRefGetAddress: return "hipTexRefGetAddress";
799 case HIP_API_ID_hipTexRefGetFlags: return "hipTexRefGetFlags";
800 case HIP_API_ID_hipTexRefGetFormat: return "hipTexRefGetFormat";
801 case HIP_API_ID_hipTexRefGetMaxAnisotropy: return "hipTexRefGetMaxAnisotropy";
802 case HIP_API_ID_hipTexRefGetMipMappedArray: return "hipTexRefGetMipMappedArray";
803 case HIP_API_ID_hipTexRefGetMipmapLevelBias: return "hipTexRefGetMipmapLevelBias";
804 case HIP_API_ID_hipTexRefGetMipmapLevelClamp: return "hipTexRefGetMipmapLevelClamp";
805 case HIP_API_ID_hipTexRefSetAddress: return "hipTexRefSetAddress";
806 case HIP_API_ID_hipTexRefSetAddress2D: return "hipTexRefSetAddress2D";
807 case HIP_API_ID_hipTexRefSetArray: return "hipTexRefSetArray";
808 case HIP_API_ID_hipTexRefSetBorderColor: return "hipTexRefSetBorderColor";
809 case HIP_API_ID_hipTexRefSetFlags: return "hipTexRefSetFlags";
810 case HIP_API_ID_hipTexRefSetFormat: return "hipTexRefSetFormat";
811 case HIP_API_ID_hipTexRefSetMaxAnisotropy: return "hipTexRefSetMaxAnisotropy";
812 case HIP_API_ID_hipTexRefSetMipmapLevelBias: return "hipTexRefSetMipmapLevelBias";
813 case HIP_API_ID_hipTexRefSetMipmapLevelClamp: return "hipTexRefSetMipmapLevelClamp";
814 case HIP_API_ID_hipTexRefSetMipmappedArray: return "hipTexRefSetMipmappedArray";
815 case HIP_API_ID_hipThreadExchangeStreamCaptureMode: return "hipThreadExchangeStreamCaptureMode";
816 case HIP_API_ID_hipUserObjectCreate: return "hipUserObjectCreate";
817 case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
818 case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
819 case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
820 };
821 return "unknown";
822};
823
824#include <string.h>
825// Return the HIP API callback ID for a given name
826static inline uint32_t hipApiIdByName(const char* name) {
827 if (strcmp("__hipPopCallConfiguration", name) == 0) return HIP_API_ID___hipPopCallConfiguration;
828 if (strcmp("__hipPushCallConfiguration", name) == 0) return HIP_API_ID___hipPushCallConfiguration;
829 if (strcmp("hipArray3DCreate", name) == 0) return HIP_API_ID_hipArray3DCreate;
830 if (strcmp("hipArray3DGetDescriptor", name) == 0) return HIP_API_ID_hipArray3DGetDescriptor;
831 if (strcmp("hipArrayCreate", name) == 0) return HIP_API_ID_hipArrayCreate;
832 if (strcmp("hipArrayDestroy", name) == 0) return HIP_API_ID_hipArrayDestroy;
833 if (strcmp("hipArrayGetDescriptor", name) == 0) return HIP_API_ID_hipArrayGetDescriptor;
834 if (strcmp("hipArrayGetInfo", name) == 0) return HIP_API_ID_hipArrayGetInfo;
835 if (strcmp("hipChooseDeviceR0000", name) == 0) return HIP_API_ID_hipChooseDeviceR0000;
836 if (strcmp("hipChooseDeviceR0600", name) == 0) return HIP_API_ID_hipChooseDeviceR0600;
837 if (strcmp("hipConfigureCall", name) == 0) return HIP_API_ID_hipConfigureCall;
838 if (strcmp("hipCreateSurfaceObject", name) == 0) return HIP_API_ID_hipCreateSurfaceObject;
839 if (strcmp("hipCtxCreate", name) == 0) return HIP_API_ID_hipCtxCreate;
840 if (strcmp("hipCtxDestroy", name) == 0) return HIP_API_ID_hipCtxDestroy;
841 if (strcmp("hipCtxDisablePeerAccess", name) == 0) return HIP_API_ID_hipCtxDisablePeerAccess;
842 if (strcmp("hipCtxEnablePeerAccess", name) == 0) return HIP_API_ID_hipCtxEnablePeerAccess;
843 if (strcmp("hipCtxGetApiVersion", name) == 0) return HIP_API_ID_hipCtxGetApiVersion;
844 if (strcmp("hipCtxGetCacheConfig", name) == 0) return HIP_API_ID_hipCtxGetCacheConfig;
845 if (strcmp("hipCtxGetCurrent", name) == 0) return HIP_API_ID_hipCtxGetCurrent;
846 if (strcmp("hipCtxGetDevice", name) == 0) return HIP_API_ID_hipCtxGetDevice;
847 if (strcmp("hipCtxGetFlags", name) == 0) return HIP_API_ID_hipCtxGetFlags;
848 if (strcmp("hipCtxGetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxGetSharedMemConfig;
849 if (strcmp("hipCtxPopCurrent", name) == 0) return HIP_API_ID_hipCtxPopCurrent;
850 if (strcmp("hipCtxPushCurrent", name) == 0) return HIP_API_ID_hipCtxPushCurrent;
851 if (strcmp("hipCtxSetCacheConfig", name) == 0) return HIP_API_ID_hipCtxSetCacheConfig;
852 if (strcmp("hipCtxSetCurrent", name) == 0) return HIP_API_ID_hipCtxSetCurrent;
853 if (strcmp("hipCtxSetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxSetSharedMemConfig;
854 if (strcmp("hipCtxSynchronize", name) == 0) return HIP_API_ID_hipCtxSynchronize;
855 if (strcmp("hipDestroyExternalMemory", name) == 0) return HIP_API_ID_hipDestroyExternalMemory;
856 if (strcmp("hipDestroyExternalSemaphore", name) == 0) return HIP_API_ID_hipDestroyExternalSemaphore;
857 if (strcmp("hipDestroySurfaceObject", name) == 0) return HIP_API_ID_hipDestroySurfaceObject;
858 if (strcmp("hipDeviceCanAccessPeer", name) == 0) return HIP_API_ID_hipDeviceCanAccessPeer;
859 if (strcmp("hipDeviceComputeCapability", name) == 0) return HIP_API_ID_hipDeviceComputeCapability;
860 if (strcmp("hipDeviceDisablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceDisablePeerAccess;
861 if (strcmp("hipDeviceEnablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceEnablePeerAccess;
862 if (strcmp("hipDeviceGet", name) == 0) return HIP_API_ID_hipDeviceGet;
863 if (strcmp("hipDeviceGetAttribute", name) == 0) return HIP_API_ID_hipDeviceGetAttribute;
864 if (strcmp("hipDeviceGetByPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetByPCIBusId;
865 if (strcmp("hipDeviceGetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceGetCacheConfig;
866 if (strcmp("hipDeviceGetDefaultMemPool", name) == 0) return HIP_API_ID_hipDeviceGetDefaultMemPool;
867 if (strcmp("hipDeviceGetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceGetGraphMemAttribute;
868 if (strcmp("hipDeviceGetLimit", name) == 0) return HIP_API_ID_hipDeviceGetLimit;
869 if (strcmp("hipDeviceGetMemPool", name) == 0) return HIP_API_ID_hipDeviceGetMemPool;
870 if (strcmp("hipDeviceGetName", name) == 0) return HIP_API_ID_hipDeviceGetName;
871 if (strcmp("hipDeviceGetP2PAttribute", name) == 0) return HIP_API_ID_hipDeviceGetP2PAttribute;
872 if (strcmp("hipDeviceGetPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetPCIBusId;
873 if (strcmp("hipDeviceGetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceGetSharedMemConfig;
874 if (strcmp("hipDeviceGetStreamPriorityRange", name) == 0) return HIP_API_ID_hipDeviceGetStreamPriorityRange;
875 if (strcmp("hipDeviceGetUuid", name) == 0) return HIP_API_ID_hipDeviceGetUuid;
876 if (strcmp("hipDeviceGraphMemTrim", name) == 0) return HIP_API_ID_hipDeviceGraphMemTrim;
877 if (strcmp("hipDevicePrimaryCtxGetState", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxGetState;
878 if (strcmp("hipDevicePrimaryCtxRelease", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRelease;
879 if (strcmp("hipDevicePrimaryCtxReset", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxReset;
880 if (strcmp("hipDevicePrimaryCtxRetain", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRetain;
881 if (strcmp("hipDevicePrimaryCtxSetFlags", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
882 if (strcmp("hipDeviceReset", name) == 0) return HIP_API_ID_hipDeviceReset;
883 if (strcmp("hipDeviceSetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceSetCacheConfig;
884 if (strcmp("hipDeviceSetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceSetGraphMemAttribute;
885 if (strcmp("hipDeviceSetLimit", name) == 0) return HIP_API_ID_hipDeviceSetLimit;
886 if (strcmp("hipDeviceSetMemPool", name) == 0) return HIP_API_ID_hipDeviceSetMemPool;
887 if (strcmp("hipDeviceSetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceSetSharedMemConfig;
888 if (strcmp("hipDeviceSynchronize", name) == 0) return HIP_API_ID_hipDeviceSynchronize;
889 if (strcmp("hipDeviceTotalMem", name) == 0) return HIP_API_ID_hipDeviceTotalMem;
890 if (strcmp("hipDriverGetVersion", name) == 0) return HIP_API_ID_hipDriverGetVersion;
891 if (strcmp("hipDrvGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemcpyNode;
892 if (strcmp("hipDrvGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
893 if (strcmp("hipDrvGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
894 if (strcmp("hipDrvMemcpy2DUnaligned", name) == 0) return HIP_API_ID_hipDrvMemcpy2DUnaligned;
895 if (strcmp("hipDrvMemcpy3D", name) == 0) return HIP_API_ID_hipDrvMemcpy3D;
896 if (strcmp("hipDrvMemcpy3DAsync", name) == 0) return HIP_API_ID_hipDrvMemcpy3DAsync;
897 if (strcmp("hipDrvPointerGetAttributes", name) == 0) return HIP_API_ID_hipDrvPointerGetAttributes;
898 if (strcmp("hipEventCreate", name) == 0) return HIP_API_ID_hipEventCreate;
899 if (strcmp("hipEventCreateWithFlags", name) == 0) return HIP_API_ID_hipEventCreateWithFlags;
900 if (strcmp("hipEventDestroy", name) == 0) return HIP_API_ID_hipEventDestroy;
901 if (strcmp("hipEventElapsedTime", name) == 0) return HIP_API_ID_hipEventElapsedTime;
902 if (strcmp("hipEventQuery", name) == 0) return HIP_API_ID_hipEventQuery;
903 if (strcmp("hipEventRecord", name) == 0) return HIP_API_ID_hipEventRecord;
904 if (strcmp("hipEventSynchronize", name) == 0) return HIP_API_ID_hipEventSynchronize;
905 if (strcmp("hipExtGetLastError", name) == 0) return HIP_API_ID_hipExtGetLastError;
906 if (strcmp("hipExtGetLinkTypeAndHopCount", name) == 0) return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
907 if (strcmp("hipExtLaunchKernel", name) == 0) return HIP_API_ID_hipExtLaunchKernel;
908 if (strcmp("hipExtLaunchMultiKernelMultiDevice", name) == 0) return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
909 if (strcmp("hipExtMallocWithFlags", name) == 0) return HIP_API_ID_hipExtMallocWithFlags;
910 if (strcmp("hipExtModuleLaunchKernel", name) == 0) return HIP_API_ID_hipExtModuleLaunchKernel;
911 if (strcmp("hipExtStreamCreateWithCUMask", name) == 0) return HIP_API_ID_hipExtStreamCreateWithCUMask;
912 if (strcmp("hipExtStreamGetCUMask", name) == 0) return HIP_API_ID_hipExtStreamGetCUMask;
913 if (strcmp("hipExternalMemoryGetMappedBuffer", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
914 if (strcmp("hipExternalMemoryGetMappedMipmappedArray", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
915 if (strcmp("hipFree", name) == 0) return HIP_API_ID_hipFree;
916 if (strcmp("hipFreeArray", name) == 0) return HIP_API_ID_hipFreeArray;
917 if (strcmp("hipFreeAsync", name) == 0) return HIP_API_ID_hipFreeAsync;
918 if (strcmp("hipFreeHost", name) == 0) return HIP_API_ID_hipFreeHost;
919 if (strcmp("hipFreeMipmappedArray", name) == 0) return HIP_API_ID_hipFreeMipmappedArray;
920 if (strcmp("hipFuncGetAttribute", name) == 0) return HIP_API_ID_hipFuncGetAttribute;
921 if (strcmp("hipFuncGetAttributes", name) == 0) return HIP_API_ID_hipFuncGetAttributes;
922 if (strcmp("hipFuncSetAttribute", name) == 0) return HIP_API_ID_hipFuncSetAttribute;
923 if (strcmp("hipFuncSetCacheConfig", name) == 0) return HIP_API_ID_hipFuncSetCacheConfig;
924 if (strcmp("hipFuncSetSharedMemConfig", name) == 0) return HIP_API_ID_hipFuncSetSharedMemConfig;
925 if (strcmp("hipGLGetDevices", name) == 0) return HIP_API_ID_hipGLGetDevices;
926 if (strcmp("hipGetChannelDesc", name) == 0) return HIP_API_ID_hipGetChannelDesc;
927 if (strcmp("hipGetDevice", name) == 0) return HIP_API_ID_hipGetDevice;
928 if (strcmp("hipGetDeviceCount", name) == 0) return HIP_API_ID_hipGetDeviceCount;
929 if (strcmp("hipGetDeviceFlags", name) == 0) return HIP_API_ID_hipGetDeviceFlags;
930 if (strcmp("hipGetDevicePropertiesR0000", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0000;
931 if (strcmp("hipGetDevicePropertiesR0600", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0600;
932 if (strcmp("hipGetErrorString", name) == 0) return HIP_API_ID_hipGetErrorString;
933 if (strcmp("hipGetLastError", name) == 0) return HIP_API_ID_hipGetLastError;
934 if (strcmp("hipGetMipmappedArrayLevel", name) == 0) return HIP_API_ID_hipGetMipmappedArrayLevel;
935 if (strcmp("hipGetSymbolAddress", name) == 0) return HIP_API_ID_hipGetSymbolAddress;
936 if (strcmp("hipGetSymbolSize", name) == 0) return HIP_API_ID_hipGetSymbolSize;
937 if (strcmp("hipGraphAddChildGraphNode", name) == 0) return HIP_API_ID_hipGraphAddChildGraphNode;
938 if (strcmp("hipGraphAddDependencies", name) == 0) return HIP_API_ID_hipGraphAddDependencies;
939 if (strcmp("hipGraphAddEmptyNode", name) == 0) return HIP_API_ID_hipGraphAddEmptyNode;
940 if (strcmp("hipGraphAddEventRecordNode", name) == 0) return HIP_API_ID_hipGraphAddEventRecordNode;
941 if (strcmp("hipGraphAddEventWaitNode", name) == 0) return HIP_API_ID_hipGraphAddEventWaitNode;
942 if (strcmp("hipGraphAddExternalSemaphoresSignalNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
943 if (strcmp("hipGraphAddExternalSemaphoresWaitNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
944 if (strcmp("hipGraphAddHostNode", name) == 0) return HIP_API_ID_hipGraphAddHostNode;
945 if (strcmp("hipGraphAddKernelNode", name) == 0) return HIP_API_ID_hipGraphAddKernelNode;
946 if (strcmp("hipGraphAddMemAllocNode", name) == 0) return HIP_API_ID_hipGraphAddMemAllocNode;
947 if (strcmp("hipGraphAddMemFreeNode", name) == 0) return HIP_API_ID_hipGraphAddMemFreeNode;
948 if (strcmp("hipGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode;
949 if (strcmp("hipGraphAddMemcpyNode1D", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode1D;
950 if (strcmp("hipGraphAddMemcpyNodeFromSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
951 if (strcmp("hipGraphAddMemcpyNodeToSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
952 if (strcmp("hipGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipGraphAddMemsetNode;
953 if (strcmp("hipGraphChildGraphNodeGetGraph", name) == 0) return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
954 if (strcmp("hipGraphClone", name) == 0) return HIP_API_ID_hipGraphClone;
955 if (strcmp("hipGraphCreate", name) == 0) return HIP_API_ID_hipGraphCreate;
956 if (strcmp("hipGraphDebugDotPrint", name) == 0) return HIP_API_ID_hipGraphDebugDotPrint;
957 if (strcmp("hipGraphDestroy", name) == 0) return HIP_API_ID_hipGraphDestroy;
958 if (strcmp("hipGraphDestroyNode", name) == 0) return HIP_API_ID_hipGraphDestroyNode;
959 if (strcmp("hipGraphEventRecordNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
960 if (strcmp("hipGraphEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
961 if (strcmp("hipGraphEventWaitNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
962 if (strcmp("hipGraphEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
963 if (strcmp("hipGraphExecChildGraphNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
964 if (strcmp("hipGraphExecDestroy", name) == 0) return HIP_API_ID_hipGraphExecDestroy;
965 if (strcmp("hipGraphExecEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
966 if (strcmp("hipGraphExecEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
967 if (strcmp("hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
968 if (strcmp("hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
969 if (strcmp("hipGraphExecHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecHostNodeSetParams;
970 if (strcmp("hipGraphExecKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecKernelNodeSetParams;
971 if (strcmp("hipGraphExecMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
972 if (strcmp("hipGraphExecMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
973 if (strcmp("hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
974 if (strcmp("hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
975 if (strcmp("hipGraphExecMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
976 if (strcmp("hipGraphExecUpdate", name) == 0) return HIP_API_ID_hipGraphExecUpdate;
977 if (strcmp("hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
978 if (strcmp("hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
979 if (strcmp("hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
980 if (strcmp("hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
981 if (strcmp("hipGraphGetEdges", name) == 0) return HIP_API_ID_hipGraphGetEdges;
982 if (strcmp("hipGraphGetNodes", name) == 0) return HIP_API_ID_hipGraphGetNodes;
983 if (strcmp("hipGraphGetRootNodes", name) == 0) return HIP_API_ID_hipGraphGetRootNodes;
984 if (strcmp("hipGraphHostNodeGetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeGetParams;
985 if (strcmp("hipGraphHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeSetParams;
986 if (strcmp("hipGraphInstantiate", name) == 0) return HIP_API_ID_hipGraphInstantiate;
987 if (strcmp("hipGraphInstantiateWithFlags", name) == 0) return HIP_API_ID_hipGraphInstantiateWithFlags;
988 if (strcmp("hipGraphKernelNodeCopyAttributes", name) == 0) return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
989 if (strcmp("hipGraphKernelNodeGetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetAttribute;
990 if (strcmp("hipGraphKernelNodeGetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetParams;
991 if (strcmp("hipGraphKernelNodeSetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetAttribute;
992 if (strcmp("hipGraphKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetParams;
993 if (strcmp("hipGraphLaunch", name) == 0) return HIP_API_ID_hipGraphLaunch;
994 if (strcmp("hipGraphMemAllocNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemAllocNodeGetParams;
995 if (strcmp("hipGraphMemFreeNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemFreeNodeGetParams;
996 if (strcmp("hipGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeGetParams;
997 if (strcmp("hipGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams;
998 if (strcmp("hipGraphMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
999 if (strcmp("hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1000 if (strcmp("hipGraphMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1001 if (strcmp("hipGraphMemsetNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeGetParams;
1002 if (strcmp("hipGraphMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeSetParams;
1003 if (strcmp("hipGraphNodeFindInClone", name) == 0) return HIP_API_ID_hipGraphNodeFindInClone;
1004 if (strcmp("hipGraphNodeGetDependencies", name) == 0) return HIP_API_ID_hipGraphNodeGetDependencies;
1005 if (strcmp("hipGraphNodeGetDependentNodes", name) == 0) return HIP_API_ID_hipGraphNodeGetDependentNodes;
1006 if (strcmp("hipGraphNodeGetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeGetEnabled;
1007 if (strcmp("hipGraphNodeGetType", name) == 0) return HIP_API_ID_hipGraphNodeGetType;
1008 if (strcmp("hipGraphNodeSetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeSetEnabled;
1009 if (strcmp("hipGraphReleaseUserObject", name) == 0) return HIP_API_ID_hipGraphReleaseUserObject;
1010 if (strcmp("hipGraphRemoveDependencies", name) == 0) return HIP_API_ID_hipGraphRemoveDependencies;
1011 if (strcmp("hipGraphRetainUserObject", name) == 0) return HIP_API_ID_hipGraphRetainUserObject;
1012 if (strcmp("hipGraphUpload", name) == 0) return HIP_API_ID_hipGraphUpload;
1013 if (strcmp("hipGraphicsGLRegisterBuffer", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1014 if (strcmp("hipGraphicsGLRegisterImage", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterImage;
1015 if (strcmp("hipGraphicsMapResources", name) == 0) return HIP_API_ID_hipGraphicsMapResources;
1016 if (strcmp("hipGraphicsResourceGetMappedPointer", name) == 0) return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1017 if (strcmp("hipGraphicsSubResourceGetMappedArray", name) == 0) return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1018 if (strcmp("hipGraphicsUnmapResources", name) == 0) return HIP_API_ID_hipGraphicsUnmapResources;
1019 if (strcmp("hipGraphicsUnregisterResource", name) == 0) return HIP_API_ID_hipGraphicsUnregisterResource;
1020 if (strcmp("hipHccModuleLaunchKernel", name) == 0) return HIP_API_ID_hipHccModuleLaunchKernel;
1021 if (strcmp("hipHostAlloc", name) == 0) return HIP_API_ID_hipHostAlloc;
1022 if (strcmp("hipHostFree", name) == 0) return HIP_API_ID_hipHostFree;
1023 if (strcmp("hipHostGetDevicePointer", name) == 0) return HIP_API_ID_hipHostGetDevicePointer;
1024 if (strcmp("hipHostGetFlags", name) == 0) return HIP_API_ID_hipHostGetFlags;
1025 if (strcmp("hipHostMalloc", name) == 0) return HIP_API_ID_hipHostMalloc;
1026 if (strcmp("hipHostRegister", name) == 0) return HIP_API_ID_hipHostRegister;
1027 if (strcmp("hipHostUnregister", name) == 0) return HIP_API_ID_hipHostUnregister;
1028 if (strcmp("hipImportExternalMemory", name) == 0) return HIP_API_ID_hipImportExternalMemory;
1029 if (strcmp("hipImportExternalSemaphore", name) == 0) return HIP_API_ID_hipImportExternalSemaphore;
1030 if (strcmp("hipInit", name) == 0) return HIP_API_ID_hipInit;
1031 if (strcmp("hipIpcCloseMemHandle", name) == 0) return HIP_API_ID_hipIpcCloseMemHandle;
1032 if (strcmp("hipIpcGetEventHandle", name) == 0) return HIP_API_ID_hipIpcGetEventHandle;
1033 if (strcmp("hipIpcGetMemHandle", name) == 0) return HIP_API_ID_hipIpcGetMemHandle;
1034 if (strcmp("hipIpcOpenEventHandle", name) == 0) return HIP_API_ID_hipIpcOpenEventHandle;
1035 if (strcmp("hipIpcOpenMemHandle", name) == 0) return HIP_API_ID_hipIpcOpenMemHandle;
1036 if (strcmp("hipLaunchByPtr", name) == 0) return HIP_API_ID_hipLaunchByPtr;
1037 if (strcmp("hipLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernel;
1038 if (strcmp("hipLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1039 if (strcmp("hipLaunchHostFunc", name) == 0) return HIP_API_ID_hipLaunchHostFunc;
1040 if (strcmp("hipLaunchKernel", name) == 0) return HIP_API_ID_hipLaunchKernel;
1041 if (strcmp("hipMalloc", name) == 0) return HIP_API_ID_hipMalloc;
1042 if (strcmp("hipMalloc3D", name) == 0) return HIP_API_ID_hipMalloc3D;
1043 if (strcmp("hipMalloc3DArray", name) == 0) return HIP_API_ID_hipMalloc3DArray;
1044 if (strcmp("hipMallocArray", name) == 0) return HIP_API_ID_hipMallocArray;
1045 if (strcmp("hipMallocAsync", name) == 0) return HIP_API_ID_hipMallocAsync;
1046 if (strcmp("hipMallocFromPoolAsync", name) == 0) return HIP_API_ID_hipMallocFromPoolAsync;
1047 if (strcmp("hipMallocHost", name) == 0) return HIP_API_ID_hipMallocHost;
1048 if (strcmp("hipMallocManaged", name) == 0) return HIP_API_ID_hipMallocManaged;
1049 if (strcmp("hipMallocMipmappedArray", name) == 0) return HIP_API_ID_hipMallocMipmappedArray;
1050 if (strcmp("hipMallocPitch", name) == 0) return HIP_API_ID_hipMallocPitch;
1051 if (strcmp("hipMemAddressFree", name) == 0) return HIP_API_ID_hipMemAddressFree;
1052 if (strcmp("hipMemAddressReserve", name) == 0) return HIP_API_ID_hipMemAddressReserve;
1053 if (strcmp("hipMemAdvise", name) == 0) return HIP_API_ID_hipMemAdvise;
1054 if (strcmp("hipMemAllocHost", name) == 0) return HIP_API_ID_hipMemAllocHost;
1055 if (strcmp("hipMemAllocPitch", name) == 0) return HIP_API_ID_hipMemAllocPitch;
1056 if (strcmp("hipMemCreate", name) == 0) return HIP_API_ID_hipMemCreate;
1057 if (strcmp("hipMemExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemExportToShareableHandle;
1058 if (strcmp("hipMemGetAccess", name) == 0) return HIP_API_ID_hipMemGetAccess;
1059 if (strcmp("hipMemGetAddressRange", name) == 0) return HIP_API_ID_hipMemGetAddressRange;
1060 if (strcmp("hipMemGetAllocationGranularity", name) == 0) return HIP_API_ID_hipMemGetAllocationGranularity;
1061 if (strcmp("hipMemGetAllocationPropertiesFromHandle", name) == 0) return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1062 if (strcmp("hipMemGetInfo", name) == 0) return HIP_API_ID_hipMemGetInfo;
1063 if (strcmp("hipMemImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemImportFromShareableHandle;
1064 if (strcmp("hipMemMap", name) == 0) return HIP_API_ID_hipMemMap;
1065 if (strcmp("hipMemMapArrayAsync", name) == 0) return HIP_API_ID_hipMemMapArrayAsync;
1066 if (strcmp("hipMemPoolCreate", name) == 0) return HIP_API_ID_hipMemPoolCreate;
1067 if (strcmp("hipMemPoolDestroy", name) == 0) return HIP_API_ID_hipMemPoolDestroy;
1068 if (strcmp("hipMemPoolExportPointer", name) == 0) return HIP_API_ID_hipMemPoolExportPointer;
1069 if (strcmp("hipMemPoolExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolExportToShareableHandle;
1070 if (strcmp("hipMemPoolGetAccess", name) == 0) return HIP_API_ID_hipMemPoolGetAccess;
1071 if (strcmp("hipMemPoolGetAttribute", name) == 0) return HIP_API_ID_hipMemPoolGetAttribute;
1072 if (strcmp("hipMemPoolImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1073 if (strcmp("hipMemPoolImportPointer", name) == 0) return HIP_API_ID_hipMemPoolImportPointer;
1074 if (strcmp("hipMemPoolSetAccess", name) == 0) return HIP_API_ID_hipMemPoolSetAccess;
1075 if (strcmp("hipMemPoolSetAttribute", name) == 0) return HIP_API_ID_hipMemPoolSetAttribute;
1076 if (strcmp("hipMemPoolTrimTo", name) == 0) return HIP_API_ID_hipMemPoolTrimTo;
1077 if (strcmp("hipMemPrefetchAsync", name) == 0) return HIP_API_ID_hipMemPrefetchAsync;
1078 if (strcmp("hipMemPtrGetInfo", name) == 0) return HIP_API_ID_hipMemPtrGetInfo;
1079 if (strcmp("hipMemRangeGetAttribute", name) == 0) return HIP_API_ID_hipMemRangeGetAttribute;
1080 if (strcmp("hipMemRangeGetAttributes", name) == 0) return HIP_API_ID_hipMemRangeGetAttributes;
1081 if (strcmp("hipMemRelease", name) == 0) return HIP_API_ID_hipMemRelease;
1082 if (strcmp("hipMemRetainAllocationHandle", name) == 0) return HIP_API_ID_hipMemRetainAllocationHandle;
1083 if (strcmp("hipMemSetAccess", name) == 0) return HIP_API_ID_hipMemSetAccess;
1084 if (strcmp("hipMemUnmap", name) == 0) return HIP_API_ID_hipMemUnmap;
1085 if (strcmp("hipMemcpy", name) == 0) return HIP_API_ID_hipMemcpy;
1086 if (strcmp("hipMemcpy2D", name) == 0) return HIP_API_ID_hipMemcpy2D;
1087 if (strcmp("hipMemcpy2DAsync", name) == 0) return HIP_API_ID_hipMemcpy2DAsync;
1088 if (strcmp("hipMemcpy2DFromArray", name) == 0) return HIP_API_ID_hipMemcpy2DFromArray;
1089 if (strcmp("hipMemcpy2DFromArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1090 if (strcmp("hipMemcpy2DToArray", name) == 0) return HIP_API_ID_hipMemcpy2DToArray;
1091 if (strcmp("hipMemcpy2DToArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DToArrayAsync;
1092 if (strcmp("hipMemcpy3D", name) == 0) return HIP_API_ID_hipMemcpy3D;
1093 if (strcmp("hipMemcpy3DAsync", name) == 0) return HIP_API_ID_hipMemcpy3DAsync;
1094 if (strcmp("hipMemcpyAsync", name) == 0) return HIP_API_ID_hipMemcpyAsync;
1095 if (strcmp("hipMemcpyAtoH", name) == 0) return HIP_API_ID_hipMemcpyAtoH;
1096 if (strcmp("hipMemcpyDtoD", name) == 0) return HIP_API_ID_hipMemcpyDtoD;
1097 if (strcmp("hipMemcpyDtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoDAsync;
1098 if (strcmp("hipMemcpyDtoH", name) == 0) return HIP_API_ID_hipMemcpyDtoH;
1099 if (strcmp("hipMemcpyDtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoHAsync;
1100 if (strcmp("hipMemcpyFromArray", name) == 0) return HIP_API_ID_hipMemcpyFromArray;
1101 if (strcmp("hipMemcpyFromSymbol", name) == 0) return HIP_API_ID_hipMemcpyFromSymbol;
1102 if (strcmp("hipMemcpyFromSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyFromSymbolAsync;
1103 if (strcmp("hipMemcpyHtoA", name) == 0) return HIP_API_ID_hipMemcpyHtoA;
1104 if (strcmp("hipMemcpyHtoD", name) == 0) return HIP_API_ID_hipMemcpyHtoD;
1105 if (strcmp("hipMemcpyHtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoDAsync;
1106 if (strcmp("hipMemcpyParam2D", name) == 0) return HIP_API_ID_hipMemcpyParam2D;
1107 if (strcmp("hipMemcpyParam2DAsync", name) == 0) return HIP_API_ID_hipMemcpyParam2DAsync;
1108 if (strcmp("hipMemcpyPeer", name) == 0) return HIP_API_ID_hipMemcpyPeer;
1109 if (strcmp("hipMemcpyPeerAsync", name) == 0) return HIP_API_ID_hipMemcpyPeerAsync;
1110 if (strcmp("hipMemcpyToArray", name) == 0) return HIP_API_ID_hipMemcpyToArray;
1111 if (strcmp("hipMemcpyToSymbol", name) == 0) return HIP_API_ID_hipMemcpyToSymbol;
1112 if (strcmp("hipMemcpyToSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyToSymbolAsync;
1113 if (strcmp("hipMemcpyWithStream", name) == 0) return HIP_API_ID_hipMemcpyWithStream;
1114 if (strcmp("hipMemset", name) == 0) return HIP_API_ID_hipMemset;
1115 if (strcmp("hipMemset2D", name) == 0) return HIP_API_ID_hipMemset2D;
1116 if (strcmp("hipMemset2DAsync", name) == 0) return HIP_API_ID_hipMemset2DAsync;
1117 if (strcmp("hipMemset3D", name) == 0) return HIP_API_ID_hipMemset3D;
1118 if (strcmp("hipMemset3DAsync", name) == 0) return HIP_API_ID_hipMemset3DAsync;
1119 if (strcmp("hipMemsetAsync", name) == 0) return HIP_API_ID_hipMemsetAsync;
1120 if (strcmp("hipMemsetD16", name) == 0) return HIP_API_ID_hipMemsetD16;
1121 if (strcmp("hipMemsetD16Async", name) == 0) return HIP_API_ID_hipMemsetD16Async;
1122 if (strcmp("hipMemsetD32", name) == 0) return HIP_API_ID_hipMemsetD32;
1123 if (strcmp("hipMemsetD32Async", name) == 0) return HIP_API_ID_hipMemsetD32Async;
1124 if (strcmp("hipMemsetD8", name) == 0) return HIP_API_ID_hipMemsetD8;
1125 if (strcmp("hipMemsetD8Async", name) == 0) return HIP_API_ID_hipMemsetD8Async;
1126 if (strcmp("hipMipmappedArrayCreate", name) == 0) return HIP_API_ID_hipMipmappedArrayCreate;
1127 if (strcmp("hipMipmappedArrayDestroy", name) == 0) return HIP_API_ID_hipMipmappedArrayDestroy;
1128 if (strcmp("hipMipmappedArrayGetLevel", name) == 0) return HIP_API_ID_hipMipmappedArrayGetLevel;
1129 if (strcmp("hipModuleGetFunction", name) == 0) return HIP_API_ID_hipModuleGetFunction;
1130 if (strcmp("hipModuleGetGlobal", name) == 0) return HIP_API_ID_hipModuleGetGlobal;
1131 if (strcmp("hipModuleGetTexRef", name) == 0) return HIP_API_ID_hipModuleGetTexRef;
1132 if (strcmp("hipModuleLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1133 if (strcmp("hipModuleLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1134 if (strcmp("hipModuleLaunchKernel", name) == 0) return HIP_API_ID_hipModuleLaunchKernel;
1135 if (strcmp("hipModuleLoad", name) == 0) return HIP_API_ID_hipModuleLoad;
1136 if (strcmp("hipModuleLoadData", name) == 0) return HIP_API_ID_hipModuleLoadData;
1137 if (strcmp("hipModuleLoadDataEx", name) == 0) return HIP_API_ID_hipModuleLoadDataEx;
1138 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1139 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1140 if (strcmp("hipModuleOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1141 if (strcmp("hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1142 if (strcmp("hipModuleUnload", name) == 0) return HIP_API_ID_hipModuleUnload;
1143 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1144 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1145 if (strcmp("hipOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1146 if (strcmp("hipPeekAtLastError", name) == 0) return HIP_API_ID_hipPeekAtLastError;
1147 if (strcmp("hipPointerGetAttribute", name) == 0) return HIP_API_ID_hipPointerGetAttribute;
1148 if (strcmp("hipPointerGetAttributes", name) == 0) return HIP_API_ID_hipPointerGetAttributes;
1149 if (strcmp("hipPointerSetAttribute", name) == 0) return HIP_API_ID_hipPointerSetAttribute;
1150 if (strcmp("hipProfilerStart", name) == 0) return HIP_API_ID_hipProfilerStart;
1151 if (strcmp("hipProfilerStop", name) == 0) return HIP_API_ID_hipProfilerStop;
1152 if (strcmp("hipRuntimeGetVersion", name) == 0) return HIP_API_ID_hipRuntimeGetVersion;
1153 if (strcmp("hipSetDevice", name) == 0) return HIP_API_ID_hipSetDevice;
1154 if (strcmp("hipSetDeviceFlags", name) == 0) return HIP_API_ID_hipSetDeviceFlags;
1155 if (strcmp("hipSetupArgument", name) == 0) return HIP_API_ID_hipSetupArgument;
1156 if (strcmp("hipSignalExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1157 if (strcmp("hipStreamAddCallback", name) == 0) return HIP_API_ID_hipStreamAddCallback;
1158 if (strcmp("hipStreamAttachMemAsync", name) == 0) return HIP_API_ID_hipStreamAttachMemAsync;
1159 if (strcmp("hipStreamBeginCapture", name) == 0) return HIP_API_ID_hipStreamBeginCapture;
1160 if (strcmp("hipStreamCreate", name) == 0) return HIP_API_ID_hipStreamCreate;
1161 if (strcmp("hipStreamCreateWithFlags", name) == 0) return HIP_API_ID_hipStreamCreateWithFlags;
1162 if (strcmp("hipStreamCreateWithPriority", name) == 0) return HIP_API_ID_hipStreamCreateWithPriority;
1163 if (strcmp("hipStreamDestroy", name) == 0) return HIP_API_ID_hipStreamDestroy;
1164 if (strcmp("hipStreamEndCapture", name) == 0) return HIP_API_ID_hipStreamEndCapture;
1165 if (strcmp("hipStreamGetCaptureInfo", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo;
1166 if (strcmp("hipStreamGetCaptureInfo_v2", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1167 if (strcmp("hipStreamGetDevice", name) == 0) return HIP_API_ID_hipStreamGetDevice;
1168 if (strcmp("hipStreamGetFlags", name) == 0) return HIP_API_ID_hipStreamGetFlags;
1169 if (strcmp("hipStreamGetPriority", name) == 0) return HIP_API_ID_hipStreamGetPriority;
1170 if (strcmp("hipStreamIsCapturing", name) == 0) return HIP_API_ID_hipStreamIsCapturing;
1171 if (strcmp("hipStreamQuery", name) == 0) return HIP_API_ID_hipStreamQuery;
1172 if (strcmp("hipStreamSynchronize", name) == 0) return HIP_API_ID_hipStreamSynchronize;
1173 if (strcmp("hipStreamUpdateCaptureDependencies", name) == 0) return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1174 if (strcmp("hipStreamWaitEvent", name) == 0) return HIP_API_ID_hipStreamWaitEvent;
1175 if (strcmp("hipStreamWaitValue32", name) == 0) return HIP_API_ID_hipStreamWaitValue32;
1176 if (strcmp("hipStreamWaitValue64", name) == 0) return HIP_API_ID_hipStreamWaitValue64;
1177 if (strcmp("hipStreamWriteValue32", name) == 0) return HIP_API_ID_hipStreamWriteValue32;
1178 if (strcmp("hipStreamWriteValue64", name) == 0) return HIP_API_ID_hipStreamWriteValue64;
1179 if (strcmp("hipTexRefGetAddress", name) == 0) return HIP_API_ID_hipTexRefGetAddress;
1180 if (strcmp("hipTexRefGetFlags", name) == 0) return HIP_API_ID_hipTexRefGetFlags;
1181 if (strcmp("hipTexRefGetFormat", name) == 0) return HIP_API_ID_hipTexRefGetFormat;
1182 if (strcmp("hipTexRefGetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1183 if (strcmp("hipTexRefGetMipMappedArray", name) == 0) return HIP_API_ID_hipTexRefGetMipMappedArray;
1184 if (strcmp("hipTexRefGetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1185 if (strcmp("hipTexRefGetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1186 if (strcmp("hipTexRefSetAddress", name) == 0) return HIP_API_ID_hipTexRefSetAddress;
1187 if (strcmp("hipTexRefSetAddress2D", name) == 0) return HIP_API_ID_hipTexRefSetAddress2D;
1188 if (strcmp("hipTexRefSetArray", name) == 0) return HIP_API_ID_hipTexRefSetArray;
1189 if (strcmp("hipTexRefSetBorderColor", name) == 0) return HIP_API_ID_hipTexRefSetBorderColor;
1190 if (strcmp("hipTexRefSetFlags", name) == 0) return HIP_API_ID_hipTexRefSetFlags;
1191 if (strcmp("hipTexRefSetFormat", name) == 0) return HIP_API_ID_hipTexRefSetFormat;
1192 if (strcmp("hipTexRefSetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1193 if (strcmp("hipTexRefSetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1194 if (strcmp("hipTexRefSetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1195 if (strcmp("hipTexRefSetMipmappedArray", name) == 0) return HIP_API_ID_hipTexRefSetMipmappedArray;
1196 if (strcmp("hipThreadExchangeStreamCaptureMode", name) == 0) return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1197 if (strcmp("hipUserObjectCreate", name) == 0) return HIP_API_ID_hipUserObjectCreate;
1198 if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
1199 if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
1200 if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1201 return HIP_API_ID_NONE;
1202}
1203
1204// HIP API callbacks data structures
1205typedef struct hip_api_data_s {
1206 uint64_t correlation_id;
1207 uint32_t phase;
1208 union {
1209 struct {
1210 dim3* gridDim;
1211 dim3 gridDim__val;
1212 dim3* blockDim;
1213 dim3 blockDim__val;
1214 size_t* sharedMem;
1215 size_t sharedMem__val;
1216 hipStream_t* stream;
1217 hipStream_t stream__val;
1218 } __hipPopCallConfiguration;
1219 struct {
1220 dim3 gridDim;
1221 dim3 blockDim;
1222 size_t sharedMem;
1223 hipStream_t stream;
1224 } __hipPushCallConfiguration;
1225 struct {
1226 hipArray_t* array;
1227 hipArray_t array__val;
1228 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1229 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1230 } hipArray3DCreate;
1231 struct {
1232 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1233 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1234 hipArray_t array;
1235 } hipArray3DGetDescriptor;
1236 struct {
1237 hipArray_t* pHandle;
1238 hipArray_t pHandle__val;
1239 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1240 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1241 } hipArrayCreate;
1242 struct {
1243 hipArray_t array;
1244 } hipArrayDestroy;
1245 struct {
1246 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1247 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1248 hipArray_t array;
1249 } hipArrayGetDescriptor;
1250 struct {
1251 hipChannelFormatDesc* desc;
1252 hipChannelFormatDesc desc__val;
1253 hipExtent* extent;
1254 hipExtent extent__val;
1255 unsigned int* flags;
1256 unsigned int flags__val;
1257 hipArray_t array;
1258 } hipArrayGetInfo;
1259 struct {
1260 int* device;
1261 int device__val;
1262 const hipDeviceProp_tR0000* prop;
1263 hipDeviceProp_tR0000 prop__val;
1264 } hipChooseDeviceR0000;
1265 struct {
1266 int* device;
1267 int device__val;
1268 const hipDeviceProp_tR0600* prop;
1269 hipDeviceProp_tR0600 prop__val;
1270 } hipChooseDeviceR0600;
1271 struct {
1272 dim3 gridDim;
1273 dim3 blockDim;
1274 size_t sharedMem;
1275 hipStream_t stream;
1276 } hipConfigureCall;
1277 struct {
1278 hipSurfaceObject_t* pSurfObject;
1279 hipSurfaceObject_t pSurfObject__val;
1280 const hipResourceDesc* pResDesc;
1281 hipResourceDesc pResDesc__val;
1282 } hipCreateSurfaceObject;
1283 struct {
1284 hipCtx_t* ctx;
1285 hipCtx_t ctx__val;
1286 unsigned int flags;
1287 hipDevice_t device;
1288 } hipCtxCreate;
1289 struct {
1290 hipCtx_t ctx;
1291 } hipCtxDestroy;
1292 struct {
1293 hipCtx_t peerCtx;
1294 } hipCtxDisablePeerAccess;
1295 struct {
1296 hipCtx_t peerCtx;
1297 unsigned int flags;
1298 } hipCtxEnablePeerAccess;
1299 struct {
1300 hipCtx_t ctx;
1301 int* apiVersion;
1302 int apiVersion__val;
1303 } hipCtxGetApiVersion;
1304 struct {
1305 hipFuncCache_t* cacheConfig;
1306 hipFuncCache_t cacheConfig__val;
1307 } hipCtxGetCacheConfig;
1308 struct {
1309 hipCtx_t* ctx;
1310 hipCtx_t ctx__val;
1311 } hipCtxGetCurrent;
1312 struct {
1313 hipDevice_t* device;
1314 hipDevice_t device__val;
1315 } hipCtxGetDevice;
1316 struct {
1317 unsigned int* flags;
1318 unsigned int flags__val;
1319 } hipCtxGetFlags;
1320 struct {
1321 hipSharedMemConfig* pConfig;
1322 hipSharedMemConfig pConfig__val;
1323 } hipCtxGetSharedMemConfig;
1324 struct {
1325 hipCtx_t* ctx;
1326 hipCtx_t ctx__val;
1327 } hipCtxPopCurrent;
1328 struct {
1329 hipCtx_t ctx;
1330 } hipCtxPushCurrent;
1331 struct {
1332 hipFuncCache_t cacheConfig;
1333 } hipCtxSetCacheConfig;
1334 struct {
1335 hipCtx_t ctx;
1336 } hipCtxSetCurrent;
1337 struct {
1338 hipSharedMemConfig config;
1339 } hipCtxSetSharedMemConfig;
1340 struct {
1341 hipExternalMemory_t extMem;
1342 } hipDestroyExternalMemory;
1343 struct {
1344 hipExternalSemaphore_t extSem;
1345 } hipDestroyExternalSemaphore;
1346 struct {
1347 hipSurfaceObject_t surfaceObject;
1348 } hipDestroySurfaceObject;
1349 struct {
1350 int* canAccessPeer;
1351 int canAccessPeer__val;
1352 int deviceId;
1353 int peerDeviceId;
1354 } hipDeviceCanAccessPeer;
1355 struct {
1356 int* major;
1357 int major__val;
1358 int* minor;
1359 int minor__val;
1360 hipDevice_t device;
1361 } hipDeviceComputeCapability;
1362 struct {
1363 int peerDeviceId;
1364 } hipDeviceDisablePeerAccess;
1365 struct {
1366 int peerDeviceId;
1367 unsigned int flags;
1368 } hipDeviceEnablePeerAccess;
1369 struct {
1370 hipDevice_t* device;
1371 hipDevice_t device__val;
1372 int ordinal;
1373 } hipDeviceGet;
1374 struct {
1375 int* pi;
1376 int pi__val;
1377 hipDeviceAttribute_t attr;
1378 int deviceId;
1379 } hipDeviceGetAttribute;
1380 struct {
1381 int* device;
1382 int device__val;
1383 const char* pciBusId;
1384 char pciBusId__val;
1385 } hipDeviceGetByPCIBusId;
1386 struct {
1387 hipFuncCache_t* cacheConfig;
1388 hipFuncCache_t cacheConfig__val;
1389 } hipDeviceGetCacheConfig;
1390 struct {
1391 hipMemPool_t* mem_pool;
1392 hipMemPool_t mem_pool__val;
1393 int device;
1394 } hipDeviceGetDefaultMemPool;
1395 struct {
1396 int device;
1397 hipGraphMemAttributeType attr;
1398 void* value;
1399 } hipDeviceGetGraphMemAttribute;
1400 struct {
1401 size_t* pValue;
1402 size_t pValue__val;
1403 enum hipLimit_t limit;
1404 } hipDeviceGetLimit;
1405 struct {
1406 hipMemPool_t* mem_pool;
1407 hipMemPool_t mem_pool__val;
1408 int device;
1409 } hipDeviceGetMemPool;
1410 struct {
1411 char* name;
1412 char name__val;
1413 int len;
1414 hipDevice_t device;
1415 } hipDeviceGetName;
1416 struct {
1417 int* value;
1418 int value__val;
1419 hipDeviceP2PAttr attr;
1420 int srcDevice;
1421 int dstDevice;
1422 } hipDeviceGetP2PAttribute;
1423 struct {
1424 char* pciBusId;
1425 char pciBusId__val;
1426 int len;
1427 int device;
1428 } hipDeviceGetPCIBusId;
1429 struct {
1430 hipSharedMemConfig* pConfig;
1431 hipSharedMemConfig pConfig__val;
1432 } hipDeviceGetSharedMemConfig;
1433 struct {
1434 int* leastPriority;
1435 int leastPriority__val;
1436 int* greatestPriority;
1437 int greatestPriority__val;
1438 } hipDeviceGetStreamPriorityRange;
1439 struct {
1440 hipUUID* uuid;
1441 hipUUID uuid__val;
1442 hipDevice_t device;
1443 } hipDeviceGetUuid;
1444 struct {
1445 int device;
1446 } hipDeviceGraphMemTrim;
1447 struct {
1448 hipDevice_t dev;
1449 unsigned int* flags;
1450 unsigned int flags__val;
1451 int* active;
1452 int active__val;
1453 } hipDevicePrimaryCtxGetState;
1454 struct {
1455 hipDevice_t dev;
1456 } hipDevicePrimaryCtxRelease;
1457 struct {
1458 hipDevice_t dev;
1459 } hipDevicePrimaryCtxReset;
1460 struct {
1461 hipCtx_t* pctx;
1462 hipCtx_t pctx__val;
1463 hipDevice_t dev;
1464 } hipDevicePrimaryCtxRetain;
1465 struct {
1466 hipDevice_t dev;
1467 unsigned int flags;
1468 } hipDevicePrimaryCtxSetFlags;
1469 struct {
1470 hipFuncCache_t cacheConfig;
1471 } hipDeviceSetCacheConfig;
1472 struct {
1473 int device;
1474 hipGraphMemAttributeType attr;
1475 void* value;
1476 } hipDeviceSetGraphMemAttribute;
1477 struct {
1478 enum hipLimit_t limit;
1479 size_t value;
1480 } hipDeviceSetLimit;
1481 struct {
1482 int device;
1483 hipMemPool_t mem_pool;
1484 } hipDeviceSetMemPool;
1485 struct {
1486 hipSharedMemConfig config;
1487 } hipDeviceSetSharedMemConfig;
1488 struct {
1489 size_t* bytes;
1490 size_t bytes__val;
1491 hipDevice_t device;
1492 } hipDeviceTotalMem;
1493 struct {
1494 int* driverVersion;
1495 int driverVersion__val;
1496 } hipDriverGetVersion;
1497 struct {
1498 hipGraphNode_t* phGraphNode;
1499 hipGraphNode_t phGraphNode__val;
1500 hipGraph_t hGraph;
1501 const hipGraphNode_t* dependencies;
1502 hipGraphNode_t dependencies__val;
1503 size_t numDependencies;
1504 const HIP_MEMCPY3D* copyParams;
1505 HIP_MEMCPY3D copyParams__val;
1506 hipCtx_t ctx;
1507 } hipDrvGraphAddMemcpyNode;
1508 struct {
1509 hipGraphNode_t hNode;
1510 HIP_MEMCPY3D* nodeParams;
1511 HIP_MEMCPY3D nodeParams__val;
1512 } hipDrvGraphMemcpyNodeGetParams;
1513 struct {
1514 hipGraphNode_t hNode;
1515 const HIP_MEMCPY3D* nodeParams;
1516 HIP_MEMCPY3D nodeParams__val;
1517 } hipDrvGraphMemcpyNodeSetParams;
1518 struct {
1519 const hip_Memcpy2D* pCopy;
1520 hip_Memcpy2D pCopy__val;
1521 } hipDrvMemcpy2DUnaligned;
1522 struct {
1523 const HIP_MEMCPY3D* pCopy;
1524 HIP_MEMCPY3D pCopy__val;
1525 } hipDrvMemcpy3D;
1526 struct {
1527 const HIP_MEMCPY3D* pCopy;
1528 HIP_MEMCPY3D pCopy__val;
1529 hipStream_t stream;
1530 } hipDrvMemcpy3DAsync;
1531 struct {
1532 unsigned int numAttributes;
1533 hipPointer_attribute* attributes;
1534 hipPointer_attribute attributes__val;
1535 void** data;
1536 void* data__val;
1537 hipDeviceptr_t ptr;
1538 } hipDrvPointerGetAttributes;
1539 struct {
1540 hipEvent_t* event;
1541 hipEvent_t event__val;
1542 } hipEventCreate;
1543 struct {
1544 hipEvent_t* event;
1545 hipEvent_t event__val;
1546 unsigned int flags;
1547 } hipEventCreateWithFlags;
1548 struct {
1549 hipEvent_t event;
1550 } hipEventDestroy;
1551 struct {
1552 float* ms;
1553 float ms__val;
1554 hipEvent_t start;
1555 hipEvent_t stop;
1556 } hipEventElapsedTime;
1557 struct {
1558 hipEvent_t event;
1559 } hipEventQuery;
1560 struct {
1561 hipEvent_t event;
1562 hipStream_t stream;
1563 } hipEventRecord;
1564 struct {
1565 hipEvent_t event;
1566 } hipEventSynchronize;
1567 struct {
1568 int device1;
1569 int device2;
1570 unsigned int* linktype;
1571 unsigned int linktype__val;
1572 unsigned int* hopcount;
1573 unsigned int hopcount__val;
1574 } hipExtGetLinkTypeAndHopCount;
1575 struct {
1576 const void* function_address;
1577 dim3 numBlocks;
1578 dim3 dimBlocks;
1579 void** args;
1580 void* args__val;
1581 size_t sharedMemBytes;
1582 hipStream_t stream;
1583 hipEvent_t startEvent;
1584 hipEvent_t stopEvent;
1585 int flags;
1586 } hipExtLaunchKernel;
1587 struct {
1588 hipLaunchParams* launchParamsList;
1589 hipLaunchParams launchParamsList__val;
1590 int numDevices;
1591 unsigned int flags;
1592 } hipExtLaunchMultiKernelMultiDevice;
1593 struct {
1594 void** ptr;
1595 void* ptr__val;
1596 size_t sizeBytes;
1597 unsigned int flags;
1598 } hipExtMallocWithFlags;
1599 struct {
1600 hipFunction_t f;
1601 unsigned int globalWorkSizeX;
1602 unsigned int globalWorkSizeY;
1603 unsigned int globalWorkSizeZ;
1604 unsigned int localWorkSizeX;
1605 unsigned int localWorkSizeY;
1606 unsigned int localWorkSizeZ;
1607 size_t sharedMemBytes;
1608 hipStream_t hStream;
1609 void** kernelParams;
1610 void* kernelParams__val;
1611 void** extra;
1612 void* extra__val;
1613 hipEvent_t startEvent;
1614 hipEvent_t stopEvent;
1615 unsigned int flags;
1616 } hipExtModuleLaunchKernel;
1617 struct {
1618 hipStream_t* stream;
1619 hipStream_t stream__val;
1620 unsigned int cuMaskSize;
1621 const unsigned int* cuMask;
1622 unsigned int cuMask__val;
1623 } hipExtStreamCreateWithCUMask;
1624 struct {
1625 hipStream_t stream;
1626 unsigned int cuMaskSize;
1627 unsigned int* cuMask;
1628 unsigned int cuMask__val;
1629 } hipExtStreamGetCUMask;
1630 struct {
1631 void** devPtr;
1632 void* devPtr__val;
1633 hipExternalMemory_t extMem;
1634 const hipExternalMemoryBufferDesc* bufferDesc;
1635 hipExternalMemoryBufferDesc bufferDesc__val;
1636 } hipExternalMemoryGetMappedBuffer;
1637 struct {
1638 hipMipmappedArray_t* mipmap;
1639 hipMipmappedArray_t mipmap__val;
1640 hipExternalMemory_t extMem;
1641 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1642 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1643 } hipExternalMemoryGetMappedMipmappedArray;
1644 struct {
1645 void* ptr;
1646 } hipFree;
1647 struct {
1648 hipArray_t array;
1649 } hipFreeArray;
1650 struct {
1651 void* dev_ptr;
1652 hipStream_t stream;
1653 } hipFreeAsync;
1654 struct {
1655 void* ptr;
1656 } hipFreeHost;
1657 struct {
1658 hipMipmappedArray_t mipmappedArray;
1659 } hipFreeMipmappedArray;
1660 struct {
1661 int* value;
1662 int value__val;
1663 hipFunction_attribute attrib;
1664 hipFunction_t hfunc;
1665 } hipFuncGetAttribute;
1666 struct {
1667 hipFuncAttributes* attr;
1668 hipFuncAttributes attr__val;
1669 const void* func;
1670 } hipFuncGetAttributes;
1671 struct {
1672 const void* func;
1673 hipFuncAttribute attr;
1674 int value;
1675 } hipFuncSetAttribute;
1676 struct {
1677 const void* func;
1678 hipFuncCache_t config;
1679 } hipFuncSetCacheConfig;
1680 struct {
1681 const void* func;
1682 hipSharedMemConfig config;
1683 } hipFuncSetSharedMemConfig;
1684 struct {
1685 unsigned int* pHipDeviceCount;
1686 unsigned int pHipDeviceCount__val;
1687 int* pHipDevices;
1688 int pHipDevices__val;
1689 unsigned int hipDeviceCount;
1690 hipGLDeviceList deviceList;
1691 } hipGLGetDevices;
1692 struct {
1693 hipChannelFormatDesc* desc;
1694 hipChannelFormatDesc desc__val;
1695 hipArray_const_t array;
1696 } hipGetChannelDesc;
1697 struct {
1698 int* deviceId;
1699 int deviceId__val;
1700 } hipGetDevice;
1701 struct {
1702 int* count;
1703 int count__val;
1704 } hipGetDeviceCount;
1705 struct {
1706 unsigned int* flags;
1707 unsigned int flags__val;
1708 } hipGetDeviceFlags;
1709 struct {
1710 hipDeviceProp_tR0000* prop;
1711 hipDeviceProp_tR0000 prop__val;
1712 int device;
1713 } hipGetDevicePropertiesR0000;
1714 struct {
1715 hipDeviceProp_tR0600* prop;
1716 hipDeviceProp_tR0600 prop__val;
1717 int deviceId;
1718 } hipGetDevicePropertiesR0600;
1719 struct {
1720 hipArray_t* levelArray;
1721 hipArray_t levelArray__val;
1722 hipMipmappedArray_const_t mipmappedArray;
1723 unsigned int level;
1724 } hipGetMipmappedArrayLevel;
1725 struct {
1726 void** devPtr;
1727 void* devPtr__val;
1728 const void* symbol;
1729 } hipGetSymbolAddress;
1730 struct {
1731 size_t* size;
1732 size_t size__val;
1733 const void* symbol;
1734 } hipGetSymbolSize;
1735 struct {
1736 hipGraphNode_t* pGraphNode;
1737 hipGraphNode_t pGraphNode__val;
1738 hipGraph_t graph;
1739 const hipGraphNode_t* pDependencies;
1740 hipGraphNode_t pDependencies__val;
1741 size_t numDependencies;
1742 hipGraph_t childGraph;
1743 } hipGraphAddChildGraphNode;
1744 struct {
1745 hipGraph_t graph;
1746 const hipGraphNode_t* from;
1747 hipGraphNode_t from__val;
1748 const hipGraphNode_t* to;
1749 hipGraphNode_t to__val;
1750 size_t numDependencies;
1751 } hipGraphAddDependencies;
1752 struct {
1753 hipGraphNode_t* pGraphNode;
1754 hipGraphNode_t pGraphNode__val;
1755 hipGraph_t graph;
1756 const hipGraphNode_t* pDependencies;
1757 hipGraphNode_t pDependencies__val;
1758 size_t numDependencies;
1759 } hipGraphAddEmptyNode;
1760 struct {
1761 hipGraphNode_t* pGraphNode;
1762 hipGraphNode_t pGraphNode__val;
1763 hipGraph_t graph;
1764 const hipGraphNode_t* pDependencies;
1765 hipGraphNode_t pDependencies__val;
1766 size_t numDependencies;
1767 hipEvent_t event;
1768 } hipGraphAddEventRecordNode;
1769 struct {
1770 hipGraphNode_t* pGraphNode;
1771 hipGraphNode_t pGraphNode__val;
1772 hipGraph_t graph;
1773 const hipGraphNode_t* pDependencies;
1774 hipGraphNode_t pDependencies__val;
1775 size_t numDependencies;
1776 hipEvent_t event;
1777 } hipGraphAddEventWaitNode;
1778 struct {
1779 hipGraphNode_t* pGraphNode;
1780 hipGraphNode_t pGraphNode__val;
1781 hipGraph_t graph;
1782 const hipGraphNode_t* pDependencies;
1783 hipGraphNode_t pDependencies__val;
1784 size_t numDependencies;
1785 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1786 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1787 } hipGraphAddExternalSemaphoresSignalNode;
1788 struct {
1789 hipGraphNode_t* pGraphNode;
1790 hipGraphNode_t pGraphNode__val;
1791 hipGraph_t graph;
1792 const hipGraphNode_t* pDependencies;
1793 hipGraphNode_t pDependencies__val;
1794 size_t numDependencies;
1795 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1796 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1797 } hipGraphAddExternalSemaphoresWaitNode;
1798 struct {
1799 hipGraphNode_t* pGraphNode;
1800 hipGraphNode_t pGraphNode__val;
1801 hipGraph_t graph;
1802 const hipGraphNode_t* pDependencies;
1803 hipGraphNode_t pDependencies__val;
1804 size_t numDependencies;
1805 const hipHostNodeParams* pNodeParams;
1806 hipHostNodeParams pNodeParams__val;
1807 } hipGraphAddHostNode;
1808 struct {
1809 hipGraphNode_t* pGraphNode;
1810 hipGraphNode_t pGraphNode__val;
1811 hipGraph_t graph;
1812 const hipGraphNode_t* pDependencies;
1813 hipGraphNode_t pDependencies__val;
1814 size_t numDependencies;
1815 const hipKernelNodeParams* pNodeParams;
1816 hipKernelNodeParams pNodeParams__val;
1817 } hipGraphAddKernelNode;
1818 struct {
1819 hipGraphNode_t* pGraphNode;
1820 hipGraphNode_t pGraphNode__val;
1821 hipGraph_t graph;
1822 const hipGraphNode_t* pDependencies;
1823 hipGraphNode_t pDependencies__val;
1824 size_t numDependencies;
1825 hipMemAllocNodeParams* pNodeParams;
1826 hipMemAllocNodeParams pNodeParams__val;
1827 } hipGraphAddMemAllocNode;
1828 struct {
1829 hipGraphNode_t* pGraphNode;
1830 hipGraphNode_t pGraphNode__val;
1831 hipGraph_t graph;
1832 const hipGraphNode_t* pDependencies;
1833 hipGraphNode_t pDependencies__val;
1834 size_t numDependencies;
1835 void* dev_ptr;
1836 } hipGraphAddMemFreeNode;
1837 struct {
1838 hipGraphNode_t* pGraphNode;
1839 hipGraphNode_t pGraphNode__val;
1840 hipGraph_t graph;
1841 const hipGraphNode_t* pDependencies;
1842 hipGraphNode_t pDependencies__val;
1843 size_t numDependencies;
1844 const hipMemcpy3DParms* pCopyParams;
1845 hipMemcpy3DParms pCopyParams__val;
1846 } hipGraphAddMemcpyNode;
1847 struct {
1848 hipGraphNode_t* pGraphNode;
1849 hipGraphNode_t pGraphNode__val;
1850 hipGraph_t graph;
1851 const hipGraphNode_t* pDependencies;
1852 hipGraphNode_t pDependencies__val;
1853 size_t numDependencies;
1854 void* dst;
1855 const void* src;
1856 size_t count;
1857 hipMemcpyKind kind;
1858 } hipGraphAddMemcpyNode1D;
1859 struct {
1860 hipGraphNode_t* pGraphNode;
1861 hipGraphNode_t pGraphNode__val;
1862 hipGraph_t graph;
1863 const hipGraphNode_t* pDependencies;
1864 hipGraphNode_t pDependencies__val;
1865 size_t numDependencies;
1866 void* dst;
1867 const void* symbol;
1868 size_t count;
1869 size_t offset;
1870 hipMemcpyKind kind;
1871 } hipGraphAddMemcpyNodeFromSymbol;
1872 struct {
1873 hipGraphNode_t* pGraphNode;
1874 hipGraphNode_t pGraphNode__val;
1875 hipGraph_t graph;
1876 const hipGraphNode_t* pDependencies;
1877 hipGraphNode_t pDependencies__val;
1878 size_t numDependencies;
1879 const void* symbol;
1880 const void* src;
1881 size_t count;
1882 size_t offset;
1883 hipMemcpyKind kind;
1884 } hipGraphAddMemcpyNodeToSymbol;
1885 struct {
1886 hipGraphNode_t* pGraphNode;
1887 hipGraphNode_t pGraphNode__val;
1888 hipGraph_t graph;
1889 const hipGraphNode_t* pDependencies;
1890 hipGraphNode_t pDependencies__val;
1891 size_t numDependencies;
1892 const hipMemsetParams* pMemsetParams;
1893 hipMemsetParams pMemsetParams__val;
1894 } hipGraphAddMemsetNode;
1895 struct {
1896 hipGraphNode_t node;
1897 hipGraph_t* pGraph;
1898 hipGraph_t pGraph__val;
1899 } hipGraphChildGraphNodeGetGraph;
1900 struct {
1901 hipGraph_t* pGraphClone;
1902 hipGraph_t pGraphClone__val;
1903 hipGraph_t originalGraph;
1904 } hipGraphClone;
1905 struct {
1906 hipGraph_t* pGraph;
1907 hipGraph_t pGraph__val;
1908 unsigned int flags;
1909 } hipGraphCreate;
1910 struct {
1911 hipGraph_t graph;
1912 const char* path;
1913 char path__val;
1914 unsigned int flags;
1915 } hipGraphDebugDotPrint;
1916 struct {
1917 hipGraph_t graph;
1918 } hipGraphDestroy;
1919 struct {
1920 hipGraphNode_t node;
1921 } hipGraphDestroyNode;
1922 struct {
1923 hipGraphNode_t node;
1924 hipEvent_t* event_out;
1925 hipEvent_t event_out__val;
1926 } hipGraphEventRecordNodeGetEvent;
1927 struct {
1928 hipGraphNode_t node;
1929 hipEvent_t event;
1930 } hipGraphEventRecordNodeSetEvent;
1931 struct {
1932 hipGraphNode_t node;
1933 hipEvent_t* event_out;
1934 hipEvent_t event_out__val;
1935 } hipGraphEventWaitNodeGetEvent;
1936 struct {
1937 hipGraphNode_t node;
1938 hipEvent_t event;
1939 } hipGraphEventWaitNodeSetEvent;
1940 struct {
1941 hipGraphExec_t hGraphExec;
1942 hipGraphNode_t node;
1943 hipGraph_t childGraph;
1944 } hipGraphExecChildGraphNodeSetParams;
1945 struct {
1946 hipGraphExec_t graphExec;
1947 } hipGraphExecDestroy;
1948 struct {
1949 hipGraphExec_t hGraphExec;
1950 hipGraphNode_t hNode;
1951 hipEvent_t event;
1952 } hipGraphExecEventRecordNodeSetEvent;
1953 struct {
1954 hipGraphExec_t hGraphExec;
1955 hipGraphNode_t hNode;
1956 hipEvent_t event;
1957 } hipGraphExecEventWaitNodeSetEvent;
1958 struct {
1959 hipGraphExec_t hGraphExec;
1960 hipGraphNode_t hNode;
1961 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1962 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1963 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
1964 struct {
1965 hipGraphExec_t hGraphExec;
1966 hipGraphNode_t hNode;
1967 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1968 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1969 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
1970 struct {
1971 hipGraphExec_t hGraphExec;
1972 hipGraphNode_t node;
1973 const hipHostNodeParams* pNodeParams;
1974 hipHostNodeParams pNodeParams__val;
1975 } hipGraphExecHostNodeSetParams;
1976 struct {
1977 hipGraphExec_t hGraphExec;
1978 hipGraphNode_t node;
1979 const hipKernelNodeParams* pNodeParams;
1980 hipKernelNodeParams pNodeParams__val;
1981 } hipGraphExecKernelNodeSetParams;
1982 struct {
1983 hipGraphExec_t hGraphExec;
1984 hipGraphNode_t node;
1985 hipMemcpy3DParms* pNodeParams;
1986 hipMemcpy3DParms pNodeParams__val;
1987 } hipGraphExecMemcpyNodeSetParams;
1988 struct {
1989 hipGraphExec_t hGraphExec;
1990 hipGraphNode_t node;
1991 void* dst;
1992 const void* src;
1993 size_t count;
1994 hipMemcpyKind kind;
1995 } hipGraphExecMemcpyNodeSetParams1D;
1996 struct {
1997 hipGraphExec_t hGraphExec;
1998 hipGraphNode_t node;
1999 void* dst;
2000 const void* symbol;
2001 size_t count;
2002 size_t offset;
2003 hipMemcpyKind kind;
2004 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2005 struct {
2006 hipGraphExec_t hGraphExec;
2007 hipGraphNode_t node;
2008 const void* symbol;
2009 const void* src;
2010 size_t count;
2011 size_t offset;
2012 hipMemcpyKind kind;
2013 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2014 struct {
2015 hipGraphExec_t hGraphExec;
2016 hipGraphNode_t node;
2017 const hipMemsetParams* pNodeParams;
2018 hipMemsetParams pNodeParams__val;
2019 } hipGraphExecMemsetNodeSetParams;
2020 struct {
2021 hipGraphExec_t hGraphExec;
2022 hipGraph_t hGraph;
2023 hipGraphNode_t* hErrorNode_out;
2024 hipGraphNode_t hErrorNode_out__val;
2025 hipGraphExecUpdateResult* updateResult_out;
2026 hipGraphExecUpdateResult updateResult_out__val;
2027 } hipGraphExecUpdate;
2028 struct {
2029 hipGraphNode_t hNode;
2030 hipExternalSemaphoreSignalNodeParams* params_out;
2031 hipExternalSemaphoreSignalNodeParams params_out__val;
2032 } hipGraphExternalSemaphoresSignalNodeGetParams;
2033 struct {
2034 hipGraphNode_t hNode;
2035 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2036 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2037 } hipGraphExternalSemaphoresSignalNodeSetParams;
2038 struct {
2039 hipGraphNode_t hNode;
2040 hipExternalSemaphoreWaitNodeParams* params_out;
2041 hipExternalSemaphoreWaitNodeParams params_out__val;
2042 } hipGraphExternalSemaphoresWaitNodeGetParams;
2043 struct {
2044 hipGraphNode_t hNode;
2045 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2046 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2047 } hipGraphExternalSemaphoresWaitNodeSetParams;
2048 struct {
2049 hipGraph_t graph;
2050 hipGraphNode_t* from;
2051 hipGraphNode_t from__val;
2052 hipGraphNode_t* to;
2053 hipGraphNode_t to__val;
2054 size_t* numEdges;
2055 size_t numEdges__val;
2056 } hipGraphGetEdges;
2057 struct {
2058 hipGraph_t graph;
2059 hipGraphNode_t* nodes;
2060 hipGraphNode_t nodes__val;
2061 size_t* numNodes;
2062 size_t numNodes__val;
2063 } hipGraphGetNodes;
2064 struct {
2065 hipGraph_t graph;
2066 hipGraphNode_t* pRootNodes;
2067 hipGraphNode_t pRootNodes__val;
2068 size_t* pNumRootNodes;
2069 size_t pNumRootNodes__val;
2070 } hipGraphGetRootNodes;
2071 struct {
2072 hipGraphNode_t node;
2073 hipHostNodeParams* pNodeParams;
2074 hipHostNodeParams pNodeParams__val;
2075 } hipGraphHostNodeGetParams;
2076 struct {
2077 hipGraphNode_t node;
2078 const hipHostNodeParams* pNodeParams;
2079 hipHostNodeParams pNodeParams__val;
2080 } hipGraphHostNodeSetParams;
2081 struct {
2082 hipGraphExec_t* pGraphExec;
2083 hipGraphExec_t pGraphExec__val;
2084 hipGraph_t graph;
2085 hipGraphNode_t* pErrorNode;
2086 hipGraphNode_t pErrorNode__val;
2087 char* pLogBuffer;
2088 char pLogBuffer__val;
2089 size_t bufferSize;
2090 } hipGraphInstantiate;
2091 struct {
2092 hipGraphExec_t* pGraphExec;
2093 hipGraphExec_t pGraphExec__val;
2094 hipGraph_t graph;
2095 unsigned long long flags;
2096 } hipGraphInstantiateWithFlags;
2097 struct {
2098 hipGraphNode_t hSrc;
2099 hipGraphNode_t hDst;
2100 } hipGraphKernelNodeCopyAttributes;
2101 struct {
2102 hipGraphNode_t hNode;
2103 hipKernelNodeAttrID attr;
2104 hipKernelNodeAttrValue* value;
2105 hipKernelNodeAttrValue value__val;
2106 } hipGraphKernelNodeGetAttribute;
2107 struct {
2108 hipGraphNode_t node;
2109 hipKernelNodeParams* pNodeParams;
2110 hipKernelNodeParams pNodeParams__val;
2111 } hipGraphKernelNodeGetParams;
2112 struct {
2113 hipGraphNode_t hNode;
2114 hipKernelNodeAttrID attr;
2115 const hipKernelNodeAttrValue* value;
2116 hipKernelNodeAttrValue value__val;
2117 } hipGraphKernelNodeSetAttribute;
2118 struct {
2119 hipGraphNode_t node;
2120 const hipKernelNodeParams* pNodeParams;
2121 hipKernelNodeParams pNodeParams__val;
2122 } hipGraphKernelNodeSetParams;
2123 struct {
2124 hipGraphExec_t graphExec;
2125 hipStream_t stream;
2126 } hipGraphLaunch;
2127 struct {
2128 hipGraphNode_t node;
2129 hipMemAllocNodeParams* pNodeParams;
2130 hipMemAllocNodeParams pNodeParams__val;
2131 } hipGraphMemAllocNodeGetParams;
2132 struct {
2133 hipGraphNode_t node;
2134 void* dev_ptr;
2135 } hipGraphMemFreeNodeGetParams;
2136 struct {
2137 hipGraphNode_t node;
2138 hipMemcpy3DParms* pNodeParams;
2139 hipMemcpy3DParms pNodeParams__val;
2140 } hipGraphMemcpyNodeGetParams;
2141 struct {
2142 hipGraphNode_t node;
2143 const hipMemcpy3DParms* pNodeParams;
2144 hipMemcpy3DParms pNodeParams__val;
2145 } hipGraphMemcpyNodeSetParams;
2146 struct {
2147 hipGraphNode_t node;
2148 void* dst;
2149 const void* src;
2150 size_t count;
2151 hipMemcpyKind kind;
2152 } hipGraphMemcpyNodeSetParams1D;
2153 struct {
2154 hipGraphNode_t node;
2155 void* dst;
2156 const void* symbol;
2157 size_t count;
2158 size_t offset;
2159 hipMemcpyKind kind;
2160 } hipGraphMemcpyNodeSetParamsFromSymbol;
2161 struct {
2162 hipGraphNode_t node;
2163 const void* symbol;
2164 const void* src;
2165 size_t count;
2166 size_t offset;
2167 hipMemcpyKind kind;
2168 } hipGraphMemcpyNodeSetParamsToSymbol;
2169 struct {
2170 hipGraphNode_t node;
2171 hipMemsetParams* pNodeParams;
2172 hipMemsetParams pNodeParams__val;
2173 } hipGraphMemsetNodeGetParams;
2174 struct {
2175 hipGraphNode_t node;
2176 const hipMemsetParams* pNodeParams;
2177 hipMemsetParams pNodeParams__val;
2178 } hipGraphMemsetNodeSetParams;
2179 struct {
2180 hipGraphNode_t* pNode;
2181 hipGraphNode_t pNode__val;
2182 hipGraphNode_t originalNode;
2183 hipGraph_t clonedGraph;
2184 } hipGraphNodeFindInClone;
2185 struct {
2186 hipGraphNode_t node;
2187 hipGraphNode_t* pDependencies;
2188 hipGraphNode_t pDependencies__val;
2189 size_t* pNumDependencies;
2190 size_t pNumDependencies__val;
2191 } hipGraphNodeGetDependencies;
2192 struct {
2193 hipGraphNode_t node;
2194 hipGraphNode_t* pDependentNodes;
2195 hipGraphNode_t pDependentNodes__val;
2196 size_t* pNumDependentNodes;
2197 size_t pNumDependentNodes__val;
2198 } hipGraphNodeGetDependentNodes;
2199 struct {
2200 hipGraphExec_t hGraphExec;
2201 hipGraphNode_t hNode;
2202 unsigned int* isEnabled;
2203 unsigned int isEnabled__val;
2204 } hipGraphNodeGetEnabled;
2205 struct {
2206 hipGraphNode_t node;
2207 hipGraphNodeType* pType;
2208 hipGraphNodeType pType__val;
2209 } hipGraphNodeGetType;
2210 struct {
2211 hipGraphExec_t hGraphExec;
2212 hipGraphNode_t hNode;
2213 unsigned int isEnabled;
2214 } hipGraphNodeSetEnabled;
2215 struct {
2216 hipGraph_t graph;
2217 hipUserObject_t object;
2218 unsigned int count;
2219 } hipGraphReleaseUserObject;
2220 struct {
2221 hipGraph_t graph;
2222 const hipGraphNode_t* from;
2223 hipGraphNode_t from__val;
2224 const hipGraphNode_t* to;
2225 hipGraphNode_t to__val;
2226 size_t numDependencies;
2227 } hipGraphRemoveDependencies;
2228 struct {
2229 hipGraph_t graph;
2230 hipUserObject_t object;
2231 unsigned int count;
2232 unsigned int flags;
2233 } hipGraphRetainUserObject;
2234 struct {
2235 hipGraphExec_t graphExec;
2236 hipStream_t stream;
2237 } hipGraphUpload;
2238 struct {
2239 hipGraphicsResource** resource;
2240 hipGraphicsResource* resource__val;
2241 GLuint buffer;
2242 unsigned int flags;
2243 } hipGraphicsGLRegisterBuffer;
2244 struct {
2245 hipGraphicsResource** resource;
2246 hipGraphicsResource* resource__val;
2247 GLuint image;
2248 GLenum target;
2249 unsigned int flags;
2250 } hipGraphicsGLRegisterImage;
2251 struct {
2252 int count;
2253 hipGraphicsResource_t* resources;
2254 hipGraphicsResource_t resources__val;
2255 hipStream_t stream;
2256 } hipGraphicsMapResources;
2257 struct {
2258 void** devPtr;
2259 void* devPtr__val;
2260 size_t* size;
2261 size_t size__val;
2262 hipGraphicsResource_t resource;
2263 } hipGraphicsResourceGetMappedPointer;
2264 struct {
2265 hipArray_t* array;
2266 hipArray_t array__val;
2267 hipGraphicsResource_t resource;
2268 unsigned int arrayIndex;
2269 unsigned int mipLevel;
2270 } hipGraphicsSubResourceGetMappedArray;
2271 struct {
2272 int count;
2273 hipGraphicsResource_t* resources;
2274 hipGraphicsResource_t resources__val;
2275 hipStream_t stream;
2276 } hipGraphicsUnmapResources;
2277 struct {
2278 hipGraphicsResource_t resource;
2279 } hipGraphicsUnregisterResource;
2280 struct {
2281 hipFunction_t f;
2282 unsigned int globalWorkSizeX;
2283 unsigned int globalWorkSizeY;
2284 unsigned int globalWorkSizeZ;
2285 unsigned int blockDimX;
2286 unsigned int blockDimY;
2287 unsigned int blockDimZ;
2288 size_t sharedMemBytes;
2289 hipStream_t hStream;
2290 void** kernelParams;
2291 void* kernelParams__val;
2292 void** extra;
2293 void* extra__val;
2294 hipEvent_t startEvent;
2295 hipEvent_t stopEvent;
2296 } hipHccModuleLaunchKernel;
2297 struct {
2298 void** ptr;
2299 void* ptr__val;
2300 size_t size;
2301 unsigned int flags;
2302 } hipHostAlloc;
2303 struct {
2304 void* ptr;
2305 } hipHostFree;
2306 struct {
2307 void** devPtr;
2308 void* devPtr__val;
2309 void* hstPtr;
2310 unsigned int flags;
2311 } hipHostGetDevicePointer;
2312 struct {
2313 unsigned int* flagsPtr;
2314 unsigned int flagsPtr__val;
2315 void* hostPtr;
2316 } hipHostGetFlags;
2317 struct {
2318 void** ptr;
2319 void* ptr__val;
2320 size_t size;
2321 unsigned int flags;
2322 } hipHostMalloc;
2323 struct {
2324 void* hostPtr;
2325 size_t sizeBytes;
2326 unsigned int flags;
2327 } hipHostRegister;
2328 struct {
2329 void* hostPtr;
2330 } hipHostUnregister;
2331 struct {
2332 hipExternalMemory_t* extMem_out;
2333 hipExternalMemory_t extMem_out__val;
2334 const hipExternalMemoryHandleDesc* memHandleDesc;
2335 hipExternalMemoryHandleDesc memHandleDesc__val;
2336 } hipImportExternalMemory;
2337 struct {
2338 hipExternalSemaphore_t* extSem_out;
2339 hipExternalSemaphore_t extSem_out__val;
2340 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2341 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2342 } hipImportExternalSemaphore;
2343 struct {
2344 unsigned int flags;
2345 } hipInit;
2346 struct {
2347 void* devPtr;
2348 } hipIpcCloseMemHandle;
2349 struct {
2350 hipIpcEventHandle_t* handle;
2351 hipIpcEventHandle_t handle__val;
2352 hipEvent_t event;
2353 } hipIpcGetEventHandle;
2354 struct {
2355 hipIpcMemHandle_t* handle;
2356 hipIpcMemHandle_t handle__val;
2357 void* devPtr;
2358 } hipIpcGetMemHandle;
2359 struct {
2360 hipEvent_t* event;
2361 hipEvent_t event__val;
2362 hipIpcEventHandle_t handle;
2363 } hipIpcOpenEventHandle;
2364 struct {
2365 void** devPtr;
2366 void* devPtr__val;
2367 hipIpcMemHandle_t handle;
2368 unsigned int flags;
2369 } hipIpcOpenMemHandle;
2370 struct {
2371 const void* hostFunction;
2372 } hipLaunchByPtr;
2373 struct {
2374 const void* f;
2375 dim3 gridDim;
2376 dim3 blockDimX;
2377 void** kernelParams;
2378 void* kernelParams__val;
2379 unsigned int sharedMemBytes;
2380 hipStream_t stream;
2381 } hipLaunchCooperativeKernel;
2382 struct {
2383 hipLaunchParams* launchParamsList;
2384 hipLaunchParams launchParamsList__val;
2385 int numDevices;
2386 unsigned int flags;
2387 } hipLaunchCooperativeKernelMultiDevice;
2388 struct {
2389 hipStream_t stream;
2390 hipHostFn_t fn;
2391 void* userData;
2392 } hipLaunchHostFunc;
2393 struct {
2394 const void* function_address;
2395 dim3 numBlocks;
2396 dim3 dimBlocks;
2397 void** args;
2398 void* args__val;
2399 size_t sharedMemBytes;
2400 hipStream_t stream;
2401 } hipLaunchKernel;
2402 struct {
2403 void** ptr;
2404 void* ptr__val;
2405 size_t size;
2406 } hipMalloc;
2407 struct {
2408 hipPitchedPtr* pitchedDevPtr;
2409 hipPitchedPtr pitchedDevPtr__val;
2410 hipExtent extent;
2411 } hipMalloc3D;
2412 struct {
2413 hipArray_t* array;
2414 hipArray_t array__val;
2415 const hipChannelFormatDesc* desc;
2416 hipChannelFormatDesc desc__val;
2417 hipExtent extent;
2418 unsigned int flags;
2419 } hipMalloc3DArray;
2420 struct {
2421 hipArray_t* array;
2422 hipArray_t array__val;
2423 const hipChannelFormatDesc* desc;
2424 hipChannelFormatDesc desc__val;
2425 size_t width;
2426 size_t height;
2427 unsigned int flags;
2428 } hipMallocArray;
2429 struct {
2430 void** dev_ptr;
2431 void* dev_ptr__val;
2432 size_t size;
2433 hipStream_t stream;
2434 } hipMallocAsync;
2435 struct {
2436 void** dev_ptr;
2437 void* dev_ptr__val;
2438 size_t size;
2439 hipMemPool_t mem_pool;
2440 hipStream_t stream;
2441 } hipMallocFromPoolAsync;
2442 struct {
2443 void** ptr;
2444 void* ptr__val;
2445 size_t size;
2446 } hipMallocHost;
2447 struct {
2448 void** dev_ptr;
2449 void* dev_ptr__val;
2450 size_t size;
2451 unsigned int flags;
2452 } hipMallocManaged;
2453 struct {
2454 hipMipmappedArray_t* mipmappedArray;
2455 hipMipmappedArray_t mipmappedArray__val;
2456 const hipChannelFormatDesc* desc;
2457 hipChannelFormatDesc desc__val;
2458 hipExtent extent;
2459 unsigned int numLevels;
2460 unsigned int flags;
2461 } hipMallocMipmappedArray;
2462 struct {
2463 void** ptr;
2464 void* ptr__val;
2465 size_t* pitch;
2466 size_t pitch__val;
2467 size_t width;
2468 size_t height;
2469 } hipMallocPitch;
2470 struct {
2471 void* devPtr;
2472 size_t size;
2473 } hipMemAddressFree;
2474 struct {
2475 void** ptr;
2476 void* ptr__val;
2477 size_t size;
2478 size_t alignment;
2479 void* addr;
2480 unsigned long long flags;
2481 } hipMemAddressReserve;
2482 struct {
2483 const void* dev_ptr;
2484 size_t count;
2485 hipMemoryAdvise advice;
2486 int device;
2487 } hipMemAdvise;
2488 struct {
2489 void** ptr;
2490 void* ptr__val;
2491 size_t size;
2492 } hipMemAllocHost;
2493 struct {
2494 hipDeviceptr_t* dptr;
2495 hipDeviceptr_t dptr__val;
2496 size_t* pitch;
2497 size_t pitch__val;
2498 size_t widthInBytes;
2499 size_t height;
2500 unsigned int elementSizeBytes;
2501 } hipMemAllocPitch;
2502 struct {
2503 hipMemGenericAllocationHandle_t* handle;
2504 hipMemGenericAllocationHandle_t handle__val;
2505 size_t size;
2506 const hipMemAllocationProp* prop;
2507 hipMemAllocationProp prop__val;
2508 unsigned long long flags;
2509 } hipMemCreate;
2510 struct {
2511 void* shareableHandle;
2512 hipMemGenericAllocationHandle_t handle;
2513 hipMemAllocationHandleType handleType;
2514 unsigned long long flags;
2515 } hipMemExportToShareableHandle;
2516 struct {
2517 unsigned long long* flags;
2518 unsigned long long flags__val;
2519 const hipMemLocation* location;
2520 hipMemLocation location__val;
2521 void* ptr;
2522 } hipMemGetAccess;
2523 struct {
2524 hipDeviceptr_t* pbase;
2525 hipDeviceptr_t pbase__val;
2526 size_t* psize;
2527 size_t psize__val;
2528 hipDeviceptr_t dptr;
2529 } hipMemGetAddressRange;
2530 struct {
2531 size_t* granularity;
2532 size_t granularity__val;
2533 const hipMemAllocationProp* prop;
2534 hipMemAllocationProp prop__val;
2535 hipMemAllocationGranularity_flags option;
2536 } hipMemGetAllocationGranularity;
2537 struct {
2538 hipMemAllocationProp* prop;
2539 hipMemAllocationProp prop__val;
2540 hipMemGenericAllocationHandle_t handle;
2541 } hipMemGetAllocationPropertiesFromHandle;
2542 struct {
2543 size_t* free;
2544 size_t free__val;
2545 size_t* total;
2546 size_t total__val;
2547 } hipMemGetInfo;
2548 struct {
2549 hipMemGenericAllocationHandle_t* handle;
2550 hipMemGenericAllocationHandle_t handle__val;
2551 void* osHandle;
2552 hipMemAllocationHandleType shHandleType;
2553 } hipMemImportFromShareableHandle;
2554 struct {
2555 void* ptr;
2556 size_t size;
2557 size_t offset;
2558 hipMemGenericAllocationHandle_t handle;
2559 unsigned long long flags;
2560 } hipMemMap;
2561 struct {
2562 hipArrayMapInfo* mapInfoList;
2563 hipArrayMapInfo mapInfoList__val;
2564 unsigned int count;
2565 hipStream_t stream;
2566 } hipMemMapArrayAsync;
2567 struct {
2568 hipMemPool_t* mem_pool;
2569 hipMemPool_t mem_pool__val;
2570 const hipMemPoolProps* pool_props;
2571 hipMemPoolProps pool_props__val;
2572 } hipMemPoolCreate;
2573 struct {
2574 hipMemPool_t mem_pool;
2575 } hipMemPoolDestroy;
2576 struct {
2577 hipMemPoolPtrExportData* export_data;
2578 hipMemPoolPtrExportData export_data__val;
2579 void* dev_ptr;
2580 } hipMemPoolExportPointer;
2581 struct {
2582 void* shared_handle;
2583 hipMemPool_t mem_pool;
2584 hipMemAllocationHandleType handle_type;
2585 unsigned int flags;
2586 } hipMemPoolExportToShareableHandle;
2587 struct {
2588 hipMemAccessFlags* flags;
2589 hipMemAccessFlags flags__val;
2590 hipMemPool_t mem_pool;
2591 hipMemLocation* location;
2592 hipMemLocation location__val;
2593 } hipMemPoolGetAccess;
2594 struct {
2595 hipMemPool_t mem_pool;
2596 hipMemPoolAttr attr;
2597 void* value;
2598 } hipMemPoolGetAttribute;
2599 struct {
2600 hipMemPool_t* mem_pool;
2601 hipMemPool_t mem_pool__val;
2602 void* shared_handle;
2603 hipMemAllocationHandleType handle_type;
2604 unsigned int flags;
2605 } hipMemPoolImportFromShareableHandle;
2606 struct {
2607 void** dev_ptr;
2608 void* dev_ptr__val;
2609 hipMemPool_t mem_pool;
2610 hipMemPoolPtrExportData* export_data;
2611 hipMemPoolPtrExportData export_data__val;
2612 } hipMemPoolImportPointer;
2613 struct {
2614 hipMemPool_t mem_pool;
2615 const hipMemAccessDesc* desc_list;
2616 hipMemAccessDesc desc_list__val;
2617 size_t count;
2618 } hipMemPoolSetAccess;
2619 struct {
2620 hipMemPool_t mem_pool;
2621 hipMemPoolAttr attr;
2622 void* value;
2623 } hipMemPoolSetAttribute;
2624 struct {
2625 hipMemPool_t mem_pool;
2626 size_t min_bytes_to_hold;
2627 } hipMemPoolTrimTo;
2628 struct {
2629 const void* dev_ptr;
2630 size_t count;
2631 int device;
2632 hipStream_t stream;
2633 } hipMemPrefetchAsync;
2634 struct {
2635 void* ptr;
2636 size_t* size;
2637 size_t size__val;
2638 } hipMemPtrGetInfo;
2639 struct {
2640 void* data;
2641 size_t data_size;
2642 hipMemRangeAttribute attribute;
2643 const void* dev_ptr;
2644 size_t count;
2645 } hipMemRangeGetAttribute;
2646 struct {
2647 void** data;
2648 void* data__val;
2649 size_t* data_sizes;
2650 size_t data_sizes__val;
2651 hipMemRangeAttribute* attributes;
2652 hipMemRangeAttribute attributes__val;
2653 size_t num_attributes;
2654 const void* dev_ptr;
2655 size_t count;
2656 } hipMemRangeGetAttributes;
2657 struct {
2658 hipMemGenericAllocationHandle_t handle;
2659 } hipMemRelease;
2660 struct {
2661 hipMemGenericAllocationHandle_t* handle;
2662 hipMemGenericAllocationHandle_t handle__val;
2663 void* addr;
2664 } hipMemRetainAllocationHandle;
2665 struct {
2666 void* ptr;
2667 size_t size;
2668 const hipMemAccessDesc* desc;
2669 hipMemAccessDesc desc__val;
2670 size_t count;
2671 } hipMemSetAccess;
2672 struct {
2673 void* ptr;
2674 size_t size;
2675 } hipMemUnmap;
2676 struct {
2677 void* dst;
2678 const void* src;
2679 size_t sizeBytes;
2680 hipMemcpyKind kind;
2681 } hipMemcpy;
2682 struct {
2683 void* dst;
2684 size_t dpitch;
2685 const void* src;
2686 size_t spitch;
2687 size_t width;
2688 size_t height;
2689 hipMemcpyKind kind;
2690 } hipMemcpy2D;
2691 struct {
2692 void* dst;
2693 size_t dpitch;
2694 const void* src;
2695 size_t spitch;
2696 size_t width;
2697 size_t height;
2698 hipMemcpyKind kind;
2699 hipStream_t stream;
2700 } hipMemcpy2DAsync;
2701 struct {
2702 void* dst;
2703 size_t dpitch;
2704 hipArray_const_t src;
2705 size_t wOffset;
2706 size_t hOffset;
2707 size_t width;
2708 size_t height;
2709 hipMemcpyKind kind;
2710 } hipMemcpy2DFromArray;
2711 struct {
2712 void* dst;
2713 size_t dpitch;
2714 hipArray_const_t src;
2715 size_t wOffset;
2716 size_t hOffset;
2717 size_t width;
2718 size_t height;
2719 hipMemcpyKind kind;
2720 hipStream_t stream;
2721 } hipMemcpy2DFromArrayAsync;
2722 struct {
2723 hipArray_t dst;
2724 size_t wOffset;
2725 size_t hOffset;
2726 const void* src;
2727 size_t spitch;
2728 size_t width;
2729 size_t height;
2730 hipMemcpyKind kind;
2731 } hipMemcpy2DToArray;
2732 struct {
2733 hipArray_t dst;
2734 size_t wOffset;
2735 size_t hOffset;
2736 const void* src;
2737 size_t spitch;
2738 size_t width;
2739 size_t height;
2740 hipMemcpyKind kind;
2741 hipStream_t stream;
2742 } hipMemcpy2DToArrayAsync;
2743 struct {
2744 const hipMemcpy3DParms* p;
2745 hipMemcpy3DParms p__val;
2746 } hipMemcpy3D;
2747 struct {
2748 const hipMemcpy3DParms* p;
2749 hipMemcpy3DParms p__val;
2750 hipStream_t stream;
2751 } hipMemcpy3DAsync;
2752 struct {
2753 void* dst;
2754 const void* src;
2755 size_t sizeBytes;
2756 hipMemcpyKind kind;
2757 hipStream_t stream;
2758 } hipMemcpyAsync;
2759 struct {
2760 void* dst;
2761 hipArray_t srcArray;
2762 size_t srcOffset;
2763 size_t count;
2764 } hipMemcpyAtoH;
2765 struct {
2766 hipDeviceptr_t dst;
2767 hipDeviceptr_t src;
2768 size_t sizeBytes;
2769 } hipMemcpyDtoD;
2770 struct {
2771 hipDeviceptr_t dst;
2772 hipDeviceptr_t src;
2773 size_t sizeBytes;
2774 hipStream_t stream;
2775 } hipMemcpyDtoDAsync;
2776 struct {
2777 void* dst;
2778 hipDeviceptr_t src;
2779 size_t sizeBytes;
2780 } hipMemcpyDtoH;
2781 struct {
2782 void* dst;
2783 hipDeviceptr_t src;
2784 size_t sizeBytes;
2785 hipStream_t stream;
2786 } hipMemcpyDtoHAsync;
2787 struct {
2788 void* dst;
2789 hipArray_const_t srcArray;
2790 size_t wOffset;
2791 size_t hOffset;
2792 size_t count;
2793 hipMemcpyKind kind;
2794 } hipMemcpyFromArray;
2795 struct {
2796 void* dst;
2797 const void* symbol;
2798 size_t sizeBytes;
2799 size_t offset;
2800 hipMemcpyKind kind;
2801 } hipMemcpyFromSymbol;
2802 struct {
2803 void* dst;
2804 const void* symbol;
2805 size_t sizeBytes;
2806 size_t offset;
2807 hipMemcpyKind kind;
2808 hipStream_t stream;
2809 } hipMemcpyFromSymbolAsync;
2810 struct {
2811 hipArray_t dstArray;
2812 size_t dstOffset;
2813 const void* srcHost;
2814 size_t count;
2815 } hipMemcpyHtoA;
2816 struct {
2817 hipDeviceptr_t dst;
2818 void* src;
2819 size_t sizeBytes;
2820 } hipMemcpyHtoD;
2821 struct {
2822 hipDeviceptr_t dst;
2823 void* src;
2824 size_t sizeBytes;
2825 hipStream_t stream;
2826 } hipMemcpyHtoDAsync;
2827 struct {
2828 const hip_Memcpy2D* pCopy;
2829 hip_Memcpy2D pCopy__val;
2830 } hipMemcpyParam2D;
2831 struct {
2832 const hip_Memcpy2D* pCopy;
2833 hip_Memcpy2D pCopy__val;
2834 hipStream_t stream;
2835 } hipMemcpyParam2DAsync;
2836 struct {
2837 void* dst;
2838 int dstDeviceId;
2839 const void* src;
2840 int srcDeviceId;
2841 size_t sizeBytes;
2842 } hipMemcpyPeer;
2843 struct {
2844 void* dst;
2845 int dstDeviceId;
2846 const void* src;
2847 int srcDevice;
2848 size_t sizeBytes;
2849 hipStream_t stream;
2850 } hipMemcpyPeerAsync;
2851 struct {
2852 hipArray_t dst;
2853 size_t wOffset;
2854 size_t hOffset;
2855 const void* src;
2856 size_t count;
2857 hipMemcpyKind kind;
2858 } hipMemcpyToArray;
2859 struct {
2860 const void* symbol;
2861 const void* src;
2862 size_t sizeBytes;
2863 size_t offset;
2864 hipMemcpyKind kind;
2865 } hipMemcpyToSymbol;
2866 struct {
2867 const void* symbol;
2868 const void* src;
2869 size_t sizeBytes;
2870 size_t offset;
2871 hipMemcpyKind kind;
2872 hipStream_t stream;
2873 } hipMemcpyToSymbolAsync;
2874 struct {
2875 void* dst;
2876 const void* src;
2877 size_t sizeBytes;
2878 hipMemcpyKind kind;
2879 hipStream_t stream;
2880 } hipMemcpyWithStream;
2881 struct {
2882 void* dst;
2883 int value;
2884 size_t sizeBytes;
2885 } hipMemset;
2886 struct {
2887 void* dst;
2888 size_t pitch;
2889 int value;
2890 size_t width;
2891 size_t height;
2892 } hipMemset2D;
2893 struct {
2894 void* dst;
2895 size_t pitch;
2896 int value;
2897 size_t width;
2898 size_t height;
2899 hipStream_t stream;
2900 } hipMemset2DAsync;
2901 struct {
2902 hipPitchedPtr pitchedDevPtr;
2903 int value;
2904 hipExtent extent;
2905 } hipMemset3D;
2906 struct {
2907 hipPitchedPtr pitchedDevPtr;
2908 int value;
2909 hipExtent extent;
2910 hipStream_t stream;
2911 } hipMemset3DAsync;
2912 struct {
2913 void* dst;
2914 int value;
2915 size_t sizeBytes;
2916 hipStream_t stream;
2917 } hipMemsetAsync;
2918 struct {
2919 hipDeviceptr_t dest;
2920 unsigned short value;
2921 size_t count;
2922 } hipMemsetD16;
2923 struct {
2924 hipDeviceptr_t dest;
2925 unsigned short value;
2926 size_t count;
2927 hipStream_t stream;
2928 } hipMemsetD16Async;
2929 struct {
2930 hipDeviceptr_t dest;
2931 int value;
2932 size_t count;
2933 } hipMemsetD32;
2934 struct {
2935 hipDeviceptr_t dst;
2936 int value;
2937 size_t count;
2938 hipStream_t stream;
2939 } hipMemsetD32Async;
2940 struct {
2941 hipDeviceptr_t dest;
2942 unsigned char value;
2943 size_t count;
2944 } hipMemsetD8;
2945 struct {
2946 hipDeviceptr_t dest;
2947 unsigned char value;
2948 size_t count;
2949 hipStream_t stream;
2950 } hipMemsetD8Async;
2951 struct {
2952 hipMipmappedArray_t* pHandle;
2953 hipMipmappedArray_t pHandle__val;
2954 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
2955 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
2956 unsigned int numMipmapLevels;
2957 } hipMipmappedArrayCreate;
2958 struct {
2959 hipMipmappedArray_t hMipmappedArray;
2960 } hipMipmappedArrayDestroy;
2961 struct {
2962 hipArray_t* pLevelArray;
2963 hipArray_t pLevelArray__val;
2964 hipMipmappedArray_t hMipMappedArray;
2965 unsigned int level;
2966 } hipMipmappedArrayGetLevel;
2967 struct {
2968 hipFunction_t* function;
2969 hipFunction_t function__val;
2970 hipModule_t module;
2971 const char* kname;
2972 char kname__val;
2973 } hipModuleGetFunction;
2974 struct {
2975 hipDeviceptr_t* dptr;
2976 hipDeviceptr_t dptr__val;
2977 size_t* bytes;
2978 size_t bytes__val;
2979 hipModule_t hmod;
2980 const char* name;
2981 char name__val;
2982 } hipModuleGetGlobal;
2983 struct {
2984 textureReference** texRef;
2985 textureReference* texRef__val;
2986 hipModule_t hmod;
2987 const char* name;
2988 char name__val;
2989 } hipModuleGetTexRef;
2990 struct {
2991 hipFunction_t f;
2992 unsigned int gridDimX;
2993 unsigned int gridDimY;
2994 unsigned int gridDimZ;
2995 unsigned int blockDimX;
2996 unsigned int blockDimY;
2997 unsigned int blockDimZ;
2998 unsigned int sharedMemBytes;
2999 hipStream_t stream;
3000 void** kernelParams;
3001 void* kernelParams__val;
3002 } hipModuleLaunchCooperativeKernel;
3003 struct {
3004 hipFunctionLaunchParams* launchParamsList;
3005 hipFunctionLaunchParams launchParamsList__val;
3006 unsigned int numDevices;
3007 unsigned int flags;
3008 } hipModuleLaunchCooperativeKernelMultiDevice;
3009 struct {
3010 hipFunction_t f;
3011 unsigned int gridDimX;
3012 unsigned int gridDimY;
3013 unsigned int gridDimZ;
3014 unsigned int blockDimX;
3015 unsigned int blockDimY;
3016 unsigned int blockDimZ;
3017 unsigned int sharedMemBytes;
3018 hipStream_t stream;
3019 void** kernelParams;
3020 void* kernelParams__val;
3021 void** extra;
3022 void* extra__val;
3023 } hipModuleLaunchKernel;
3024 struct {
3025 hipModule_t* module;
3026 hipModule_t module__val;
3027 const char* fname;
3028 char fname__val;
3029 } hipModuleLoad;
3030 struct {
3031 hipModule_t* module;
3032 hipModule_t module__val;
3033 const void* image;
3034 } hipModuleLoadData;
3035 struct {
3036 hipModule_t* module;
3037 hipModule_t module__val;
3038 const void* image;
3039 unsigned int numOptions;
3040 hipJitOption* options;
3041 hipJitOption options__val;
3042 void** optionsValues;
3043 void* optionsValues__val;
3044 } hipModuleLoadDataEx;
3045 struct {
3046 int* numBlocks;
3047 int numBlocks__val;
3048 hipFunction_t f;
3049 int blockSize;
3050 size_t dynSharedMemPerBlk;
3051 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3052 struct {
3053 int* numBlocks;
3054 int numBlocks__val;
3055 hipFunction_t f;
3056 int blockSize;
3057 size_t dynSharedMemPerBlk;
3058 unsigned int flags;
3059 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3060 struct {
3061 int* gridSize;
3062 int gridSize__val;
3063 int* blockSize;
3064 int blockSize__val;
3065 hipFunction_t f;
3066 size_t dynSharedMemPerBlk;
3067 int blockSizeLimit;
3068 } hipModuleOccupancyMaxPotentialBlockSize;
3069 struct {
3070 int* gridSize;
3071 int gridSize__val;
3072 int* blockSize;
3073 int blockSize__val;
3074 hipFunction_t f;
3075 size_t dynSharedMemPerBlk;
3076 int blockSizeLimit;
3077 unsigned int flags;
3078 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3079 struct {
3080 hipModule_t module;
3081 } hipModuleUnload;
3082 struct {
3083 int* numBlocks;
3084 int numBlocks__val;
3085 const void* f;
3086 int blockSize;
3087 size_t dynamicSMemSize;
3088 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3089 struct {
3090 int* numBlocks;
3091 int numBlocks__val;
3092 const void* f;
3093 int blockSize;
3094 size_t dynamicSMemSize;
3095 unsigned int flags;
3096 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3097 struct {
3098 int* gridSize;
3099 int gridSize__val;
3100 int* blockSize;
3101 int blockSize__val;
3102 const void* f;
3103 size_t dynSharedMemPerBlk;
3104 int blockSizeLimit;
3105 } hipOccupancyMaxPotentialBlockSize;
3106 struct {
3107 void* data;
3108 hipPointer_attribute attribute;
3109 hipDeviceptr_t ptr;
3110 } hipPointerGetAttribute;
3111 struct {
3112 hipPointerAttribute_t* attributes;
3113 hipPointerAttribute_t attributes__val;
3114 const void* ptr;
3115 } hipPointerGetAttributes;
3116 struct {
3117 const void* value;
3118 hipPointer_attribute attribute;
3119 hipDeviceptr_t ptr;
3120 } hipPointerSetAttribute;
3121 struct {
3122 int* runtimeVersion;
3123 int runtimeVersion__val;
3124 } hipRuntimeGetVersion;
3125 struct {
3126 int deviceId;
3127 } hipSetDevice;
3128 struct {
3129 unsigned int flags;
3130 } hipSetDeviceFlags;
3131 struct {
3132 const void* arg;
3133 size_t size;
3134 size_t offset;
3135 } hipSetupArgument;
3136 struct {
3137 const hipExternalSemaphore_t* extSemArray;
3138 hipExternalSemaphore_t extSemArray__val;
3139 const hipExternalSemaphoreSignalParams* paramsArray;
3140 hipExternalSemaphoreSignalParams paramsArray__val;
3141 unsigned int numExtSems;
3142 hipStream_t stream;
3143 } hipSignalExternalSemaphoresAsync;
3144 struct {
3145 hipStream_t stream;
3146 hipStreamCallback_t callback;
3147 void* userData;
3148 unsigned int flags;
3149 } hipStreamAddCallback;
3150 struct {
3151 hipStream_t stream;
3152 void* dev_ptr;
3153 size_t length;
3154 unsigned int flags;
3155 } hipStreamAttachMemAsync;
3156 struct {
3157 hipStream_t stream;
3158 hipStreamCaptureMode mode;
3159 } hipStreamBeginCapture;
3160 struct {
3161 hipStream_t* stream;
3162 hipStream_t stream__val;
3163 } hipStreamCreate;
3164 struct {
3165 hipStream_t* stream;
3166 hipStream_t stream__val;
3167 unsigned int flags;
3168 } hipStreamCreateWithFlags;
3169 struct {
3170 hipStream_t* stream;
3171 hipStream_t stream__val;
3172 unsigned int flags;
3173 int priority;
3174 } hipStreamCreateWithPriority;
3175 struct {
3176 hipStream_t stream;
3177 } hipStreamDestroy;
3178 struct {
3179 hipStream_t stream;
3180 hipGraph_t* pGraph;
3181 hipGraph_t pGraph__val;
3182 } hipStreamEndCapture;
3183 struct {
3184 hipStream_t stream;
3185 hipStreamCaptureStatus* pCaptureStatus;
3186 hipStreamCaptureStatus pCaptureStatus__val;
3187 unsigned long long* pId;
3188 unsigned long long pId__val;
3189 } hipStreamGetCaptureInfo;
3190 struct {
3191 hipStream_t stream;
3192 hipStreamCaptureStatus* captureStatus_out;
3193 hipStreamCaptureStatus captureStatus_out__val;
3194 unsigned long long* id_out;
3195 unsigned long long id_out__val;
3196 hipGraph_t* graph_out;
3197 hipGraph_t graph_out__val;
3198 const hipGraphNode_t** dependencies_out;
3199 const hipGraphNode_t* dependencies_out__val;
3200 size_t* numDependencies_out;
3201 size_t numDependencies_out__val;
3202 } hipStreamGetCaptureInfo_v2;
3203 struct {
3204 hipStream_t stream;
3205 hipDevice_t* device;
3206 hipDevice_t device__val;
3207 } hipStreamGetDevice;
3208 struct {
3209 hipStream_t stream;
3210 unsigned int* flags;
3211 unsigned int flags__val;
3212 } hipStreamGetFlags;
3213 struct {
3214 hipStream_t stream;
3215 int* priority;
3216 int priority__val;
3217 } hipStreamGetPriority;
3218 struct {
3219 hipStream_t stream;
3220 hipStreamCaptureStatus* pCaptureStatus;
3221 hipStreamCaptureStatus pCaptureStatus__val;
3222 } hipStreamIsCapturing;
3223 struct {
3224 hipStream_t stream;
3225 } hipStreamQuery;
3226 struct {
3227 hipStream_t stream;
3228 } hipStreamSynchronize;
3229 struct {
3230 hipStream_t stream;
3231 hipGraphNode_t* dependencies;
3232 hipGraphNode_t dependencies__val;
3233 size_t numDependencies;
3234 unsigned int flags;
3235 } hipStreamUpdateCaptureDependencies;
3236 struct {
3237 hipStream_t stream;
3238 hipEvent_t event;
3239 unsigned int flags;
3240 } hipStreamWaitEvent;
3241 struct {
3242 hipStream_t stream;
3243 void* ptr;
3244 unsigned int value;
3245 unsigned int flags;
3246 unsigned int mask;
3247 } hipStreamWaitValue32;
3248 struct {
3249 hipStream_t stream;
3250 void* ptr;
3251 uint64_t value;
3252 unsigned int flags;
3253 uint64_t mask;
3254 } hipStreamWaitValue64;
3255 struct {
3256 hipStream_t stream;
3257 void* ptr;
3258 unsigned int value;
3259 unsigned int flags;
3260 } hipStreamWriteValue32;
3261 struct {
3262 hipStream_t stream;
3263 void* ptr;
3264 uint64_t value;
3265 unsigned int flags;
3266 } hipStreamWriteValue64;
3267 struct {
3268 hipDeviceptr_t* dev_ptr;
3269 hipDeviceptr_t dev_ptr__val;
3270 const textureReference* texRef;
3271 textureReference texRef__val;
3272 } hipTexRefGetAddress;
3273 struct {
3274 unsigned int* pFlags;
3275 unsigned int pFlags__val;
3276 const textureReference* texRef;
3277 textureReference texRef__val;
3278 } hipTexRefGetFlags;
3279 struct {
3280 hipArray_Format* pFormat;
3281 hipArray_Format pFormat__val;
3282 int* pNumChannels;
3283 int pNumChannels__val;
3284 const textureReference* texRef;
3285 textureReference texRef__val;
3286 } hipTexRefGetFormat;
3287 struct {
3288 int* pmaxAnsio;
3289 int pmaxAnsio__val;
3290 const textureReference* texRef;
3291 textureReference texRef__val;
3292 } hipTexRefGetMaxAnisotropy;
3293 struct {
3294 hipMipmappedArray_t* pArray;
3295 hipMipmappedArray_t pArray__val;
3296 const textureReference* texRef;
3297 textureReference texRef__val;
3298 } hipTexRefGetMipMappedArray;
3299 struct {
3300 float* pbias;
3301 float pbias__val;
3302 const textureReference* texRef;
3303 textureReference texRef__val;
3304 } hipTexRefGetMipmapLevelBias;
3305 struct {
3306 float* pminMipmapLevelClamp;
3307 float pminMipmapLevelClamp__val;
3308 float* pmaxMipmapLevelClamp;
3309 float pmaxMipmapLevelClamp__val;
3310 const textureReference* texRef;
3311 textureReference texRef__val;
3312 } hipTexRefGetMipmapLevelClamp;
3313 struct {
3314 size_t* ByteOffset;
3315 size_t ByteOffset__val;
3316 textureReference* texRef;
3317 textureReference texRef__val;
3318 hipDeviceptr_t dptr;
3319 size_t bytes;
3320 } hipTexRefSetAddress;
3321 struct {
3322 textureReference* texRef;
3323 textureReference texRef__val;
3324 const HIP_ARRAY_DESCRIPTOR* desc;
3325 HIP_ARRAY_DESCRIPTOR desc__val;
3326 hipDeviceptr_t dptr;
3327 size_t Pitch;
3328 } hipTexRefSetAddress2D;
3329 struct {
3330 textureReference* tex;
3331 textureReference tex__val;
3332 hipArray_const_t array;
3333 unsigned int flags;
3334 } hipTexRefSetArray;
3335 struct {
3336 textureReference* texRef;
3337 textureReference texRef__val;
3338 float* pBorderColor;
3339 float pBorderColor__val;
3340 } hipTexRefSetBorderColor;
3341 struct {
3342 textureReference* texRef;
3343 textureReference texRef__val;
3344 unsigned int Flags;
3345 } hipTexRefSetFlags;
3346 struct {
3347 textureReference* texRef;
3348 textureReference texRef__val;
3349 hipArray_Format fmt;
3350 int NumPackedComponents;
3351 } hipTexRefSetFormat;
3352 struct {
3353 textureReference* texRef;
3354 textureReference texRef__val;
3355 unsigned int maxAniso;
3356 } hipTexRefSetMaxAnisotropy;
3357 struct {
3358 textureReference* texRef;
3359 textureReference texRef__val;
3360 float bias;
3361 } hipTexRefSetMipmapLevelBias;
3362 struct {
3363 textureReference* texRef;
3364 textureReference texRef__val;
3365 float minMipMapLevelClamp;
3366 float maxMipMapLevelClamp;
3367 } hipTexRefSetMipmapLevelClamp;
3368 struct {
3369 textureReference* texRef;
3370 textureReference texRef__val;
3371 hipMipmappedArray* mipmappedArray;
3372 hipMipmappedArray mipmappedArray__val;
3373 unsigned int Flags;
3374 } hipTexRefSetMipmappedArray;
3375 struct {
3376 hipStreamCaptureMode* mode;
3377 hipStreamCaptureMode mode__val;
3378 } hipThreadExchangeStreamCaptureMode;
3379 struct {
3380 hipUserObject_t* object_out;
3381 hipUserObject_t object_out__val;
3382 void* ptr;
3383 hipHostFn_t destroy;
3384 unsigned int initialRefcount;
3385 unsigned int flags;
3386 } hipUserObjectCreate;
3387 struct {
3388 hipUserObject_t object;
3389 unsigned int count;
3390 } hipUserObjectRelease;
3391 struct {
3392 hipUserObject_t object;
3393 unsigned int count;
3394 } hipUserObjectRetain;
3395 struct {
3396 const hipExternalSemaphore_t* extSemArray;
3397 hipExternalSemaphore_t extSemArray__val;
3398 const hipExternalSemaphoreWaitParams* paramsArray;
3399 hipExternalSemaphoreWaitParams paramsArray__val;
3400 unsigned int numExtSems;
3401 hipStream_t stream;
3402 } hipWaitExternalSemaphoresAsync;
3403 } args;
3404 uint64_t *phase_data;
3406
3407// HIP API callbacks args data filling macros
3408// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
3409#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3410 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3411 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3412 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3413 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3414};
3415// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3416#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3417 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3418 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3419 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3420 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3421};
3422// hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
3423#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3424 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3425 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3426};
3427// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3428#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3429 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3430 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3431};
3432// hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
3433#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3434 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3435 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3436};
3437// hipArrayDestroy[('hipArray_t', 'array')]
3438#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3439 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3440};
3441// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3442#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3443 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3444 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3445};
3446// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
3447#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3448 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3449 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3450 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3451 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3452};
3453// hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
3454#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3455 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3456 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3457};
3458// hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
3459#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3460 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3461 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3462};
3463// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3464#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3465 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3466 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3467 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3468 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3469};
3470// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
3471#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3472 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3473 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3474};
3475// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
3476#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3477 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3478 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3479 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3480};
3481// hipCtxDestroy[('hipCtx_t', 'ctx')]
3482#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3483 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3484};
3485// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
3486#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3487 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3488};
3489// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
3490#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3491 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3492 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3493};
3494// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
3495#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3496 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3497 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3498};
3499// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3500#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3501 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3502};
3503// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
3504#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3505 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3506};
3507// hipCtxGetDevice[('hipDevice_t*', 'device')]
3508#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3509 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3510};
3511// hipCtxGetFlags[('unsigned int*', 'flags')]
3512#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3513 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3514};
3515// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3516#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3517 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3518};
3519// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
3520#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3521 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3522};
3523// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
3524#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3525 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3526};
3527// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3528#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3529 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3530};
3531// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
3532#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3533 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3534};
3535// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3536#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3537 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3538};
3539// hipCtxSynchronize[]
3540#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3541};
3542// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
3543#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3544 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3545};
3546// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
3547#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3548 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3549};
3550// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
3551#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3552 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3553};
3554// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
3555#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3556 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3557 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3558 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3559};
3560// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
3561#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3562 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3563 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3564 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3565};
3566// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
3567#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3568 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3569};
3570// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
3571#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3572 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3573 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3574};
3575// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
3576#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3577 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3578 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3579};
3580// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
3581#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3582 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3583 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3584 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3585};
3586// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
3587#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3588 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3589 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3590};
3591// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3592#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3593 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3594};
3595// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3596#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3597 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3598 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3599};
3600// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3601#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3602 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3603 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3604 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3605};
3606// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
3607#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3608 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3609 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3610};
3611// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3612#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3613 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3614 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3615};
3616// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
3617#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3618 cb_data.args.hipDeviceGetName.name = (char*)name; \
3619 cb_data.args.hipDeviceGetName.len = (int)len; \
3620 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3621};
3622// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
3623#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3624 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3625 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3626 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3627 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3628};
3629// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
3630#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3631 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3632 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3633 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3634};
3635// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3636#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3638};
3639// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
3640#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3641 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3642 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3643};
3644// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
3645#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3646 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3647 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3648};
3649// hipDeviceGraphMemTrim[('int', 'device')]
3650#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3651 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3652};
3653// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
3654#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3655 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3656 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3657 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3658};
3659// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
3660#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3661 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3662};
3663// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
3664#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3665 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3666};
3667// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
3668#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3669 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3670 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3671};
3672// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
3673#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3674 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3675 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3676};
3677// hipDeviceReset[]
3678#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3679};
3680// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3681#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3682 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3683};
3684// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3685#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3686 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3687 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3688 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3689};
3690// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
3691#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3692 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3693 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3694};
3695// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
3696#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3697 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3698 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3699};
3700// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3701#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3702 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3703};
3704// hipDeviceSynchronize[]
3705#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3706};
3707// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
3708#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3710 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3711};
3712// hipDriverGetVersion[('int*', 'driverVersion')]
3713#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3714 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3715};
3716// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
3717#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3718};
3719// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
3720#define INIT_hipDrvGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
3721};
3722// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
3723#define INIT_hipDrvGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3724};
3725// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
3726#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3727 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3728};
3729// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
3730#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3731 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3732};
3733// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
3734#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3735 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3736 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3737};
3738// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
3739#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3740 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3741 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3742 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3743 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3744};
3745// hipEventCreate[('hipEvent_t*', 'event')]
3746#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3747 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3748};
3749// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
3750#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3751 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3752 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3753};
3754// hipEventDestroy[('hipEvent_t', 'event')]
3755#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3756 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3757};
3758// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
3759#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3760 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3761 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3762 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3763};
3764// hipEventQuery[('hipEvent_t', 'event')]
3765#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3766 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3767};
3768// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
3769#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3770 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3771 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3772};
3773// hipEventSynchronize[('hipEvent_t', 'event')]
3774#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3775 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3776};
3777// hipExtGetLastError[]
3778#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
3779};
3780// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
3781#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3782 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3783 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3784 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3785 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3786};
3787// 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')]
3788#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3789 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3790 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3791 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3792 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3793 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3794 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3795 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3796 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3797 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3798};
3799// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
3800#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3801 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3802 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3803 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3804};
3805// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
3806#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3807 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3808 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3809 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3810};
3811// 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')]
3812#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3813 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3814 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3815 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3816 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3817 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3818 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3819 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3820 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3821 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3822 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3823 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3824 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3825 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3826 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3827};
3828// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
3829#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3830 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3831 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3832 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3833};
3834// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
3835#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3836 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3837 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3838 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3839};
3840// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
3841#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3842 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3843 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3844 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3845};
3846// hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
3847#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
3848 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
3849 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
3850 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
3851};
3852// hipFree[('void*', 'ptr')]
3853#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
3854 cb_data.args.hipFree.ptr = (void*)ptr; \
3855};
3856// hipFreeArray[('hipArray_t', 'array')]
3857#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
3858 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
3859};
3860// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
3861#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
3862 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
3863 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
3864};
3865// hipFreeHost[('void*', 'ptr')]
3866#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
3867 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
3868};
3869// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
3870#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
3871 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
3872};
3873// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
3874#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
3875 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
3876 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
3877 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
3878};
3879// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
3880#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
3881 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
3882 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
3883};
3884// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
3885#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
3886 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
3887 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
3888 cb_data.args.hipFuncSetAttribute.value = (int)value; \
3889};
3890// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
3891#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3892 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
3893 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
3894};
3895// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
3896#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3897 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
3898 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3899};
3900// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
3901#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
3902 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
3903 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
3904 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
3905 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
3906};
3907// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
3908#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
3909 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
3910 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
3911};
3912// hipGetDevice[('int*', 'deviceId')]
3913#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
3914 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
3915};
3916// hipGetDeviceCount[('int*', 'count')]
3917#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
3918 cb_data.args.hipGetDeviceCount.count = (int*)count; \
3919};
3920// hipGetDeviceFlags[('unsigned int*', 'flags')]
3921#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
3922 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
3923};
3924// hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
3925#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
3926 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
3927 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
3928};
3929// hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
3930#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
3931 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
3932 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
3933};
3934// hipGetErrorString[]
3935#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
3936};
3937// hipGetLastError[]
3938#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
3939};
3940// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
3941#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
3942 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
3943 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
3944 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
3945};
3946// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
3947#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
3948 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
3949 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
3950};
3951// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
3952#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
3953 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
3954 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
3955};
3956// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
3957#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
3958 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3959 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
3960 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3961 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
3962 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
3963};
3964// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
3965#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
3966 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
3967 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
3968 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
3969 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
3970};
3971// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
3972#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
3973 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3974 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
3975 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3976 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
3977};
3978// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
3979#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
3980 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3981 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
3982 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3983 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
3984 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
3985};
3986// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
3987#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
3988 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3989 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
3990 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3991 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
3992 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
3993};
3994// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
3995#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
3996};
3997// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
3998#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
3999};
4000// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
4001#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4002 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4003 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4004 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4005 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4006 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4007};
4008// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
4009#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4010 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4011 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4012 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4013 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4014 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4015};
4016// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4017#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4018 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4019 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4020 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4021 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4022 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4023};
4024// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
4025#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4026 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4027 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4028 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4029 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4030 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4031};
4032// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
4033#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4034 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4035 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4036 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4037 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4038 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4039};
4040// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4041#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4042 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4043 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4044 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4045 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4046 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4047 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4048 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4049 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4050};
4051// 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')]
4052#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4053 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4054 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4055 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4056 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4057 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4058 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4059 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4060 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4061 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4062};
4063// 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')]
4064#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4065 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4066 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4067 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4068 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4069 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4070 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4071 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4072 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4073 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4074};
4075// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
4076#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4077 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4078 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4079 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4080 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4081 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4082};
4083// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
4084#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4085 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4086 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4087};
4088// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
4089#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4090 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4091 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4092};
4093// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
4094#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4095 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4096 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4097};
4098// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
4099#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4100 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4101 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4102 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4103};
4104// hipGraphDestroy[('hipGraph_t', 'graph')]
4105#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4106 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4107};
4108// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
4109#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4110 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4111};
4112// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4113#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4114 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4115 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4116};
4117// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4118#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4119 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4120 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4121};
4122// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4123#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4124 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4125 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4126};
4127// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4128#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4129 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4130 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4131};
4132// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
4133#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4134 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4135 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4136 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4137};
4138// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
4139#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4140 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4141};
4142// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4143#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4144 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4145 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4146 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4147};
4148// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4149#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4150 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4151 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4152 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4153};
4154// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4155#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4156};
4157// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4158#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4159};
4160// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4161#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4162 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4163 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4164 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4165};
4166// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4167#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4168 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4169 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4170 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4171};
4172// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4173#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4174 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4175 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4176 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4177};
4178// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4179#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4180 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4181 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4182 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4183 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4184 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4185 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4186};
4187// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4188#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4189 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4190 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4191 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4192 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4193 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4194 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4195 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4196};
4197// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4198#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4199 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4200 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4201 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4202 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4203 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4204 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4205 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4206};
4207// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4208#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4209 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4210 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4211 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4212};
4213// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
4214#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4215 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4216 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4217 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4218 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4219};
4220// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
4221#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4222};
4223// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4224#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4225};
4226// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
4227#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4228};
4229// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4230#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4231};
4232// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
4233#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4234 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4235 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4236 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4237 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4238};
4239// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
4240#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4241 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4242 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4243 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4244};
4245// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
4246#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4247 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4248 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4249 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4250};
4251// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
4252#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4253 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4254 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4255};
4256// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4257#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4258 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4259 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4260};
4261// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
4262#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4263 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4264 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4265 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4266 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4267 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4268};
4269// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
4270#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4271 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4272 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4273 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4274};
4275// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
4276#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4277 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4278 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4279};
4280// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('hipKernelNodeAttrValue*', 'value')]
4281#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4282 cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
4283 cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
4284 cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
4285};
4286// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
4287#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4288 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4289 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4290};
4291// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('const hipKernelNodeAttrValue*', 'value')]
4292#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4293 cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
4294 cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
4295 cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
4296};
4297// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4298#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4299 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4300 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4301};
4302// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4303#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4304 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4305 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4306};
4307// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4308#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4309 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4310 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4311};
4312// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
4313#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4314 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4315 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4316};
4317// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4318#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4319 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4320 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4321};
4322// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
4323#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4324 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4325 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4326};
4327// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4328#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4329 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4330 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4331 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4332 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4333 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4334};
4335// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4336#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4337 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4338 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4339 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4340 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4341 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4342 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4343};
4344// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4345#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4346 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4347 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4348 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4349 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4350 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4351 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4352};
4353// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
4354#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4355 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4356 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4357};
4358// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4359#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4360 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4361 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4362};
4363// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
4364#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4365 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4366 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4367 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4368};
4369// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
4370#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4371 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4372 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4373 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4374};
4375// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
4376#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4377 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4378 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4379 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4380};
4381// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
4382#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4383 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4384 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4385 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4386};
4387// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
4388#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4389 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4390 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4391};
4392// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
4393#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4394 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4395 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4396 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4397};
4398// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
4399#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4400 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4401 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4402 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4403};
4404// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4405#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4406 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4407 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4408 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4409 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4410};
4411// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
4412#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4413 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4414 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4415 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4416 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4417};
4418// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4419#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4420 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4421 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4422};
4423// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
4424#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4425 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4426 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4427 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4428};
4429// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
4430#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4431 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4432 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4433 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4434 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4435};
4436// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4437#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4438 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4439 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4440 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4441};
4442// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
4443#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4444 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4445 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4446 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4447};
4448// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
4449#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4450 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4451 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4452 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4453 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4454};
4455// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4456#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4457 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4458 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4459 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4460};
4461// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
4462#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4463 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4464};
4465// 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')]
4466#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4467 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4468 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4469 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4470 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4471 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4472 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4473 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4474 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4475 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4476 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4477 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4478 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4479 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4480};
4481// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4482#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4483 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4484 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4485 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4486};
4487// hipHostFree[('void*', 'ptr')]
4488#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4489 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4490};
4491// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
4492#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4493 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4494 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4495 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4496};
4497// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
4498#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4499 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4500 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4501};
4502// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4503#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4504 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4505 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4506 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4507};
4508// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
4509#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4510 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4511 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4512 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4513};
4514// hipHostUnregister[('void*', 'hostPtr')]
4515#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4516 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4517};
4518// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
4519#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4520 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4521 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4522};
4523// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
4524#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4525 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4526 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4527};
4528// hipInit[('unsigned int', 'flags')]
4529#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4530 cb_data.args.hipInit.flags = (unsigned int)flags; \
4531};
4532// hipIpcCloseMemHandle[('void*', 'devPtr')]
4533#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4534 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4535};
4536// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
4537#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4538 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4539 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4540};
4541// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
4542#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4543 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4544 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4545};
4546// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
4547#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4548 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4549 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4550};
4551// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
4552#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4553 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4554 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4555 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4556};
4557// hipLaunchByPtr[('const void*', 'hostFunction')]
4558#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4559 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4560};
4561// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4562#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4563 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4564 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4565 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4566 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4567 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4568 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4569};
4570// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
4571#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4572 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4573 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4574 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4575};
4576// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
4577#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4578 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4579 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4580 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4581};
4582// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4583#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4584 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4585 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4586 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4587 cb_data.args.hipLaunchKernel.args = (void**)args; \
4588 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4589 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4590};
4591// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
4592#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4593 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4594 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4595};
4596// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
4597#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4598 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4599 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4600};
4601// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
4602#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4603 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4604 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4605 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4606 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4607};
4608// hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
4609#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4610 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4611 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4612 cb_data.args.hipMallocArray.width = (size_t)width; \
4613 cb_data.args.hipMallocArray.height = (size_t)height; \
4614 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4615};
4616// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
4617#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4618 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4619 cb_data.args.hipMallocAsync.size = (size_t)size; \
4620 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4621};
4622// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
4623#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4624 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4625 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4626 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4627 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4628};
4629// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
4630#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4631 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4632 cb_data.args.hipMallocHost.size = (size_t)size; \
4633};
4634// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4635#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4636 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4637 cb_data.args.hipMallocManaged.size = (size_t)size; \
4638 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4639};
4640// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
4641#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4642 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4643 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4644 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4645 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4646 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4647};
4648// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
4649#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4650 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4651 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4652 cb_data.args.hipMallocPitch.width = (size_t)width; \
4653 cb_data.args.hipMallocPitch.height = (size_t)height; \
4654};
4655// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
4656#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4657 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4658 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4659};
4660// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
4661#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4662 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4663 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4664 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4665 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4666 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4667};
4668// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
4669#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4670 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4671 cb_data.args.hipMemAdvise.count = (size_t)count; \
4672 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4673 cb_data.args.hipMemAdvise.device = (int)device; \
4674};
4675// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
4676#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4677 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4678 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4679};
4680// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
4681#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4682 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4683 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4684 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4685 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4686 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4687};
4688// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
4689#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4690 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4691 cb_data.args.hipMemCreate.size = (size_t)size; \
4692 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4693 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4694};
4695// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
4696#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4697 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4698 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4699 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4700 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4701};
4702// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
4703#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4704 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4705 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4706 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4707};
4708// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
4709#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4710 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4711 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4712 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4713};
4714// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
4715#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4716 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4717 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4718 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4719};
4720// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
4721#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4722 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4723 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4724};
4725// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
4726#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4727 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4728 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4729};
4730// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
4731#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4732 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4733 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4734 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4735};
4736// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
4737#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4738 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4739 cb_data.args.hipMemMap.size = (size_t)size; \
4740 cb_data.args.hipMemMap.offset = (size_t)offset; \
4741 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4742 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4743};
4744// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
4745#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4746 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4747 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4748 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4749};
4750// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
4751#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4752 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4753 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4754};
4755// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
4756#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4757 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4758};
4759// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
4760#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4761 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4762 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4763};
4764// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4765#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4766 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4767 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4768 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4769 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4770};
4771// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
4772#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4773 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4774 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4775 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4776};
4777// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4778#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4779 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4780 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4781 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4782};
4783// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4784#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4785 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4786 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4787 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4788 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4789};
4790// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
4791#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4792 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4793 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4794 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4795};
4796// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
4797#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4798 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4799 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4800 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4801};
4802// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4803#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4804 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4805 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
4806 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
4807};
4808// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
4809#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
4810 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
4811 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
4812};
4813// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
4814#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
4815 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
4816 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
4817 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
4818 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
4819};
4820// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
4821#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
4822 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
4823 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
4824};
4825// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
4826#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
4827 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
4828 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
4829 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
4830 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
4831 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
4832};
4833// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
4834#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
4835 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
4836 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
4837 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
4838 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
4839 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
4840 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
4841};
4842// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
4843#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
4844 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
4845};
4846// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
4847#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
4848 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4849 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
4850};
4851// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
4852#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
4853 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
4854 cb_data.args.hipMemSetAccess.size = (size_t)size; \
4855 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
4856 cb_data.args.hipMemSetAccess.count = (size_t)count; \
4857};
4858// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
4859#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
4860 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
4861 cb_data.args.hipMemUnmap.size = (size_t)size; \
4862};
4863// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
4864#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
4865 cb_data.args.hipMemcpy.dst = (void*)dst; \
4866 cb_data.args.hipMemcpy.src = (const void*)src; \
4867 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
4868 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
4869};
4870// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4871#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
4872 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
4873 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
4874 cb_data.args.hipMemcpy2D.src = (const void*)src; \
4875 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
4876 cb_data.args.hipMemcpy2D.width = (size_t)width; \
4877 cb_data.args.hipMemcpy2D.height = (size_t)height; \
4878 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
4879};
4880// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4881#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
4882 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
4883 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
4884 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
4885 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
4886 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
4887 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
4888 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
4889 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
4890};
4891// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4892#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
4893 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
4894 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
4895 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
4896 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
4897 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
4898 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
4899 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
4900 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
4901};
4902// 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')]
4903#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
4904 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
4905 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
4906 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
4907 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
4908 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
4909 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
4910 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
4911 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
4912 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
4913};
4914// hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4915#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
4916 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
4917 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
4918 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
4919 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
4920 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
4921 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
4922 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
4923 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
4924};
4925// 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')]
4926#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
4927 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
4928 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
4929 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
4930 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
4931 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
4932 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
4933 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
4934 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
4935 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
4936};
4937// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
4938#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
4939 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
4940};
4941// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
4942#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
4943 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
4944 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
4945};
4946// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4947#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
4948 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
4949 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
4950 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
4951 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
4952 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
4953};
4954// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
4955#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
4956 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
4957 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
4958 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
4959 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
4960};
4961// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
4962#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
4963 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
4964 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
4965 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
4966};
4967// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4968#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
4969 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4970 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
4971 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
4972 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
4973};
4974// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
4975#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
4976 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
4977 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
4978 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
4979};
4980// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4981#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
4982 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
4983 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
4984 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
4985 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
4986};
4987// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4988#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
4989 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
4990 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
4991 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
4992 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
4993 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
4994 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
4995};
4996// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4997#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
4998 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
4999 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5000 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5001 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5002 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5003};
5004// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5005#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5006 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5007 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5008 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5009 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5010 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5011 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5012};
5013// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
5014#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5015 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5016 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5017 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5018 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5019};
5020// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
5021#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5022 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5023 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5024 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5025};
5026// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5027#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5028 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5029 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5030 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5031 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5032};
5033// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
5034#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5035 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5036};
5037// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
5038#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5039 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5040 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5041};
5042// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
5043#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5044 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5045 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5046 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5047 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5048 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5049};
5050// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5051#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5052 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5053 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5054 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5055 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5056 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5057 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5058};
5059// hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5060#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5061 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5062 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5063 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5064 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5065 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5066 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5067};
5068// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5069#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5070 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5071 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5072 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5073 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5074 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5075};
5076// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5077#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5078 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5079 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5080 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5081 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5082 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5083 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5084};
5085// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5086#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5087 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5088 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5089 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5090 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5091 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5092};
5093// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
5094#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5095 cb_data.args.hipMemset.dst = (void*)dst; \
5096 cb_data.args.hipMemset.value = (int)value; \
5097 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5098};
5099// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
5100#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5101 cb_data.args.hipMemset2D.dst = (void*)dst; \
5102 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5103 cb_data.args.hipMemset2D.value = (int)value; \
5104 cb_data.args.hipMemset2D.width = (size_t)width; \
5105 cb_data.args.hipMemset2D.height = (size_t)height; \
5106};
5107// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
5108#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5109 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5110 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5111 cb_data.args.hipMemset2DAsync.value = (int)value; \
5112 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5113 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5114 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5115};
5116// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
5117#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5118 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5119 cb_data.args.hipMemset3D.value = (int)value; \
5120 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5121};
5122// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
5123#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5124 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5125 cb_data.args.hipMemset3DAsync.value = (int)value; \
5126 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5127 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5128};
5129// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5130#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5131 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5132 cb_data.args.hipMemsetAsync.value = (int)value; \
5133 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5134 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5135};
5136// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
5137#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5138 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5139 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5140 cb_data.args.hipMemsetD16.count = (size_t)count; \
5141};
5142// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5143#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5144 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5145 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5146 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5147 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5148};
5149// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
5150#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5151 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5152 cb_data.args.hipMemsetD32.value = (int)value; \
5153 cb_data.args.hipMemsetD32.count = (size_t)count; \
5154};
5155// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5156#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5157 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5158 cb_data.args.hipMemsetD32Async.value = (int)value; \
5159 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5160 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5161};
5162// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
5163#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5164 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5165 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5166 cb_data.args.hipMemsetD8.count = (size_t)count; \
5167};
5168// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5169#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5170 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5171 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5172 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5173 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5174};
5175// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
5176#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5177 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5178 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5179 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5180};
5181// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
5182#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5183 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5184};
5185// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
5186#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5187 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5188 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5189 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5190};
5191// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
5192#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5193 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5194 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5195 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5196};
5197// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5198#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5199 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5200 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5201 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5202 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5203};
5204// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5205#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5206 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5207 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5208 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5209};
5210// 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')]
5211#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5212 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5213 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5214 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5215 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5216 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5217 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5218 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5219 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5220 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5221 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5222};
5223// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
5224#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5225 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5226 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5227 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5228};
5229// 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')]
5230#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5231 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5232 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5233 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5234 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5235 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5236 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5237 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5238 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5239 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5240 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5241 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5242};
5243// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
5244#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5245 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5246 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5247};
5248// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
5249#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5250 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5251 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5252};
5253// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
5254#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5255 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5256 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5257 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5258 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5259 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5260};
5261// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
5262#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5263 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5264 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5265 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5266 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5267};
5268// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
5269#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5270 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5271 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5272 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5273 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5274 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5275};
5276// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5277#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5278 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5279 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5280 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5281 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5282 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5283};
5284// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
5285#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5286 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5287 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5288 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5289 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5290 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5291 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5292};
5293// hipModuleUnload[('hipModule_t', 'module')]
5294#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5295 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5296};
5297// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
5298#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5299 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5300 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5301 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5302 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5303};
5304// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
5305#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5306 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5307 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5308 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5309 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5310 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5311};
5312// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5313#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5314 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5315 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5316 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5317 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5318 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5319};
5320// hipPeekAtLastError[]
5321#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5322};
5323// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5324#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5325 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5326 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5327 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5328};
5329// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
5330#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5331 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5332 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5333};
5334// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5335#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5336 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5337 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5338 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5339};
5340// hipProfilerStart[]
5341#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5342};
5343// hipProfilerStop[]
5344#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5345};
5346// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
5347#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5348 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5349};
5350// hipSetDevice[('int', 'deviceId')]
5351#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5352 cb_data.args.hipSetDevice.deviceId = (int)device; \
5353};
5354// hipSetDeviceFlags[('unsigned int', 'flags')]
5355#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5356 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5357};
5358// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
5359#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5360 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5361 cb_data.args.hipSetupArgument.size = (size_t)size; \
5362 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5363};
5364// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5365#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5366 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5367 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5368 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5369 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5370};
5371// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
5372#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5373 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5374 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5375 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5376 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5377};
5378// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
5379#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5380 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5381 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5382 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5383 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5384};
5385// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
5386#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5387 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5388 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5389};
5390// hipStreamCreate[('hipStream_t*', 'stream')]
5391#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5392 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5393};
5394// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
5395#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5396 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5397 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5398};
5399// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
5400#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5401 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5402 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5403 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5404};
5405// hipStreamDestroy[('hipStream_t', 'stream')]
5406#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5407 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5408};
5409// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
5410#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5411 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5412 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5413};
5414// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
5415#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5416 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5417 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5418 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5419};
5420// 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')]
5421#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5422 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5423 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5424 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5425 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5426 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5427 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5428};
5429// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
5430#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5431 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5432 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5433};
5434// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
5435#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5436 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5437 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5438};
5439// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
5440#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5441 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5442 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5443};
5444// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
5445#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5446 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5447 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5448};
5449// hipStreamQuery[('hipStream_t', 'stream')]
5450#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5451 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5452};
5453// hipStreamSynchronize[('hipStream_t', 'stream')]
5454#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5455 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5456};
5457// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
5458#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5459 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5460 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5461 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5462 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5463};
5464// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
5465#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5466 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5467 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5468 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5469};
5470// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
5471#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5472 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5473 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5474 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5475 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5476 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5477};
5478// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
5479#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5480 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5481 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5482 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5483 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5484 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5485};
5486// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
5487#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5488 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5489 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5490 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5491 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5492};
5493// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
5494#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5495 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5496 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5497 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5498 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5499};
5500// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
5501#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5502 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5503 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5504};
5505// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
5506#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5507 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5508 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5509};
5510// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
5511#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5512 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5513 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5514 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5515};
5516// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
5517#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5518 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5519 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5520};
5521// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5522#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5523};
5524// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
5525#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5526 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5527 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5528};
5529// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
5530#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5531 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5532 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5533 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5534};
5535// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
5536#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5537 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5538 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5539 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5540 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5541};
5542// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
5543#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5544 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5545 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5546 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5547 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5548};
5549// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
5550#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5551 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5552 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5553 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5554};
5555// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
5556#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5557 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5558 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5559};
5560// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
5561#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5562 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5563 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5564};
5565// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
5566#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5567 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5568 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5569 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5570};
5571// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
5572#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5573 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5574 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5575};
5576// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
5577#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5578 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5579 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5580};
5581// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
5582#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5583 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5584 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5585 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5586};
5587// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
5588#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5589 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5590 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5591 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5592};
5593// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
5594#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5595 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5596};
5597// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
5598#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5599 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5600 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5601 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5602 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5603 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5604};
5605// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5606#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5607 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5608 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5609};
5610// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5611#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5612 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5613 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5614};
5615// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5616#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5617 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5618 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5619 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5620 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5621};
5622#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5623
5624// Macros for non-public API primitives
5625// hipBindTexture()
5626#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5627// hipBindTexture2D()
5628#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5629// hipBindTextureToArray()
5630#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5631// hipBindTextureToMipmappedArray()
5632#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5633// hipCreateTextureObject()
5634#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5635// hipDestroyTextureObject()
5636#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5637// hipDeviceGetCount()
5638#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5639// hipGetTextureAlignmentOffset()
5640#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5641// hipGetTextureObjectResourceDesc()
5642#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5643// hipGetTextureObjectResourceViewDesc()
5644#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5645// hipGetTextureObjectTextureDesc()
5646#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5647// hipGetTextureReference()
5648#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5649// hipMemcpy2DArrayToArray()
5650#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
5651// hipMemcpyAtoA()
5652#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
5653// hipMemcpyAtoD()
5654#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
5655// hipMemcpyAtoHAsync()
5656#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
5657// hipMemcpyDtoA()
5658#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
5659// hipMemcpyHtoAAsync()
5660#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
5661// hipSetValidDevices()
5662#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
5663// hipTexObjectCreate()
5664#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5665// hipTexObjectDestroy()
5666#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5667// hipTexObjectGetResourceDesc()
5668#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5669// hipTexObjectGetResourceViewDesc()
5670#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5671// hipTexObjectGetTextureDesc()
5672#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5673// hipTexRefGetAddressMode()
5674#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5675// hipTexRefGetArray()
5676#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
5677// hipTexRefGetBorderColor()
5678#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
5679// hipTexRefGetFilterMode()
5680#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5681// hipTexRefGetMipmapFilterMode()
5682#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5683// hipTexRefGetMipmappedArray()
5684#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
5685// hipTexRefSetAddressMode()
5686#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5687// hipTexRefSetFilterMode()
5688#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5689// hipTexRefSetMipmapFilterMode()
5690#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5691// hipUnbindTexture()
5692#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5693
5694#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5695
5696#if HIP_PROF_HIP_API_STRING
5697// HIP API args filling helper
5698static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
5699 switch (id) {
5700// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
5701 case HIP_API_ID___hipPopCallConfiguration:
5702 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5703 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5704 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5705 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5706 break;
5707// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5708 case HIP_API_ID___hipPushCallConfiguration:
5709 break;
5710// hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
5711 case HIP_API_ID_hipArray3DCreate:
5712 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5713 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5714 break;
5715// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
5716 case HIP_API_ID_hipArray3DGetDescriptor:
5717 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5718 break;
5719// hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
5720 case HIP_API_ID_hipArrayCreate:
5721 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5722 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5723 break;
5724// hipArrayDestroy[('hipArray_t', 'array')]
5725 case HIP_API_ID_hipArrayDestroy:
5726 break;
5727// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
5728 case HIP_API_ID_hipArrayGetDescriptor:
5729 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5730 break;
5731// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
5732 case HIP_API_ID_hipArrayGetInfo:
5733 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5734 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5735 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5736 break;
5737// hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
5738 case HIP_API_ID_hipChooseDeviceR0000:
5739 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
5740 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
5741 break;
5742// hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
5743 case HIP_API_ID_hipChooseDeviceR0600:
5744 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
5745 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
5746 break;
5747// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5748 case HIP_API_ID_hipConfigureCall:
5749 break;
5750// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
5751 case HIP_API_ID_hipCreateSurfaceObject:
5752 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
5753 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
5754 break;
5755// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
5756 case HIP_API_ID_hipCtxCreate:
5757 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
5758 break;
5759// hipCtxDestroy[('hipCtx_t', 'ctx')]
5760 case HIP_API_ID_hipCtxDestroy:
5761 break;
5762// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
5763 case HIP_API_ID_hipCtxDisablePeerAccess:
5764 break;
5765// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
5766 case HIP_API_ID_hipCtxEnablePeerAccess:
5767 break;
5768// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
5769 case HIP_API_ID_hipCtxGetApiVersion:
5770 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
5771 break;
5772// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
5773 case HIP_API_ID_hipCtxGetCacheConfig:
5774 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
5775 break;
5776// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
5777 case HIP_API_ID_hipCtxGetCurrent:
5778 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
5779 break;
5780// hipCtxGetDevice[('hipDevice_t*', 'device')]
5781 case HIP_API_ID_hipCtxGetDevice:
5782 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
5783 break;
5784// hipCtxGetFlags[('unsigned int*', 'flags')]
5785 case HIP_API_ID_hipCtxGetFlags:
5786 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
5787 break;
5788// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
5789 case HIP_API_ID_hipCtxGetSharedMemConfig:
5790 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
5791 break;
5792// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
5793 case HIP_API_ID_hipCtxPopCurrent:
5794 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
5795 break;
5796// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
5797 case HIP_API_ID_hipCtxPushCurrent:
5798 break;
5799// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
5800 case HIP_API_ID_hipCtxSetCacheConfig:
5801 break;
5802// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
5803 case HIP_API_ID_hipCtxSetCurrent:
5804 break;
5805// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
5806 case HIP_API_ID_hipCtxSetSharedMemConfig:
5807 break;
5808// hipCtxSynchronize[]
5809 case HIP_API_ID_hipCtxSynchronize:
5810 break;
5811// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
5812 case HIP_API_ID_hipDestroyExternalMemory:
5813 break;
5814// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
5815 case HIP_API_ID_hipDestroyExternalSemaphore:
5816 break;
5817// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
5818 case HIP_API_ID_hipDestroySurfaceObject:
5819 break;
5820// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
5821 case HIP_API_ID_hipDeviceCanAccessPeer:
5822 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
5823 break;
5824// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
5825 case HIP_API_ID_hipDeviceComputeCapability:
5826 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
5827 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
5828 break;
5829// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
5830 case HIP_API_ID_hipDeviceDisablePeerAccess:
5831 break;
5832// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
5833 case HIP_API_ID_hipDeviceEnablePeerAccess:
5834 break;
5835// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
5836 case HIP_API_ID_hipDeviceGet:
5837 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
5838 break;
5839// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
5840 case HIP_API_ID_hipDeviceGetAttribute:
5841 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
5842 break;
5843// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
5844 case HIP_API_ID_hipDeviceGetByPCIBusId:
5845 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
5846 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
5847 break;
5848// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
5849 case HIP_API_ID_hipDeviceGetCacheConfig:
5850 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
5851 break;
5852// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
5853 case HIP_API_ID_hipDeviceGetDefaultMemPool:
5854 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
5855 break;
5856// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
5857 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
5858 break;
5859// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
5860 case HIP_API_ID_hipDeviceGetLimit:
5861 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
5862 break;
5863// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
5864 case HIP_API_ID_hipDeviceGetMemPool:
5865 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
5866 break;
5867// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
5868 case HIP_API_ID_hipDeviceGetName:
5869 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
5870 break;
5871// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
5872 case HIP_API_ID_hipDeviceGetP2PAttribute:
5873 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
5874 break;
5875// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
5876 case HIP_API_ID_hipDeviceGetPCIBusId:
5877 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
5878 break;
5879// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
5880 case HIP_API_ID_hipDeviceGetSharedMemConfig:
5881 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
5882 break;
5883// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
5884 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
5885 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
5886 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
5887 break;
5888// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
5889 case HIP_API_ID_hipDeviceGetUuid:
5890 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
5891 break;
5892// hipDeviceGraphMemTrim[('int', 'device')]
5893 case HIP_API_ID_hipDeviceGraphMemTrim:
5894 break;
5895// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
5896 case HIP_API_ID_hipDevicePrimaryCtxGetState:
5897 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
5898 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
5899 break;
5900// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
5901 case HIP_API_ID_hipDevicePrimaryCtxRelease:
5902 break;
5903// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
5904 case HIP_API_ID_hipDevicePrimaryCtxReset:
5905 break;
5906// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
5907 case HIP_API_ID_hipDevicePrimaryCtxRetain:
5908 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
5909 break;
5910// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
5911 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
5912 break;
5913// hipDeviceReset[]
5914 case HIP_API_ID_hipDeviceReset:
5915 break;
5916// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
5917 case HIP_API_ID_hipDeviceSetCacheConfig:
5918 break;
5919// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
5920 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
5921 break;
5922// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
5923 case HIP_API_ID_hipDeviceSetLimit:
5924 break;
5925// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
5926 case HIP_API_ID_hipDeviceSetMemPool:
5927 break;
5928// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
5929 case HIP_API_ID_hipDeviceSetSharedMemConfig:
5930 break;
5931// hipDeviceSynchronize[]
5932 case HIP_API_ID_hipDeviceSynchronize:
5933 break;
5934// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
5935 case HIP_API_ID_hipDeviceTotalMem:
5936 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
5937 break;
5938// hipDriverGetVersion[('int*', 'driverVersion')]
5939 case HIP_API_ID_hipDriverGetVersion:
5940 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
5941 break;
5942// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
5943 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
5944 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
5945 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
5946 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
5947 break;
5948// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
5949 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
5950 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
5951 break;
5952// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
5953 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
5954 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
5955 break;
5956// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
5957 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
5958 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
5959 break;
5960// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
5961 case HIP_API_ID_hipDrvMemcpy3D:
5962 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
5963 break;
5964// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
5965 case HIP_API_ID_hipDrvMemcpy3DAsync:
5966 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
5967 break;
5968// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
5969 case HIP_API_ID_hipDrvPointerGetAttributes:
5970 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
5971 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
5972 break;
5973// hipEventCreate[('hipEvent_t*', 'event')]
5974 case HIP_API_ID_hipEventCreate:
5975 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
5976 break;
5977// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
5978 case HIP_API_ID_hipEventCreateWithFlags:
5979 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
5980 break;
5981// hipEventDestroy[('hipEvent_t', 'event')]
5982 case HIP_API_ID_hipEventDestroy:
5983 break;
5984// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
5985 case HIP_API_ID_hipEventElapsedTime:
5986 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
5987 break;
5988// hipEventQuery[('hipEvent_t', 'event')]
5989 case HIP_API_ID_hipEventQuery:
5990 break;
5991// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
5992 case HIP_API_ID_hipEventRecord:
5993 break;
5994// hipEventSynchronize[('hipEvent_t', 'event')]
5995 case HIP_API_ID_hipEventSynchronize:
5996 break;
5997// hipExtGetLastError[]
5998 case HIP_API_ID_hipExtGetLastError:
5999 break;
6000// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
6001 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6002 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6003 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6004 break;
6005// 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')]
6006 case HIP_API_ID_hipExtLaunchKernel:
6007 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6008 break;
6009// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6010 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6011 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6012 break;
6013// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6014 case HIP_API_ID_hipExtMallocWithFlags:
6015 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6016 break;
6017// 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')]
6018 case HIP_API_ID_hipExtModuleLaunchKernel:
6019 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6020 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6021 break;
6022// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
6023 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6024 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6025 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6026 break;
6027// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
6028 case HIP_API_ID_hipExtStreamGetCUMask:
6029 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6030 break;
6031// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
6032 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6033 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6034 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6035 break;
6036// hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
6037 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6038 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6039 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6040 break;
6041// hipFree[('void*', 'ptr')]
6042 case HIP_API_ID_hipFree:
6043 break;
6044// hipFreeArray[('hipArray_t', 'array')]
6045 case HIP_API_ID_hipFreeArray:
6046 break;
6047// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
6048 case HIP_API_ID_hipFreeAsync:
6049 break;
6050// hipFreeHost[('void*', 'ptr')]
6051 case HIP_API_ID_hipFreeHost:
6052 break;
6053// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
6054 case HIP_API_ID_hipFreeMipmappedArray:
6055 break;
6056// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
6057 case HIP_API_ID_hipFuncGetAttribute:
6058 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6059 break;
6060// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
6061 case HIP_API_ID_hipFuncGetAttributes:
6062 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6063 break;
6064// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
6065 case HIP_API_ID_hipFuncSetAttribute:
6066 break;
6067// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
6068 case HIP_API_ID_hipFuncSetCacheConfig:
6069 break;
6070// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
6071 case HIP_API_ID_hipFuncSetSharedMemConfig:
6072 break;
6073// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
6074 case HIP_API_ID_hipGLGetDevices:
6075 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6076 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6077 break;
6078// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
6079 case HIP_API_ID_hipGetChannelDesc:
6080 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6081 break;
6082// hipGetDevice[('int*', 'deviceId')]
6083 case HIP_API_ID_hipGetDevice:
6084 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6085 break;
6086// hipGetDeviceCount[('int*', 'count')]
6087 case HIP_API_ID_hipGetDeviceCount:
6088 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6089 break;
6090// hipGetDeviceFlags[('unsigned int*', 'flags')]
6091 case HIP_API_ID_hipGetDeviceFlags:
6092 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6093 break;
6094// hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
6095 case HIP_API_ID_hipGetDevicePropertiesR0000:
6096 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6097 break;
6098// hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
6099 case HIP_API_ID_hipGetDevicePropertiesR0600:
6100 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6101 break;
6102// hipGetErrorString[]
6103 case HIP_API_ID_hipGetErrorString:
6104 break;
6105// hipGetLastError[]
6106 case HIP_API_ID_hipGetLastError:
6107 break;
6108// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
6109 case HIP_API_ID_hipGetMipmappedArrayLevel:
6110 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6111 break;
6112// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
6113 case HIP_API_ID_hipGetSymbolAddress:
6114 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6115 break;
6116// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
6117 case HIP_API_ID_hipGetSymbolSize:
6118 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6119 break;
6120// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
6121 case HIP_API_ID_hipGraphAddChildGraphNode:
6122 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6123 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6124 break;
6125// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6126 case HIP_API_ID_hipGraphAddDependencies:
6127 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6128 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6129 break;
6130// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
6131 case HIP_API_ID_hipGraphAddEmptyNode:
6132 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6133 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6134 break;
6135// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6136 case HIP_API_ID_hipGraphAddEventRecordNode:
6137 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6138 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6139 break;
6140// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6141 case HIP_API_ID_hipGraphAddEventWaitNode:
6142 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6143 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6144 break;
6145// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6146 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6147 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6148 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6149 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6150 break;
6151// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6152 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6153 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6154 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6155 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6156 break;
6157// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
6158 case HIP_API_ID_hipGraphAddHostNode:
6159 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6160 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6161 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6162 break;
6163// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
6164 case HIP_API_ID_hipGraphAddKernelNode:
6165 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6166 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6167 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6168 break;
6169// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6170 case HIP_API_ID_hipGraphAddMemAllocNode:
6171 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6172 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6173 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6174 break;
6175// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
6176 case HIP_API_ID_hipGraphAddMemFreeNode:
6177 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6178 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6179 break;
6180// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
6181 case HIP_API_ID_hipGraphAddMemcpyNode:
6182 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6183 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6184 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6185 break;
6186// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6187 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6188 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6189 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6190 break;
6191// 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')]
6192 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6193 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6194 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6195 break;
6196// 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')]
6197 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6198 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6199 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6200 break;
6201// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
6202 case HIP_API_ID_hipGraphAddMemsetNode:
6203 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6204 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6205 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6206 break;
6207// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
6208 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6209 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6210 break;
6211// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
6212 case HIP_API_ID_hipGraphClone:
6213 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6214 break;
6215// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
6216 case HIP_API_ID_hipGraphCreate:
6217 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6218 break;
6219// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
6220 case HIP_API_ID_hipGraphDebugDotPrint:
6221 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6222 break;
6223// hipGraphDestroy[('hipGraph_t', 'graph')]
6224 case HIP_API_ID_hipGraphDestroy:
6225 break;
6226// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
6227 case HIP_API_ID_hipGraphDestroyNode:
6228 break;
6229// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6230 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6231 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6232 break;
6233// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6234 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6235 break;
6236// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6237 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6238 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6239 break;
6240// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6241 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6242 break;
6243// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
6244 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6245 break;
6246// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
6247 case HIP_API_ID_hipGraphExecDestroy:
6248 break;
6249// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6250 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6251 break;
6252// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6253 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6254 break;
6255// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6256 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6257 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6258 break;
6259// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6260 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6261 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6262 break;
6263// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6264 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6265 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6266 break;
6267// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6268 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6269 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6270 break;
6271// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6272 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6273 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6274 break;
6275// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6276 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6277 break;
6278// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6279 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6280 break;
6281// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6282 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6283 break;
6284// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6285 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6286 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6287 break;
6288// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
6289 case HIP_API_ID_hipGraphExecUpdate:
6290 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6291 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6292 break;
6293// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
6294 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6295 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6296 break;
6297// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6298 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6299 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6300 break;
6301// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
6302 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6303 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6304 break;
6305// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6306 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6307 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6308 break;
6309// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
6310 case HIP_API_ID_hipGraphGetEdges:
6311 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6312 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6313 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6314 break;
6315// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
6316 case HIP_API_ID_hipGraphGetNodes:
6317 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6318 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6319 break;
6320// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
6321 case HIP_API_ID_hipGraphGetRootNodes:
6322 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6323 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6324 break;
6325// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
6326 case HIP_API_ID_hipGraphHostNodeGetParams:
6327 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6328 break;
6329// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6330 case HIP_API_ID_hipGraphHostNodeSetParams:
6331 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6332 break;
6333// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
6334 case HIP_API_ID_hipGraphInstantiate:
6335 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6336 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6337 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6338 break;
6339// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
6340 case HIP_API_ID_hipGraphInstantiateWithFlags:
6341 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6342 break;
6343// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
6344 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6345 break;
6346// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('hipKernelNodeAttrValue*', 'value')]
6347 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6348 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6349 break;
6350// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
6351 case HIP_API_ID_hipGraphKernelNodeGetParams:
6352 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6353 break;
6354// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('const hipKernelNodeAttrValue*', 'value')]
6355 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6356 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6357 break;
6358// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6359 case HIP_API_ID_hipGraphKernelNodeSetParams:
6360 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6361 break;
6362// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6363 case HIP_API_ID_hipGraphLaunch:
6364 break;
6365// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6366 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6367 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6368 break;
6369// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
6370 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6371 break;
6372// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6373 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6374 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6375 break;
6376// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
6377 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6378 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6379 break;
6380// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6381 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6382 break;
6383// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6384 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6385 break;
6386// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6387 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6388 break;
6389// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
6390 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6391 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6392 break;
6393// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6394 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6395 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6396 break;
6397// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
6398 case HIP_API_ID_hipGraphNodeFindInClone:
6399 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6400 break;
6401// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
6402 case HIP_API_ID_hipGraphNodeGetDependencies:
6403 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6404 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6405 break;
6406// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
6407 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6408 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6409 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6410 break;
6411// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
6412 case HIP_API_ID_hipGraphNodeGetEnabled:
6413 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6414 break;
6415// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
6416 case HIP_API_ID_hipGraphNodeGetType:
6417 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6418 break;
6419// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
6420 case HIP_API_ID_hipGraphNodeSetEnabled:
6421 break;
6422// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6423 case HIP_API_ID_hipGraphReleaseUserObject:
6424 break;
6425// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6426 case HIP_API_ID_hipGraphRemoveDependencies:
6427 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6428 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6429 break;
6430// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
6431 case HIP_API_ID_hipGraphRetainUserObject:
6432 break;
6433// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6434 case HIP_API_ID_hipGraphUpload:
6435 break;
6436// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
6437 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6438 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6439 break;
6440// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
6441 case HIP_API_ID_hipGraphicsGLRegisterImage:
6442 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6443 break;
6444// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6445 case HIP_API_ID_hipGraphicsMapResources:
6446 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6447 break;
6448// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
6449 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6450 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6451 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6452 break;
6453// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
6454 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6455 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6456 break;
6457// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6458 case HIP_API_ID_hipGraphicsUnmapResources:
6459 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6460 break;
6461// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
6462 case HIP_API_ID_hipGraphicsUnregisterResource:
6463 break;
6464// 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')]
6465 case HIP_API_ID_hipHccModuleLaunchKernel:
6466 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6467 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6468 break;
6469// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6470 case HIP_API_ID_hipHostAlloc:
6471 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6472 break;
6473// hipHostFree[('void*', 'ptr')]
6474 case HIP_API_ID_hipHostFree:
6475 break;
6476// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
6477 case HIP_API_ID_hipHostGetDevicePointer:
6478 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6479 break;
6480// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
6481 case HIP_API_ID_hipHostGetFlags:
6482 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6483 break;
6484// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6485 case HIP_API_ID_hipHostMalloc:
6486 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6487 break;
6488// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6489 case HIP_API_ID_hipHostRegister:
6490 break;
6491// hipHostUnregister[('void*', 'hostPtr')]
6492 case HIP_API_ID_hipHostUnregister:
6493 break;
6494// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
6495 case HIP_API_ID_hipImportExternalMemory:
6496 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6497 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6498 break;
6499// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
6500 case HIP_API_ID_hipImportExternalSemaphore:
6501 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6502 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6503 break;
6504// hipInit[('unsigned int', 'flags')]
6505 case HIP_API_ID_hipInit:
6506 break;
6507// hipIpcCloseMemHandle[('void*', 'devPtr')]
6508 case HIP_API_ID_hipIpcCloseMemHandle:
6509 break;
6510// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
6511 case HIP_API_ID_hipIpcGetEventHandle:
6512 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6513 break;
6514// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
6515 case HIP_API_ID_hipIpcGetMemHandle:
6516 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6517 break;
6518// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
6519 case HIP_API_ID_hipIpcOpenEventHandle:
6520 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6521 break;
6522// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
6523 case HIP_API_ID_hipIpcOpenMemHandle:
6524 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6525 break;
6526// hipLaunchByPtr[('const void*', 'hostFunction')]
6527 case HIP_API_ID_hipLaunchByPtr:
6528 break;
6529// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6530 case HIP_API_ID_hipLaunchCooperativeKernel:
6531 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6532 break;
6533// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6534 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6535 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6536 break;
6537// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
6538 case HIP_API_ID_hipLaunchHostFunc:
6539 break;
6540// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6541 case HIP_API_ID_hipLaunchKernel:
6542 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6543 break;
6544// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
6545 case HIP_API_ID_hipMalloc:
6546 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6547 break;
6548// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
6549 case HIP_API_ID_hipMalloc3D:
6550 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6551 break;
6552// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
6553 case HIP_API_ID_hipMalloc3DArray:
6554 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6555 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6556 break;
6557// hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
6558 case HIP_API_ID_hipMallocArray:
6559 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6560 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6561 break;
6562// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
6563 case HIP_API_ID_hipMallocAsync:
6564 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6565 break;
6566// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
6567 case HIP_API_ID_hipMallocFromPoolAsync:
6568 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6569 break;
6570// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
6571 case HIP_API_ID_hipMallocHost:
6572 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6573 break;
6574// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6575 case HIP_API_ID_hipMallocManaged:
6576 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6577 break;
6578// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
6579 case HIP_API_ID_hipMallocMipmappedArray:
6580 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6581 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6582 break;
6583// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
6584 case HIP_API_ID_hipMallocPitch:
6585 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6586 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6587 break;
6588// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
6589 case HIP_API_ID_hipMemAddressFree:
6590 break;
6591// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
6592 case HIP_API_ID_hipMemAddressReserve:
6593 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6594 break;
6595// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
6596 case HIP_API_ID_hipMemAdvise:
6597 break;
6598// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
6599 case HIP_API_ID_hipMemAllocHost:
6600 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6601 break;
6602// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
6603 case HIP_API_ID_hipMemAllocPitch:
6604 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6605 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6606 break;
6607// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
6608 case HIP_API_ID_hipMemCreate:
6609 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6610 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6611 break;
6612// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
6613 case HIP_API_ID_hipMemExportToShareableHandle:
6614 break;
6615// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
6616 case HIP_API_ID_hipMemGetAccess:
6617 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6618 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6619 break;
6620// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
6621 case HIP_API_ID_hipMemGetAddressRange:
6622 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6623 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6624 break;
6625// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
6626 case HIP_API_ID_hipMemGetAllocationGranularity:
6627 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6628 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6629 break;
6630// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
6631 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6632 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6633 break;
6634// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
6635 case HIP_API_ID_hipMemGetInfo:
6636 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6637 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6638 break;
6639// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
6640 case HIP_API_ID_hipMemImportFromShareableHandle:
6641 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6642 break;
6643// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
6644 case HIP_API_ID_hipMemMap:
6645 break;
6646// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
6647 case HIP_API_ID_hipMemMapArrayAsync:
6648 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6649 break;
6650// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
6651 case HIP_API_ID_hipMemPoolCreate:
6652 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6653 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6654 break;
6655// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
6656 case HIP_API_ID_hipMemPoolDestroy:
6657 break;
6658// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
6659 case HIP_API_ID_hipMemPoolExportPointer:
6660 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6661 break;
6662// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6663 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6664 break;
6665// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
6666 case HIP_API_ID_hipMemPoolGetAccess:
6667 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6668 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6669 break;
6670// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6671 case HIP_API_ID_hipMemPoolGetAttribute:
6672 break;
6673// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6674 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6675 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6676 break;
6677// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
6678 case HIP_API_ID_hipMemPoolImportPointer:
6679 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6680 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6681 break;
6682// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
6683 case HIP_API_ID_hipMemPoolSetAccess:
6684 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6685 break;
6686// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6687 case HIP_API_ID_hipMemPoolSetAttribute:
6688 break;
6689// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
6690 case HIP_API_ID_hipMemPoolTrimTo:
6691 break;
6692// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
6693 case HIP_API_ID_hipMemPrefetchAsync:
6694 break;
6695// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
6696 case HIP_API_ID_hipMemPtrGetInfo:
6697 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6698 break;
6699// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6700 case HIP_API_ID_hipMemRangeGetAttribute:
6701 break;
6702// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6703 case HIP_API_ID_hipMemRangeGetAttributes:
6704 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6705 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6706 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6707 break;
6708// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
6709 case HIP_API_ID_hipMemRelease:
6710 break;
6711// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
6712 case HIP_API_ID_hipMemRetainAllocationHandle:
6713 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6714 break;
6715// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
6716 case HIP_API_ID_hipMemSetAccess:
6717 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6718 break;
6719// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
6720 case HIP_API_ID_hipMemUnmap:
6721 break;
6722// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
6723 case HIP_API_ID_hipMemcpy:
6724 break;
6725// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6726 case HIP_API_ID_hipMemcpy2D:
6727 break;
6728// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6729 case HIP_API_ID_hipMemcpy2DAsync:
6730 break;
6731// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6732 case HIP_API_ID_hipMemcpy2DFromArray:
6733 break;
6734// 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')]
6735 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
6736 break;
6737// hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6738 case HIP_API_ID_hipMemcpy2DToArray:
6739 break;
6740// 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')]
6741 case HIP_API_ID_hipMemcpy2DToArrayAsync:
6742 break;
6743// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
6744 case HIP_API_ID_hipMemcpy3D:
6745 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
6746 break;
6747// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
6748 case HIP_API_ID_hipMemcpy3DAsync:
6749 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
6750 break;
6751// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6752 case HIP_API_ID_hipMemcpyAsync:
6753 break;
6754// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
6755 case HIP_API_ID_hipMemcpyAtoH:
6756 break;
6757// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
6758 case HIP_API_ID_hipMemcpyDtoD:
6759 break;
6760// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6761 case HIP_API_ID_hipMemcpyDtoDAsync:
6762 break;
6763// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
6764 case HIP_API_ID_hipMemcpyDtoH:
6765 break;
6766// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6767 case HIP_API_ID_hipMemcpyDtoHAsync:
6768 break;
6769// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6770 case HIP_API_ID_hipMemcpyFromArray:
6771 break;
6772// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6773 case HIP_API_ID_hipMemcpyFromSymbol:
6774 break;
6775// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6776 case HIP_API_ID_hipMemcpyFromSymbolAsync:
6777 break;
6778// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
6779 case HIP_API_ID_hipMemcpyHtoA:
6780 break;
6781// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
6782 case HIP_API_ID_hipMemcpyHtoD:
6783 break;
6784// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6785 case HIP_API_ID_hipMemcpyHtoDAsync:
6786 break;
6787// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
6788 case HIP_API_ID_hipMemcpyParam2D:
6789 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
6790 break;
6791// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
6792 case HIP_API_ID_hipMemcpyParam2DAsync:
6793 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
6794 break;
6795// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
6796 case HIP_API_ID_hipMemcpyPeer:
6797 break;
6798// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6799 case HIP_API_ID_hipMemcpyPeerAsync:
6800 break;
6801// hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6802 case HIP_API_ID_hipMemcpyToArray:
6803 break;
6804// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6805 case HIP_API_ID_hipMemcpyToSymbol:
6806 break;
6807// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6808 case HIP_API_ID_hipMemcpyToSymbolAsync:
6809 break;
6810// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6811 case HIP_API_ID_hipMemcpyWithStream:
6812 break;
6813// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
6814 case HIP_API_ID_hipMemset:
6815 break;
6816// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
6817 case HIP_API_ID_hipMemset2D:
6818 break;
6819// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
6820 case HIP_API_ID_hipMemset2DAsync:
6821 break;
6822// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
6823 case HIP_API_ID_hipMemset3D:
6824 break;
6825// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
6826 case HIP_API_ID_hipMemset3DAsync:
6827 break;
6828// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6829 case HIP_API_ID_hipMemsetAsync:
6830 break;
6831// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
6832 case HIP_API_ID_hipMemsetD16:
6833 break;
6834// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6835 case HIP_API_ID_hipMemsetD16Async:
6836 break;
6837// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
6838 case HIP_API_ID_hipMemsetD32:
6839 break;
6840// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6841 case HIP_API_ID_hipMemsetD32Async:
6842 break;
6843// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
6844 case HIP_API_ID_hipMemsetD8:
6845 break;
6846// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6847 case HIP_API_ID_hipMemsetD8Async:
6848 break;
6849// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
6850 case HIP_API_ID_hipMipmappedArrayCreate:
6851 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
6852 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
6853 break;
6854// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
6855 case HIP_API_ID_hipMipmappedArrayDestroy:
6856 break;
6857// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
6858 case HIP_API_ID_hipMipmappedArrayGetLevel:
6859 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
6860 break;
6861// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
6862 case HIP_API_ID_hipModuleGetFunction:
6863 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
6864 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
6865 break;
6866// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
6867 case HIP_API_ID_hipModuleGetGlobal:
6868 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
6869 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
6870 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
6871 break;
6872// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
6873 case HIP_API_ID_hipModuleGetTexRef:
6874 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
6875 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
6876 break;
6877// 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')]
6878 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
6879 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
6880 break;
6881// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
6882 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
6883 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
6884 break;
6885// 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')]
6886 case HIP_API_ID_hipModuleLaunchKernel:
6887 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
6888 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
6889 break;
6890// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
6891 case HIP_API_ID_hipModuleLoad:
6892 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
6893 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
6894 break;
6895// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
6896 case HIP_API_ID_hipModuleLoadData:
6897 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
6898 break;
6899// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
6900 case HIP_API_ID_hipModuleLoadDataEx:
6901 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
6902 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
6903 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
6904 break;
6905// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
6906 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
6907 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6908 break;
6909// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
6910 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6911 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6912 break;
6913// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
6914 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
6915 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
6916 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
6917 break;
6918// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
6919 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
6920 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
6921 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
6922 break;
6923// hipModuleUnload[('hipModule_t', 'module')]
6924 case HIP_API_ID_hipModuleUnload:
6925 break;
6926// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
6927 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
6928 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6929 break;
6930// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
6931 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6932 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6933 break;
6934// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
6935 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
6936 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
6937 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
6938 break;
6939// hipPeekAtLastError[]
6940 case HIP_API_ID_hipPeekAtLastError:
6941 break;
6942// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
6943 case HIP_API_ID_hipPointerGetAttribute:
6944 break;
6945// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
6946 case HIP_API_ID_hipPointerGetAttributes:
6947 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
6948 break;
6949// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
6950 case HIP_API_ID_hipPointerSetAttribute:
6951 break;
6952// hipProfilerStart[]
6953 case HIP_API_ID_hipProfilerStart:
6954 break;
6955// hipProfilerStop[]
6956 case HIP_API_ID_hipProfilerStop:
6957 break;
6958// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
6959 case HIP_API_ID_hipRuntimeGetVersion:
6960 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
6961 break;
6962// hipSetDevice[('int', 'deviceId')]
6963 case HIP_API_ID_hipSetDevice:
6964 break;
6965// hipSetDeviceFlags[('unsigned int', 'flags')]
6966 case HIP_API_ID_hipSetDeviceFlags:
6967 break;
6968// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
6969 case HIP_API_ID_hipSetupArgument:
6970 break;
6971// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
6972 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
6973 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
6974 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
6975 break;
6976// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
6977 case HIP_API_ID_hipStreamAddCallback:
6978 break;
6979// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
6980 case HIP_API_ID_hipStreamAttachMemAsync:
6981 break;
6982// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
6983 case HIP_API_ID_hipStreamBeginCapture:
6984 break;
6985// hipStreamCreate[('hipStream_t*', 'stream')]
6986 case HIP_API_ID_hipStreamCreate:
6987 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
6988 break;
6989// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
6990 case HIP_API_ID_hipStreamCreateWithFlags:
6991 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
6992 break;
6993// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
6994 case HIP_API_ID_hipStreamCreateWithPriority:
6995 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
6996 break;
6997// hipStreamDestroy[('hipStream_t', 'stream')]
6998 case HIP_API_ID_hipStreamDestroy:
6999 break;
7000// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
7001 case HIP_API_ID_hipStreamEndCapture:
7002 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7003 break;
7004// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
7005 case HIP_API_ID_hipStreamGetCaptureInfo:
7006 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7007 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7008 break;
7009// 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')]
7010 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7011 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7012 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7013 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7014 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7015 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7016 break;
7017// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
7018 case HIP_API_ID_hipStreamGetDevice:
7019 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7020 break;
7021// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
7022 case HIP_API_ID_hipStreamGetFlags:
7023 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7024 break;
7025// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
7026 case HIP_API_ID_hipStreamGetPriority:
7027 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7028 break;
7029// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
7030 case HIP_API_ID_hipStreamIsCapturing:
7031 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7032 break;
7033// hipStreamQuery[('hipStream_t', 'stream')]
7034 case HIP_API_ID_hipStreamQuery:
7035 break;
7036// hipStreamSynchronize[('hipStream_t', 'stream')]
7037 case HIP_API_ID_hipStreamSynchronize:
7038 break;
7039// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
7040 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7041 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7042 break;
7043// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
7044 case HIP_API_ID_hipStreamWaitEvent:
7045 break;
7046// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
7047 case HIP_API_ID_hipStreamWaitValue32:
7048 break;
7049// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
7050 case HIP_API_ID_hipStreamWaitValue64:
7051 break;
7052// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
7053 case HIP_API_ID_hipStreamWriteValue32:
7054 break;
7055// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
7056 case HIP_API_ID_hipStreamWriteValue64:
7057 break;
7058// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
7059 case HIP_API_ID_hipTexRefGetAddress:
7060 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7061 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7062 break;
7063// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
7064 case HIP_API_ID_hipTexRefGetFlags:
7065 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7066 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7067 break;
7068// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
7069 case HIP_API_ID_hipTexRefGetFormat:
7070 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7071 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7072 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7073 break;
7074// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
7075 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7076 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7077 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7078 break;
7079// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
7080 case HIP_API_ID_hipTexRefGetMipMappedArray:
7081 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7082 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7083 break;
7084// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
7085 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7086 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7087 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7088 break;
7089// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
7090 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7091 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7092 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7093 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7094 break;
7095// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
7096 case HIP_API_ID_hipTexRefSetAddress:
7097 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7098 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7099 break;
7100// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
7101 case HIP_API_ID_hipTexRefSetAddress2D:
7102 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7103 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7104 break;
7105// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
7106 case HIP_API_ID_hipTexRefSetArray:
7107 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7108 break;
7109// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
7110 case HIP_API_ID_hipTexRefSetBorderColor:
7111 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7112 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7113 break;
7114// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
7115 case HIP_API_ID_hipTexRefSetFlags:
7116 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7117 break;
7118// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
7119 case HIP_API_ID_hipTexRefSetFormat:
7120 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7121 break;
7122// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
7123 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7124 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7125 break;
7126// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
7127 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7128 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7129 break;
7130// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
7131 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7132 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7133 break;
7134// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
7135 case HIP_API_ID_hipTexRefSetMipmappedArray:
7136 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7137 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7138 break;
7139// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
7140 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7141 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7142 break;
7143// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
7144 case HIP_API_ID_hipUserObjectCreate:
7145 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7146 break;
7147// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7148 case HIP_API_ID_hipUserObjectRelease:
7149 break;
7150// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7151 case HIP_API_ID_hipUserObjectRetain:
7152 break;
7153// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
7154 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7155 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7156 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7157 break;
7158 default: break;
7159 };
7160}
7161
7162#include <sstream>
7163#include <string>
7164// HIP API string method, method name and parameters
7165static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* data) {
7166 std::ostringstream oss;
7167 switch (id) {
7168 case HIP_API_ID___hipPopCallConfiguration:
7169 oss << "__hipPopCallConfiguration(";
7170 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss << "gridDim=NULL";
7171 else { oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7172 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss << ", blockDim=NULL";
7173 else { oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7174 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss << ", sharedMem=NULL";
7175 else { oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7176 if (data->args.__hipPopCallConfiguration.stream == NULL) oss << ", stream=NULL";
7177 else { oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7178 oss << ")";
7179 break;
7180 case HIP_API_ID___hipPushCallConfiguration:
7181 oss << "__hipPushCallConfiguration(";
7182 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7183 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7184 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7185 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7186 oss << ")";
7187 break;
7188 case HIP_API_ID_hipArray3DCreate:
7189 oss << "hipArray3DCreate(";
7190 if (data->args.hipArray3DCreate.array == NULL) oss << "array=NULL";
7191 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipArray3DCreate.array__val); }
7192 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7193 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7194 oss << ")";
7195 break;
7196 case HIP_API_ID_hipArray3DGetDescriptor:
7197 oss << "hipArray3DGetDescriptor(";
7198 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7199 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7200 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7201 oss << ")";
7202 break;
7203 case HIP_API_ID_hipArrayCreate:
7204 oss << "hipArrayCreate(";
7205 if (data->args.hipArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
7206 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipArrayCreate.pHandle__val); }
7207 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7208 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7209 oss << ")";
7210 break;
7211 case HIP_API_ID_hipArrayDestroy:
7212 oss << "hipArrayDestroy(";
7213 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7214 oss << ")";
7215 break;
7216 case HIP_API_ID_hipArrayGetDescriptor:
7217 oss << "hipArrayGetDescriptor(";
7218 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7219 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7220 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7221 oss << ")";
7222 break;
7223 case HIP_API_ID_hipArrayGetInfo:
7224 oss << "hipArrayGetInfo(";
7225 if (data->args.hipArrayGetInfo.desc == NULL) oss << "desc=NULL";
7226 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7227 if (data->args.hipArrayGetInfo.extent == NULL) oss << ", extent=NULL";
7228 else { oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7229 if (data->args.hipArrayGetInfo.flags == NULL) oss << ", flags=NULL";
7230 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7231 if (data->args.hipArrayGetInfo.array == NULL) oss << ", array=NULL";
7232 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7233 oss << ")";
7234 break;
7235 case HIP_API_ID_hipChooseDeviceR0000:
7236 oss << "hipChooseDeviceR0000(";
7237 if (data->args.hipChooseDeviceR0000.device == NULL) oss << "device=NULL";
7238 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7239 if (data->args.hipChooseDeviceR0000.prop == NULL) oss << ", prop=NULL";
7240 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7241 oss << ")";
7242 break;
7243 case HIP_API_ID_hipChooseDeviceR0600:
7244 oss << "hipChooseDeviceR0600(";
7245 if (data->args.hipChooseDeviceR0600.device == NULL) oss << "device=NULL";
7246 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7247 if (data->args.hipChooseDeviceR0600.prop == NULL) oss << ", prop=NULL";
7248 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7249 oss << ")";
7250 break;
7251 case HIP_API_ID_hipConfigureCall:
7252 oss << "hipConfigureCall(";
7253 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7254 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7255 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7256 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7257 oss << ")";
7258 break;
7259 case HIP_API_ID_hipCreateSurfaceObject:
7260 oss << "hipCreateSurfaceObject(";
7261 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss << "pSurfObject=NULL";
7262 else { oss << "pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7263 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss << ", pResDesc=NULL";
7264 else { oss << ", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7265 oss << ")";
7266 break;
7267 case HIP_API_ID_hipCtxCreate:
7268 oss << "hipCtxCreate(";
7269 if (data->args.hipCtxCreate.ctx == NULL) oss << "ctx=NULL";
7270 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7271 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7272 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7273 oss << ")";
7274 break;
7275 case HIP_API_ID_hipCtxDestroy:
7276 oss << "hipCtxDestroy(";
7277 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7278 oss << ")";
7279 break;
7280 case HIP_API_ID_hipCtxDisablePeerAccess:
7281 oss << "hipCtxDisablePeerAccess(";
7282 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7283 oss << ")";
7284 break;
7285 case HIP_API_ID_hipCtxEnablePeerAccess:
7286 oss << "hipCtxEnablePeerAccess(";
7287 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7288 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7289 oss << ")";
7290 break;
7291 case HIP_API_ID_hipCtxGetApiVersion:
7292 oss << "hipCtxGetApiVersion(";
7293 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7294 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss << ", apiVersion=NULL";
7295 else { oss << ", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7296 oss << ")";
7297 break;
7298 case HIP_API_ID_hipCtxGetCacheConfig:
7299 oss << "hipCtxGetCacheConfig(";
7300 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7301 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7302 oss << ")";
7303 break;
7304 case HIP_API_ID_hipCtxGetCurrent:
7305 oss << "hipCtxGetCurrent(";
7306 if (data->args.hipCtxGetCurrent.ctx == NULL) oss << "ctx=NULL";
7307 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7308 oss << ")";
7309 break;
7310 case HIP_API_ID_hipCtxGetDevice:
7311 oss << "hipCtxGetDevice(";
7312 if (data->args.hipCtxGetDevice.device == NULL) oss << "device=NULL";
7313 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7314 oss << ")";
7315 break;
7316 case HIP_API_ID_hipCtxGetFlags:
7317 oss << "hipCtxGetFlags(";
7318 if (data->args.hipCtxGetFlags.flags == NULL) oss << "flags=NULL";
7319 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7320 oss << ")";
7321 break;
7322 case HIP_API_ID_hipCtxGetSharedMemConfig:
7323 oss << "hipCtxGetSharedMemConfig(";
7324 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7325 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7326 oss << ")";
7327 break;
7328 case HIP_API_ID_hipCtxPopCurrent:
7329 oss << "hipCtxPopCurrent(";
7330 if (data->args.hipCtxPopCurrent.ctx == NULL) oss << "ctx=NULL";
7331 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7332 oss << ")";
7333 break;
7334 case HIP_API_ID_hipCtxPushCurrent:
7335 oss << "hipCtxPushCurrent(";
7336 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7337 oss << ")";
7338 break;
7339 case HIP_API_ID_hipCtxSetCacheConfig:
7340 oss << "hipCtxSetCacheConfig(";
7341 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7342 oss << ")";
7343 break;
7344 case HIP_API_ID_hipCtxSetCurrent:
7345 oss << "hipCtxSetCurrent(";
7346 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7347 oss << ")";
7348 break;
7349 case HIP_API_ID_hipCtxSetSharedMemConfig:
7350 oss << "hipCtxSetSharedMemConfig(";
7351 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7352 oss << ")";
7353 break;
7354 case HIP_API_ID_hipCtxSynchronize:
7355 oss << "hipCtxSynchronize(";
7356 oss << ")";
7357 break;
7358 case HIP_API_ID_hipDestroyExternalMemory:
7359 oss << "hipDestroyExternalMemory(";
7360 oss << "extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7361 oss << ")";
7362 break;
7363 case HIP_API_ID_hipDestroyExternalSemaphore:
7364 oss << "hipDestroyExternalSemaphore(";
7365 oss << "extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7366 oss << ")";
7367 break;
7368 case HIP_API_ID_hipDestroySurfaceObject:
7369 oss << "hipDestroySurfaceObject(";
7370 oss << "surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7371 oss << ")";
7372 break;
7373 case HIP_API_ID_hipDeviceCanAccessPeer:
7374 oss << "hipDeviceCanAccessPeer(";
7375 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss << "canAccessPeer=NULL";
7376 else { oss << "canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7377 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7378 oss << ", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7379 oss << ")";
7380 break;
7381 case HIP_API_ID_hipDeviceComputeCapability:
7382 oss << "hipDeviceComputeCapability(";
7383 if (data->args.hipDeviceComputeCapability.major == NULL) oss << "major=NULL";
7384 else { oss << "major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7385 if (data->args.hipDeviceComputeCapability.minor == NULL) oss << ", minor=NULL";
7386 else { oss << ", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7387 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7388 oss << ")";
7389 break;
7390 case HIP_API_ID_hipDeviceDisablePeerAccess:
7391 oss << "hipDeviceDisablePeerAccess(";
7392 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7393 oss << ")";
7394 break;
7395 case HIP_API_ID_hipDeviceEnablePeerAccess:
7396 oss << "hipDeviceEnablePeerAccess(";
7397 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7398 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7399 oss << ")";
7400 break;
7401 case HIP_API_ID_hipDeviceGet:
7402 oss << "hipDeviceGet(";
7403 if (data->args.hipDeviceGet.device == NULL) oss << "device=NULL";
7404 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7405 oss << ", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7406 oss << ")";
7407 break;
7408 case HIP_API_ID_hipDeviceGetAttribute:
7409 oss << "hipDeviceGetAttribute(";
7410 if (data->args.hipDeviceGetAttribute.pi == NULL) oss << "pi=NULL";
7411 else { oss << "pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7412 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7413 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7414 oss << ")";
7415 break;
7416 case HIP_API_ID_hipDeviceGetByPCIBusId:
7417 oss << "hipDeviceGetByPCIBusId(";
7418 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss << "device=NULL";
7419 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7420 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss << ", pciBusId=NULL";
7421 else { oss << ", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7422 oss << ")";
7423 break;
7424 case HIP_API_ID_hipDeviceGetCacheConfig:
7425 oss << "hipDeviceGetCacheConfig(";
7426 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7427 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7428 oss << ")";
7429 break;
7430 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7431 oss << "hipDeviceGetDefaultMemPool(";
7432 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7433 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7434 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7435 oss << ")";
7436 break;
7437 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7438 oss << "hipDeviceGetGraphMemAttribute(";
7439 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7440 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7441 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7442 oss << ")";
7443 break;
7444 case HIP_API_ID_hipDeviceGetLimit:
7445 oss << "hipDeviceGetLimit(";
7446 if (data->args.hipDeviceGetLimit.pValue == NULL) oss << "pValue=NULL";
7447 else { oss << "pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7448 oss << ", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7449 oss << ")";
7450 break;
7451 case HIP_API_ID_hipDeviceGetMemPool:
7452 oss << "hipDeviceGetMemPool(";
7453 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7454 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7455 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7456 oss << ")";
7457 break;
7458 case HIP_API_ID_hipDeviceGetName:
7459 oss << "hipDeviceGetName(";
7460 if (data->args.hipDeviceGetName.name == NULL) oss << "name=NULL";
7461 else { oss << "name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7462 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7463 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7464 oss << ")";
7465 break;
7466 case HIP_API_ID_hipDeviceGetP2PAttribute:
7467 oss << "hipDeviceGetP2PAttribute(";
7468 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss << "value=NULL";
7469 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7470 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7471 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7472 oss << ", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7473 oss << ")";
7474 break;
7475 case HIP_API_ID_hipDeviceGetPCIBusId:
7476 oss << "hipDeviceGetPCIBusId(";
7477 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss << "pciBusId=NULL";
7478 else { oss << "pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7479 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7480 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7481 oss << ")";
7482 break;
7483 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7484 oss << "hipDeviceGetSharedMemConfig(";
7485 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7486 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7487 oss << ")";
7488 break;
7489 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7490 oss << "hipDeviceGetStreamPriorityRange(";
7491 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss << "leastPriority=NULL";
7492 else { oss << "leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7493 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss << ", greatestPriority=NULL";
7494 else { oss << ", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7495 oss << ")";
7496 break;
7497 case HIP_API_ID_hipDeviceGetUuid:
7498 oss << "hipDeviceGetUuid(";
7499 if (data->args.hipDeviceGetUuid.uuid == NULL) oss << "uuid=NULL";
7500 else { oss << "uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7501 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7502 oss << ")";
7503 break;
7504 case HIP_API_ID_hipDeviceGraphMemTrim:
7505 oss << "hipDeviceGraphMemTrim(";
7506 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7507 oss << ")";
7508 break;
7509 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7510 oss << "hipDevicePrimaryCtxGetState(";
7511 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7512 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss << ", flags=NULL";
7513 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7514 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss << ", active=NULL";
7515 else { oss << ", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7516 oss << ")";
7517 break;
7518 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7519 oss << "hipDevicePrimaryCtxRelease(";
7520 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7521 oss << ")";
7522 break;
7523 case HIP_API_ID_hipDevicePrimaryCtxReset:
7524 oss << "hipDevicePrimaryCtxReset(";
7525 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7526 oss << ")";
7527 break;
7528 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7529 oss << "hipDevicePrimaryCtxRetain(";
7530 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss << "pctx=NULL";
7531 else { oss << "pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7532 oss << ", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7533 oss << ")";
7534 break;
7535 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7536 oss << "hipDevicePrimaryCtxSetFlags(";
7537 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7538 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7539 oss << ")";
7540 break;
7541 case HIP_API_ID_hipDeviceReset:
7542 oss << "hipDeviceReset(";
7543 oss << ")";
7544 break;
7545 case HIP_API_ID_hipDeviceSetCacheConfig:
7546 oss << "hipDeviceSetCacheConfig(";
7547 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7548 oss << ")";
7549 break;
7550 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7551 oss << "hipDeviceSetGraphMemAttribute(";
7552 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7553 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7554 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7555 oss << ")";
7556 break;
7557 case HIP_API_ID_hipDeviceSetLimit:
7558 oss << "hipDeviceSetLimit(";
7559 oss << "limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7560 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7561 oss << ")";
7562 break;
7563 case HIP_API_ID_hipDeviceSetMemPool:
7564 oss << "hipDeviceSetMemPool(";
7565 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7566 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7567 oss << ")";
7568 break;
7569 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7570 oss << "hipDeviceSetSharedMemConfig(";
7571 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7572 oss << ")";
7573 break;
7574 case HIP_API_ID_hipDeviceSynchronize:
7575 oss << "hipDeviceSynchronize(";
7576 oss << ")";
7577 break;
7578 case HIP_API_ID_hipDeviceTotalMem:
7579 oss << "hipDeviceTotalMem(";
7580 if (data->args.hipDeviceTotalMem.bytes == NULL) oss << "bytes=NULL";
7581 else { oss << "bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7582 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7583 oss << ")";
7584 break;
7585 case HIP_API_ID_hipDriverGetVersion:
7586 oss << "hipDriverGetVersion(";
7587 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss << "driverVersion=NULL";
7588 else { oss << "driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7589 oss << ")";
7590 break;
7591 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
7592 oss << "hipDrvGraphAddMemcpyNode(";
7593 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
7594 else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
7595 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
7596 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss << ", dependencies=NULL";
7597 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
7598 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
7599 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss << ", copyParams=NULL";
7600 else { oss << ", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
7601 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
7602 oss << ")";
7603 break;
7604 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
7605 oss << "hipDrvGraphMemcpyNodeGetParams(";
7606 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
7607 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
7608 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
7609 oss << ")";
7610 break;
7611 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
7612 oss << "hipDrvGraphMemcpyNodeSetParams(";
7613 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
7614 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
7615 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
7616 oss << ")";
7617 break;
7618 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7619 oss << "hipDrvMemcpy2DUnaligned(";
7620 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss << "pCopy=NULL";
7621 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7622 oss << ")";
7623 break;
7624 case HIP_API_ID_hipDrvMemcpy3D:
7625 oss << "hipDrvMemcpy3D(";
7626 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss << "pCopy=NULL";
7627 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7628 oss << ")";
7629 break;
7630 case HIP_API_ID_hipDrvMemcpy3DAsync:
7631 oss << "hipDrvMemcpy3DAsync(";
7632 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss << "pCopy=NULL";
7633 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7634 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7635 oss << ")";
7636 break;
7637 case HIP_API_ID_hipDrvPointerGetAttributes:
7638 oss << "hipDrvPointerGetAttributes(";
7639 oss << "numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7640 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss << ", attributes=NULL";
7641 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7642 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss << ", data=NULL";
7643 else { oss << ", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7644 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7645 oss << ")";
7646 break;
7647 case HIP_API_ID_hipEventCreate:
7648 oss << "hipEventCreate(";
7649 if (data->args.hipEventCreate.event == NULL) oss << "event=NULL";
7650 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7651 oss << ")";
7652 break;
7653 case HIP_API_ID_hipEventCreateWithFlags:
7654 oss << "hipEventCreateWithFlags(";
7655 if (data->args.hipEventCreateWithFlags.event == NULL) oss << "event=NULL";
7656 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7657 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7658 oss << ")";
7659 break;
7660 case HIP_API_ID_hipEventDestroy:
7661 oss << "hipEventDestroy(";
7662 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7663 oss << ")";
7664 break;
7665 case HIP_API_ID_hipEventElapsedTime:
7666 oss << "hipEventElapsedTime(";
7667 if (data->args.hipEventElapsedTime.ms == NULL) oss << "ms=NULL";
7668 else { oss << "ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7669 oss << ", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7670 oss << ", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7671 oss << ")";
7672 break;
7673 case HIP_API_ID_hipEventQuery:
7674 oss << "hipEventQuery(";
7675 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7676 oss << ")";
7677 break;
7678 case HIP_API_ID_hipEventRecord:
7679 oss << "hipEventRecord(";
7680 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7681 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7682 oss << ")";
7683 break;
7684 case HIP_API_ID_hipEventSynchronize:
7685 oss << "hipEventSynchronize(";
7686 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7687 oss << ")";
7688 break;
7689 case HIP_API_ID_hipExtGetLastError:
7690 oss << "hipExtGetLastError(";
7691 oss << ")";
7692 break;
7693 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7694 oss << "hipExtGetLinkTypeAndHopCount(";
7695 oss << "device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
7696 oss << ", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
7697 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss << ", linktype=NULL";
7698 else { oss << ", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
7699 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss << ", hopcount=NULL";
7700 else { oss << ", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
7701 oss << ")";
7702 break;
7703 case HIP_API_ID_hipExtLaunchKernel:
7704 oss << "hipExtLaunchKernel(";
7705 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
7706 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
7707 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
7708 if (data->args.hipExtLaunchKernel.args == NULL) oss << ", args=NULL";
7709 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
7710 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
7711 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
7712 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
7713 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
7714 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
7715 oss << ")";
7716 break;
7717 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
7718 oss << "hipExtLaunchMultiKernelMultiDevice(";
7719 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
7720 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
7721 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
7722 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
7723 oss << ")";
7724 break;
7725 case HIP_API_ID_hipExtMallocWithFlags:
7726 oss << "hipExtMallocWithFlags(";
7727 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss << "ptr=NULL";
7728 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
7729 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
7730 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
7731 oss << ")";
7732 break;
7733 case HIP_API_ID_hipExtModuleLaunchKernel:
7734 oss << "hipExtModuleLaunchKernel(";
7735 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
7736 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
7737 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
7738 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
7739 oss << ", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
7740 oss << ", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
7741 oss << ", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
7742 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
7743 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
7744 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
7745 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
7746 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
7747 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
7748 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
7749 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
7750 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
7751 oss << ")";
7752 break;
7753 case HIP_API_ID_hipExtStreamCreateWithCUMask:
7754 oss << "hipExtStreamCreateWithCUMask(";
7755 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss << "stream=NULL";
7756 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
7757 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
7758 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss << ", cuMask=NULL";
7759 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
7760 oss << ")";
7761 break;
7762 case HIP_API_ID_hipExtStreamGetCUMask:
7763 oss << "hipExtStreamGetCUMask(";
7764 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
7765 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
7766 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss << ", cuMask=NULL";
7767 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
7768 oss << ")";
7769 break;
7770 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
7771 oss << "hipExternalMemoryGetMappedBuffer(";
7772 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss << "devPtr=NULL";
7773 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
7774 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
7775 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss << ", bufferDesc=NULL";
7776 else { oss << ", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
7777 oss << ")";
7778 break;
7779 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
7780 oss << "hipExternalMemoryGetMappedMipmappedArray(";
7781 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss << "mipmap=NULL";
7782 else { oss << "mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
7783 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
7784 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss << ", mipmapDesc=NULL";
7785 else { oss << ", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
7786 oss << ")";
7787 break;
7788 case HIP_API_ID_hipFree:
7789 oss << "hipFree(";
7790 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
7791 oss << ")";
7792 break;
7793 case HIP_API_ID_hipFreeArray:
7794 oss << "hipFreeArray(";
7795 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
7796 oss << ")";
7797 break;
7798 case HIP_API_ID_hipFreeAsync:
7799 oss << "hipFreeAsync(";
7800 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
7801 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
7802 oss << ")";
7803 break;
7804 case HIP_API_ID_hipFreeHost:
7805 oss << "hipFreeHost(";
7806 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
7807 oss << ")";
7808 break;
7809 case HIP_API_ID_hipFreeMipmappedArray:
7810 oss << "hipFreeMipmappedArray(";
7811 oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
7812 oss << ")";
7813 break;
7814 case HIP_API_ID_hipFuncGetAttribute:
7815 oss << "hipFuncGetAttribute(";
7816 if (data->args.hipFuncGetAttribute.value == NULL) oss << "value=NULL";
7817 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
7818 oss << ", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
7819 oss << ", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
7820 oss << ")";
7821 break;
7822 case HIP_API_ID_hipFuncGetAttributes:
7823 oss << "hipFuncGetAttributes(";
7824 if (data->args.hipFuncGetAttributes.attr == NULL) oss << "attr=NULL";
7825 else { oss << "attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
7826 oss << ", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
7827 oss << ")";
7828 break;
7829 case HIP_API_ID_hipFuncSetAttribute:
7830 oss << "hipFuncSetAttribute(";
7831 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
7832 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
7833 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
7834 oss << ")";
7835 break;
7836 case HIP_API_ID_hipFuncSetCacheConfig:
7837 oss << "hipFuncSetCacheConfig(";
7838 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
7839 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
7840 oss << ")";
7841 break;
7842 case HIP_API_ID_hipFuncSetSharedMemConfig:
7843 oss << "hipFuncSetSharedMemConfig(";
7844 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
7845 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
7846 oss << ")";
7847 break;
7848 case HIP_API_ID_hipGLGetDevices:
7849 oss << "hipGLGetDevices(";
7850 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss << "pHipDeviceCount=NULL";
7851 else { oss << "pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
7852 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss << ", pHipDevices=NULL";
7853 else { oss << ", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
7854 oss << ", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
7855 oss << ", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
7856 oss << ")";
7857 break;
7858 case HIP_API_ID_hipGetChannelDesc:
7859 oss << "hipGetChannelDesc(";
7860 if (data->args.hipGetChannelDesc.desc == NULL) oss << "desc=NULL";
7861 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
7862 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
7863 oss << ")";
7864 break;
7865 case HIP_API_ID_hipGetDevice:
7866 oss << "hipGetDevice(";
7867 if (data->args.hipGetDevice.deviceId == NULL) oss << "deviceId=NULL";
7868 else { oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
7869 oss << ")";
7870 break;
7871 case HIP_API_ID_hipGetDeviceCount:
7872 oss << "hipGetDeviceCount(";
7873 if (data->args.hipGetDeviceCount.count == NULL) oss << "count=NULL";
7874 else { oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
7875 oss << ")";
7876 break;
7877 case HIP_API_ID_hipGetDeviceFlags:
7878 oss << "hipGetDeviceFlags(";
7879 if (data->args.hipGetDeviceFlags.flags == NULL) oss << "flags=NULL";
7880 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
7881 oss << ")";
7882 break;
7883 case HIP_API_ID_hipGetDevicePropertiesR0000:
7884 oss << "hipGetDevicePropertiesR0000(";
7885 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss << "prop=NULL";
7886 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
7887 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
7888 oss << ")";
7889 break;
7890 case HIP_API_ID_hipGetDevicePropertiesR0600:
7891 oss << "hipGetDevicePropertiesR0600(";
7892 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss << "prop=NULL";
7893 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
7894 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
7895 oss << ")";
7896 break;
7897 case HIP_API_ID_hipGetErrorString:
7898 oss << "hipGetErrorString(";
7899 oss << ")";
7900 break;
7901 case HIP_API_ID_hipGetLastError:
7902 oss << "hipGetLastError(";
7903 oss << ")";
7904 break;
7905 case HIP_API_ID_hipGetMipmappedArrayLevel:
7906 oss << "hipGetMipmappedArrayLevel(";
7907 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss << "levelArray=NULL";
7908 else { oss << "levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
7909 oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
7910 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
7911 oss << ")";
7912 break;
7913 case HIP_API_ID_hipGetSymbolAddress:
7914 oss << "hipGetSymbolAddress(";
7915 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss << "devPtr=NULL";
7916 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
7917 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
7918 oss << ")";
7919 break;
7920 case HIP_API_ID_hipGetSymbolSize:
7921 oss << "hipGetSymbolSize(";
7922 if (data->args.hipGetSymbolSize.size == NULL) oss << "size=NULL";
7923 else { oss << "size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
7924 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
7925 oss << ")";
7926 break;
7927 case HIP_API_ID_hipGraphAddChildGraphNode:
7928 oss << "hipGraphAddChildGraphNode(";
7929 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7930 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
7931 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
7932 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7933 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
7934 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
7935 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
7936 oss << ")";
7937 break;
7938 case HIP_API_ID_hipGraphAddDependencies:
7939 oss << "hipGraphAddDependencies(";
7940 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
7941 if (data->args.hipGraphAddDependencies.from == NULL) oss << ", from=NULL";
7942 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
7943 if (data->args.hipGraphAddDependencies.to == NULL) oss << ", to=NULL";
7944 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
7945 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
7946 oss << ")";
7947 break;
7948 case HIP_API_ID_hipGraphAddEmptyNode:
7949 oss << "hipGraphAddEmptyNode(";
7950 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7951 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
7952 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
7953 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7954 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
7955 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
7956 oss << ")";
7957 break;
7958 case HIP_API_ID_hipGraphAddEventRecordNode:
7959 oss << "hipGraphAddEventRecordNode(";
7960 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7961 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
7962 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
7963 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7964 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
7965 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
7966 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
7967 oss << ")";
7968 break;
7969 case HIP_API_ID_hipGraphAddEventWaitNode:
7970 oss << "hipGraphAddEventWaitNode(";
7971 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7972 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
7973 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
7974 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7975 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
7976 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
7977 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
7978 oss << ")";
7979 break;
7980 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
7981 oss << "hipGraphAddExternalSemaphoresSignalNode(";
7982 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7983 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
7984 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
7985 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7986 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
7987 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
7988 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss << ", nodeParams=NULL";
7989 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
7990 oss << ")";
7991 break;
7992 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
7993 oss << "hipGraphAddExternalSemaphoresWaitNode(";
7994 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7995 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
7996 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
7997 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7998 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
7999 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8000 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8001 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8002 oss << ")";
8003 break;
8004 case HIP_API_ID_hipGraphAddHostNode:
8005 oss << "hipGraphAddHostNode(";
8006 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8007 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8008 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8009 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8010 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8011 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8012 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8013 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8014 oss << ")";
8015 break;
8016 case HIP_API_ID_hipGraphAddKernelNode:
8017 oss << "hipGraphAddKernelNode(";
8018 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8019 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8020 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8021 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8022 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8023 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8024 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8025 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8026 oss << ")";
8027 break;
8028 case HIP_API_ID_hipGraphAddMemAllocNode:
8029 oss << "hipGraphAddMemAllocNode(";
8030 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8031 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8032 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8033 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8034 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8035 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8036 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8037 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8038 oss << ")";
8039 break;
8040 case HIP_API_ID_hipGraphAddMemFreeNode:
8041 oss << "hipGraphAddMemFreeNode(";
8042 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8043 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8044 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8045 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8046 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8047 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8048 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8049 oss << ")";
8050 break;
8051 case HIP_API_ID_hipGraphAddMemcpyNode:
8052 oss << "hipGraphAddMemcpyNode(";
8053 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8054 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8055 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8056 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8057 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8058 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8059 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss << ", pCopyParams=NULL";
8060 else { oss << ", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8061 oss << ")";
8062 break;
8063 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8064 oss << "hipGraphAddMemcpyNode1D(";
8065 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss << "pGraphNode=NULL";
8066 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8067 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8068 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss << ", pDependencies=NULL";
8069 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8070 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8071 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8072 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8073 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8074 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8075 oss << ")";
8076 break;
8077 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8078 oss << "hipGraphAddMemcpyNodeFromSymbol(";
8079 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8080 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8081 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8082 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8083 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8084 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8085 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8086 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8087 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8088 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8089 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8090 oss << ")";
8091 break;
8092 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8093 oss << "hipGraphAddMemcpyNodeToSymbol(";
8094 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8095 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8096 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8097 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8098 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8099 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8100 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8101 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8102 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8103 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8104 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8105 oss << ")";
8106 break;
8107 case HIP_API_ID_hipGraphAddMemsetNode:
8108 oss << "hipGraphAddMemsetNode(";
8109 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8110 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8111 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8112 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8113 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8114 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8115 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss << ", pMemsetParams=NULL";
8116 else { oss << ", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8117 oss << ")";
8118 break;
8119 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8120 oss << "hipGraphChildGraphNodeGetGraph(";
8121 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8122 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss << ", pGraph=NULL";
8123 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8124 oss << ")";
8125 break;
8126 case HIP_API_ID_hipGraphClone:
8127 oss << "hipGraphClone(";
8128 if (data->args.hipGraphClone.pGraphClone == NULL) oss << "pGraphClone=NULL";
8129 else { oss << "pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8130 oss << ", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8131 oss << ")";
8132 break;
8133 case HIP_API_ID_hipGraphCreate:
8134 oss << "hipGraphCreate(";
8135 if (data->args.hipGraphCreate.pGraph == NULL) oss << "pGraph=NULL";
8136 else { oss << "pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8137 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8138 oss << ")";
8139 break;
8140 case HIP_API_ID_hipGraphDebugDotPrint:
8141 oss << "hipGraphDebugDotPrint(";
8142 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8143 if (data->args.hipGraphDebugDotPrint.path == NULL) oss << ", path=NULL";
8144 else { oss << ", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8145 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8146 oss << ")";
8147 break;
8148 case HIP_API_ID_hipGraphDestroy:
8149 oss << "hipGraphDestroy(";
8150 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8151 oss << ")";
8152 break;
8153 case HIP_API_ID_hipGraphDestroyNode:
8154 oss << "hipGraphDestroyNode(";
8155 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8156 oss << ")";
8157 break;
8158 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8159 oss << "hipGraphEventRecordNodeGetEvent(";
8160 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8161 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8162 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8163 oss << ")";
8164 break;
8165 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8166 oss << "hipGraphEventRecordNodeSetEvent(";
8167 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8168 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8169 oss << ")";
8170 break;
8171 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8172 oss << "hipGraphEventWaitNodeGetEvent(";
8173 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8174 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8175 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8176 oss << ")";
8177 break;
8178 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8179 oss << "hipGraphEventWaitNodeSetEvent(";
8180 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8181 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8182 oss << ")";
8183 break;
8184 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8185 oss << "hipGraphExecChildGraphNodeSetParams(";
8186 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8187 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8188 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8189 oss << ")";
8190 break;
8191 case HIP_API_ID_hipGraphExecDestroy:
8192 oss << "hipGraphExecDestroy(";
8193 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8194 oss << ")";
8195 break;
8196 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8197 oss << "hipGraphExecEventRecordNodeSetEvent(";
8198 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8199 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8200 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8201 oss << ")";
8202 break;
8203 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8204 oss << "hipGraphExecEventWaitNodeSetEvent(";
8205 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8206 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8207 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8208 oss << ")";
8209 break;
8210 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8211 oss << "hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8212 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8213 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8214 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8215 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8216 oss << ")";
8217 break;
8218 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8219 oss << "hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8220 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8221 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8222 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8223 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8224 oss << ")";
8225 break;
8226 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8227 oss << "hipGraphExecHostNodeSetParams(";
8228 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8229 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8230 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8231 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8232 oss << ")";
8233 break;
8234 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8235 oss << "hipGraphExecKernelNodeSetParams(";
8236 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8237 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8238 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8239 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8240 oss << ")";
8241 break;
8242 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8243 oss << "hipGraphExecMemcpyNodeSetParams(";
8244 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8245 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8246 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8247 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8248 oss << ")";
8249 break;
8250 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8251 oss << "hipGraphExecMemcpyNodeSetParams1D(";
8252 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8253 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8254 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8255 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8256 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8257 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8258 oss << ")";
8259 break;
8260 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8261 oss << "hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8262 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8263 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8264 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8265 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8266 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8267 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8268 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8269 oss << ")";
8270 break;
8271 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8272 oss << "hipGraphExecMemcpyNodeSetParamsToSymbol(";
8273 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8274 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8275 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8276 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8277 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8278 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8279 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8280 oss << ")";
8281 break;
8282 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8283 oss << "hipGraphExecMemsetNodeSetParams(";
8284 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8285 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8286 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8287 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8288 oss << ")";
8289 break;
8290 case HIP_API_ID_hipGraphExecUpdate:
8291 oss << "hipGraphExecUpdate(";
8292 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8293 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8294 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss << ", hErrorNode_out=NULL";
8295 else { oss << ", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8296 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss << ", updateResult_out=NULL";
8297 else { oss << ", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8298 oss << ")";
8299 break;
8300 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8301 oss << "hipGraphExternalSemaphoresSignalNodeGetParams(";
8302 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8303 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8304 else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8305 oss << ")";
8306 break;
8307 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8308 oss << "hipGraphExternalSemaphoresSignalNodeSetParams(";
8309 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8310 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8311 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8312 oss << ")";
8313 break;
8314 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8315 oss << "hipGraphExternalSemaphoresWaitNodeGetParams(";
8316 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8317 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8318 else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8319 oss << ")";
8320 break;
8321 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8322 oss << "hipGraphExternalSemaphoresWaitNodeSetParams(";
8323 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8324 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8325 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8326 oss << ")";
8327 break;
8328 case HIP_API_ID_hipGraphGetEdges:
8329 oss << "hipGraphGetEdges(";
8330 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8331 if (data->args.hipGraphGetEdges.from == NULL) oss << ", from=NULL";
8332 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8333 if (data->args.hipGraphGetEdges.to == NULL) oss << ", to=NULL";
8334 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8335 if (data->args.hipGraphGetEdges.numEdges == NULL) oss << ", numEdges=NULL";
8336 else { oss << ", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8337 oss << ")";
8338 break;
8339 case HIP_API_ID_hipGraphGetNodes:
8340 oss << "hipGraphGetNodes(";
8341 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8342 if (data->args.hipGraphGetNodes.nodes == NULL) oss << ", nodes=NULL";
8343 else { oss << ", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8344 if (data->args.hipGraphGetNodes.numNodes == NULL) oss << ", numNodes=NULL";
8345 else { oss << ", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8346 oss << ")";
8347 break;
8348 case HIP_API_ID_hipGraphGetRootNodes:
8349 oss << "hipGraphGetRootNodes(";
8350 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8351 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss << ", pRootNodes=NULL";
8352 else { oss << ", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8353 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss << ", pNumRootNodes=NULL";
8354 else { oss << ", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8355 oss << ")";
8356 break;
8357 case HIP_API_ID_hipGraphHostNodeGetParams:
8358 oss << "hipGraphHostNodeGetParams(";
8359 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8360 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8361 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8362 oss << ")";
8363 break;
8364 case HIP_API_ID_hipGraphHostNodeSetParams:
8365 oss << "hipGraphHostNodeSetParams(";
8366 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8367 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8368 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8369 oss << ")";
8370 break;
8371 case HIP_API_ID_hipGraphInstantiate:
8372 oss << "hipGraphInstantiate(";
8373 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss << "pGraphExec=NULL";
8374 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8375 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8376 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss << ", pErrorNode=NULL";
8377 else { oss << ", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8378 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss << ", pLogBuffer=NULL";
8379 else { oss << ", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8380 oss << ", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8381 oss << ")";
8382 break;
8383 case HIP_API_ID_hipGraphInstantiateWithFlags:
8384 oss << "hipGraphInstantiateWithFlags(";
8385 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss << "pGraphExec=NULL";
8386 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8387 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8388 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8389 oss << ")";
8390 break;
8391 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8392 oss << "hipGraphKernelNodeCopyAttributes(";
8393 oss << "hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8394 oss << ", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8395 oss << ")";
8396 break;
8397 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8398 oss << "hipGraphKernelNodeGetAttribute(";
8399 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8400 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8401 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss << ", value=NULL";
8402 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8403 oss << ")";
8404 break;
8405 case HIP_API_ID_hipGraphKernelNodeGetParams:
8406 oss << "hipGraphKernelNodeGetParams(";
8407 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8408 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8409 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8410 oss << ")";
8411 break;
8412 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8413 oss << "hipGraphKernelNodeSetAttribute(";
8414 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8415 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8416 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss << ", value=NULL";
8417 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8418 oss << ")";
8419 break;
8420 case HIP_API_ID_hipGraphKernelNodeSetParams:
8421 oss << "hipGraphKernelNodeSetParams(";
8422 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8423 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8424 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8425 oss << ")";
8426 break;
8427 case HIP_API_ID_hipGraphLaunch:
8428 oss << "hipGraphLaunch(";
8429 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8430 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8431 oss << ")";
8432 break;
8433 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8434 oss << "hipGraphMemAllocNodeGetParams(";
8435 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8436 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8437 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8438 oss << ")";
8439 break;
8440 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8441 oss << "hipGraphMemFreeNodeGetParams(";
8442 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8443 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8444 oss << ")";
8445 break;
8446 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8447 oss << "hipGraphMemcpyNodeGetParams(";
8448 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8449 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8450 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8451 oss << ")";
8452 break;
8453 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8454 oss << "hipGraphMemcpyNodeSetParams(";
8455 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8456 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8457 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8458 oss << ")";
8459 break;
8460 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8461 oss << "hipGraphMemcpyNodeSetParams1D(";
8462 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8463 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8464 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8465 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8466 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8467 oss << ")";
8468 break;
8469 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8470 oss << "hipGraphMemcpyNodeSetParamsFromSymbol(";
8471 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8472 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8473 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8474 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8475 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8476 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8477 oss << ")";
8478 break;
8479 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8480 oss << "hipGraphMemcpyNodeSetParamsToSymbol(";
8481 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8482 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8483 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8484 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8485 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8486 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8487 oss << ")";
8488 break;
8489 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8490 oss << "hipGraphMemsetNodeGetParams(";
8491 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8492 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8493 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8494 oss << ")";
8495 break;
8496 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8497 oss << "hipGraphMemsetNodeSetParams(";
8498 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8499 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8500 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8501 oss << ")";
8502 break;
8503 case HIP_API_ID_hipGraphNodeFindInClone:
8504 oss << "hipGraphNodeFindInClone(";
8505 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss << "pNode=NULL";
8506 else { oss << "pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8507 oss << ", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8508 oss << ", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8509 oss << ")";
8510 break;
8511 case HIP_API_ID_hipGraphNodeGetDependencies:
8512 oss << "hipGraphNodeGetDependencies(";
8513 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8514 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss << ", pDependencies=NULL";
8515 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8516 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss << ", pNumDependencies=NULL";
8517 else { oss << ", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8518 oss << ")";
8519 break;
8520 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8521 oss << "hipGraphNodeGetDependentNodes(";
8522 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8523 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss << ", pDependentNodes=NULL";
8524 else { oss << ", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8525 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss << ", pNumDependentNodes=NULL";
8526 else { oss << ", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8527 oss << ")";
8528 break;
8529 case HIP_API_ID_hipGraphNodeGetEnabled:
8530 oss << "hipGraphNodeGetEnabled(";
8531 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8532 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8533 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss << ", isEnabled=NULL";
8534 else { oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8535 oss << ")";
8536 break;
8537 case HIP_API_ID_hipGraphNodeGetType:
8538 oss << "hipGraphNodeGetType(";
8539 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8540 if (data->args.hipGraphNodeGetType.pType == NULL) oss << ", pType=NULL";
8541 else { oss << ", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8542 oss << ")";
8543 break;
8544 case HIP_API_ID_hipGraphNodeSetEnabled:
8545 oss << "hipGraphNodeSetEnabled(";
8546 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8547 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8548 oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8549 oss << ")";
8550 break;
8551 case HIP_API_ID_hipGraphReleaseUserObject:
8552 oss << "hipGraphReleaseUserObject(";
8553 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8554 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8555 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8556 oss << ")";
8557 break;
8558 case HIP_API_ID_hipGraphRemoveDependencies:
8559 oss << "hipGraphRemoveDependencies(";
8560 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8561 if (data->args.hipGraphRemoveDependencies.from == NULL) oss << ", from=NULL";
8562 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8563 if (data->args.hipGraphRemoveDependencies.to == NULL) oss << ", to=NULL";
8564 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8565 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8566 oss << ")";
8567 break;
8568 case HIP_API_ID_hipGraphRetainUserObject:
8569 oss << "hipGraphRetainUserObject(";
8570 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8571 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8572 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8573 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8574 oss << ")";
8575 break;
8576 case HIP_API_ID_hipGraphUpload:
8577 oss << "hipGraphUpload(";
8578 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8579 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8580 oss << ")";
8581 break;
8582 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8583 oss << "hipGraphicsGLRegisterBuffer(";
8584 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss << "resource=NULL";
8585 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8586 oss << ", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8587 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8588 oss << ")";
8589 break;
8590 case HIP_API_ID_hipGraphicsGLRegisterImage:
8591 oss << "hipGraphicsGLRegisterImage(";
8592 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss << "resource=NULL";
8593 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8594 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8595 oss << ", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8596 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8597 oss << ")";
8598 break;
8599 case HIP_API_ID_hipGraphicsMapResources:
8600 oss << "hipGraphicsMapResources(";
8601 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8602 if (data->args.hipGraphicsMapResources.resources == NULL) oss << ", resources=NULL";
8603 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8604 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8605 oss << ")";
8606 break;
8607 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8608 oss << "hipGraphicsResourceGetMappedPointer(";
8609 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss << "devPtr=NULL";
8610 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8611 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss << ", size=NULL";
8612 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8613 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8614 oss << ")";
8615 break;
8616 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8617 oss << "hipGraphicsSubResourceGetMappedArray(";
8618 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss << "array=NULL";
8619 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8620 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8621 oss << ", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8622 oss << ", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8623 oss << ")";
8624 break;
8625 case HIP_API_ID_hipGraphicsUnmapResources:
8626 oss << "hipGraphicsUnmapResources(";
8627 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8628 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss << ", resources=NULL";
8629 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8630 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8631 oss << ")";
8632 break;
8633 case HIP_API_ID_hipGraphicsUnregisterResource:
8634 oss << "hipGraphicsUnregisterResource(";
8635 oss << "resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8636 oss << ")";
8637 break;
8638 case HIP_API_ID_hipHccModuleLaunchKernel:
8639 oss << "hipHccModuleLaunchKernel(";
8640 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8641 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8642 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8643 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8644 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8645 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8646 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8647 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8648 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8649 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8650 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8651 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
8652 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8653 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8654 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
8655 oss << ")";
8656 break;
8657 case HIP_API_ID_hipHostAlloc:
8658 oss << "hipHostAlloc(";
8659 if (data->args.hipHostAlloc.ptr == NULL) oss << "ptr=NULL";
8660 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
8661 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
8662 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
8663 oss << ")";
8664 break;
8665 case HIP_API_ID_hipHostFree:
8666 oss << "hipHostFree(";
8667 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
8668 oss << ")";
8669 break;
8670 case HIP_API_ID_hipHostGetDevicePointer:
8671 oss << "hipHostGetDevicePointer(";
8672 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss << "devPtr=NULL";
8673 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
8674 oss << ", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
8675 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
8676 oss << ")";
8677 break;
8678 case HIP_API_ID_hipHostGetFlags:
8679 oss << "hipHostGetFlags(";
8680 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss << "flagsPtr=NULL";
8681 else { oss << "flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
8682 oss << ", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
8683 oss << ")";
8684 break;
8685 case HIP_API_ID_hipHostMalloc:
8686 oss << "hipHostMalloc(";
8687 if (data->args.hipHostMalloc.ptr == NULL) oss << "ptr=NULL";
8688 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
8689 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
8690 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
8691 oss << ")";
8692 break;
8693 case HIP_API_ID_hipHostRegister:
8694 oss << "hipHostRegister(";
8695 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
8696 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
8697 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
8698 oss << ")";
8699 break;
8700 case HIP_API_ID_hipHostUnregister:
8701 oss << "hipHostUnregister(";
8702 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
8703 oss << ")";
8704 break;
8705 case HIP_API_ID_hipImportExternalMemory:
8706 oss << "hipImportExternalMemory(";
8707 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss << "extMem_out=NULL";
8708 else { oss << "extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
8709 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss << ", memHandleDesc=NULL";
8710 else { oss << ", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
8711 oss << ")";
8712 break;
8713 case HIP_API_ID_hipImportExternalSemaphore:
8714 oss << "hipImportExternalSemaphore(";
8715 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss << "extSem_out=NULL";
8716 else { oss << "extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
8717 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss << ", semHandleDesc=NULL";
8718 else { oss << ", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
8719 oss << ")";
8720 break;
8721 case HIP_API_ID_hipInit:
8722 oss << "hipInit(";
8723 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
8724 oss << ")";
8725 break;
8726 case HIP_API_ID_hipIpcCloseMemHandle:
8727 oss << "hipIpcCloseMemHandle(";
8728 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
8729 oss << ")";
8730 break;
8731 case HIP_API_ID_hipIpcGetEventHandle:
8732 oss << "hipIpcGetEventHandle(";
8733 if (data->args.hipIpcGetEventHandle.handle == NULL) oss << "handle=NULL";
8734 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
8735 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
8736 oss << ")";
8737 break;
8738 case HIP_API_ID_hipIpcGetMemHandle:
8739 oss << "hipIpcGetMemHandle(";
8740 if (data->args.hipIpcGetMemHandle.handle == NULL) oss << "handle=NULL";
8741 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
8742 oss << ", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
8743 oss << ")";
8744 break;
8745 case HIP_API_ID_hipIpcOpenEventHandle:
8746 oss << "hipIpcOpenEventHandle(";
8747 if (data->args.hipIpcOpenEventHandle.event == NULL) oss << "event=NULL";
8748 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
8749 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
8750 oss << ")";
8751 break;
8752 case HIP_API_ID_hipIpcOpenMemHandle:
8753 oss << "hipIpcOpenMemHandle(";
8754 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss << "devPtr=NULL";
8755 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
8756 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
8757 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
8758 oss << ")";
8759 break;
8760 case HIP_API_ID_hipLaunchByPtr:
8761 oss << "hipLaunchByPtr(";
8762 oss << "hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
8763 oss << ")";
8764 break;
8765 case HIP_API_ID_hipLaunchCooperativeKernel:
8766 oss << "hipLaunchCooperativeKernel(";
8767 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
8768 oss << ", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
8769 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
8770 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8771 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
8772 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
8773 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
8774 oss << ")";
8775 break;
8776 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
8777 oss << "hipLaunchCooperativeKernelMultiDevice(";
8778 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
8779 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
8780 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
8781 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
8782 oss << ")";
8783 break;
8784 case HIP_API_ID_hipLaunchHostFunc:
8785 oss << "hipLaunchHostFunc(";
8786 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
8787 oss << ", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
8788 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
8789 oss << ")";
8790 break;
8791 case HIP_API_ID_hipLaunchKernel:
8792 oss << "hipLaunchKernel(";
8793 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
8794 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
8795 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
8796 if (data->args.hipLaunchKernel.args == NULL) oss << ", args=NULL";
8797 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
8798 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
8799 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
8800 oss << ")";
8801 break;
8802 case HIP_API_ID_hipMalloc:
8803 oss << "hipMalloc(";
8804 if (data->args.hipMalloc.ptr == NULL) oss << "ptr=NULL";
8805 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
8806 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
8807 oss << ")";
8808 break;
8809 case HIP_API_ID_hipMalloc3D:
8810 oss << "hipMalloc3D(";
8811 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss << "pitchedDevPtr=NULL";
8812 else { oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
8813 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
8814 oss << ")";
8815 break;
8816 case HIP_API_ID_hipMalloc3DArray:
8817 oss << "hipMalloc3DArray(";
8818 if (data->args.hipMalloc3DArray.array == NULL) oss << "array=NULL";
8819 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
8820 if (data->args.hipMalloc3DArray.desc == NULL) oss << ", desc=NULL";
8821 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
8822 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
8823 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
8824 oss << ")";
8825 break;
8826 case HIP_API_ID_hipMallocArray:
8827 oss << "hipMallocArray(";
8828 if (data->args.hipMallocArray.array == NULL) oss << "array=NULL";
8829 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipMallocArray.array__val); }
8830 if (data->args.hipMallocArray.desc == NULL) oss << ", desc=NULL";
8831 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
8832 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
8833 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
8834 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
8835 oss << ")";
8836 break;
8837 case HIP_API_ID_hipMallocAsync:
8838 oss << "hipMallocAsync(";
8839 if (data->args.hipMallocAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
8840 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
8841 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
8842 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
8843 oss << ")";
8844 break;
8845 case HIP_API_ID_hipMallocFromPoolAsync:
8846 oss << "hipMallocFromPoolAsync(";
8847 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
8848 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
8849 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
8850 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
8851 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
8852 oss << ")";
8853 break;
8854 case HIP_API_ID_hipMallocHost:
8855 oss << "hipMallocHost(";
8856 if (data->args.hipMallocHost.ptr == NULL) oss << "ptr=NULL";
8857 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
8858 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
8859 oss << ")";
8860 break;
8861 case HIP_API_ID_hipMallocManaged:
8862 oss << "hipMallocManaged(";
8863 if (data->args.hipMallocManaged.dev_ptr == NULL) oss << "dev_ptr=NULL";
8864 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
8865 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
8866 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
8867 oss << ")";
8868 break;
8869 case HIP_API_ID_hipMallocMipmappedArray:
8870 oss << "hipMallocMipmappedArray(";
8871 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss << "mipmappedArray=NULL";
8872 else { oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
8873 if (data->args.hipMallocMipmappedArray.desc == NULL) oss << ", desc=NULL";
8874 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
8875 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
8876 oss << ", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
8877 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
8878 oss << ")";
8879 break;
8880 case HIP_API_ID_hipMallocPitch:
8881 oss << "hipMallocPitch(";
8882 if (data->args.hipMallocPitch.ptr == NULL) oss << "ptr=NULL";
8883 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
8884 if (data->args.hipMallocPitch.pitch == NULL) oss << ", pitch=NULL";
8885 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
8886 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
8887 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
8888 oss << ")";
8889 break;
8890 case HIP_API_ID_hipMemAddressFree:
8891 oss << "hipMemAddressFree(";
8892 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
8893 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
8894 oss << ")";
8895 break;
8896 case HIP_API_ID_hipMemAddressReserve:
8897 oss << "hipMemAddressReserve(";
8898 if (data->args.hipMemAddressReserve.ptr == NULL) oss << "ptr=NULL";
8899 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
8900 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
8901 oss << ", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
8902 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
8903 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
8904 oss << ")";
8905 break;
8906 case HIP_API_ID_hipMemAdvise:
8907 oss << "hipMemAdvise(";
8908 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
8909 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
8910 oss << ", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
8911 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
8912 oss << ")";
8913 break;
8914 case HIP_API_ID_hipMemAllocHost:
8915 oss << "hipMemAllocHost(";
8916 if (data->args.hipMemAllocHost.ptr == NULL) oss << "ptr=NULL";
8917 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
8918 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
8919 oss << ")";
8920 break;
8921 case HIP_API_ID_hipMemAllocPitch:
8922 oss << "hipMemAllocPitch(";
8923 if (data->args.hipMemAllocPitch.dptr == NULL) oss << "dptr=NULL";
8924 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
8925 if (data->args.hipMemAllocPitch.pitch == NULL) oss << ", pitch=NULL";
8926 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
8927 oss << ", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
8928 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
8929 oss << ", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
8930 oss << ")";
8931 break;
8932 case HIP_API_ID_hipMemCreate:
8933 oss << "hipMemCreate(";
8934 if (data->args.hipMemCreate.handle == NULL) oss << "handle=NULL";
8935 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
8936 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
8937 if (data->args.hipMemCreate.prop == NULL) oss << ", prop=NULL";
8938 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
8939 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
8940 oss << ")";
8941 break;
8942 case HIP_API_ID_hipMemExportToShareableHandle:
8943 oss << "hipMemExportToShareableHandle(";
8944 oss << "shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
8945 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
8946 oss << ", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
8947 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
8948 oss << ")";
8949 break;
8950 case HIP_API_ID_hipMemGetAccess:
8951 oss << "hipMemGetAccess(";
8952 if (data->args.hipMemGetAccess.flags == NULL) oss << "flags=NULL";
8953 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
8954 if (data->args.hipMemGetAccess.location == NULL) oss << ", location=NULL";
8955 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
8956 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
8957 oss << ")";
8958 break;
8959 case HIP_API_ID_hipMemGetAddressRange:
8960 oss << "hipMemGetAddressRange(";
8961 if (data->args.hipMemGetAddressRange.pbase == NULL) oss << "pbase=NULL";
8962 else { oss << "pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
8963 if (data->args.hipMemGetAddressRange.psize == NULL) oss << ", psize=NULL";
8964 else { oss << ", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
8965 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
8966 oss << ")";
8967 break;
8968 case HIP_API_ID_hipMemGetAllocationGranularity:
8969 oss << "hipMemGetAllocationGranularity(";
8970 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss << "granularity=NULL";
8971 else { oss << "granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
8972 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss << ", prop=NULL";
8973 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
8974 oss << ", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
8975 oss << ")";
8976 break;
8977 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
8978 oss << "hipMemGetAllocationPropertiesFromHandle(";
8979 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss << "prop=NULL";
8980 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
8981 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
8982 oss << ")";
8983 break;
8984 case HIP_API_ID_hipMemGetInfo:
8985 oss << "hipMemGetInfo(";
8986 if (data->args.hipMemGetInfo.free == NULL) oss << "free=NULL";
8987 else { oss << "free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
8988 if (data->args.hipMemGetInfo.total == NULL) oss << ", total=NULL";
8989 else { oss << ", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
8990 oss << ")";
8991 break;
8992 case HIP_API_ID_hipMemImportFromShareableHandle:
8993 oss << "hipMemImportFromShareableHandle(";
8994 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss << "handle=NULL";
8995 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
8996 oss << ", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
8997 oss << ", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
8998 oss << ")";
8999 break;
9000 case HIP_API_ID_hipMemMap:
9001 oss << "hipMemMap(";
9002 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9003 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9004 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9005 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9006 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9007 oss << ")";
9008 break;
9009 case HIP_API_ID_hipMemMapArrayAsync:
9010 oss << "hipMemMapArrayAsync(";
9011 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss << "mapInfoList=NULL";
9012 else { oss << "mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9013 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9014 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9015 oss << ")";
9016 break;
9017 case HIP_API_ID_hipMemPoolCreate:
9018 oss << "hipMemPoolCreate(";
9019 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss << "mem_pool=NULL";
9020 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9021 if (data->args.hipMemPoolCreate.pool_props == NULL) oss << ", pool_props=NULL";
9022 else { oss << ", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9023 oss << ")";
9024 break;
9025 case HIP_API_ID_hipMemPoolDestroy:
9026 oss << "hipMemPoolDestroy(";
9027 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9028 oss << ")";
9029 break;
9030 case HIP_API_ID_hipMemPoolExportPointer:
9031 oss << "hipMemPoolExportPointer(";
9032 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss << "export_data=NULL";
9033 else { oss << "export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9034 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9035 oss << ")";
9036 break;
9037 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9038 oss << "hipMemPoolExportToShareableHandle(";
9039 oss << "shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9040 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9041 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9042 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9043 oss << ")";
9044 break;
9045 case HIP_API_ID_hipMemPoolGetAccess:
9046 oss << "hipMemPoolGetAccess(";
9047 if (data->args.hipMemPoolGetAccess.flags == NULL) oss << "flags=NULL";
9048 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9049 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9050 if (data->args.hipMemPoolGetAccess.location == NULL) oss << ", location=NULL";
9051 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9052 oss << ")";
9053 break;
9054 case HIP_API_ID_hipMemPoolGetAttribute:
9055 oss << "hipMemPoolGetAttribute(";
9056 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9057 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9058 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9059 oss << ")";
9060 break;
9061 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9062 oss << "hipMemPoolImportFromShareableHandle(";
9063 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss << "mem_pool=NULL";
9064 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9065 oss << ", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9066 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9067 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9068 oss << ")";
9069 break;
9070 case HIP_API_ID_hipMemPoolImportPointer:
9071 oss << "hipMemPoolImportPointer(";
9072 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss << "dev_ptr=NULL";
9073 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9074 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9075 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss << ", export_data=NULL";
9076 else { oss << ", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9077 oss << ")";
9078 break;
9079 case HIP_API_ID_hipMemPoolSetAccess:
9080 oss << "hipMemPoolSetAccess(";
9081 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9082 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss << ", desc_list=NULL";
9083 else { oss << ", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9084 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9085 oss << ")";
9086 break;
9087 case HIP_API_ID_hipMemPoolSetAttribute:
9088 oss << "hipMemPoolSetAttribute(";
9089 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9090 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9091 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9092 oss << ")";
9093 break;
9094 case HIP_API_ID_hipMemPoolTrimTo:
9095 oss << "hipMemPoolTrimTo(";
9096 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9097 oss << ", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9098 oss << ")";
9099 break;
9100 case HIP_API_ID_hipMemPrefetchAsync:
9101 oss << "hipMemPrefetchAsync(";
9102 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9103 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9104 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9105 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9106 oss << ")";
9107 break;
9108 case HIP_API_ID_hipMemPtrGetInfo:
9109 oss << "hipMemPtrGetInfo(";
9110 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9111 if (data->args.hipMemPtrGetInfo.size == NULL) oss << ", size=NULL";
9112 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9113 oss << ")";
9114 break;
9115 case HIP_API_ID_hipMemRangeGetAttribute:
9116 oss << "hipMemRangeGetAttribute(";
9117 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9118 oss << ", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9119 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9120 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9121 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9122 oss << ")";
9123 break;
9124 case HIP_API_ID_hipMemRangeGetAttributes:
9125 oss << "hipMemRangeGetAttributes(";
9126 if (data->args.hipMemRangeGetAttributes.data == NULL) oss << "data=NULL";
9127 else { oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9128 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss << ", data_sizes=NULL";
9129 else { oss << ", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9130 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss << ", attributes=NULL";
9131 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9132 oss << ", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9133 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9134 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9135 oss << ")";
9136 break;
9137 case HIP_API_ID_hipMemRelease:
9138 oss << "hipMemRelease(";
9139 oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9140 oss << ")";
9141 break;
9142 case HIP_API_ID_hipMemRetainAllocationHandle:
9143 oss << "hipMemRetainAllocationHandle(";
9144 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss << "handle=NULL";
9145 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9146 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9147 oss << ")";
9148 break;
9149 case HIP_API_ID_hipMemSetAccess:
9150 oss << "hipMemSetAccess(";
9151 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9152 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9153 if (data->args.hipMemSetAccess.desc == NULL) oss << ", desc=NULL";
9154 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9155 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9156 oss << ")";
9157 break;
9158 case HIP_API_ID_hipMemUnmap:
9159 oss << "hipMemUnmap(";
9160 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9161 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9162 oss << ")";
9163 break;
9164 case HIP_API_ID_hipMemcpy:
9165 oss << "hipMemcpy(";
9166 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9167 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9168 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9169 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9170 oss << ")";
9171 break;
9172 case HIP_API_ID_hipMemcpy2D:
9173 oss << "hipMemcpy2D(";
9174 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9175 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9176 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9177 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9178 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9179 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9180 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9181 oss << ")";
9182 break;
9183 case HIP_API_ID_hipMemcpy2DAsync:
9184 oss << "hipMemcpy2DAsync(";
9185 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9186 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9187 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9188 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9189 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9190 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9191 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9192 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9193 oss << ")";
9194 break;
9195 case HIP_API_ID_hipMemcpy2DFromArray:
9196 oss << "hipMemcpy2DFromArray(";
9197 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9198 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9199 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9200 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9201 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9202 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9203 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9204 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9205 oss << ")";
9206 break;
9207 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9208 oss << "hipMemcpy2DFromArrayAsync(";
9209 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9210 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9211 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9212 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9213 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9214 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9215 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9216 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9217 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9218 oss << ")";
9219 break;
9220 case HIP_API_ID_hipMemcpy2DToArray:
9221 oss << "hipMemcpy2DToArray(";
9222 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9223 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9224 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9225 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9226 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9227 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9228 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9229 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9230 oss << ")";
9231 break;
9232 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9233 oss << "hipMemcpy2DToArrayAsync(";
9234 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9235 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9236 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9237 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9238 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9239 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9240 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9241 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9242 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9243 oss << ")";
9244 break;
9245 case HIP_API_ID_hipMemcpy3D:
9246 oss << "hipMemcpy3D(";
9247 if (data->args.hipMemcpy3D.p == NULL) oss << "p=NULL";
9248 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9249 oss << ")";
9250 break;
9251 case HIP_API_ID_hipMemcpy3DAsync:
9252 oss << "hipMemcpy3DAsync(";
9253 if (data->args.hipMemcpy3DAsync.p == NULL) oss << "p=NULL";
9254 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9255 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9256 oss << ")";
9257 break;
9258 case HIP_API_ID_hipMemcpyAsync:
9259 oss << "hipMemcpyAsync(";
9260 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9261 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9262 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9263 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9264 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9265 oss << ")";
9266 break;
9267 case HIP_API_ID_hipMemcpyAtoH:
9268 oss << "hipMemcpyAtoH(";
9269 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9270 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9271 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9272 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9273 oss << ")";
9274 break;
9275 case HIP_API_ID_hipMemcpyDtoD:
9276 oss << "hipMemcpyDtoD(";
9277 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9278 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9279 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9280 oss << ")";
9281 break;
9282 case HIP_API_ID_hipMemcpyDtoDAsync:
9283 oss << "hipMemcpyDtoDAsync(";
9284 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9285 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9286 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9287 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9288 oss << ")";
9289 break;
9290 case HIP_API_ID_hipMemcpyDtoH:
9291 oss << "hipMemcpyDtoH(";
9292 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9293 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9294 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9295 oss << ")";
9296 break;
9297 case HIP_API_ID_hipMemcpyDtoHAsync:
9298 oss << "hipMemcpyDtoHAsync(";
9299 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9300 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9301 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9302 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9303 oss << ")";
9304 break;
9305 case HIP_API_ID_hipMemcpyFromArray:
9306 oss << "hipMemcpyFromArray(";
9307 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9308 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9309 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9310 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9311 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9312 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9313 oss << ")";
9314 break;
9315 case HIP_API_ID_hipMemcpyFromSymbol:
9316 oss << "hipMemcpyFromSymbol(";
9317 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9318 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9319 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9320 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9321 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9322 oss << ")";
9323 break;
9324 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9325 oss << "hipMemcpyFromSymbolAsync(";
9326 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9327 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9328 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9329 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9330 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9331 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9332 oss << ")";
9333 break;
9334 case HIP_API_ID_hipMemcpyHtoA:
9335 oss << "hipMemcpyHtoA(";
9336 oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9337 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9338 oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9339 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9340 oss << ")";
9341 break;
9342 case HIP_API_ID_hipMemcpyHtoD:
9343 oss << "hipMemcpyHtoD(";
9344 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9345 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9346 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9347 oss << ")";
9348 break;
9349 case HIP_API_ID_hipMemcpyHtoDAsync:
9350 oss << "hipMemcpyHtoDAsync(";
9351 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9352 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9353 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9354 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9355 oss << ")";
9356 break;
9357 case HIP_API_ID_hipMemcpyParam2D:
9358 oss << "hipMemcpyParam2D(";
9359 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss << "pCopy=NULL";
9360 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9361 oss << ")";
9362 break;
9363 case HIP_API_ID_hipMemcpyParam2DAsync:
9364 oss << "hipMemcpyParam2DAsync(";
9365 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss << "pCopy=NULL";
9366 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9367 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9368 oss << ")";
9369 break;
9370 case HIP_API_ID_hipMemcpyPeer:
9371 oss << "hipMemcpyPeer(";
9372 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9373 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9374 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9375 oss << ", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9376 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9377 oss << ")";
9378 break;
9379 case HIP_API_ID_hipMemcpyPeerAsync:
9380 oss << "hipMemcpyPeerAsync(";
9381 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9382 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9383 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9384 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9385 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9386 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9387 oss << ")";
9388 break;
9389 case HIP_API_ID_hipMemcpyToArray:
9390 oss << "hipMemcpyToArray(";
9391 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
9392 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9393 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9394 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9395 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9396 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9397 oss << ")";
9398 break;
9399 case HIP_API_ID_hipMemcpyToSymbol:
9400 oss << "hipMemcpyToSymbol(";
9401 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9402 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9403 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9404 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9405 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9406 oss << ")";
9407 break;
9408 case HIP_API_ID_hipMemcpyToSymbolAsync:
9409 oss << "hipMemcpyToSymbolAsync(";
9410 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9411 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9412 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9413 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9414 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9415 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9416 oss << ")";
9417 break;
9418 case HIP_API_ID_hipMemcpyWithStream:
9419 oss << "hipMemcpyWithStream(";
9420 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9421 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9422 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9423 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9424 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9425 oss << ")";
9426 break;
9427 case HIP_API_ID_hipMemset:
9428 oss << "hipMemset(";
9429 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9430 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9431 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9432 oss << ")";
9433 break;
9434 case HIP_API_ID_hipMemset2D:
9435 oss << "hipMemset2D(";
9436 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9437 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9438 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9439 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9440 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9441 oss << ")";
9442 break;
9443 case HIP_API_ID_hipMemset2DAsync:
9444 oss << "hipMemset2DAsync(";
9445 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9446 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9447 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9448 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9449 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9450 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9451 oss << ")";
9452 break;
9453 case HIP_API_ID_hipMemset3D:
9454 oss << "hipMemset3D(";
9455 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9456 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9457 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9458 oss << ")";
9459 break;
9460 case HIP_API_ID_hipMemset3DAsync:
9461 oss << "hipMemset3DAsync(";
9462 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9463 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9464 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9465 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9466 oss << ")";
9467 break;
9468 case HIP_API_ID_hipMemsetAsync:
9469 oss << "hipMemsetAsync(";
9470 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9471 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9472 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9473 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9474 oss << ")";
9475 break;
9476 case HIP_API_ID_hipMemsetD16:
9477 oss << "hipMemsetD16(";
9478 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9479 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9480 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9481 oss << ")";
9482 break;
9483 case HIP_API_ID_hipMemsetD16Async:
9484 oss << "hipMemsetD16Async(";
9485 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9486 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9487 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9488 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9489 oss << ")";
9490 break;
9491 case HIP_API_ID_hipMemsetD32:
9492 oss << "hipMemsetD32(";
9493 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9494 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9495 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9496 oss << ")";
9497 break;
9498 case HIP_API_ID_hipMemsetD32Async:
9499 oss << "hipMemsetD32Async(";
9500 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9501 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9502 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9503 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9504 oss << ")";
9505 break;
9506 case HIP_API_ID_hipMemsetD8:
9507 oss << "hipMemsetD8(";
9508 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9509 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9510 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9511 oss << ")";
9512 break;
9513 case HIP_API_ID_hipMemsetD8Async:
9514 oss << "hipMemsetD8Async(";
9515 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9516 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9517 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9518 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9519 oss << ")";
9520 break;
9521 case HIP_API_ID_hipMipmappedArrayCreate:
9522 oss << "hipMipmappedArrayCreate(";
9523 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
9524 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9525 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss << ", pMipmappedArrayDesc=NULL";
9526 else { oss << ", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9527 oss << ", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9528 oss << ")";
9529 break;
9530 case HIP_API_ID_hipMipmappedArrayDestroy:
9531 oss << "hipMipmappedArrayDestroy(";
9532 oss << "hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9533 oss << ")";
9534 break;
9535 case HIP_API_ID_hipMipmappedArrayGetLevel:
9536 oss << "hipMipmappedArrayGetLevel(";
9537 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss << "pLevelArray=NULL";
9538 else { oss << "pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9539 oss << ", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9540 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9541 oss << ")";
9542 break;
9543 case HIP_API_ID_hipModuleGetFunction:
9544 oss << "hipModuleGetFunction(";
9545 if (data->args.hipModuleGetFunction.function == NULL) oss << "function=NULL";
9546 else { oss << "function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9547 oss << ", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9548 if (data->args.hipModuleGetFunction.kname == NULL) oss << ", kname=NULL";
9549 else { oss << ", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9550 oss << ")";
9551 break;
9552 case HIP_API_ID_hipModuleGetGlobal:
9553 oss << "hipModuleGetGlobal(";
9554 if (data->args.hipModuleGetGlobal.dptr == NULL) oss << "dptr=NULL";
9555 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9556 if (data->args.hipModuleGetGlobal.bytes == NULL) oss << ", bytes=NULL";
9557 else { oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9558 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9559 if (data->args.hipModuleGetGlobal.name == NULL) oss << ", name=NULL";
9560 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9561 oss << ")";
9562 break;
9563 case HIP_API_ID_hipModuleGetTexRef:
9564 oss << "hipModuleGetTexRef(";
9565 if (data->args.hipModuleGetTexRef.texRef == NULL) oss << "texRef=NULL";
9566 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipModuleGetTexRef.texRef__val); }
9567 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9568 if (data->args.hipModuleGetTexRef.name == NULL) oss << ", name=NULL";
9569 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9570 oss << ")";
9571 break;
9572 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9573 oss << "hipModuleLaunchCooperativeKernel(";
9574 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9575 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9576 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9577 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9578 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9579 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9580 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9581 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9582 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9583 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9584 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9585 oss << ")";
9586 break;
9587 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9588 oss << "hipModuleLaunchCooperativeKernelMultiDevice(";
9589 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
9590 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9591 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9592 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9593 oss << ")";
9594 break;
9595 case HIP_API_ID_hipModuleLaunchKernel:
9596 oss << "hipModuleLaunchKernel(";
9597 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9598 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
9599 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
9600 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
9601 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
9602 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
9603 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
9604 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
9605 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
9606 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9607 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
9608 if (data->args.hipModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
9609 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
9610 oss << ")";
9611 break;
9612 case HIP_API_ID_hipModuleLoad:
9613 oss << "hipModuleLoad(";
9614 if (data->args.hipModuleLoad.module == NULL) oss << "module=NULL";
9615 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
9616 if (data->args.hipModuleLoad.fname == NULL) oss << ", fname=NULL";
9617 else { oss << ", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
9618 oss << ")";
9619 break;
9620 case HIP_API_ID_hipModuleLoadData:
9621 oss << "hipModuleLoadData(";
9622 if (data->args.hipModuleLoadData.module == NULL) oss << "module=NULL";
9623 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
9624 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
9625 oss << ")";
9626 break;
9627 case HIP_API_ID_hipModuleLoadDataEx:
9628 oss << "hipModuleLoadDataEx(";
9629 if (data->args.hipModuleLoadDataEx.module == NULL) oss << "module=NULL";
9630 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
9631 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
9632 oss << ", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
9633 if (data->args.hipModuleLoadDataEx.options == NULL) oss << ", options=NULL";
9634 else { oss << ", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
9635 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss << ", optionsValues=NULL";
9636 else { oss << ", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
9637 oss << ")";
9638 break;
9639 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
9640 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
9641 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
9642 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9643 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
9644 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9645 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
9646 oss << ")";
9647 break;
9648 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9649 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9650 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
9651 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9652 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9653 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9654 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
9655 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9656 oss << ")";
9657 break;
9658 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
9659 oss << "hipModuleOccupancyMaxPotentialBlockSize(";
9660 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
9661 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
9662 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
9663 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
9664 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
9665 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9666 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
9667 oss << ")";
9668 break;
9669 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
9670 oss << "hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
9671 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss << "gridSize=NULL";
9672 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
9673 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss << ", blockSize=NULL";
9674 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
9675 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
9676 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
9677 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
9678 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
9679 oss << ")";
9680 break;
9681 case HIP_API_ID_hipModuleUnload:
9682 oss << "hipModuleUnload(";
9683 oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
9684 oss << ")";
9685 break;
9686 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
9687 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessor(";
9688 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
9689 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9690 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
9691 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9692 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
9693 oss << ")";
9694 break;
9695 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9696 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9697 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
9698 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9699 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9700 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9701 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
9702 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9703 oss << ")";
9704 break;
9705 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
9706 oss << "hipOccupancyMaxPotentialBlockSize(";
9707 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
9708 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
9709 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
9710 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
9711 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
9712 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9713 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
9714 oss << ")";
9715 break;
9716 case HIP_API_ID_hipPeekAtLastError:
9717 oss << "hipPeekAtLastError(";
9718 oss << ")";
9719 break;
9720 case HIP_API_ID_hipPointerGetAttribute:
9721 oss << "hipPointerGetAttribute(";
9722 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
9723 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
9724 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
9725 oss << ")";
9726 break;
9727 case HIP_API_ID_hipPointerGetAttributes:
9728 oss << "hipPointerGetAttributes(";
9729 if (data->args.hipPointerGetAttributes.attributes == NULL) oss << "attributes=NULL";
9730 else { oss << "attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
9731 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
9732 oss << ")";
9733 break;
9734 case HIP_API_ID_hipPointerSetAttribute:
9735 oss << "hipPointerSetAttribute(";
9736 oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
9737 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
9738 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
9739 oss << ")";
9740 break;
9741 case HIP_API_ID_hipProfilerStart:
9742 oss << "hipProfilerStart(";
9743 oss << ")";
9744 break;
9745 case HIP_API_ID_hipProfilerStop:
9746 oss << "hipProfilerStop(";
9747 oss << ")";
9748 break;
9749 case HIP_API_ID_hipRuntimeGetVersion:
9750 oss << "hipRuntimeGetVersion(";
9751 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss << "runtimeVersion=NULL";
9752 else { oss << "runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
9753 oss << ")";
9754 break;
9755 case HIP_API_ID_hipSetDevice:
9756 oss << "hipSetDevice(";
9757 oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
9758 oss << ")";
9759 break;
9760 case HIP_API_ID_hipSetDeviceFlags:
9761 oss << "hipSetDeviceFlags(";
9762 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
9763 oss << ")";
9764 break;
9765 case HIP_API_ID_hipSetupArgument:
9766 oss << "hipSetupArgument(";
9767 oss << "arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
9768 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
9769 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
9770 oss << ")";
9771 break;
9772 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
9773 oss << "hipSignalExternalSemaphoresAsync(";
9774 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
9775 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
9776 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
9777 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
9778 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
9779 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
9780 oss << ")";
9781 break;
9782 case HIP_API_ID_hipStreamAddCallback:
9783 oss << "hipStreamAddCallback(";
9784 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
9785 oss << ", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
9786 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
9787 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
9788 oss << ")";
9789 break;
9790 case HIP_API_ID_hipStreamAttachMemAsync:
9791 oss << "hipStreamAttachMemAsync(";
9792 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
9793 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
9794 oss << ", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
9795 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
9796 oss << ")";
9797 break;
9798 case HIP_API_ID_hipStreamBeginCapture:
9799 oss << "hipStreamBeginCapture(";
9800 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
9801 oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
9802 oss << ")";
9803 break;
9804 case HIP_API_ID_hipStreamCreate:
9805 oss << "hipStreamCreate(";
9806 if (data->args.hipStreamCreate.stream == NULL) oss << "stream=NULL";
9807 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
9808 oss << ")";
9809 break;
9810 case HIP_API_ID_hipStreamCreateWithFlags:
9811 oss << "hipStreamCreateWithFlags(";
9812 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss << "stream=NULL";
9813 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
9814 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
9815 oss << ")";
9816 break;
9817 case HIP_API_ID_hipStreamCreateWithPriority:
9818 oss << "hipStreamCreateWithPriority(";
9819 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss << "stream=NULL";
9820 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
9821 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
9822 oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
9823 oss << ")";
9824 break;
9825 case HIP_API_ID_hipStreamDestroy:
9826 oss << "hipStreamDestroy(";
9827 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
9828 oss << ")";
9829 break;
9830 case HIP_API_ID_hipStreamEndCapture:
9831 oss << "hipStreamEndCapture(";
9832 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
9833 if (data->args.hipStreamEndCapture.pGraph == NULL) oss << ", pGraph=NULL";
9834 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
9835 oss << ")";
9836 break;
9837 case HIP_API_ID_hipStreamGetCaptureInfo:
9838 oss << "hipStreamGetCaptureInfo(";
9839 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
9840 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
9841 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
9842 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss << ", pId=NULL";
9843 else { oss << ", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
9844 oss << ")";
9845 break;
9846 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
9847 oss << "hipStreamGetCaptureInfo_v2(";
9848 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
9849 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss << ", captureStatus_out=NULL";
9850 else { oss << ", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
9851 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss << ", id_out=NULL";
9852 else { oss << ", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
9853 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss << ", graph_out=NULL";
9854 else { oss << ", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
9855 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss << ", dependencies_out=NULL";
9856 else { oss << ", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
9857 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss << ", numDependencies_out=NULL";
9858 else { oss << ", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
9859 oss << ")";
9860 break;
9861 case HIP_API_ID_hipStreamGetDevice:
9862 oss << "hipStreamGetDevice(";
9863 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
9864 if (data->args.hipStreamGetDevice.device == NULL) oss << ", device=NULL";
9865 else { oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
9866 oss << ")";
9867 break;
9868 case HIP_API_ID_hipStreamGetFlags:
9869 oss << "hipStreamGetFlags(";
9870 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
9871 if (data->args.hipStreamGetFlags.flags == NULL) oss << ", flags=NULL";
9872 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
9873 oss << ")";
9874 break;
9875 case HIP_API_ID_hipStreamGetPriority:
9876 oss << "hipStreamGetPriority(";
9877 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
9878 if (data->args.hipStreamGetPriority.priority == NULL) oss << ", priority=NULL";
9879 else { oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
9880 oss << ")";
9881 break;
9882 case HIP_API_ID_hipStreamIsCapturing:
9883 oss << "hipStreamIsCapturing(";
9884 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
9885 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
9886 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
9887 oss << ")";
9888 break;
9889 case HIP_API_ID_hipStreamQuery:
9890 oss << "hipStreamQuery(";
9891 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
9892 oss << ")";
9893 break;
9894 case HIP_API_ID_hipStreamSynchronize:
9895 oss << "hipStreamSynchronize(";
9896 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
9897 oss << ")";
9898 break;
9899 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
9900 oss << "hipStreamUpdateCaptureDependencies(";
9901 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
9902 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss << ", dependencies=NULL";
9903 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
9904 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
9905 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
9906 oss << ")";
9907 break;
9908 case HIP_API_ID_hipStreamWaitEvent:
9909 oss << "hipStreamWaitEvent(";
9910 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
9911 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
9912 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
9913 oss << ")";
9914 break;
9915 case HIP_API_ID_hipStreamWaitValue32:
9916 oss << "hipStreamWaitValue32(";
9917 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
9918 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
9919 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
9920 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
9921 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
9922 oss << ")";
9923 break;
9924 case HIP_API_ID_hipStreamWaitValue64:
9925 oss << "hipStreamWaitValue64(";
9926 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
9927 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
9928 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
9929 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
9930 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
9931 oss << ")";
9932 break;
9933 case HIP_API_ID_hipStreamWriteValue32:
9934 oss << "hipStreamWriteValue32(";
9935 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
9936 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
9937 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
9938 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
9939 oss << ")";
9940 break;
9941 case HIP_API_ID_hipStreamWriteValue64:
9942 oss << "hipStreamWriteValue64(";
9943 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
9944 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
9945 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
9946 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
9947 oss << ")";
9948 break;
9949 case HIP_API_ID_hipTexRefGetAddress:
9950 oss << "hipTexRefGetAddress(";
9951 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss << "dev_ptr=NULL";
9952 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
9953 if (data->args.hipTexRefGetAddress.texRef == NULL) oss << ", texRef=NULL";
9954 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
9955 oss << ")";
9956 break;
9957 case HIP_API_ID_hipTexRefGetFlags:
9958 oss << "hipTexRefGetFlags(";
9959 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss << "pFlags=NULL";
9960 else { oss << "pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
9961 if (data->args.hipTexRefGetFlags.texRef == NULL) oss << ", texRef=NULL";
9962 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
9963 oss << ")";
9964 break;
9965 case HIP_API_ID_hipTexRefGetFormat:
9966 oss << "hipTexRefGetFormat(";
9967 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss << "pFormat=NULL";
9968 else { oss << "pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
9969 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss << ", pNumChannels=NULL";
9970 else { oss << ", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
9971 if (data->args.hipTexRefGetFormat.texRef == NULL) oss << ", texRef=NULL";
9972 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
9973 oss << ")";
9974 break;
9975 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
9976 oss << "hipTexRefGetMaxAnisotropy(";
9977 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss << "pmaxAnsio=NULL";
9978 else { oss << "pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
9979 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss << ", texRef=NULL";
9980 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
9981 oss << ")";
9982 break;
9983 case HIP_API_ID_hipTexRefGetMipMappedArray:
9984 oss << "hipTexRefGetMipMappedArray(";
9985 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss << "pArray=NULL";
9986 else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
9987 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss << ", texRef=NULL";
9988 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
9989 oss << ")";
9990 break;
9991 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
9992 oss << "hipTexRefGetMipmapLevelBias(";
9993 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss << "pbias=NULL";
9994 else { oss << "pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
9995 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss << ", texRef=NULL";
9996 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
9997 oss << ")";
9998 break;
9999 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10000 oss << "hipTexRefGetMipmapLevelClamp(";
10001 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss << "pminMipmapLevelClamp=NULL";
10002 else { oss << "pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10003 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss << ", pmaxMipmapLevelClamp=NULL";
10004 else { oss << ", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10005 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss << ", texRef=NULL";
10006 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10007 oss << ")";
10008 break;
10009 case HIP_API_ID_hipTexRefSetAddress:
10010 oss << "hipTexRefSetAddress(";
10011 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss << "ByteOffset=NULL";
10012 else { oss << "ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10013 if (data->args.hipTexRefSetAddress.texRef == NULL) oss << ", texRef=NULL";
10014 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10015 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10016 oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10017 oss << ")";
10018 break;
10019 case HIP_API_ID_hipTexRefSetAddress2D:
10020 oss << "hipTexRefSetAddress2D(";
10021 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss << "texRef=NULL";
10022 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10023 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss << ", desc=NULL";
10024 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10025 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10026 oss << ", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10027 oss << ")";
10028 break;
10029 case HIP_API_ID_hipTexRefSetArray:
10030 oss << "hipTexRefSetArray(";
10031 if (data->args.hipTexRefSetArray.tex == NULL) oss << "tex=NULL";
10032 else { oss << "tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10033 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10034 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10035 oss << ")";
10036 break;
10037 case HIP_API_ID_hipTexRefSetBorderColor:
10038 oss << "hipTexRefSetBorderColor(";
10039 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss << "texRef=NULL";
10040 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10041 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss << ", pBorderColor=NULL";
10042 else { oss << ", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10043 oss << ")";
10044 break;
10045 case HIP_API_ID_hipTexRefSetFlags:
10046 oss << "hipTexRefSetFlags(";
10047 if (data->args.hipTexRefSetFlags.texRef == NULL) oss << "texRef=NULL";
10048 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10049 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10050 oss << ")";
10051 break;
10052 case HIP_API_ID_hipTexRefSetFormat:
10053 oss << "hipTexRefSetFormat(";
10054 if (data->args.hipTexRefSetFormat.texRef == NULL) oss << "texRef=NULL";
10055 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10056 oss << ", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10057 oss << ", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10058 oss << ")";
10059 break;
10060 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10061 oss << "hipTexRefSetMaxAnisotropy(";
10062 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss << "texRef=NULL";
10063 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10064 oss << ", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10065 oss << ")";
10066 break;
10067 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10068 oss << "hipTexRefSetMipmapLevelBias(";
10069 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss << "texRef=NULL";
10070 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10071 oss << ", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10072 oss << ")";
10073 break;
10074 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10075 oss << "hipTexRefSetMipmapLevelClamp(";
10076 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss << "texRef=NULL";
10077 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10078 oss << ", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10079 oss << ", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10080 oss << ")";
10081 break;
10082 case HIP_API_ID_hipTexRefSetMipmappedArray:
10083 oss << "hipTexRefSetMipmappedArray(";
10084 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss << "texRef=NULL";
10085 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10086 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss << ", mipmappedArray=NULL";
10087 else { oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10088 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10089 oss << ")";
10090 break;
10091 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10092 oss << "hipThreadExchangeStreamCaptureMode(";
10093 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss << "mode=NULL";
10094 else { oss << "mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10095 oss << ")";
10096 break;
10097 case HIP_API_ID_hipUserObjectCreate:
10098 oss << "hipUserObjectCreate(";
10099 if (data->args.hipUserObjectCreate.object_out == NULL) oss << "object_out=NULL";
10100 else { oss << "object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10101 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10102 oss << ", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10103 oss << ", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10104 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10105 oss << ")";
10106 break;
10107 case HIP_API_ID_hipUserObjectRelease:
10108 oss << "hipUserObjectRelease(";
10109 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10110 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10111 oss << ")";
10112 break;
10113 case HIP_API_ID_hipUserObjectRetain:
10114 oss << "hipUserObjectRetain(";
10115 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10116 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10117 oss << ")";
10118 break;
10119 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10120 oss << "hipWaitExternalSemaphoresAsync(";
10121 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
10122 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10123 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
10124 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10125 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10126 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10127 oss << ")";
10128 break;
10129 default: oss << "unknown";
10130 };
10131 return strdup(oss.str().c_str());
10132}
10133#endif // HIP_PROF_HIP_API_STRING
10134#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:1205