HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
hip_prof_str.h
1// Generated file. DO NOT EDIT.
2//
3// This file is automatically generated by the hip_prof_gen.py script.
4// If changes are required, run the script and commit the updated file.
5
6#ifndef _HIP_PROF_STR_H
7#define _HIP_PROF_STR_H
8#define HIP_PROF_VER 1
9
10#include <hip/hip_runtime_api.h>
11#include <hip/hip_deprecated.h>
12#include "amd_hip_gl_interop.h"
13
14#define HIP_API_ID_CONCAT_HELPER(a,b) a##b
15#define HIP_API_ID_CONCAT(a,b) HIP_API_ID_CONCAT_HELPER(a,b)
16
17// HIP API callbacks ID enumeration
18enum hip_api_id_t {
19 HIP_API_ID_NONE = 0,
20 HIP_API_ID_FIRST = 1,
21 HIP_API_ID___hipPopCallConfiguration = 1,
22 HIP_API_ID___hipPushCallConfiguration = 2,
23 HIP_API_ID_hipArray3DCreate = 3,
24 HIP_API_ID_hipArrayCreate = 4,
25 HIP_API_ID_hipArrayDestroy = 5,
26 HIP_API_ID_hipChooseDeviceR0000 = 6,
27 HIP_API_ID_hipConfigureCall = 7,
28 HIP_API_ID_hipCtxCreate = 8,
29 HIP_API_ID_hipCtxDestroy = 9,
30 HIP_API_ID_hipCtxDisablePeerAccess = 10,
31 HIP_API_ID_hipCtxEnablePeerAccess = 11,
32 HIP_API_ID_hipCtxGetApiVersion = 12,
33 HIP_API_ID_hipCtxGetCacheConfig = 13,
34 HIP_API_ID_hipCtxGetCurrent = 14,
35 HIP_API_ID_hipCtxGetDevice = 15,
36 HIP_API_ID_hipCtxGetFlags = 16,
37 HIP_API_ID_hipCtxGetSharedMemConfig = 17,
38 HIP_API_ID_hipCtxPopCurrent = 18,
39 HIP_API_ID_hipCtxPushCurrent = 19,
40 HIP_API_ID_hipCtxSetCacheConfig = 20,
41 HIP_API_ID_hipCtxSetCurrent = 21,
42 HIP_API_ID_hipCtxSetSharedMemConfig = 22,
43 HIP_API_ID_hipCtxSynchronize = 23,
44 HIP_API_ID_hipDestroyExternalMemory = 24,
45 HIP_API_ID_hipDestroyExternalSemaphore = 25,
46 HIP_API_ID_hipDeviceCanAccessPeer = 26,
47 HIP_API_ID_hipDeviceComputeCapability = 27,
48 HIP_API_ID_hipDeviceDisablePeerAccess = 28,
49 HIP_API_ID_hipDeviceEnablePeerAccess = 29,
50 HIP_API_ID_hipDeviceGet = 30,
51 HIP_API_ID_hipDeviceGetAttribute = 31,
52 HIP_API_ID_hipDeviceGetByPCIBusId = 32,
53 HIP_API_ID_hipDeviceGetCacheConfig = 33,
54 HIP_API_ID_hipDeviceGetLimit = 34,
55 HIP_API_ID_hipDeviceGetName = 35,
56 HIP_API_ID_hipDeviceGetP2PAttribute = 36,
57 HIP_API_ID_hipDeviceGetPCIBusId = 37,
58 HIP_API_ID_hipDeviceGetSharedMemConfig = 38,
59 HIP_API_ID_hipDeviceGetStreamPriorityRange = 39,
60 HIP_API_ID_hipDevicePrimaryCtxGetState = 40,
61 HIP_API_ID_hipDevicePrimaryCtxRelease = 41,
62 HIP_API_ID_hipDevicePrimaryCtxReset = 42,
63 HIP_API_ID_hipDevicePrimaryCtxRetain = 43,
64 HIP_API_ID_hipDevicePrimaryCtxSetFlags = 44,
65 HIP_API_ID_hipDeviceReset = 45,
66 HIP_API_ID_hipDeviceSetCacheConfig = 46,
67 HIP_API_ID_hipDeviceSetSharedMemConfig = 47,
68 HIP_API_ID_hipDeviceSynchronize = 48,
69 HIP_API_ID_hipDeviceTotalMem = 49,
70 HIP_API_ID_RESERVED_50 = 50,
71 HIP_API_ID_hipDrvMemcpy2DUnaligned = 51,
72 HIP_API_ID_hipDrvMemcpy3D = 52,
73 HIP_API_ID_hipDrvMemcpy3DAsync = 53,
74 HIP_API_ID_hipEventCreate = 54,
75 HIP_API_ID_hipEventCreateWithFlags = 55,
76 HIP_API_ID_hipEventDestroy = 56,
77 HIP_API_ID_hipEventElapsedTime = 57,
78 HIP_API_ID_hipEventQuery = 58,
79 HIP_API_ID_hipEventRecord = 59,
80 HIP_API_ID_hipEventSynchronize = 60,
81 HIP_API_ID_hipExtGetLinkTypeAndHopCount = 61,
82 HIP_API_ID_hipExtLaunchKernel = 62,
83 HIP_API_ID_hipExtLaunchMultiKernelMultiDevice = 63,
84 HIP_API_ID_hipExtMallocWithFlags = 64,
85 HIP_API_ID_hipExtModuleLaunchKernel = 65,
86 HIP_API_ID_hipExtStreamCreateWithCUMask = 66,
87 HIP_API_ID_hipExtStreamGetCUMask = 67,
88 HIP_API_ID_hipExternalMemoryGetMappedBuffer = 68,
89 HIP_API_ID_hipFree = 69,
90 HIP_API_ID_hipFreeArray = 70,
91 HIP_API_ID_hipFreeHost = 71,
92 HIP_API_ID_hipFreeMipmappedArray = 72,
93 HIP_API_ID_hipFuncGetAttribute = 73,
94 HIP_API_ID_hipFuncGetAttributes = 74,
95 HIP_API_ID_hipFuncSetAttribute = 75,
96 HIP_API_ID_hipFuncSetCacheConfig = 76,
97 HIP_API_ID_hipFuncSetSharedMemConfig = 77,
98 HIP_API_ID_hipGetDevice = 78,
99 HIP_API_ID_hipGetDeviceCount = 79,
100 HIP_API_ID_hipGetDeviceFlags = 80,
101 HIP_API_ID_hipGetDevicePropertiesR0000 = 81,
102 HIP_API_ID_RESERVED_82 = 82,
103 HIP_API_ID_hipGetErrorString = 83,
104 HIP_API_ID_hipGetLastError = 84,
105 HIP_API_ID_hipGetMipmappedArrayLevel = 85,
106 HIP_API_ID_hipGetSymbolAddress = 86,
107 HIP_API_ID_hipGetSymbolSize = 87,
108 HIP_API_ID_hipHccModuleLaunchKernel = 88,
109 HIP_API_ID_hipHostAlloc = 89,
110 HIP_API_ID_hipHostFree = 90,
111 HIP_API_ID_hipHostGetDevicePointer = 91,
112 HIP_API_ID_hipHostGetFlags = 92,
113 HIP_API_ID_hipHostMalloc = 93,
114 HIP_API_ID_hipHostRegister = 94,
115 HIP_API_ID_hipHostUnregister = 95,
116 HIP_API_ID_hipImportExternalMemory = 96,
117 HIP_API_ID_hipImportExternalSemaphore = 97,
118 HIP_API_ID_hipInit = 98,
119 HIP_API_ID_hipIpcCloseMemHandle = 99,
120 HIP_API_ID_hipIpcGetEventHandle = 100,
121 HIP_API_ID_hipIpcGetMemHandle = 101,
122 HIP_API_ID_hipIpcOpenEventHandle = 102,
123 HIP_API_ID_hipIpcOpenMemHandle = 103,
124 HIP_API_ID_hipLaunchByPtr = 104,
125 HIP_API_ID_hipLaunchCooperativeKernel = 105,
126 HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 106,
127 HIP_API_ID_hipLaunchKernel = 107,
128 HIP_API_ID_hipMalloc = 108,
129 HIP_API_ID_hipMalloc3D = 109,
130 HIP_API_ID_hipMalloc3DArray = 110,
131 HIP_API_ID_hipMallocArray = 111,
132 HIP_API_ID_hipMallocHost = 112,
133 HIP_API_ID_hipMallocManaged = 113,
134 HIP_API_ID_hipMallocMipmappedArray = 114,
135 HIP_API_ID_hipMallocPitch = 115,
136 HIP_API_ID_hipMemAdvise = 116,
137 HIP_API_ID_hipMemAllocHost = 117,
138 HIP_API_ID_hipMemAllocPitch = 118,
139 HIP_API_ID_hipMemGetAddressRange = 119,
140 HIP_API_ID_hipMemGetInfo = 120,
141 HIP_API_ID_hipMemPrefetchAsync = 121,
142 HIP_API_ID_hipMemPtrGetInfo = 122,
143 HIP_API_ID_hipMemRangeGetAttribute = 123,
144 HIP_API_ID_hipMemRangeGetAttributes = 124,
145 HIP_API_ID_hipMemcpy = 125,
146 HIP_API_ID_hipMemcpy2D = 126,
147 HIP_API_ID_hipMemcpy2DAsync = 127,
148 HIP_API_ID_hipMemcpy2DFromArray = 128,
149 HIP_API_ID_hipMemcpy2DFromArrayAsync = 129,
150 HIP_API_ID_hipMemcpy2DToArray = 130,
151 HIP_API_ID_hipMemcpy2DToArrayAsync = 131,
152 HIP_API_ID_hipMemcpy3D = 132,
153 HIP_API_ID_hipMemcpy3DAsync = 133,
154 HIP_API_ID_hipMemcpyAsync = 134,
155 HIP_API_ID_hipMemcpyAtoH = 135,
156 HIP_API_ID_hipMemcpyDtoD = 136,
157 HIP_API_ID_hipMemcpyDtoDAsync = 137,
158 HIP_API_ID_hipMemcpyDtoH = 138,
159 HIP_API_ID_hipMemcpyDtoHAsync = 139,
160 HIP_API_ID_hipMemcpyFromArray = 140,
161 HIP_API_ID_hipMemcpyFromSymbol = 141,
162 HIP_API_ID_hipMemcpyFromSymbolAsync = 142,
163 HIP_API_ID_hipMemcpyHtoA = 143,
164 HIP_API_ID_hipMemcpyHtoD = 144,
165 HIP_API_ID_hipMemcpyHtoDAsync = 145,
166 HIP_API_ID_hipMemcpyParam2D = 146,
167 HIP_API_ID_hipMemcpyParam2DAsync = 147,
168 HIP_API_ID_hipMemcpyPeer = 148,
169 HIP_API_ID_hipMemcpyPeerAsync = 149,
170 HIP_API_ID_hipMemcpyToArray = 150,
171 HIP_API_ID_hipMemcpyToSymbol = 151,
172 HIP_API_ID_hipMemcpyToSymbolAsync = 152,
173 HIP_API_ID_hipMemcpyWithStream = 153,
174 HIP_API_ID_hipMemset = 154,
175 HIP_API_ID_hipMemset2D = 155,
176 HIP_API_ID_hipMemset2DAsync = 156,
177 HIP_API_ID_hipMemset3D = 157,
178 HIP_API_ID_hipMemset3DAsync = 158,
179 HIP_API_ID_hipMemsetAsync = 159,
180 HIP_API_ID_hipMemsetD16 = 160,
181 HIP_API_ID_hipMemsetD16Async = 161,
182 HIP_API_ID_hipMemsetD32 = 162,
183 HIP_API_ID_hipMemsetD32Async = 163,
184 HIP_API_ID_hipMemsetD8 = 164,
185 HIP_API_ID_hipMemsetD8Async = 165,
186 HIP_API_ID_hipModuleGetFunction = 166,
187 HIP_API_ID_hipModuleGetGlobal = 167,
188 HIP_API_ID_hipModuleGetTexRef = 168,
189 HIP_API_ID_hipModuleLaunchKernel = 169,
190 HIP_API_ID_hipModuleLoad = 170,
191 HIP_API_ID_hipModuleLoadData = 171,
192 HIP_API_ID_hipModuleLoadDataEx = 172,
193 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor = 173,
194 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 174,
195 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize = 175,
196 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags = 176,
197 HIP_API_ID_hipModuleUnload = 177,
198 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 178,
199 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 179,
200 HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 180,
201 HIP_API_ID_hipPeekAtLastError = 181,
202 HIP_API_ID_hipPointerGetAttributes = 182,
203 HIP_API_ID_hipProfilerStart = 183,
204 HIP_API_ID_hipProfilerStop = 184,
205 HIP_API_ID_RESERVED_185 = 185,
206 HIP_API_ID_hipSetDevice = 186,
207 HIP_API_ID_hipSetDeviceFlags = 187,
208 HIP_API_ID_hipSetupArgument = 188,
209 HIP_API_ID_hipSignalExternalSemaphoresAsync = 189,
210 HIP_API_ID_hipStreamAddCallback = 190,
211 HIP_API_ID_hipStreamAttachMemAsync = 191,
212 HIP_API_ID_hipStreamCreate = 192,
213 HIP_API_ID_hipStreamCreateWithFlags = 193,
214 HIP_API_ID_hipStreamCreateWithPriority = 194,
215 HIP_API_ID_hipStreamDestroy = 195,
216 HIP_API_ID_hipStreamGetFlags = 196,
217 HIP_API_ID_hipStreamGetPriority = 197,
218 HIP_API_ID_hipStreamQuery = 198,
219 HIP_API_ID_hipStreamSynchronize = 199,
220 HIP_API_ID_hipStreamWaitEvent = 200,
221 HIP_API_ID_hipStreamWaitValue32 = 201,
222 HIP_API_ID_hipStreamWaitValue64 = 202,
223 HIP_API_ID_hipStreamWriteValue32 = 203,
224 HIP_API_ID_hipStreamWriteValue64 = 204,
225 HIP_API_ID_hipWaitExternalSemaphoresAsync = 205,
226 HIP_API_ID_hipCreateSurfaceObject = 206,
227 HIP_API_ID_hipDestroySurfaceObject = 207,
228 HIP_API_ID_hipGraphAddKernelNode = 208,
229 HIP_API_ID_hipGraphAddMemcpyNode = 209,
230 HIP_API_ID_hipGraphAddMemsetNode = 210,
231 HIP_API_ID_hipGraphCreate = 211,
232 HIP_API_ID_hipGraphDestroy = 212,
233 HIP_API_ID_hipGraphExecDestroy = 213,
234 HIP_API_ID_hipGraphInstantiate = 214,
235 HIP_API_ID_hipGraphLaunch = 215,
236 HIP_API_ID_hipMipmappedArrayCreate = 216,
237 HIP_API_ID_hipMipmappedArrayDestroy = 217,
238 HIP_API_ID_hipMipmappedArrayGetLevel = 218,
239 HIP_API_ID_hipStreamBeginCapture = 219,
240 HIP_API_ID_hipStreamEndCapture = 220,
241 HIP_API_ID_hipTexRefGetAddress = 221,
242 HIP_API_ID_hipTexRefGetFlags = 222,
243 HIP_API_ID_hipTexRefGetFormat = 223,
244 HIP_API_ID_hipTexRefGetMaxAnisotropy = 224,
245 HIP_API_ID_hipTexRefGetMipMappedArray = 225,
246 HIP_API_ID_hipTexRefGetMipmapLevelBias = 226,
247 HIP_API_ID_hipTexRefGetMipmapLevelClamp = 227,
248 HIP_API_ID_hipTexRefSetAddress = 228,
249 HIP_API_ID_hipTexRefSetAddress2D = 229,
250 HIP_API_ID_hipTexRefSetBorderColor = 230,
251 HIP_API_ID_hipTexRefSetFormat = 231,
252 HIP_API_ID_hipTexRefSetMaxAnisotropy = 232,
253 HIP_API_ID_hipTexRefSetMipmapLevelClamp = 233,
254 HIP_API_ID_hipTexRefSetMipmappedArray = 234,
255 HIP_API_ID_hipGLGetDevices = 235,
256 HIP_API_ID_hipGraphAddDependencies = 236,
257 HIP_API_ID_hipGraphAddEmptyNode = 237,
258 HIP_API_ID_hipGraphExecKernelNodeSetParams = 238,
259 HIP_API_ID_hipGraphGetNodes = 239,
260 HIP_API_ID_hipGraphGetRootNodes = 240,
261 HIP_API_ID_hipGraphKernelNodeGetParams = 241,
262 HIP_API_ID_hipGraphKernelNodeSetParams = 242,
263 HIP_API_ID_hipGraphMemcpyNodeGetParams = 243,
264 HIP_API_ID_hipGraphMemcpyNodeSetParams = 244,
265 HIP_API_ID_hipGraphMemsetNodeGetParams = 245,
266 HIP_API_ID_hipGraphMemsetNodeSetParams = 246,
267 HIP_API_ID_hipGraphicsGLRegisterBuffer = 247,
268 HIP_API_ID_hipGraphicsMapResources = 248,
269 HIP_API_ID_hipGraphicsResourceGetMappedPointer = 249,
270 HIP_API_ID_hipGraphicsUnmapResources = 250,
271 HIP_API_ID_hipGraphicsUnregisterResource = 251,
272 HIP_API_ID_hipGraphAddChildGraphNode = 252,
273 HIP_API_ID_hipGraphAddEventRecordNode = 253,
274 HIP_API_ID_hipGraphAddEventWaitNode = 254,
275 HIP_API_ID_hipGraphAddHostNode = 255,
276 HIP_API_ID_hipGraphAddMemcpyNode1D = 256,
277 HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol = 257,
278 HIP_API_ID_hipGraphAddMemcpyNodeToSymbol = 258,
279 HIP_API_ID_hipGraphChildGraphNodeGetGraph = 259,
280 HIP_API_ID_hipGraphClone = 260,
281 HIP_API_ID_hipGraphDestroyNode = 261,
282 HIP_API_ID_hipGraphEventRecordNodeGetEvent = 262,
283 HIP_API_ID_hipGraphEventRecordNodeSetEvent = 263,
284 HIP_API_ID_hipGraphEventWaitNodeGetEvent = 264,
285 HIP_API_ID_hipGraphEventWaitNodeSetEvent = 265,
286 HIP_API_ID_hipGraphExecChildGraphNodeSetParams = 266,
287 HIP_API_ID_hipGraphExecEventRecordNodeSetEvent = 267,
288 HIP_API_ID_hipGraphExecEventWaitNodeSetEvent = 268,
289 HIP_API_ID_hipGraphExecHostNodeSetParams = 269,
290 HIP_API_ID_hipGraphExecMemcpyNodeSetParams = 270,
291 HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D = 271,
292 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol = 272,
293 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol = 273,
294 HIP_API_ID_hipGraphExecMemsetNodeSetParams = 274,
295 HIP_API_ID_hipGraphExecUpdate = 275,
296 HIP_API_ID_hipGraphGetEdges = 276,
297 HIP_API_ID_hipGraphHostNodeGetParams = 277,
298 HIP_API_ID_hipGraphHostNodeSetParams = 278,
299 HIP_API_ID_hipGraphInstantiateWithFlags = 279,
300 HIP_API_ID_hipGraphMemcpyNodeSetParams1D = 280,
301 HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol = 281,
302 HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol = 282,
303 HIP_API_ID_hipGraphNodeFindInClone = 283,
304 HIP_API_ID_hipGraphNodeGetDependencies = 284,
305 HIP_API_ID_hipGraphNodeGetDependentNodes = 285,
306 HIP_API_ID_hipGraphNodeGetType = 286,
307 HIP_API_ID_hipGraphRemoveDependencies = 287,
308 HIP_API_ID_hipStreamGetCaptureInfo = 288,
309 HIP_API_ID_hipStreamGetCaptureInfo_v2 = 289,
310 HIP_API_ID_hipStreamIsCapturing = 290,
311 HIP_API_ID_hipStreamUpdateCaptureDependencies = 291,
312 HIP_API_ID_hipDrvPointerGetAttributes = 292,
313 HIP_API_ID_hipGraphicsGLRegisterImage = 293,
314 HIP_API_ID_hipGraphicsSubResourceGetMappedArray = 294,
315 HIP_API_ID_hipPointerGetAttribute = 295,
316 HIP_API_ID_RESERVED_296 = 296,
317 HIP_API_ID_hipThreadExchangeStreamCaptureMode = 297,
318 HIP_API_ID_hipDeviceGetUuid = 298,
319 HIP_API_ID_hipGetChannelDesc = 299,
320 HIP_API_ID_hipGraphKernelNodeGetAttribute = 300,
321 HIP_API_ID_hipGraphKernelNodeSetAttribute = 301,
322 HIP_API_ID_hipLaunchHostFunc = 302,
323 HIP_API_ID_hipDeviceGetDefaultMemPool = 303,
324 HIP_API_ID_hipDeviceGetMemPool = 304,
325 HIP_API_ID_hipDeviceSetMemPool = 305,
326 HIP_API_ID_hipFreeAsync = 306,
327 HIP_API_ID_hipMallocAsync = 307,
328 HIP_API_ID_hipMallocFromPoolAsync = 308,
329 HIP_API_ID_hipMemPoolCreate = 309,
330 HIP_API_ID_hipMemPoolDestroy = 310,
331 HIP_API_ID_hipMemPoolExportPointer = 311,
332 HIP_API_ID_hipMemPoolExportToShareableHandle = 312,
333 HIP_API_ID_hipMemPoolGetAccess = 313,
334 HIP_API_ID_hipMemPoolGetAttribute = 314,
335 HIP_API_ID_hipMemPoolImportFromShareableHandle = 315,
336 HIP_API_ID_hipMemPoolImportPointer = 316,
337 HIP_API_ID_hipMemPoolSetAccess = 317,
338 HIP_API_ID_hipMemPoolSetAttribute = 318,
339 HIP_API_ID_hipMemPoolTrimTo = 319,
340 HIP_API_ID_hipMemAddressFree = 320,
341 HIP_API_ID_hipMemAddressReserve = 321,
342 HIP_API_ID_hipMemCreate = 322,
343 HIP_API_ID_hipMemExportToShareableHandle = 323,
344 HIP_API_ID_hipMemGetAccess = 324,
345 HIP_API_ID_hipMemGetAllocationGranularity = 325,
346 HIP_API_ID_hipMemGetAllocationPropertiesFromHandle = 326,
347 HIP_API_ID_hipMemImportFromShareableHandle = 327,
348 HIP_API_ID_hipMemMap = 328,
349 HIP_API_ID_hipMemMapArrayAsync = 329,
350 HIP_API_ID_hipMemRelease = 330,
351 HIP_API_ID_hipMemRetainAllocationHandle = 331,
352 HIP_API_ID_hipMemSetAccess = 332,
353 HIP_API_ID_hipMemUnmap = 333,
354 HIP_API_ID_hipDeviceSetGraphMemAttribute = 334,
355 HIP_API_ID_hipDeviceGetGraphMemAttribute = 335,
356 HIP_API_ID_hipDeviceGraphMemTrim = 336,
357 HIP_API_ID_hipDeviceSetLimit = 337,
358 HIP_API_ID_hipTexRefSetArray = 338,
359 HIP_API_ID_hipTexRefSetFlags = 339,
360 HIP_API_ID_hipTexRefSetMipmapLevelBias = 340,
361 HIP_API_ID_hipDriverGetVersion = 341,
362 HIP_API_ID_hipGraphUpload = 342,
363 HIP_API_ID_hipRuntimeGetVersion = 343,
364 HIP_API_ID_hipUserObjectCreate = 344,
365 HIP_API_ID_hipUserObjectRelease = 345,
366 HIP_API_ID_hipUserObjectRetain = 346,
367 HIP_API_ID_hipGraphRetainUserObject = 347,
368 HIP_API_ID_hipGraphReleaseUserObject = 348,
369 HIP_API_ID_hipGraphDebugDotPrint = 349,
370 HIP_API_ID_hipGraphKernelNodeCopyAttributes = 350,
371 HIP_API_ID_hipGraphNodeGetEnabled = 351,
372 HIP_API_ID_hipGraphNodeSetEnabled = 352,
373 HIP_API_ID_hipPointerSetAttribute = 353,
374 HIP_API_ID_hipGraphAddMemAllocNode = 354,
375 HIP_API_ID_hipGraphAddMemFreeNode = 355,
376 HIP_API_ID_hipGraphMemAllocNodeGetParams = 356,
377 HIP_API_ID_hipGraphMemFreeNodeGetParams = 357,
378 HIP_API_ID_hipModuleLaunchCooperativeKernel = 358,
379 HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice = 359,
380 HIP_API_ID_hipArray3DGetDescriptor = 360,
381 HIP_API_ID_hipArrayGetDescriptor = 361,
382 HIP_API_ID_hipArrayGetInfo = 362,
383 HIP_API_ID_hipStreamGetDevice = 363,
384 HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray = 364,
385 HIP_API_ID_hipChooseDeviceR0600 = 365,
386 HIP_API_ID_hipDrvGraphAddMemcpyNode = 366,
387 HIP_API_ID_hipDrvGraphAddMemsetNode = 367,
388 HIP_API_ID_hipDrvGraphMemcpyNodeGetParams = 368,
389 HIP_API_ID_hipDrvGraphMemcpyNodeSetParams = 369,
390 HIP_API_ID_hipGetDevicePropertiesR0600 = 370,
391 HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode = 371,
392 HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode = 372,
393 HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams = 373,
394 HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams = 374,
395 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams = 375,
396 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams = 376,
397 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams = 377,
398 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams = 378,
399 HIP_API_ID_hipExtGetLastError = 379,
400 HIP_API_ID_hipGraphAddNode = 380,
401 HIP_API_ID_hipGetProcAddress = 381,
402 HIP_API_ID_hipGraphExecGetFlags = 382,
403 HIP_API_ID_hipGraphExecNodeSetParams = 383,
404 HIP_API_ID_hipGraphInstantiateWithParams = 384,
405 HIP_API_ID_hipGraphNodeSetParams = 385,
406 HIP_API_ID_hipDrvGraphAddMemFreeNode = 386,
407 HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams = 387,
408 HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams = 388,
409 HIP_API_ID_hipTexRefGetArray = 389,
410 HIP_API_ID_hipTexRefGetBorderColor = 390,
411 HIP_API_ID_hipStreamBeginCaptureToGraph = 391,
412 HIP_API_ID_hipGetFuncBySymbol = 392,
413 HIP_API_ID_RESERVED_393 = 393,
414 HIP_API_ID_RESERVED_394 = 394,
415 HIP_API_ID_RESERVED_395 = 395,
416 HIP_API_ID_RESERVED_396 = 396,
417 HIP_API_ID_RESERVED_397 = 397,
418 HIP_API_ID_RESERVED_398 = 398,
419 HIP_API_ID_RESERVED_399 = 399,
420 HIP_API_ID_hipMemcpy2DArrayToArray = 400,
421 HIP_API_ID_hipMemcpyAtoA = 401,
422 HIP_API_ID_hipMemcpyAtoD = 402,
423 HIP_API_ID_hipMemcpyAtoHAsync = 403,
424 HIP_API_ID_hipMemcpyDtoA = 404,
425 HIP_API_ID_hipMemcpyHtoAAsync = 405,
426 HIP_API_ID_hipSetValidDevices = 406,
427 HIP_API_ID_LAST = 406,
428
429 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
430 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
431
432 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
433 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
434 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
435 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
436 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
437 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
438 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
439 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
440 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
441 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
442 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
443 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
444 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
445 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
446 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
447 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
448 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
449 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
450 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
451 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
452 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
453 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
454 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
455 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
456};
457
458#undef HIP_API_ID_CONCAT_HELPER
459#undef HIP_API_ID_CONCAT
460
461// Return the HIP API string for a given callback ID
462static inline const char* hip_api_name(const uint32_t id) {
463 switch(id) {
464 case HIP_API_ID___hipPopCallConfiguration: return "__hipPopCallConfiguration";
465 case HIP_API_ID___hipPushCallConfiguration: return "__hipPushCallConfiguration";
466 case HIP_API_ID_hipArray3DCreate: return "hipArray3DCreate";
467 case HIP_API_ID_hipArray3DGetDescriptor: return "hipArray3DGetDescriptor";
468 case HIP_API_ID_hipArrayCreate: return "hipArrayCreate";
469 case HIP_API_ID_hipArrayDestroy: return "hipArrayDestroy";
470 case HIP_API_ID_hipArrayGetDescriptor: return "hipArrayGetDescriptor";
471 case HIP_API_ID_hipArrayGetInfo: return "hipArrayGetInfo";
472 case HIP_API_ID_hipChooseDeviceR0000: return "hipChooseDeviceR0000";
473 case HIP_API_ID_hipChooseDeviceR0600: return "hipChooseDeviceR0600";
474 case HIP_API_ID_hipConfigureCall: return "hipConfigureCall";
475 case HIP_API_ID_hipCreateSurfaceObject: return "hipCreateSurfaceObject";
476 case HIP_API_ID_hipCtxCreate: return "hipCtxCreate";
477 case HIP_API_ID_hipCtxDestroy: return "hipCtxDestroy";
478 case HIP_API_ID_hipCtxDisablePeerAccess: return "hipCtxDisablePeerAccess";
479 case HIP_API_ID_hipCtxEnablePeerAccess: return "hipCtxEnablePeerAccess";
480 case HIP_API_ID_hipCtxGetApiVersion: return "hipCtxGetApiVersion";
481 case HIP_API_ID_hipCtxGetCacheConfig: return "hipCtxGetCacheConfig";
482 case HIP_API_ID_hipCtxGetCurrent: return "hipCtxGetCurrent";
483 case HIP_API_ID_hipCtxGetDevice: return "hipCtxGetDevice";
484 case HIP_API_ID_hipCtxGetFlags: return "hipCtxGetFlags";
485 case HIP_API_ID_hipCtxGetSharedMemConfig: return "hipCtxGetSharedMemConfig";
486 case HIP_API_ID_hipCtxPopCurrent: return "hipCtxPopCurrent";
487 case HIP_API_ID_hipCtxPushCurrent: return "hipCtxPushCurrent";
488 case HIP_API_ID_hipCtxSetCacheConfig: return "hipCtxSetCacheConfig";
489 case HIP_API_ID_hipCtxSetCurrent: return "hipCtxSetCurrent";
490 case HIP_API_ID_hipCtxSetSharedMemConfig: return "hipCtxSetSharedMemConfig";
491 case HIP_API_ID_hipCtxSynchronize: return "hipCtxSynchronize";
492 case HIP_API_ID_hipDestroyExternalMemory: return "hipDestroyExternalMemory";
493 case HIP_API_ID_hipDestroyExternalSemaphore: return "hipDestroyExternalSemaphore";
494 case HIP_API_ID_hipDestroySurfaceObject: return "hipDestroySurfaceObject";
495 case HIP_API_ID_hipDeviceCanAccessPeer: return "hipDeviceCanAccessPeer";
496 case HIP_API_ID_hipDeviceComputeCapability: return "hipDeviceComputeCapability";
497 case HIP_API_ID_hipDeviceDisablePeerAccess: return "hipDeviceDisablePeerAccess";
498 case HIP_API_ID_hipDeviceEnablePeerAccess: return "hipDeviceEnablePeerAccess";
499 case HIP_API_ID_hipDeviceGet: return "hipDeviceGet";
500 case HIP_API_ID_hipDeviceGetAttribute: return "hipDeviceGetAttribute";
501 case HIP_API_ID_hipDeviceGetByPCIBusId: return "hipDeviceGetByPCIBusId";
502 case HIP_API_ID_hipDeviceGetCacheConfig: return "hipDeviceGetCacheConfig";
503 case HIP_API_ID_hipDeviceGetDefaultMemPool: return "hipDeviceGetDefaultMemPool";
504 case HIP_API_ID_hipDeviceGetGraphMemAttribute: return "hipDeviceGetGraphMemAttribute";
505 case HIP_API_ID_hipDeviceGetLimit: return "hipDeviceGetLimit";
506 case HIP_API_ID_hipDeviceGetMemPool: return "hipDeviceGetMemPool";
507 case HIP_API_ID_hipDeviceGetName: return "hipDeviceGetName";
508 case HIP_API_ID_hipDeviceGetP2PAttribute: return "hipDeviceGetP2PAttribute";
509 case HIP_API_ID_hipDeviceGetPCIBusId: return "hipDeviceGetPCIBusId";
510 case HIP_API_ID_hipDeviceGetSharedMemConfig: return "hipDeviceGetSharedMemConfig";
511 case HIP_API_ID_hipDeviceGetStreamPriorityRange: return "hipDeviceGetStreamPriorityRange";
512 case HIP_API_ID_hipDeviceGetUuid: return "hipDeviceGetUuid";
513 case HIP_API_ID_hipDeviceGraphMemTrim: return "hipDeviceGraphMemTrim";
514 case HIP_API_ID_hipDevicePrimaryCtxGetState: return "hipDevicePrimaryCtxGetState";
515 case HIP_API_ID_hipDevicePrimaryCtxRelease: return "hipDevicePrimaryCtxRelease";
516 case HIP_API_ID_hipDevicePrimaryCtxReset: return "hipDevicePrimaryCtxReset";
517 case HIP_API_ID_hipDevicePrimaryCtxRetain: return "hipDevicePrimaryCtxRetain";
518 case HIP_API_ID_hipDevicePrimaryCtxSetFlags: return "hipDevicePrimaryCtxSetFlags";
519 case HIP_API_ID_hipDeviceReset: return "hipDeviceReset";
520 case HIP_API_ID_hipDeviceSetCacheConfig: return "hipDeviceSetCacheConfig";
521 case HIP_API_ID_hipDeviceSetGraphMemAttribute: return "hipDeviceSetGraphMemAttribute";
522 case HIP_API_ID_hipDeviceSetLimit: return "hipDeviceSetLimit";
523 case HIP_API_ID_hipDeviceSetMemPool: return "hipDeviceSetMemPool";
524 case HIP_API_ID_hipDeviceSetSharedMemConfig: return "hipDeviceSetSharedMemConfig";
525 case HIP_API_ID_hipDeviceSynchronize: return "hipDeviceSynchronize";
526 case HIP_API_ID_hipDeviceTotalMem: return "hipDeviceTotalMem";
527 case HIP_API_ID_hipDriverGetVersion: return "hipDriverGetVersion";
528 case HIP_API_ID_hipDrvGraphAddMemFreeNode: return "hipDrvGraphAddMemFreeNode";
529 case HIP_API_ID_hipDrvGraphAddMemcpyNode: return "hipDrvGraphAddMemcpyNode";
530 case HIP_API_ID_hipDrvGraphAddMemsetNode: return "hipDrvGraphAddMemsetNode";
531 case HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams: return "hipDrvGraphExecMemcpyNodeSetParams";
532 case HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams: return "hipDrvGraphExecMemsetNodeSetParams";
533 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams: return "hipDrvGraphMemcpyNodeGetParams";
534 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams: return "hipDrvGraphMemcpyNodeSetParams";
535 case HIP_API_ID_hipDrvMemcpy2DUnaligned: return "hipDrvMemcpy2DUnaligned";
536 case HIP_API_ID_hipDrvMemcpy3D: return "hipDrvMemcpy3D";
537 case HIP_API_ID_hipDrvMemcpy3DAsync: return "hipDrvMemcpy3DAsync";
538 case HIP_API_ID_hipDrvPointerGetAttributes: return "hipDrvPointerGetAttributes";
539 case HIP_API_ID_hipEventCreate: return "hipEventCreate";
540 case HIP_API_ID_hipEventCreateWithFlags: return "hipEventCreateWithFlags";
541 case HIP_API_ID_hipEventDestroy: return "hipEventDestroy";
542 case HIP_API_ID_hipEventElapsedTime: return "hipEventElapsedTime";
543 case HIP_API_ID_hipEventQuery: return "hipEventQuery";
544 case HIP_API_ID_hipEventRecord: return "hipEventRecord";
545 case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
546 case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
547 case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
548 case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
549 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
550 case HIP_API_ID_hipExtMallocWithFlags: return "hipExtMallocWithFlags";
551 case HIP_API_ID_hipExtModuleLaunchKernel: return "hipExtModuleLaunchKernel";
552 case HIP_API_ID_hipExtStreamCreateWithCUMask: return "hipExtStreamCreateWithCUMask";
553 case HIP_API_ID_hipExtStreamGetCUMask: return "hipExtStreamGetCUMask";
554 case HIP_API_ID_hipExternalMemoryGetMappedBuffer: return "hipExternalMemoryGetMappedBuffer";
555 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray: return "hipExternalMemoryGetMappedMipmappedArray";
556 case HIP_API_ID_hipFree: return "hipFree";
557 case HIP_API_ID_hipFreeArray: return "hipFreeArray";
558 case HIP_API_ID_hipFreeAsync: return "hipFreeAsync";
559 case HIP_API_ID_hipFreeHost: return "hipFreeHost";
560 case HIP_API_ID_hipFreeMipmappedArray: return "hipFreeMipmappedArray";
561 case HIP_API_ID_hipFuncGetAttribute: return "hipFuncGetAttribute";
562 case HIP_API_ID_hipFuncGetAttributes: return "hipFuncGetAttributes";
563 case HIP_API_ID_hipFuncSetAttribute: return "hipFuncSetAttribute";
564 case HIP_API_ID_hipFuncSetCacheConfig: return "hipFuncSetCacheConfig";
565 case HIP_API_ID_hipFuncSetSharedMemConfig: return "hipFuncSetSharedMemConfig";
566 case HIP_API_ID_hipGLGetDevices: return "hipGLGetDevices";
567 case HIP_API_ID_hipGetChannelDesc: return "hipGetChannelDesc";
568 case HIP_API_ID_hipGetDevice: return "hipGetDevice";
569 case HIP_API_ID_hipGetDeviceCount: return "hipGetDeviceCount";
570 case HIP_API_ID_hipGetDeviceFlags: return "hipGetDeviceFlags";
571 case HIP_API_ID_hipGetDevicePropertiesR0000: return "hipGetDevicePropertiesR0000";
572 case HIP_API_ID_hipGetDevicePropertiesR0600: return "hipGetDevicePropertiesR0600";
573 case HIP_API_ID_hipGetErrorString: return "hipGetErrorString";
574 case HIP_API_ID_hipGetFuncBySymbol: return "hipGetFuncBySymbol";
575 case HIP_API_ID_hipGetLastError: return "hipGetLastError";
576 case HIP_API_ID_hipGetMipmappedArrayLevel: return "hipGetMipmappedArrayLevel";
577 case HIP_API_ID_hipGetProcAddress: return "hipGetProcAddress";
578 case HIP_API_ID_hipGetSymbolAddress: return "hipGetSymbolAddress";
579 case HIP_API_ID_hipGetSymbolSize: return "hipGetSymbolSize";
580 case HIP_API_ID_hipGraphAddChildGraphNode: return "hipGraphAddChildGraphNode";
581 case HIP_API_ID_hipGraphAddDependencies: return "hipGraphAddDependencies";
582 case HIP_API_ID_hipGraphAddEmptyNode: return "hipGraphAddEmptyNode";
583 case HIP_API_ID_hipGraphAddEventRecordNode: return "hipGraphAddEventRecordNode";
584 case HIP_API_ID_hipGraphAddEventWaitNode: return "hipGraphAddEventWaitNode";
585 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode: return "hipGraphAddExternalSemaphoresSignalNode";
586 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode: return "hipGraphAddExternalSemaphoresWaitNode";
587 case HIP_API_ID_hipGraphAddHostNode: return "hipGraphAddHostNode";
588 case HIP_API_ID_hipGraphAddKernelNode: return "hipGraphAddKernelNode";
589 case HIP_API_ID_hipGraphAddMemAllocNode: return "hipGraphAddMemAllocNode";
590 case HIP_API_ID_hipGraphAddMemFreeNode: return "hipGraphAddMemFreeNode";
591 case HIP_API_ID_hipGraphAddMemcpyNode: return "hipGraphAddMemcpyNode";
592 case HIP_API_ID_hipGraphAddMemcpyNode1D: return "hipGraphAddMemcpyNode1D";
593 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol: return "hipGraphAddMemcpyNodeFromSymbol";
594 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol: return "hipGraphAddMemcpyNodeToSymbol";
595 case HIP_API_ID_hipGraphAddMemsetNode: return "hipGraphAddMemsetNode";
596 case HIP_API_ID_hipGraphAddNode: return "hipGraphAddNode";
597 case HIP_API_ID_hipGraphChildGraphNodeGetGraph: return "hipGraphChildGraphNodeGetGraph";
598 case HIP_API_ID_hipGraphClone: return "hipGraphClone";
599 case HIP_API_ID_hipGraphCreate: return "hipGraphCreate";
600 case HIP_API_ID_hipGraphDebugDotPrint: return "hipGraphDebugDotPrint";
601 case HIP_API_ID_hipGraphDestroy: return "hipGraphDestroy";
602 case HIP_API_ID_hipGraphDestroyNode: return "hipGraphDestroyNode";
603 case HIP_API_ID_hipGraphEventRecordNodeGetEvent: return "hipGraphEventRecordNodeGetEvent";
604 case HIP_API_ID_hipGraphEventRecordNodeSetEvent: return "hipGraphEventRecordNodeSetEvent";
605 case HIP_API_ID_hipGraphEventWaitNodeGetEvent: return "hipGraphEventWaitNodeGetEvent";
606 case HIP_API_ID_hipGraphEventWaitNodeSetEvent: return "hipGraphEventWaitNodeSetEvent";
607 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams: return "hipGraphExecChildGraphNodeSetParams";
608 case HIP_API_ID_hipGraphExecDestroy: return "hipGraphExecDestroy";
609 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent: return "hipGraphExecEventRecordNodeSetEvent";
610 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent: return "hipGraphExecEventWaitNodeSetEvent";
611 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams: return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
612 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams: return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
613 case HIP_API_ID_hipGraphExecGetFlags: return "hipGraphExecGetFlags";
614 case HIP_API_ID_hipGraphExecHostNodeSetParams: return "hipGraphExecHostNodeSetParams";
615 case HIP_API_ID_hipGraphExecKernelNodeSetParams: return "hipGraphExecKernelNodeSetParams";
616 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams: return "hipGraphExecMemcpyNodeSetParams";
617 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D: return "hipGraphExecMemcpyNodeSetParams1D";
618 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol: return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
619 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol: return "hipGraphExecMemcpyNodeSetParamsToSymbol";
620 case HIP_API_ID_hipGraphExecMemsetNodeSetParams: return "hipGraphExecMemsetNodeSetParams";
621 case HIP_API_ID_hipGraphExecNodeSetParams: return "hipGraphExecNodeSetParams";
622 case HIP_API_ID_hipGraphExecUpdate: return "hipGraphExecUpdate";
623 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams: return "hipGraphExternalSemaphoresSignalNodeGetParams";
624 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams: return "hipGraphExternalSemaphoresSignalNodeSetParams";
625 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams: return "hipGraphExternalSemaphoresWaitNodeGetParams";
626 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams: return "hipGraphExternalSemaphoresWaitNodeSetParams";
627 case HIP_API_ID_hipGraphGetEdges: return "hipGraphGetEdges";
628 case HIP_API_ID_hipGraphGetNodes: return "hipGraphGetNodes";
629 case HIP_API_ID_hipGraphGetRootNodes: return "hipGraphGetRootNodes";
630 case HIP_API_ID_hipGraphHostNodeGetParams: return "hipGraphHostNodeGetParams";
631 case HIP_API_ID_hipGraphHostNodeSetParams: return "hipGraphHostNodeSetParams";
632 case HIP_API_ID_hipGraphInstantiate: return "hipGraphInstantiate";
633 case HIP_API_ID_hipGraphInstantiateWithFlags: return "hipGraphInstantiateWithFlags";
634 case HIP_API_ID_hipGraphInstantiateWithParams: return "hipGraphInstantiateWithParams";
635 case HIP_API_ID_hipGraphKernelNodeCopyAttributes: return "hipGraphKernelNodeCopyAttributes";
636 case HIP_API_ID_hipGraphKernelNodeGetAttribute: return "hipGraphKernelNodeGetAttribute";
637 case HIP_API_ID_hipGraphKernelNodeGetParams: return "hipGraphKernelNodeGetParams";
638 case HIP_API_ID_hipGraphKernelNodeSetAttribute: return "hipGraphKernelNodeSetAttribute";
639 case HIP_API_ID_hipGraphKernelNodeSetParams: return "hipGraphKernelNodeSetParams";
640 case HIP_API_ID_hipGraphLaunch: return "hipGraphLaunch";
641 case HIP_API_ID_hipGraphMemAllocNodeGetParams: return "hipGraphMemAllocNodeGetParams";
642 case HIP_API_ID_hipGraphMemFreeNodeGetParams: return "hipGraphMemFreeNodeGetParams";
643 case HIP_API_ID_hipGraphMemcpyNodeGetParams: return "hipGraphMemcpyNodeGetParams";
644 case HIP_API_ID_hipGraphMemcpyNodeSetParams: return "hipGraphMemcpyNodeSetParams";
645 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D: return "hipGraphMemcpyNodeSetParams1D";
646 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol: return "hipGraphMemcpyNodeSetParamsFromSymbol";
647 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol: return "hipGraphMemcpyNodeSetParamsToSymbol";
648 case HIP_API_ID_hipGraphMemsetNodeGetParams: return "hipGraphMemsetNodeGetParams";
649 case HIP_API_ID_hipGraphMemsetNodeSetParams: return "hipGraphMemsetNodeSetParams";
650 case HIP_API_ID_hipGraphNodeFindInClone: return "hipGraphNodeFindInClone";
651 case HIP_API_ID_hipGraphNodeGetDependencies: return "hipGraphNodeGetDependencies";
652 case HIP_API_ID_hipGraphNodeGetDependentNodes: return "hipGraphNodeGetDependentNodes";
653 case HIP_API_ID_hipGraphNodeGetEnabled: return "hipGraphNodeGetEnabled";
654 case HIP_API_ID_hipGraphNodeGetType: return "hipGraphNodeGetType";
655 case HIP_API_ID_hipGraphNodeSetEnabled: return "hipGraphNodeSetEnabled";
656 case HIP_API_ID_hipGraphNodeSetParams: return "hipGraphNodeSetParams";
657 case HIP_API_ID_hipGraphReleaseUserObject: return "hipGraphReleaseUserObject";
658 case HIP_API_ID_hipGraphRemoveDependencies: return "hipGraphRemoveDependencies";
659 case HIP_API_ID_hipGraphRetainUserObject: return "hipGraphRetainUserObject";
660 case HIP_API_ID_hipGraphUpload: return "hipGraphUpload";
661 case HIP_API_ID_hipGraphicsGLRegisterBuffer: return "hipGraphicsGLRegisterBuffer";
662 case HIP_API_ID_hipGraphicsGLRegisterImage: return "hipGraphicsGLRegisterImage";
663 case HIP_API_ID_hipGraphicsMapResources: return "hipGraphicsMapResources";
664 case HIP_API_ID_hipGraphicsResourceGetMappedPointer: return "hipGraphicsResourceGetMappedPointer";
665 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray: return "hipGraphicsSubResourceGetMappedArray";
666 case HIP_API_ID_hipGraphicsUnmapResources: return "hipGraphicsUnmapResources";
667 case HIP_API_ID_hipGraphicsUnregisterResource: return "hipGraphicsUnregisterResource";
668 case HIP_API_ID_hipHccModuleLaunchKernel: return "hipHccModuleLaunchKernel";
669 case HIP_API_ID_hipHostAlloc: return "hipHostAlloc";
670 case HIP_API_ID_hipHostFree: return "hipHostFree";
671 case HIP_API_ID_hipHostGetDevicePointer: return "hipHostGetDevicePointer";
672 case HIP_API_ID_hipHostGetFlags: return "hipHostGetFlags";
673 case HIP_API_ID_hipHostMalloc: return "hipHostMalloc";
674 case HIP_API_ID_hipHostRegister: return "hipHostRegister";
675 case HIP_API_ID_hipHostUnregister: return "hipHostUnregister";
676 case HIP_API_ID_hipImportExternalMemory: return "hipImportExternalMemory";
677 case HIP_API_ID_hipImportExternalSemaphore: return "hipImportExternalSemaphore";
678 case HIP_API_ID_hipInit: return "hipInit";
679 case HIP_API_ID_hipIpcCloseMemHandle: return "hipIpcCloseMemHandle";
680 case HIP_API_ID_hipIpcGetEventHandle: return "hipIpcGetEventHandle";
681 case HIP_API_ID_hipIpcGetMemHandle: return "hipIpcGetMemHandle";
682 case HIP_API_ID_hipIpcOpenEventHandle: return "hipIpcOpenEventHandle";
683 case HIP_API_ID_hipIpcOpenMemHandle: return "hipIpcOpenMemHandle";
684 case HIP_API_ID_hipLaunchByPtr: return "hipLaunchByPtr";
685 case HIP_API_ID_hipLaunchCooperativeKernel: return "hipLaunchCooperativeKernel";
686 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice: return "hipLaunchCooperativeKernelMultiDevice";
687 case HIP_API_ID_hipLaunchHostFunc: return "hipLaunchHostFunc";
688 case HIP_API_ID_hipLaunchKernel: return "hipLaunchKernel";
689 case HIP_API_ID_hipMalloc: return "hipMalloc";
690 case HIP_API_ID_hipMalloc3D: return "hipMalloc3D";
691 case HIP_API_ID_hipMalloc3DArray: return "hipMalloc3DArray";
692 case HIP_API_ID_hipMallocArray: return "hipMallocArray";
693 case HIP_API_ID_hipMallocAsync: return "hipMallocAsync";
694 case HIP_API_ID_hipMallocFromPoolAsync: return "hipMallocFromPoolAsync";
695 case HIP_API_ID_hipMallocHost: return "hipMallocHost";
696 case HIP_API_ID_hipMallocManaged: return "hipMallocManaged";
697 case HIP_API_ID_hipMallocMipmappedArray: return "hipMallocMipmappedArray";
698 case HIP_API_ID_hipMallocPitch: return "hipMallocPitch";
699 case HIP_API_ID_hipMemAddressFree: return "hipMemAddressFree";
700 case HIP_API_ID_hipMemAddressReserve: return "hipMemAddressReserve";
701 case HIP_API_ID_hipMemAdvise: return "hipMemAdvise";
702 case HIP_API_ID_hipMemAllocHost: return "hipMemAllocHost";
703 case HIP_API_ID_hipMemAllocPitch: return "hipMemAllocPitch";
704 case HIP_API_ID_hipMemCreate: return "hipMemCreate";
705 case HIP_API_ID_hipMemExportToShareableHandle: return "hipMemExportToShareableHandle";
706 case HIP_API_ID_hipMemGetAccess: return "hipMemGetAccess";
707 case HIP_API_ID_hipMemGetAddressRange: return "hipMemGetAddressRange";
708 case HIP_API_ID_hipMemGetAllocationGranularity: return "hipMemGetAllocationGranularity";
709 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle: return "hipMemGetAllocationPropertiesFromHandle";
710 case HIP_API_ID_hipMemGetInfo: return "hipMemGetInfo";
711 case HIP_API_ID_hipMemImportFromShareableHandle: return "hipMemImportFromShareableHandle";
712 case HIP_API_ID_hipMemMap: return "hipMemMap";
713 case HIP_API_ID_hipMemMapArrayAsync: return "hipMemMapArrayAsync";
714 case HIP_API_ID_hipMemPoolCreate: return "hipMemPoolCreate";
715 case HIP_API_ID_hipMemPoolDestroy: return "hipMemPoolDestroy";
716 case HIP_API_ID_hipMemPoolExportPointer: return "hipMemPoolExportPointer";
717 case HIP_API_ID_hipMemPoolExportToShareableHandle: return "hipMemPoolExportToShareableHandle";
718 case HIP_API_ID_hipMemPoolGetAccess: return "hipMemPoolGetAccess";
719 case HIP_API_ID_hipMemPoolGetAttribute: return "hipMemPoolGetAttribute";
720 case HIP_API_ID_hipMemPoolImportFromShareableHandle: return "hipMemPoolImportFromShareableHandle";
721 case HIP_API_ID_hipMemPoolImportPointer: return "hipMemPoolImportPointer";
722 case HIP_API_ID_hipMemPoolSetAccess: return "hipMemPoolSetAccess";
723 case HIP_API_ID_hipMemPoolSetAttribute: return "hipMemPoolSetAttribute";
724 case HIP_API_ID_hipMemPoolTrimTo: return "hipMemPoolTrimTo";
725 case HIP_API_ID_hipMemPrefetchAsync: return "hipMemPrefetchAsync";
726 case HIP_API_ID_hipMemPtrGetInfo: return "hipMemPtrGetInfo";
727 case HIP_API_ID_hipMemRangeGetAttribute: return "hipMemRangeGetAttribute";
728 case HIP_API_ID_hipMemRangeGetAttributes: return "hipMemRangeGetAttributes";
729 case HIP_API_ID_hipMemRelease: return "hipMemRelease";
730 case HIP_API_ID_hipMemRetainAllocationHandle: return "hipMemRetainAllocationHandle";
731 case HIP_API_ID_hipMemSetAccess: return "hipMemSetAccess";
732 case HIP_API_ID_hipMemUnmap: return "hipMemUnmap";
733 case HIP_API_ID_hipMemcpy: return "hipMemcpy";
734 case HIP_API_ID_hipMemcpy2D: return "hipMemcpy2D";
735 case HIP_API_ID_hipMemcpy2DArrayToArray: return "hipMemcpy2DArrayToArray";
736 case HIP_API_ID_hipMemcpy2DAsync: return "hipMemcpy2DAsync";
737 case HIP_API_ID_hipMemcpy2DFromArray: return "hipMemcpy2DFromArray";
738 case HIP_API_ID_hipMemcpy2DFromArrayAsync: return "hipMemcpy2DFromArrayAsync";
739 case HIP_API_ID_hipMemcpy2DToArray: return "hipMemcpy2DToArray";
740 case HIP_API_ID_hipMemcpy2DToArrayAsync: return "hipMemcpy2DToArrayAsync";
741 case HIP_API_ID_hipMemcpy3D: return "hipMemcpy3D";
742 case HIP_API_ID_hipMemcpy3DAsync: return "hipMemcpy3DAsync";
743 case HIP_API_ID_hipMemcpyAsync: return "hipMemcpyAsync";
744 case HIP_API_ID_hipMemcpyAtoA: return "hipMemcpyAtoA";
745 case HIP_API_ID_hipMemcpyAtoD: return "hipMemcpyAtoD";
746 case HIP_API_ID_hipMemcpyAtoH: return "hipMemcpyAtoH";
747 case HIP_API_ID_hipMemcpyAtoHAsync: return "hipMemcpyAtoHAsync";
748 case HIP_API_ID_hipMemcpyDtoA: return "hipMemcpyDtoA";
749 case HIP_API_ID_hipMemcpyDtoD: return "hipMemcpyDtoD";
750 case HIP_API_ID_hipMemcpyDtoDAsync: return "hipMemcpyDtoDAsync";
751 case HIP_API_ID_hipMemcpyDtoH: return "hipMemcpyDtoH";
752 case HIP_API_ID_hipMemcpyDtoHAsync: return "hipMemcpyDtoHAsync";
753 case HIP_API_ID_hipMemcpyFromArray: return "hipMemcpyFromArray";
754 case HIP_API_ID_hipMemcpyFromSymbol: return "hipMemcpyFromSymbol";
755 case HIP_API_ID_hipMemcpyFromSymbolAsync: return "hipMemcpyFromSymbolAsync";
756 case HIP_API_ID_hipMemcpyHtoA: return "hipMemcpyHtoA";
757 case HIP_API_ID_hipMemcpyHtoAAsync: return "hipMemcpyHtoAAsync";
758 case HIP_API_ID_hipMemcpyHtoD: return "hipMemcpyHtoD";
759 case HIP_API_ID_hipMemcpyHtoDAsync: return "hipMemcpyHtoDAsync";
760 case HIP_API_ID_hipMemcpyParam2D: return "hipMemcpyParam2D";
761 case HIP_API_ID_hipMemcpyParam2DAsync: return "hipMemcpyParam2DAsync";
762 case HIP_API_ID_hipMemcpyPeer: return "hipMemcpyPeer";
763 case HIP_API_ID_hipMemcpyPeerAsync: return "hipMemcpyPeerAsync";
764 case HIP_API_ID_hipMemcpyToArray: return "hipMemcpyToArray";
765 case HIP_API_ID_hipMemcpyToSymbol: return "hipMemcpyToSymbol";
766 case HIP_API_ID_hipMemcpyToSymbolAsync: return "hipMemcpyToSymbolAsync";
767 case HIP_API_ID_hipMemcpyWithStream: return "hipMemcpyWithStream";
768 case HIP_API_ID_hipMemset: return "hipMemset";
769 case HIP_API_ID_hipMemset2D: return "hipMemset2D";
770 case HIP_API_ID_hipMemset2DAsync: return "hipMemset2DAsync";
771 case HIP_API_ID_hipMemset3D: return "hipMemset3D";
772 case HIP_API_ID_hipMemset3DAsync: return "hipMemset3DAsync";
773 case HIP_API_ID_hipMemsetAsync: return "hipMemsetAsync";
774 case HIP_API_ID_hipMemsetD16: return "hipMemsetD16";
775 case HIP_API_ID_hipMemsetD16Async: return "hipMemsetD16Async";
776 case HIP_API_ID_hipMemsetD32: return "hipMemsetD32";
777 case HIP_API_ID_hipMemsetD32Async: return "hipMemsetD32Async";
778 case HIP_API_ID_hipMemsetD8: return "hipMemsetD8";
779 case HIP_API_ID_hipMemsetD8Async: return "hipMemsetD8Async";
780 case HIP_API_ID_hipMipmappedArrayCreate: return "hipMipmappedArrayCreate";
781 case HIP_API_ID_hipMipmappedArrayDestroy: return "hipMipmappedArrayDestroy";
782 case HIP_API_ID_hipMipmappedArrayGetLevel: return "hipMipmappedArrayGetLevel";
783 case HIP_API_ID_hipModuleGetFunction: return "hipModuleGetFunction";
784 case HIP_API_ID_hipModuleGetGlobal: return "hipModuleGetGlobal";
785 case HIP_API_ID_hipModuleGetTexRef: return "hipModuleGetTexRef";
786 case HIP_API_ID_hipModuleLaunchCooperativeKernel: return "hipModuleLaunchCooperativeKernel";
787 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice: return "hipModuleLaunchCooperativeKernelMultiDevice";
788 case HIP_API_ID_hipModuleLaunchKernel: return "hipModuleLaunchKernel";
789 case HIP_API_ID_hipModuleLoad: return "hipModuleLoad";
790 case HIP_API_ID_hipModuleLoadData: return "hipModuleLoadData";
791 case HIP_API_ID_hipModuleLoadDataEx: return "hipModuleLoadDataEx";
792 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
793 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
794 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize: return "hipModuleOccupancyMaxPotentialBlockSize";
795 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags: return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
796 case HIP_API_ID_hipModuleUnload: return "hipModuleUnload";
797 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor: return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
798 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
799 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize: return "hipOccupancyMaxPotentialBlockSize";
800 case HIP_API_ID_hipPeekAtLastError: return "hipPeekAtLastError";
801 case HIP_API_ID_hipPointerGetAttribute: return "hipPointerGetAttribute";
802 case HIP_API_ID_hipPointerGetAttributes: return "hipPointerGetAttributes";
803 case HIP_API_ID_hipPointerSetAttribute: return "hipPointerSetAttribute";
804 case HIP_API_ID_hipProfilerStart: return "hipProfilerStart";
805 case HIP_API_ID_hipProfilerStop: return "hipProfilerStop";
806 case HIP_API_ID_hipRuntimeGetVersion: return "hipRuntimeGetVersion";
807 case HIP_API_ID_hipSetDevice: return "hipSetDevice";
808 case HIP_API_ID_hipSetDeviceFlags: return "hipSetDeviceFlags";
809 case HIP_API_ID_hipSetValidDevices: return "hipSetValidDevices";
810 case HIP_API_ID_hipSetupArgument: return "hipSetupArgument";
811 case HIP_API_ID_hipSignalExternalSemaphoresAsync: return "hipSignalExternalSemaphoresAsync";
812 case HIP_API_ID_hipStreamAddCallback: return "hipStreamAddCallback";
813 case HIP_API_ID_hipStreamAttachMemAsync: return "hipStreamAttachMemAsync";
814 case HIP_API_ID_hipStreamBeginCapture: return "hipStreamBeginCapture";
815 case HIP_API_ID_hipStreamBeginCaptureToGraph: return "hipStreamBeginCaptureToGraph";
816 case HIP_API_ID_hipStreamCreate: return "hipStreamCreate";
817 case HIP_API_ID_hipStreamCreateWithFlags: return "hipStreamCreateWithFlags";
818 case HIP_API_ID_hipStreamCreateWithPriority: return "hipStreamCreateWithPriority";
819 case HIP_API_ID_hipStreamDestroy: return "hipStreamDestroy";
820 case HIP_API_ID_hipStreamEndCapture: return "hipStreamEndCapture";
821 case HIP_API_ID_hipStreamGetCaptureInfo: return "hipStreamGetCaptureInfo";
822 case HIP_API_ID_hipStreamGetCaptureInfo_v2: return "hipStreamGetCaptureInfo_v2";
823 case HIP_API_ID_hipStreamGetDevice: return "hipStreamGetDevice";
824 case HIP_API_ID_hipStreamGetFlags: return "hipStreamGetFlags";
825 case HIP_API_ID_hipStreamGetPriority: return "hipStreamGetPriority";
826 case HIP_API_ID_hipStreamIsCapturing: return "hipStreamIsCapturing";
827 case HIP_API_ID_hipStreamQuery: return "hipStreamQuery";
828 case HIP_API_ID_hipStreamSynchronize: return "hipStreamSynchronize";
829 case HIP_API_ID_hipStreamUpdateCaptureDependencies: return "hipStreamUpdateCaptureDependencies";
830 case HIP_API_ID_hipStreamWaitEvent: return "hipStreamWaitEvent";
831 case HIP_API_ID_hipStreamWaitValue32: return "hipStreamWaitValue32";
832 case HIP_API_ID_hipStreamWaitValue64: return "hipStreamWaitValue64";
833 case HIP_API_ID_hipStreamWriteValue32: return "hipStreamWriteValue32";
834 case HIP_API_ID_hipStreamWriteValue64: return "hipStreamWriteValue64";
835 case HIP_API_ID_hipTexRefGetAddress: return "hipTexRefGetAddress";
836 case HIP_API_ID_hipTexRefGetArray: return "hipTexRefGetArray";
837 case HIP_API_ID_hipTexRefGetBorderColor: return "hipTexRefGetBorderColor";
838 case HIP_API_ID_hipTexRefGetFlags: return "hipTexRefGetFlags";
839 case HIP_API_ID_hipTexRefGetFormat: return "hipTexRefGetFormat";
840 case HIP_API_ID_hipTexRefGetMaxAnisotropy: return "hipTexRefGetMaxAnisotropy";
841 case HIP_API_ID_hipTexRefGetMipMappedArray: return "hipTexRefGetMipMappedArray";
842 case HIP_API_ID_hipTexRefGetMipmapLevelBias: return "hipTexRefGetMipmapLevelBias";
843 case HIP_API_ID_hipTexRefGetMipmapLevelClamp: return "hipTexRefGetMipmapLevelClamp";
844 case HIP_API_ID_hipTexRefSetAddress: return "hipTexRefSetAddress";
845 case HIP_API_ID_hipTexRefSetAddress2D: return "hipTexRefSetAddress2D";
846 case HIP_API_ID_hipTexRefSetArray: return "hipTexRefSetArray";
847 case HIP_API_ID_hipTexRefSetBorderColor: return "hipTexRefSetBorderColor";
848 case HIP_API_ID_hipTexRefSetFlags: return "hipTexRefSetFlags";
849 case HIP_API_ID_hipTexRefSetFormat: return "hipTexRefSetFormat";
850 case HIP_API_ID_hipTexRefSetMaxAnisotropy: return "hipTexRefSetMaxAnisotropy";
851 case HIP_API_ID_hipTexRefSetMipmapLevelBias: return "hipTexRefSetMipmapLevelBias";
852 case HIP_API_ID_hipTexRefSetMipmapLevelClamp: return "hipTexRefSetMipmapLevelClamp";
853 case HIP_API_ID_hipTexRefSetMipmappedArray: return "hipTexRefSetMipmappedArray";
854 case HIP_API_ID_hipThreadExchangeStreamCaptureMode: return "hipThreadExchangeStreamCaptureMode";
855 case HIP_API_ID_hipUserObjectCreate: return "hipUserObjectCreate";
856 case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
857 case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
858 case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
859 };
860 return "unknown";
861};
862
863#include <string.h>
864// Return the HIP API callback ID for a given name
865static inline uint32_t hipApiIdByName(const char* name) {
866 if (strcmp("__hipPopCallConfiguration", name) == 0) return HIP_API_ID___hipPopCallConfiguration;
867 if (strcmp("__hipPushCallConfiguration", name) == 0) return HIP_API_ID___hipPushCallConfiguration;
868 if (strcmp("hipArray3DCreate", name) == 0) return HIP_API_ID_hipArray3DCreate;
869 if (strcmp("hipArray3DGetDescriptor", name) == 0) return HIP_API_ID_hipArray3DGetDescriptor;
870 if (strcmp("hipArrayCreate", name) == 0) return HIP_API_ID_hipArrayCreate;
871 if (strcmp("hipArrayDestroy", name) == 0) return HIP_API_ID_hipArrayDestroy;
872 if (strcmp("hipArrayGetDescriptor", name) == 0) return HIP_API_ID_hipArrayGetDescriptor;
873 if (strcmp("hipArrayGetInfo", name) == 0) return HIP_API_ID_hipArrayGetInfo;
874 if (strcmp("hipChooseDeviceR0000", name) == 0) return HIP_API_ID_hipChooseDeviceR0000;
875 if (strcmp("hipChooseDeviceR0600", name) == 0) return HIP_API_ID_hipChooseDeviceR0600;
876 if (strcmp("hipConfigureCall", name) == 0) return HIP_API_ID_hipConfigureCall;
877 if (strcmp("hipCreateSurfaceObject", name) == 0) return HIP_API_ID_hipCreateSurfaceObject;
878 if (strcmp("hipCtxCreate", name) == 0) return HIP_API_ID_hipCtxCreate;
879 if (strcmp("hipCtxDestroy", name) == 0) return HIP_API_ID_hipCtxDestroy;
880 if (strcmp("hipCtxDisablePeerAccess", name) == 0) return HIP_API_ID_hipCtxDisablePeerAccess;
881 if (strcmp("hipCtxEnablePeerAccess", name) == 0) return HIP_API_ID_hipCtxEnablePeerAccess;
882 if (strcmp("hipCtxGetApiVersion", name) == 0) return HIP_API_ID_hipCtxGetApiVersion;
883 if (strcmp("hipCtxGetCacheConfig", name) == 0) return HIP_API_ID_hipCtxGetCacheConfig;
884 if (strcmp("hipCtxGetCurrent", name) == 0) return HIP_API_ID_hipCtxGetCurrent;
885 if (strcmp("hipCtxGetDevice", name) == 0) return HIP_API_ID_hipCtxGetDevice;
886 if (strcmp("hipCtxGetFlags", name) == 0) return HIP_API_ID_hipCtxGetFlags;
887 if (strcmp("hipCtxGetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxGetSharedMemConfig;
888 if (strcmp("hipCtxPopCurrent", name) == 0) return HIP_API_ID_hipCtxPopCurrent;
889 if (strcmp("hipCtxPushCurrent", name) == 0) return HIP_API_ID_hipCtxPushCurrent;
890 if (strcmp("hipCtxSetCacheConfig", name) == 0) return HIP_API_ID_hipCtxSetCacheConfig;
891 if (strcmp("hipCtxSetCurrent", name) == 0) return HIP_API_ID_hipCtxSetCurrent;
892 if (strcmp("hipCtxSetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxSetSharedMemConfig;
893 if (strcmp("hipCtxSynchronize", name) == 0) return HIP_API_ID_hipCtxSynchronize;
894 if (strcmp("hipDestroyExternalMemory", name) == 0) return HIP_API_ID_hipDestroyExternalMemory;
895 if (strcmp("hipDestroyExternalSemaphore", name) == 0) return HIP_API_ID_hipDestroyExternalSemaphore;
896 if (strcmp("hipDestroySurfaceObject", name) == 0) return HIP_API_ID_hipDestroySurfaceObject;
897 if (strcmp("hipDeviceCanAccessPeer", name) == 0) return HIP_API_ID_hipDeviceCanAccessPeer;
898 if (strcmp("hipDeviceComputeCapability", name) == 0) return HIP_API_ID_hipDeviceComputeCapability;
899 if (strcmp("hipDeviceDisablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceDisablePeerAccess;
900 if (strcmp("hipDeviceEnablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceEnablePeerAccess;
901 if (strcmp("hipDeviceGet", name) == 0) return HIP_API_ID_hipDeviceGet;
902 if (strcmp("hipDeviceGetAttribute", name) == 0) return HIP_API_ID_hipDeviceGetAttribute;
903 if (strcmp("hipDeviceGetByPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetByPCIBusId;
904 if (strcmp("hipDeviceGetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceGetCacheConfig;
905 if (strcmp("hipDeviceGetDefaultMemPool", name) == 0) return HIP_API_ID_hipDeviceGetDefaultMemPool;
906 if (strcmp("hipDeviceGetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceGetGraphMemAttribute;
907 if (strcmp("hipDeviceGetLimit", name) == 0) return HIP_API_ID_hipDeviceGetLimit;
908 if (strcmp("hipDeviceGetMemPool", name) == 0) return HIP_API_ID_hipDeviceGetMemPool;
909 if (strcmp("hipDeviceGetName", name) == 0) return HIP_API_ID_hipDeviceGetName;
910 if (strcmp("hipDeviceGetP2PAttribute", name) == 0) return HIP_API_ID_hipDeviceGetP2PAttribute;
911 if (strcmp("hipDeviceGetPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetPCIBusId;
912 if (strcmp("hipDeviceGetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceGetSharedMemConfig;
913 if (strcmp("hipDeviceGetStreamPriorityRange", name) == 0) return HIP_API_ID_hipDeviceGetStreamPriorityRange;
914 if (strcmp("hipDeviceGetUuid", name) == 0) return HIP_API_ID_hipDeviceGetUuid;
915 if (strcmp("hipDeviceGraphMemTrim", name) == 0) return HIP_API_ID_hipDeviceGraphMemTrim;
916 if (strcmp("hipDevicePrimaryCtxGetState", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxGetState;
917 if (strcmp("hipDevicePrimaryCtxRelease", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRelease;
918 if (strcmp("hipDevicePrimaryCtxReset", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxReset;
919 if (strcmp("hipDevicePrimaryCtxRetain", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRetain;
920 if (strcmp("hipDevicePrimaryCtxSetFlags", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
921 if (strcmp("hipDeviceReset", name) == 0) return HIP_API_ID_hipDeviceReset;
922 if (strcmp("hipDeviceSetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceSetCacheConfig;
923 if (strcmp("hipDeviceSetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceSetGraphMemAttribute;
924 if (strcmp("hipDeviceSetLimit", name) == 0) return HIP_API_ID_hipDeviceSetLimit;
925 if (strcmp("hipDeviceSetMemPool", name) == 0) return HIP_API_ID_hipDeviceSetMemPool;
926 if (strcmp("hipDeviceSetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceSetSharedMemConfig;
927 if (strcmp("hipDeviceSynchronize", name) == 0) return HIP_API_ID_hipDeviceSynchronize;
928 if (strcmp("hipDeviceTotalMem", name) == 0) return HIP_API_ID_hipDeviceTotalMem;
929 if (strcmp("hipDriverGetVersion", name) == 0) return HIP_API_ID_hipDriverGetVersion;
930 if (strcmp("hipDrvGraphAddMemFreeNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemFreeNode;
931 if (strcmp("hipDrvGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemcpyNode;
932 if (strcmp("hipDrvGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemsetNode;
933 if (strcmp("hipDrvGraphExecMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams;
934 if (strcmp("hipDrvGraphExecMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams;
935 if (strcmp("hipDrvGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
936 if (strcmp("hipDrvGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
937 if (strcmp("hipDrvMemcpy2DUnaligned", name) == 0) return HIP_API_ID_hipDrvMemcpy2DUnaligned;
938 if (strcmp("hipDrvMemcpy3D", name) == 0) return HIP_API_ID_hipDrvMemcpy3D;
939 if (strcmp("hipDrvMemcpy3DAsync", name) == 0) return HIP_API_ID_hipDrvMemcpy3DAsync;
940 if (strcmp("hipDrvPointerGetAttributes", name) == 0) return HIP_API_ID_hipDrvPointerGetAttributes;
941 if (strcmp("hipEventCreate", name) == 0) return HIP_API_ID_hipEventCreate;
942 if (strcmp("hipEventCreateWithFlags", name) == 0) return HIP_API_ID_hipEventCreateWithFlags;
943 if (strcmp("hipEventDestroy", name) == 0) return HIP_API_ID_hipEventDestroy;
944 if (strcmp("hipEventElapsedTime", name) == 0) return HIP_API_ID_hipEventElapsedTime;
945 if (strcmp("hipEventQuery", name) == 0) return HIP_API_ID_hipEventQuery;
946 if (strcmp("hipEventRecord", name) == 0) return HIP_API_ID_hipEventRecord;
947 if (strcmp("hipEventSynchronize", name) == 0) return HIP_API_ID_hipEventSynchronize;
948 if (strcmp("hipExtGetLastError", name) == 0) return HIP_API_ID_hipExtGetLastError;
949 if (strcmp("hipExtGetLinkTypeAndHopCount", name) == 0) return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
950 if (strcmp("hipExtLaunchKernel", name) == 0) return HIP_API_ID_hipExtLaunchKernel;
951 if (strcmp("hipExtLaunchMultiKernelMultiDevice", name) == 0) return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
952 if (strcmp("hipExtMallocWithFlags", name) == 0) return HIP_API_ID_hipExtMallocWithFlags;
953 if (strcmp("hipExtModuleLaunchKernel", name) == 0) return HIP_API_ID_hipExtModuleLaunchKernel;
954 if (strcmp("hipExtStreamCreateWithCUMask", name) == 0) return HIP_API_ID_hipExtStreamCreateWithCUMask;
955 if (strcmp("hipExtStreamGetCUMask", name) == 0) return HIP_API_ID_hipExtStreamGetCUMask;
956 if (strcmp("hipExternalMemoryGetMappedBuffer", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
957 if (strcmp("hipExternalMemoryGetMappedMipmappedArray", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
958 if (strcmp("hipFree", name) == 0) return HIP_API_ID_hipFree;
959 if (strcmp("hipFreeArray", name) == 0) return HIP_API_ID_hipFreeArray;
960 if (strcmp("hipFreeAsync", name) == 0) return HIP_API_ID_hipFreeAsync;
961 if (strcmp("hipFreeHost", name) == 0) return HIP_API_ID_hipFreeHost;
962 if (strcmp("hipFreeMipmappedArray", name) == 0) return HIP_API_ID_hipFreeMipmappedArray;
963 if (strcmp("hipFuncGetAttribute", name) == 0) return HIP_API_ID_hipFuncGetAttribute;
964 if (strcmp("hipFuncGetAttributes", name) == 0) return HIP_API_ID_hipFuncGetAttributes;
965 if (strcmp("hipFuncSetAttribute", name) == 0) return HIP_API_ID_hipFuncSetAttribute;
966 if (strcmp("hipFuncSetCacheConfig", name) == 0) return HIP_API_ID_hipFuncSetCacheConfig;
967 if (strcmp("hipFuncSetSharedMemConfig", name) == 0) return HIP_API_ID_hipFuncSetSharedMemConfig;
968 if (strcmp("hipGLGetDevices", name) == 0) return HIP_API_ID_hipGLGetDevices;
969 if (strcmp("hipGetChannelDesc", name) == 0) return HIP_API_ID_hipGetChannelDesc;
970 if (strcmp("hipGetDevice", name) == 0) return HIP_API_ID_hipGetDevice;
971 if (strcmp("hipGetDeviceCount", name) == 0) return HIP_API_ID_hipGetDeviceCount;
972 if (strcmp("hipGetDeviceFlags", name) == 0) return HIP_API_ID_hipGetDeviceFlags;
973 if (strcmp("hipGetDevicePropertiesR0000", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0000;
974 if (strcmp("hipGetDevicePropertiesR0600", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0600;
975 if (strcmp("hipGetErrorString", name) == 0) return HIP_API_ID_hipGetErrorString;
976 if (strcmp("hipGetFuncBySymbol", name) == 0) return HIP_API_ID_hipGetFuncBySymbol;
977 if (strcmp("hipGetLastError", name) == 0) return HIP_API_ID_hipGetLastError;
978 if (strcmp("hipGetMipmappedArrayLevel", name) == 0) return HIP_API_ID_hipGetMipmappedArrayLevel;
979 if (strcmp("hipGetProcAddress", name) == 0) return HIP_API_ID_hipGetProcAddress;
980 if (strcmp("hipGetSymbolAddress", name) == 0) return HIP_API_ID_hipGetSymbolAddress;
981 if (strcmp("hipGetSymbolSize", name) == 0) return HIP_API_ID_hipGetSymbolSize;
982 if (strcmp("hipGraphAddChildGraphNode", name) == 0) return HIP_API_ID_hipGraphAddChildGraphNode;
983 if (strcmp("hipGraphAddDependencies", name) == 0) return HIP_API_ID_hipGraphAddDependencies;
984 if (strcmp("hipGraphAddEmptyNode", name) == 0) return HIP_API_ID_hipGraphAddEmptyNode;
985 if (strcmp("hipGraphAddEventRecordNode", name) == 0) return HIP_API_ID_hipGraphAddEventRecordNode;
986 if (strcmp("hipGraphAddEventWaitNode", name) == 0) return HIP_API_ID_hipGraphAddEventWaitNode;
987 if (strcmp("hipGraphAddExternalSemaphoresSignalNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
988 if (strcmp("hipGraphAddExternalSemaphoresWaitNode", name) == 0) return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
989 if (strcmp("hipGraphAddHostNode", name) == 0) return HIP_API_ID_hipGraphAddHostNode;
990 if (strcmp("hipGraphAddKernelNode", name) == 0) return HIP_API_ID_hipGraphAddKernelNode;
991 if (strcmp("hipGraphAddMemAllocNode", name) == 0) return HIP_API_ID_hipGraphAddMemAllocNode;
992 if (strcmp("hipGraphAddMemFreeNode", name) == 0) return HIP_API_ID_hipGraphAddMemFreeNode;
993 if (strcmp("hipGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode;
994 if (strcmp("hipGraphAddMemcpyNode1D", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode1D;
995 if (strcmp("hipGraphAddMemcpyNodeFromSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
996 if (strcmp("hipGraphAddMemcpyNodeToSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
997 if (strcmp("hipGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipGraphAddMemsetNode;
998 if (strcmp("hipGraphAddNode", name) == 0) return HIP_API_ID_hipGraphAddNode;
999 if (strcmp("hipGraphChildGraphNodeGetGraph", name) == 0) return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
1000 if (strcmp("hipGraphClone", name) == 0) return HIP_API_ID_hipGraphClone;
1001 if (strcmp("hipGraphCreate", name) == 0) return HIP_API_ID_hipGraphCreate;
1002 if (strcmp("hipGraphDebugDotPrint", name) == 0) return HIP_API_ID_hipGraphDebugDotPrint;
1003 if (strcmp("hipGraphDestroy", name) == 0) return HIP_API_ID_hipGraphDestroy;
1004 if (strcmp("hipGraphDestroyNode", name) == 0) return HIP_API_ID_hipGraphDestroyNode;
1005 if (strcmp("hipGraphEventRecordNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
1006 if (strcmp("hipGraphEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
1007 if (strcmp("hipGraphEventWaitNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
1008 if (strcmp("hipGraphEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
1009 if (strcmp("hipGraphExecChildGraphNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
1010 if (strcmp("hipGraphExecDestroy", name) == 0) return HIP_API_ID_hipGraphExecDestroy;
1011 if (strcmp("hipGraphExecEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
1012 if (strcmp("hipGraphExecEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
1013 if (strcmp("hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
1014 if (strcmp("hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
1015 if (strcmp("hipGraphExecGetFlags", name) == 0) return HIP_API_ID_hipGraphExecGetFlags;
1016 if (strcmp("hipGraphExecHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecHostNodeSetParams;
1017 if (strcmp("hipGraphExecKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecKernelNodeSetParams;
1018 if (strcmp("hipGraphExecMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
1019 if (strcmp("hipGraphExecMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
1020 if (strcmp("hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
1021 if (strcmp("hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
1022 if (strcmp("hipGraphExecMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
1023 if (strcmp("hipGraphExecNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecNodeSetParams;
1024 if (strcmp("hipGraphExecUpdate", name) == 0) return HIP_API_ID_hipGraphExecUpdate;
1025 if (strcmp("hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
1026 if (strcmp("hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
1027 if (strcmp("hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
1028 if (strcmp("hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
1029 if (strcmp("hipGraphGetEdges", name) == 0) return HIP_API_ID_hipGraphGetEdges;
1030 if (strcmp("hipGraphGetNodes", name) == 0) return HIP_API_ID_hipGraphGetNodes;
1031 if (strcmp("hipGraphGetRootNodes", name) == 0) return HIP_API_ID_hipGraphGetRootNodes;
1032 if (strcmp("hipGraphHostNodeGetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeGetParams;
1033 if (strcmp("hipGraphHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeSetParams;
1034 if (strcmp("hipGraphInstantiate", name) == 0) return HIP_API_ID_hipGraphInstantiate;
1035 if (strcmp("hipGraphInstantiateWithFlags", name) == 0) return HIP_API_ID_hipGraphInstantiateWithFlags;
1036 if (strcmp("hipGraphInstantiateWithParams", name) == 0) return HIP_API_ID_hipGraphInstantiateWithParams;
1037 if (strcmp("hipGraphKernelNodeCopyAttributes", name) == 0) return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
1038 if (strcmp("hipGraphKernelNodeGetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetAttribute;
1039 if (strcmp("hipGraphKernelNodeGetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetParams;
1040 if (strcmp("hipGraphKernelNodeSetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetAttribute;
1041 if (strcmp("hipGraphKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetParams;
1042 if (strcmp("hipGraphLaunch", name) == 0) return HIP_API_ID_hipGraphLaunch;
1043 if (strcmp("hipGraphMemAllocNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemAllocNodeGetParams;
1044 if (strcmp("hipGraphMemFreeNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemFreeNodeGetParams;
1045 if (strcmp("hipGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeGetParams;
1046 if (strcmp("hipGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams;
1047 if (strcmp("hipGraphMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
1048 if (strcmp("hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1049 if (strcmp("hipGraphMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1050 if (strcmp("hipGraphMemsetNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeGetParams;
1051 if (strcmp("hipGraphMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeSetParams;
1052 if (strcmp("hipGraphNodeFindInClone", name) == 0) return HIP_API_ID_hipGraphNodeFindInClone;
1053 if (strcmp("hipGraphNodeGetDependencies", name) == 0) return HIP_API_ID_hipGraphNodeGetDependencies;
1054 if (strcmp("hipGraphNodeGetDependentNodes", name) == 0) return HIP_API_ID_hipGraphNodeGetDependentNodes;
1055 if (strcmp("hipGraphNodeGetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeGetEnabled;
1056 if (strcmp("hipGraphNodeGetType", name) == 0) return HIP_API_ID_hipGraphNodeGetType;
1057 if (strcmp("hipGraphNodeSetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeSetEnabled;
1058 if (strcmp("hipGraphNodeSetParams", name) == 0) return HIP_API_ID_hipGraphNodeSetParams;
1059 if (strcmp("hipGraphReleaseUserObject", name) == 0) return HIP_API_ID_hipGraphReleaseUserObject;
1060 if (strcmp("hipGraphRemoveDependencies", name) == 0) return HIP_API_ID_hipGraphRemoveDependencies;
1061 if (strcmp("hipGraphRetainUserObject", name) == 0) return HIP_API_ID_hipGraphRetainUserObject;
1062 if (strcmp("hipGraphUpload", name) == 0) return HIP_API_ID_hipGraphUpload;
1063 if (strcmp("hipGraphicsGLRegisterBuffer", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1064 if (strcmp("hipGraphicsGLRegisterImage", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterImage;
1065 if (strcmp("hipGraphicsMapResources", name) == 0) return HIP_API_ID_hipGraphicsMapResources;
1066 if (strcmp("hipGraphicsResourceGetMappedPointer", name) == 0) return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1067 if (strcmp("hipGraphicsSubResourceGetMappedArray", name) == 0) return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1068 if (strcmp("hipGraphicsUnmapResources", name) == 0) return HIP_API_ID_hipGraphicsUnmapResources;
1069 if (strcmp("hipGraphicsUnregisterResource", name) == 0) return HIP_API_ID_hipGraphicsUnregisterResource;
1070 if (strcmp("hipHccModuleLaunchKernel", name) == 0) return HIP_API_ID_hipHccModuleLaunchKernel;
1071 if (strcmp("hipHostAlloc", name) == 0) return HIP_API_ID_hipHostAlloc;
1072 if (strcmp("hipHostFree", name) == 0) return HIP_API_ID_hipHostFree;
1073 if (strcmp("hipHostGetDevicePointer", name) == 0) return HIP_API_ID_hipHostGetDevicePointer;
1074 if (strcmp("hipHostGetFlags", name) == 0) return HIP_API_ID_hipHostGetFlags;
1075 if (strcmp("hipHostMalloc", name) == 0) return HIP_API_ID_hipHostMalloc;
1076 if (strcmp("hipHostRegister", name) == 0) return HIP_API_ID_hipHostRegister;
1077 if (strcmp("hipHostUnregister", name) == 0) return HIP_API_ID_hipHostUnregister;
1078 if (strcmp("hipImportExternalMemory", name) == 0) return HIP_API_ID_hipImportExternalMemory;
1079 if (strcmp("hipImportExternalSemaphore", name) == 0) return HIP_API_ID_hipImportExternalSemaphore;
1080 if (strcmp("hipInit", name) == 0) return HIP_API_ID_hipInit;
1081 if (strcmp("hipIpcCloseMemHandle", name) == 0) return HIP_API_ID_hipIpcCloseMemHandle;
1082 if (strcmp("hipIpcGetEventHandle", name) == 0) return HIP_API_ID_hipIpcGetEventHandle;
1083 if (strcmp("hipIpcGetMemHandle", name) == 0) return HIP_API_ID_hipIpcGetMemHandle;
1084 if (strcmp("hipIpcOpenEventHandle", name) == 0) return HIP_API_ID_hipIpcOpenEventHandle;
1085 if (strcmp("hipIpcOpenMemHandle", name) == 0) return HIP_API_ID_hipIpcOpenMemHandle;
1086 if (strcmp("hipLaunchByPtr", name) == 0) return HIP_API_ID_hipLaunchByPtr;
1087 if (strcmp("hipLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernel;
1088 if (strcmp("hipLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1089 if (strcmp("hipLaunchHostFunc", name) == 0) return HIP_API_ID_hipLaunchHostFunc;
1090 if (strcmp("hipLaunchKernel", name) == 0) return HIP_API_ID_hipLaunchKernel;
1091 if (strcmp("hipMalloc", name) == 0) return HIP_API_ID_hipMalloc;
1092 if (strcmp("hipMalloc3D", name) == 0) return HIP_API_ID_hipMalloc3D;
1093 if (strcmp("hipMalloc3DArray", name) == 0) return HIP_API_ID_hipMalloc3DArray;
1094 if (strcmp("hipMallocArray", name) == 0) return HIP_API_ID_hipMallocArray;
1095 if (strcmp("hipMallocAsync", name) == 0) return HIP_API_ID_hipMallocAsync;
1096 if (strcmp("hipMallocFromPoolAsync", name) == 0) return HIP_API_ID_hipMallocFromPoolAsync;
1097 if (strcmp("hipMallocHost", name) == 0) return HIP_API_ID_hipMallocHost;
1098 if (strcmp("hipMallocManaged", name) == 0) return HIP_API_ID_hipMallocManaged;
1099 if (strcmp("hipMallocMipmappedArray", name) == 0) return HIP_API_ID_hipMallocMipmappedArray;
1100 if (strcmp("hipMallocPitch", name) == 0) return HIP_API_ID_hipMallocPitch;
1101 if (strcmp("hipMemAddressFree", name) == 0) return HIP_API_ID_hipMemAddressFree;
1102 if (strcmp("hipMemAddressReserve", name) == 0) return HIP_API_ID_hipMemAddressReserve;
1103 if (strcmp("hipMemAdvise", name) == 0) return HIP_API_ID_hipMemAdvise;
1104 if (strcmp("hipMemAllocHost", name) == 0) return HIP_API_ID_hipMemAllocHost;
1105 if (strcmp("hipMemAllocPitch", name) == 0) return HIP_API_ID_hipMemAllocPitch;
1106 if (strcmp("hipMemCreate", name) == 0) return HIP_API_ID_hipMemCreate;
1107 if (strcmp("hipMemExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemExportToShareableHandle;
1108 if (strcmp("hipMemGetAccess", name) == 0) return HIP_API_ID_hipMemGetAccess;
1109 if (strcmp("hipMemGetAddressRange", name) == 0) return HIP_API_ID_hipMemGetAddressRange;
1110 if (strcmp("hipMemGetAllocationGranularity", name) == 0) return HIP_API_ID_hipMemGetAllocationGranularity;
1111 if (strcmp("hipMemGetAllocationPropertiesFromHandle", name) == 0) return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1112 if (strcmp("hipMemGetInfo", name) == 0) return HIP_API_ID_hipMemGetInfo;
1113 if (strcmp("hipMemImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemImportFromShareableHandle;
1114 if (strcmp("hipMemMap", name) == 0) return HIP_API_ID_hipMemMap;
1115 if (strcmp("hipMemMapArrayAsync", name) == 0) return HIP_API_ID_hipMemMapArrayAsync;
1116 if (strcmp("hipMemPoolCreate", name) == 0) return HIP_API_ID_hipMemPoolCreate;
1117 if (strcmp("hipMemPoolDestroy", name) == 0) return HIP_API_ID_hipMemPoolDestroy;
1118 if (strcmp("hipMemPoolExportPointer", name) == 0) return HIP_API_ID_hipMemPoolExportPointer;
1119 if (strcmp("hipMemPoolExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolExportToShareableHandle;
1120 if (strcmp("hipMemPoolGetAccess", name) == 0) return HIP_API_ID_hipMemPoolGetAccess;
1121 if (strcmp("hipMemPoolGetAttribute", name) == 0) return HIP_API_ID_hipMemPoolGetAttribute;
1122 if (strcmp("hipMemPoolImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1123 if (strcmp("hipMemPoolImportPointer", name) == 0) return HIP_API_ID_hipMemPoolImportPointer;
1124 if (strcmp("hipMemPoolSetAccess", name) == 0) return HIP_API_ID_hipMemPoolSetAccess;
1125 if (strcmp("hipMemPoolSetAttribute", name) == 0) return HIP_API_ID_hipMemPoolSetAttribute;
1126 if (strcmp("hipMemPoolTrimTo", name) == 0) return HIP_API_ID_hipMemPoolTrimTo;
1127 if (strcmp("hipMemPrefetchAsync", name) == 0) return HIP_API_ID_hipMemPrefetchAsync;
1128 if (strcmp("hipMemPtrGetInfo", name) == 0) return HIP_API_ID_hipMemPtrGetInfo;
1129 if (strcmp("hipMemRangeGetAttribute", name) == 0) return HIP_API_ID_hipMemRangeGetAttribute;
1130 if (strcmp("hipMemRangeGetAttributes", name) == 0) return HIP_API_ID_hipMemRangeGetAttributes;
1131 if (strcmp("hipMemRelease", name) == 0) return HIP_API_ID_hipMemRelease;
1132 if (strcmp("hipMemRetainAllocationHandle", name) == 0) return HIP_API_ID_hipMemRetainAllocationHandle;
1133 if (strcmp("hipMemSetAccess", name) == 0) return HIP_API_ID_hipMemSetAccess;
1134 if (strcmp("hipMemUnmap", name) == 0) return HIP_API_ID_hipMemUnmap;
1135 if (strcmp("hipMemcpy", name) == 0) return HIP_API_ID_hipMemcpy;
1136 if (strcmp("hipMemcpy2D", name) == 0) return HIP_API_ID_hipMemcpy2D;
1137 if (strcmp("hipMemcpy2DArrayToArray", name) == 0) return HIP_API_ID_hipMemcpy2DArrayToArray;
1138 if (strcmp("hipMemcpy2DAsync", name) == 0) return HIP_API_ID_hipMemcpy2DAsync;
1139 if (strcmp("hipMemcpy2DFromArray", name) == 0) return HIP_API_ID_hipMemcpy2DFromArray;
1140 if (strcmp("hipMemcpy2DFromArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1141 if (strcmp("hipMemcpy2DToArray", name) == 0) return HIP_API_ID_hipMemcpy2DToArray;
1142 if (strcmp("hipMemcpy2DToArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DToArrayAsync;
1143 if (strcmp("hipMemcpy3D", name) == 0) return HIP_API_ID_hipMemcpy3D;
1144 if (strcmp("hipMemcpy3DAsync", name) == 0) return HIP_API_ID_hipMemcpy3DAsync;
1145 if (strcmp("hipMemcpyAsync", name) == 0) return HIP_API_ID_hipMemcpyAsync;
1146 if (strcmp("hipMemcpyAtoA", name) == 0) return HIP_API_ID_hipMemcpyAtoA;
1147 if (strcmp("hipMemcpyAtoD", name) == 0) return HIP_API_ID_hipMemcpyAtoD;
1148 if (strcmp("hipMemcpyAtoH", name) == 0) return HIP_API_ID_hipMemcpyAtoH;
1149 if (strcmp("hipMemcpyAtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyAtoHAsync;
1150 if (strcmp("hipMemcpyDtoA", name) == 0) return HIP_API_ID_hipMemcpyDtoA;
1151 if (strcmp("hipMemcpyDtoD", name) == 0) return HIP_API_ID_hipMemcpyDtoD;
1152 if (strcmp("hipMemcpyDtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoDAsync;
1153 if (strcmp("hipMemcpyDtoH", name) == 0) return HIP_API_ID_hipMemcpyDtoH;
1154 if (strcmp("hipMemcpyDtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoHAsync;
1155 if (strcmp("hipMemcpyFromArray", name) == 0) return HIP_API_ID_hipMemcpyFromArray;
1156 if (strcmp("hipMemcpyFromSymbol", name) == 0) return HIP_API_ID_hipMemcpyFromSymbol;
1157 if (strcmp("hipMemcpyFromSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyFromSymbolAsync;
1158 if (strcmp("hipMemcpyHtoA", name) == 0) return HIP_API_ID_hipMemcpyHtoA;
1159 if (strcmp("hipMemcpyHtoAAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoAAsync;
1160 if (strcmp("hipMemcpyHtoD", name) == 0) return HIP_API_ID_hipMemcpyHtoD;
1161 if (strcmp("hipMemcpyHtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoDAsync;
1162 if (strcmp("hipMemcpyParam2D", name) == 0) return HIP_API_ID_hipMemcpyParam2D;
1163 if (strcmp("hipMemcpyParam2DAsync", name) == 0) return HIP_API_ID_hipMemcpyParam2DAsync;
1164 if (strcmp("hipMemcpyPeer", name) == 0) return HIP_API_ID_hipMemcpyPeer;
1165 if (strcmp("hipMemcpyPeerAsync", name) == 0) return HIP_API_ID_hipMemcpyPeerAsync;
1166 if (strcmp("hipMemcpyToArray", name) == 0) return HIP_API_ID_hipMemcpyToArray;
1167 if (strcmp("hipMemcpyToSymbol", name) == 0) return HIP_API_ID_hipMemcpyToSymbol;
1168 if (strcmp("hipMemcpyToSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyToSymbolAsync;
1169 if (strcmp("hipMemcpyWithStream", name) == 0) return HIP_API_ID_hipMemcpyWithStream;
1170 if (strcmp("hipMemset", name) == 0) return HIP_API_ID_hipMemset;
1171 if (strcmp("hipMemset2D", name) == 0) return HIP_API_ID_hipMemset2D;
1172 if (strcmp("hipMemset2DAsync", name) == 0) return HIP_API_ID_hipMemset2DAsync;
1173 if (strcmp("hipMemset3D", name) == 0) return HIP_API_ID_hipMemset3D;
1174 if (strcmp("hipMemset3DAsync", name) == 0) return HIP_API_ID_hipMemset3DAsync;
1175 if (strcmp("hipMemsetAsync", name) == 0) return HIP_API_ID_hipMemsetAsync;
1176 if (strcmp("hipMemsetD16", name) == 0) return HIP_API_ID_hipMemsetD16;
1177 if (strcmp("hipMemsetD16Async", name) == 0) return HIP_API_ID_hipMemsetD16Async;
1178 if (strcmp("hipMemsetD32", name) == 0) return HIP_API_ID_hipMemsetD32;
1179 if (strcmp("hipMemsetD32Async", name) == 0) return HIP_API_ID_hipMemsetD32Async;
1180 if (strcmp("hipMemsetD8", name) == 0) return HIP_API_ID_hipMemsetD8;
1181 if (strcmp("hipMemsetD8Async", name) == 0) return HIP_API_ID_hipMemsetD8Async;
1182 if (strcmp("hipMipmappedArrayCreate", name) == 0) return HIP_API_ID_hipMipmappedArrayCreate;
1183 if (strcmp("hipMipmappedArrayDestroy", name) == 0) return HIP_API_ID_hipMipmappedArrayDestroy;
1184 if (strcmp("hipMipmappedArrayGetLevel", name) == 0) return HIP_API_ID_hipMipmappedArrayGetLevel;
1185 if (strcmp("hipModuleGetFunction", name) == 0) return HIP_API_ID_hipModuleGetFunction;
1186 if (strcmp("hipModuleGetGlobal", name) == 0) return HIP_API_ID_hipModuleGetGlobal;
1187 if (strcmp("hipModuleGetTexRef", name) == 0) return HIP_API_ID_hipModuleGetTexRef;
1188 if (strcmp("hipModuleLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1189 if (strcmp("hipModuleLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1190 if (strcmp("hipModuleLaunchKernel", name) == 0) return HIP_API_ID_hipModuleLaunchKernel;
1191 if (strcmp("hipModuleLoad", name) == 0) return HIP_API_ID_hipModuleLoad;
1192 if (strcmp("hipModuleLoadData", name) == 0) return HIP_API_ID_hipModuleLoadData;
1193 if (strcmp("hipModuleLoadDataEx", name) == 0) return HIP_API_ID_hipModuleLoadDataEx;
1194 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1195 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1196 if (strcmp("hipModuleOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1197 if (strcmp("hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1198 if (strcmp("hipModuleUnload", name) == 0) return HIP_API_ID_hipModuleUnload;
1199 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1200 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1201 if (strcmp("hipOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1202 if (strcmp("hipPeekAtLastError", name) == 0) return HIP_API_ID_hipPeekAtLastError;
1203 if (strcmp("hipPointerGetAttribute", name) == 0) return HIP_API_ID_hipPointerGetAttribute;
1204 if (strcmp("hipPointerGetAttributes", name) == 0) return HIP_API_ID_hipPointerGetAttributes;
1205 if (strcmp("hipPointerSetAttribute", name) == 0) return HIP_API_ID_hipPointerSetAttribute;
1206 if (strcmp("hipProfilerStart", name) == 0) return HIP_API_ID_hipProfilerStart;
1207 if (strcmp("hipProfilerStop", name) == 0) return HIP_API_ID_hipProfilerStop;
1208 if (strcmp("hipRuntimeGetVersion", name) == 0) return HIP_API_ID_hipRuntimeGetVersion;
1209 if (strcmp("hipSetDevice", name) == 0) return HIP_API_ID_hipSetDevice;
1210 if (strcmp("hipSetDeviceFlags", name) == 0) return HIP_API_ID_hipSetDeviceFlags;
1211 if (strcmp("hipSetValidDevices", name) == 0) return HIP_API_ID_hipSetValidDevices;
1212 if (strcmp("hipSetupArgument", name) == 0) return HIP_API_ID_hipSetupArgument;
1213 if (strcmp("hipSignalExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1214 if (strcmp("hipStreamAddCallback", name) == 0) return HIP_API_ID_hipStreamAddCallback;
1215 if (strcmp("hipStreamAttachMemAsync", name) == 0) return HIP_API_ID_hipStreamAttachMemAsync;
1216 if (strcmp("hipStreamBeginCapture", name) == 0) return HIP_API_ID_hipStreamBeginCapture;
1217 if (strcmp("hipStreamBeginCaptureToGraph", name) == 0) return HIP_API_ID_hipStreamBeginCaptureToGraph;
1218 if (strcmp("hipStreamCreate", name) == 0) return HIP_API_ID_hipStreamCreate;
1219 if (strcmp("hipStreamCreateWithFlags", name) == 0) return HIP_API_ID_hipStreamCreateWithFlags;
1220 if (strcmp("hipStreamCreateWithPriority", name) == 0) return HIP_API_ID_hipStreamCreateWithPriority;
1221 if (strcmp("hipStreamDestroy", name) == 0) return HIP_API_ID_hipStreamDestroy;
1222 if (strcmp("hipStreamEndCapture", name) == 0) return HIP_API_ID_hipStreamEndCapture;
1223 if (strcmp("hipStreamGetCaptureInfo", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo;
1224 if (strcmp("hipStreamGetCaptureInfo_v2", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1225 if (strcmp("hipStreamGetDevice", name) == 0) return HIP_API_ID_hipStreamGetDevice;
1226 if (strcmp("hipStreamGetFlags", name) == 0) return HIP_API_ID_hipStreamGetFlags;
1227 if (strcmp("hipStreamGetPriority", name) == 0) return HIP_API_ID_hipStreamGetPriority;
1228 if (strcmp("hipStreamIsCapturing", name) == 0) return HIP_API_ID_hipStreamIsCapturing;
1229 if (strcmp("hipStreamQuery", name) == 0) return HIP_API_ID_hipStreamQuery;
1230 if (strcmp("hipStreamSynchronize", name) == 0) return HIP_API_ID_hipStreamSynchronize;
1231 if (strcmp("hipStreamUpdateCaptureDependencies", name) == 0) return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1232 if (strcmp("hipStreamWaitEvent", name) == 0) return HIP_API_ID_hipStreamWaitEvent;
1233 if (strcmp("hipStreamWaitValue32", name) == 0) return HIP_API_ID_hipStreamWaitValue32;
1234 if (strcmp("hipStreamWaitValue64", name) == 0) return HIP_API_ID_hipStreamWaitValue64;
1235 if (strcmp("hipStreamWriteValue32", name) == 0) return HIP_API_ID_hipStreamWriteValue32;
1236 if (strcmp("hipStreamWriteValue64", name) == 0) return HIP_API_ID_hipStreamWriteValue64;
1237 if (strcmp("hipTexRefGetAddress", name) == 0) return HIP_API_ID_hipTexRefGetAddress;
1238 if (strcmp("hipTexRefGetArray", name) == 0) return HIP_API_ID_hipTexRefGetArray;
1239 if (strcmp("hipTexRefGetBorderColor", name) == 0) return HIP_API_ID_hipTexRefGetBorderColor;
1240 if (strcmp("hipTexRefGetFlags", name) == 0) return HIP_API_ID_hipTexRefGetFlags;
1241 if (strcmp("hipTexRefGetFormat", name) == 0) return HIP_API_ID_hipTexRefGetFormat;
1242 if (strcmp("hipTexRefGetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1243 if (strcmp("hipTexRefGetMipMappedArray", name) == 0) return HIP_API_ID_hipTexRefGetMipMappedArray;
1244 if (strcmp("hipTexRefGetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1245 if (strcmp("hipTexRefGetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1246 if (strcmp("hipTexRefSetAddress", name) == 0) return HIP_API_ID_hipTexRefSetAddress;
1247 if (strcmp("hipTexRefSetAddress2D", name) == 0) return HIP_API_ID_hipTexRefSetAddress2D;
1248 if (strcmp("hipTexRefSetArray", name) == 0) return HIP_API_ID_hipTexRefSetArray;
1249 if (strcmp("hipTexRefSetBorderColor", name) == 0) return HIP_API_ID_hipTexRefSetBorderColor;
1250 if (strcmp("hipTexRefSetFlags", name) == 0) return HIP_API_ID_hipTexRefSetFlags;
1251 if (strcmp("hipTexRefSetFormat", name) == 0) return HIP_API_ID_hipTexRefSetFormat;
1252 if (strcmp("hipTexRefSetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1253 if (strcmp("hipTexRefSetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1254 if (strcmp("hipTexRefSetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1255 if (strcmp("hipTexRefSetMipmappedArray", name) == 0) return HIP_API_ID_hipTexRefSetMipmappedArray;
1256 if (strcmp("hipThreadExchangeStreamCaptureMode", name) == 0) return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1257 if (strcmp("hipUserObjectCreate", name) == 0) return HIP_API_ID_hipUserObjectCreate;
1258 if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
1259 if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
1260 if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1261 return HIP_API_ID_NONE;
1262}
1263
1264// HIP API callbacks data structures
1265typedef struct hip_api_data_s {
1266 uint64_t correlation_id;
1267 uint32_t phase;
1268 union {
1269 struct {
1270 dim3* gridDim;
1271 dim3 gridDim__val;
1272 dim3* blockDim;
1273 dim3 blockDim__val;
1274 size_t* sharedMem;
1275 size_t sharedMem__val;
1276 hipStream_t* stream;
1277 hipStream_t stream__val;
1278 } __hipPopCallConfiguration;
1279 struct {
1280 dim3 gridDim;
1281 dim3 blockDim;
1282 size_t sharedMem;
1283 hipStream_t stream;
1284 } __hipPushCallConfiguration;
1285 struct {
1286 hipArray_t* array;
1287 hipArray_t array__val;
1288 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1289 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1290 } hipArray3DCreate;
1291 struct {
1292 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1293 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1294 hipArray_t array;
1295 } hipArray3DGetDescriptor;
1296 struct {
1297 hipArray_t* pHandle;
1298 hipArray_t pHandle__val;
1299 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1300 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1301 } hipArrayCreate;
1302 struct {
1303 hipArray_t array;
1304 } hipArrayDestroy;
1305 struct {
1306 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1307 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1308 hipArray_t array;
1309 } hipArrayGetDescriptor;
1310 struct {
1311 hipChannelFormatDesc* desc;
1312 hipChannelFormatDesc desc__val;
1313 hipExtent* extent;
1314 hipExtent extent__val;
1315 unsigned int* flags;
1316 unsigned int flags__val;
1317 hipArray_t array;
1318 } hipArrayGetInfo;
1319 struct {
1320 int* device;
1321 int device__val;
1322 const hipDeviceProp_tR0000* prop;
1323 hipDeviceProp_tR0000 prop__val;
1324 } hipChooseDeviceR0000;
1325 struct {
1326 int* device;
1327 int device__val;
1328 const hipDeviceProp_tR0600* prop;
1329 hipDeviceProp_tR0600 prop__val;
1330 } hipChooseDeviceR0600;
1331 struct {
1332 dim3 gridDim;
1333 dim3 blockDim;
1334 size_t sharedMem;
1335 hipStream_t stream;
1336 } hipConfigureCall;
1337 struct {
1338 hipSurfaceObject_t* pSurfObject;
1339 hipSurfaceObject_t pSurfObject__val;
1340 const hipResourceDesc* pResDesc;
1341 hipResourceDesc pResDesc__val;
1342 } hipCreateSurfaceObject;
1343 struct {
1344 hipCtx_t* ctx;
1345 hipCtx_t ctx__val;
1346 unsigned int flags;
1347 hipDevice_t device;
1348 } hipCtxCreate;
1349 struct {
1350 hipCtx_t ctx;
1351 } hipCtxDestroy;
1352 struct {
1353 hipCtx_t peerCtx;
1354 } hipCtxDisablePeerAccess;
1355 struct {
1356 hipCtx_t peerCtx;
1357 unsigned int flags;
1358 } hipCtxEnablePeerAccess;
1359 struct {
1360 hipCtx_t ctx;
1361 int* apiVersion;
1362 int apiVersion__val;
1363 } hipCtxGetApiVersion;
1364 struct {
1365 hipFuncCache_t* cacheConfig;
1366 hipFuncCache_t cacheConfig__val;
1367 } hipCtxGetCacheConfig;
1368 struct {
1369 hipCtx_t* ctx;
1370 hipCtx_t ctx__val;
1371 } hipCtxGetCurrent;
1372 struct {
1373 hipDevice_t* device;
1374 hipDevice_t device__val;
1375 } hipCtxGetDevice;
1376 struct {
1377 unsigned int* flags;
1378 unsigned int flags__val;
1379 } hipCtxGetFlags;
1380 struct {
1381 hipSharedMemConfig* pConfig;
1382 hipSharedMemConfig pConfig__val;
1383 } hipCtxGetSharedMemConfig;
1384 struct {
1385 hipCtx_t* ctx;
1386 hipCtx_t ctx__val;
1387 } hipCtxPopCurrent;
1388 struct {
1389 hipCtx_t ctx;
1390 } hipCtxPushCurrent;
1391 struct {
1392 hipFuncCache_t cacheConfig;
1393 } hipCtxSetCacheConfig;
1394 struct {
1395 hipCtx_t ctx;
1396 } hipCtxSetCurrent;
1397 struct {
1398 hipSharedMemConfig config;
1399 } hipCtxSetSharedMemConfig;
1400 struct {
1401 hipExternalMemory_t extMem;
1402 } hipDestroyExternalMemory;
1403 struct {
1404 hipExternalSemaphore_t extSem;
1405 } hipDestroyExternalSemaphore;
1406 struct {
1407 hipSurfaceObject_t surfaceObject;
1408 } hipDestroySurfaceObject;
1409 struct {
1410 int* canAccessPeer;
1411 int canAccessPeer__val;
1412 int deviceId;
1413 int peerDeviceId;
1414 } hipDeviceCanAccessPeer;
1415 struct {
1416 int* major;
1417 int major__val;
1418 int* minor;
1419 int minor__val;
1420 hipDevice_t device;
1421 } hipDeviceComputeCapability;
1422 struct {
1423 int peerDeviceId;
1424 } hipDeviceDisablePeerAccess;
1425 struct {
1426 int peerDeviceId;
1427 unsigned int flags;
1428 } hipDeviceEnablePeerAccess;
1429 struct {
1430 hipDevice_t* device;
1431 hipDevice_t device__val;
1432 int ordinal;
1433 } hipDeviceGet;
1434 struct {
1435 int* pi;
1436 int pi__val;
1437 hipDeviceAttribute_t attr;
1438 int deviceId;
1439 } hipDeviceGetAttribute;
1440 struct {
1441 int* device;
1442 int device__val;
1443 const char* pciBusId;
1444 char pciBusId__val;
1445 } hipDeviceGetByPCIBusId;
1446 struct {
1447 hipFuncCache_t* cacheConfig;
1448 hipFuncCache_t cacheConfig__val;
1449 } hipDeviceGetCacheConfig;
1450 struct {
1451 hipMemPool_t* mem_pool;
1452 hipMemPool_t mem_pool__val;
1453 int device;
1454 } hipDeviceGetDefaultMemPool;
1455 struct {
1456 int device;
1457 hipGraphMemAttributeType attr;
1458 void* value;
1459 } hipDeviceGetGraphMemAttribute;
1460 struct {
1461 size_t* pValue;
1462 size_t pValue__val;
1463 enum hipLimit_t limit;
1464 } hipDeviceGetLimit;
1465 struct {
1466 hipMemPool_t* mem_pool;
1467 hipMemPool_t mem_pool__val;
1468 int device;
1469 } hipDeviceGetMemPool;
1470 struct {
1471 char* name;
1472 char name__val;
1473 int len;
1474 hipDevice_t device;
1475 } hipDeviceGetName;
1476 struct {
1477 int* value;
1478 int value__val;
1479 hipDeviceP2PAttr attr;
1480 int srcDevice;
1481 int dstDevice;
1482 } hipDeviceGetP2PAttribute;
1483 struct {
1484 char* pciBusId;
1485 char pciBusId__val;
1486 int len;
1487 int device;
1488 } hipDeviceGetPCIBusId;
1489 struct {
1490 hipSharedMemConfig* pConfig;
1491 hipSharedMemConfig pConfig__val;
1492 } hipDeviceGetSharedMemConfig;
1493 struct {
1494 int* leastPriority;
1495 int leastPriority__val;
1496 int* greatestPriority;
1497 int greatestPriority__val;
1498 } hipDeviceGetStreamPriorityRange;
1499 struct {
1500 hipUUID* uuid;
1501 hipUUID uuid__val;
1502 hipDevice_t device;
1503 } hipDeviceGetUuid;
1504 struct {
1505 int device;
1506 } hipDeviceGraphMemTrim;
1507 struct {
1508 hipDevice_t dev;
1509 unsigned int* flags;
1510 unsigned int flags__val;
1511 int* active;
1512 int active__val;
1513 } hipDevicePrimaryCtxGetState;
1514 struct {
1515 hipDevice_t dev;
1516 } hipDevicePrimaryCtxRelease;
1517 struct {
1518 hipDevice_t dev;
1519 } hipDevicePrimaryCtxReset;
1520 struct {
1521 hipCtx_t* pctx;
1522 hipCtx_t pctx__val;
1523 hipDevice_t dev;
1524 } hipDevicePrimaryCtxRetain;
1525 struct {
1526 hipDevice_t dev;
1527 unsigned int flags;
1528 } hipDevicePrimaryCtxSetFlags;
1529 struct {
1530 hipFuncCache_t cacheConfig;
1531 } hipDeviceSetCacheConfig;
1532 struct {
1533 int device;
1534 hipGraphMemAttributeType attr;
1535 void* value;
1536 } hipDeviceSetGraphMemAttribute;
1537 struct {
1538 enum hipLimit_t limit;
1539 size_t value;
1540 } hipDeviceSetLimit;
1541 struct {
1542 int device;
1543 hipMemPool_t mem_pool;
1544 } hipDeviceSetMemPool;
1545 struct {
1546 hipSharedMemConfig config;
1547 } hipDeviceSetSharedMemConfig;
1548 struct {
1549 size_t* bytes;
1550 size_t bytes__val;
1551 hipDevice_t device;
1552 } hipDeviceTotalMem;
1553 struct {
1554 int* driverVersion;
1555 int driverVersion__val;
1556 } hipDriverGetVersion;
1557 struct {
1558 hipGraphNode_t* phGraphNode;
1559 hipGraphNode_t phGraphNode__val;
1560 hipGraph_t hGraph;
1561 const hipGraphNode_t* dependencies;
1562 hipGraphNode_t dependencies__val;
1563 size_t numDependencies;
1564 hipDeviceptr_t dptr;
1565 } hipDrvGraphAddMemFreeNode;
1566 struct {
1567 hipGraphNode_t* phGraphNode;
1568 hipGraphNode_t phGraphNode__val;
1569 hipGraph_t hGraph;
1570 const hipGraphNode_t* dependencies;
1571 hipGraphNode_t dependencies__val;
1572 size_t numDependencies;
1573 const HIP_MEMCPY3D* copyParams;
1574 HIP_MEMCPY3D copyParams__val;
1575 hipCtx_t ctx;
1576 } hipDrvGraphAddMemcpyNode;
1577 struct {
1578 hipGraphNode_t* phGraphNode;
1579 hipGraphNode_t phGraphNode__val;
1580 hipGraph_t hGraph;
1581 const hipGraphNode_t* dependencies;
1582 hipGraphNode_t dependencies__val;
1583 size_t numDependencies;
1584 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1585 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1586 hipCtx_t ctx;
1587 } hipDrvGraphAddMemsetNode;
1588 struct {
1589 hipGraphExec_t hGraphExec;
1590 hipGraphNode_t hNode;
1591 const HIP_MEMCPY3D* copyParams;
1592 HIP_MEMCPY3D copyParams__val;
1593 hipCtx_t ctx;
1594 } hipDrvGraphExecMemcpyNodeSetParams;
1595 struct {
1596 hipGraphExec_t hGraphExec;
1597 hipGraphNode_t hNode;
1598 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1599 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1600 hipCtx_t ctx;
1601 } hipDrvGraphExecMemsetNodeSetParams;
1602 struct {
1603 hipGraphNode_t hNode;
1604 HIP_MEMCPY3D* nodeParams;
1605 HIP_MEMCPY3D nodeParams__val;
1606 } hipDrvGraphMemcpyNodeGetParams;
1607 struct {
1608 hipGraphNode_t hNode;
1609 const HIP_MEMCPY3D* nodeParams;
1610 HIP_MEMCPY3D nodeParams__val;
1611 } hipDrvGraphMemcpyNodeSetParams;
1612 struct {
1613 const hip_Memcpy2D* pCopy;
1614 hip_Memcpy2D pCopy__val;
1615 } hipDrvMemcpy2DUnaligned;
1616 struct {
1617 const HIP_MEMCPY3D* pCopy;
1618 HIP_MEMCPY3D pCopy__val;
1619 } hipDrvMemcpy3D;
1620 struct {
1621 const HIP_MEMCPY3D* pCopy;
1622 HIP_MEMCPY3D pCopy__val;
1623 hipStream_t stream;
1624 } hipDrvMemcpy3DAsync;
1625 struct {
1626 unsigned int numAttributes;
1627 hipPointer_attribute* attributes;
1628 hipPointer_attribute attributes__val;
1629 void** data;
1630 void* data__val;
1631 hipDeviceptr_t ptr;
1632 } hipDrvPointerGetAttributes;
1633 struct {
1634 hipEvent_t* event;
1635 hipEvent_t event__val;
1636 } hipEventCreate;
1637 struct {
1638 hipEvent_t* event;
1639 hipEvent_t event__val;
1640 unsigned int flags;
1641 } hipEventCreateWithFlags;
1642 struct {
1643 hipEvent_t event;
1644 } hipEventDestroy;
1645 struct {
1646 float* ms;
1647 float ms__val;
1648 hipEvent_t start;
1649 hipEvent_t stop;
1650 } hipEventElapsedTime;
1651 struct {
1652 hipEvent_t event;
1653 } hipEventQuery;
1654 struct {
1655 hipEvent_t event;
1656 hipStream_t stream;
1657 } hipEventRecord;
1658 struct {
1659 hipEvent_t event;
1660 } hipEventSynchronize;
1661 struct {
1662 int device1;
1663 int device2;
1664 unsigned int* linktype;
1665 unsigned int linktype__val;
1666 unsigned int* hopcount;
1667 unsigned int hopcount__val;
1668 } hipExtGetLinkTypeAndHopCount;
1669 struct {
1670 const void* function_address;
1671 dim3 numBlocks;
1672 dim3 dimBlocks;
1673 void** args;
1674 void* args__val;
1675 size_t sharedMemBytes;
1676 hipStream_t stream;
1677 hipEvent_t startEvent;
1678 hipEvent_t stopEvent;
1679 int flags;
1680 } hipExtLaunchKernel;
1681 struct {
1682 hipLaunchParams* launchParamsList;
1683 hipLaunchParams launchParamsList__val;
1684 int numDevices;
1685 unsigned int flags;
1686 } hipExtLaunchMultiKernelMultiDevice;
1687 struct {
1688 void** ptr;
1689 void* ptr__val;
1690 size_t sizeBytes;
1691 unsigned int flags;
1692 } hipExtMallocWithFlags;
1693 struct {
1694 hipFunction_t f;
1695 unsigned int globalWorkSizeX;
1696 unsigned int globalWorkSizeY;
1697 unsigned int globalWorkSizeZ;
1698 unsigned int localWorkSizeX;
1699 unsigned int localWorkSizeY;
1700 unsigned int localWorkSizeZ;
1701 size_t sharedMemBytes;
1702 hipStream_t hStream;
1703 void** kernelParams;
1704 void* kernelParams__val;
1705 void** extra;
1706 void* extra__val;
1707 hipEvent_t startEvent;
1708 hipEvent_t stopEvent;
1709 unsigned int flags;
1710 } hipExtModuleLaunchKernel;
1711 struct {
1712 hipStream_t* stream;
1713 hipStream_t stream__val;
1714 unsigned int cuMaskSize;
1715 const unsigned int* cuMask;
1716 unsigned int cuMask__val;
1717 } hipExtStreamCreateWithCUMask;
1718 struct {
1719 hipStream_t stream;
1720 unsigned int cuMaskSize;
1721 unsigned int* cuMask;
1722 unsigned int cuMask__val;
1723 } hipExtStreamGetCUMask;
1724 struct {
1725 void** devPtr;
1726 void* devPtr__val;
1727 hipExternalMemory_t extMem;
1728 const hipExternalMemoryBufferDesc* bufferDesc;
1729 hipExternalMemoryBufferDesc bufferDesc__val;
1730 } hipExternalMemoryGetMappedBuffer;
1731 struct {
1732 hipMipmappedArray_t* mipmap;
1733 hipMipmappedArray_t mipmap__val;
1734 hipExternalMemory_t extMem;
1735 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1736 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1737 } hipExternalMemoryGetMappedMipmappedArray;
1738 struct {
1739 void* ptr;
1740 } hipFree;
1741 struct {
1742 hipArray_t array;
1743 } hipFreeArray;
1744 struct {
1745 void* dev_ptr;
1746 hipStream_t stream;
1747 } hipFreeAsync;
1748 struct {
1749 void* ptr;
1750 } hipFreeHost;
1751 struct {
1752 hipMipmappedArray_t mipmappedArray;
1753 } hipFreeMipmappedArray;
1754 struct {
1755 int* value;
1756 int value__val;
1757 hipFunction_attribute attrib;
1758 hipFunction_t hfunc;
1759 } hipFuncGetAttribute;
1760 struct {
1761 hipFuncAttributes* attr;
1762 hipFuncAttributes attr__val;
1763 const void* func;
1764 } hipFuncGetAttributes;
1765 struct {
1766 const void* func;
1767 hipFuncAttribute attr;
1768 int value;
1769 } hipFuncSetAttribute;
1770 struct {
1771 const void* func;
1772 hipFuncCache_t config;
1773 } hipFuncSetCacheConfig;
1774 struct {
1775 const void* func;
1776 hipSharedMemConfig config;
1777 } hipFuncSetSharedMemConfig;
1778 struct {
1779 unsigned int* pHipDeviceCount;
1780 unsigned int pHipDeviceCount__val;
1781 int* pHipDevices;
1782 int pHipDevices__val;
1783 unsigned int hipDeviceCount;
1784 hipGLDeviceList deviceList;
1785 } hipGLGetDevices;
1786 struct {
1787 hipChannelFormatDesc* desc;
1788 hipChannelFormatDesc desc__val;
1789 hipArray_const_t array;
1790 } hipGetChannelDesc;
1791 struct {
1792 int* deviceId;
1793 int deviceId__val;
1794 } hipGetDevice;
1795 struct {
1796 int* count;
1797 int count__val;
1798 } hipGetDeviceCount;
1799 struct {
1800 unsigned int* flags;
1801 unsigned int flags__val;
1802 } hipGetDeviceFlags;
1803 struct {
1804 hipDeviceProp_tR0000* prop;
1805 hipDeviceProp_tR0000 prop__val;
1806 int device;
1807 } hipGetDevicePropertiesR0000;
1808 struct {
1809 hipDeviceProp_tR0600* prop;
1810 hipDeviceProp_tR0600 prop__val;
1811 int deviceId;
1812 } hipGetDevicePropertiesR0600;
1813 struct {
1814 hipFunction_t* functionPtr;
1815 hipFunction_t functionPtr__val;
1816 const void* symbolPtr;
1817 } hipGetFuncBySymbol;
1818 struct {
1819 hipArray_t* levelArray;
1820 hipArray_t levelArray__val;
1821 hipMipmappedArray_const_t mipmappedArray;
1822 unsigned int level;
1823 } hipGetMipmappedArrayLevel;
1824 struct {
1825 const char* symbol;
1826 char symbol__val;
1827 void** pfn;
1828 void* pfn__val;
1829 int hipVersion;
1830 uint64_t flags;
1831 hipDriverProcAddressQueryResult* symbolStatus;
1832 hipDriverProcAddressQueryResult symbolStatus__val;
1833 } hipGetProcAddress;
1834 struct {
1835 void** devPtr;
1836 void* devPtr__val;
1837 const void* symbol;
1838 } hipGetSymbolAddress;
1839 struct {
1840 size_t* size;
1841 size_t size__val;
1842 const void* symbol;
1843 } hipGetSymbolSize;
1844 struct {
1845 hipGraphNode_t* pGraphNode;
1846 hipGraphNode_t pGraphNode__val;
1847 hipGraph_t graph;
1848 const hipGraphNode_t* pDependencies;
1849 hipGraphNode_t pDependencies__val;
1850 size_t numDependencies;
1851 hipGraph_t childGraph;
1852 } hipGraphAddChildGraphNode;
1853 struct {
1854 hipGraph_t graph;
1855 const hipGraphNode_t* from;
1856 hipGraphNode_t from__val;
1857 const hipGraphNode_t* to;
1858 hipGraphNode_t to__val;
1859 size_t numDependencies;
1860 } hipGraphAddDependencies;
1861 struct {
1862 hipGraphNode_t* pGraphNode;
1863 hipGraphNode_t pGraphNode__val;
1864 hipGraph_t graph;
1865 const hipGraphNode_t* pDependencies;
1866 hipGraphNode_t pDependencies__val;
1867 size_t numDependencies;
1868 } hipGraphAddEmptyNode;
1869 struct {
1870 hipGraphNode_t* pGraphNode;
1871 hipGraphNode_t pGraphNode__val;
1872 hipGraph_t graph;
1873 const hipGraphNode_t* pDependencies;
1874 hipGraphNode_t pDependencies__val;
1875 size_t numDependencies;
1876 hipEvent_t event;
1877 } hipGraphAddEventRecordNode;
1878 struct {
1879 hipGraphNode_t* pGraphNode;
1880 hipGraphNode_t pGraphNode__val;
1881 hipGraph_t graph;
1882 const hipGraphNode_t* pDependencies;
1883 hipGraphNode_t pDependencies__val;
1884 size_t numDependencies;
1885 hipEvent_t event;
1886 } hipGraphAddEventWaitNode;
1887 struct {
1888 hipGraphNode_t* pGraphNode;
1889 hipGraphNode_t pGraphNode__val;
1890 hipGraph_t graph;
1891 const hipGraphNode_t* pDependencies;
1892 hipGraphNode_t pDependencies__val;
1893 size_t numDependencies;
1894 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1895 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1896 } hipGraphAddExternalSemaphoresSignalNode;
1897 struct {
1898 hipGraphNode_t* pGraphNode;
1899 hipGraphNode_t pGraphNode__val;
1900 hipGraph_t graph;
1901 const hipGraphNode_t* pDependencies;
1902 hipGraphNode_t pDependencies__val;
1903 size_t numDependencies;
1904 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1905 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1906 } hipGraphAddExternalSemaphoresWaitNode;
1907 struct {
1908 hipGraphNode_t* pGraphNode;
1909 hipGraphNode_t pGraphNode__val;
1910 hipGraph_t graph;
1911 const hipGraphNode_t* pDependencies;
1912 hipGraphNode_t pDependencies__val;
1913 size_t numDependencies;
1914 const hipHostNodeParams* pNodeParams;
1915 hipHostNodeParams pNodeParams__val;
1916 } hipGraphAddHostNode;
1917 struct {
1918 hipGraphNode_t* pGraphNode;
1919 hipGraphNode_t pGraphNode__val;
1920 hipGraph_t graph;
1921 const hipGraphNode_t* pDependencies;
1922 hipGraphNode_t pDependencies__val;
1923 size_t numDependencies;
1924 const hipKernelNodeParams* pNodeParams;
1925 hipKernelNodeParams pNodeParams__val;
1926 } hipGraphAddKernelNode;
1927 struct {
1928 hipGraphNode_t* pGraphNode;
1929 hipGraphNode_t pGraphNode__val;
1930 hipGraph_t graph;
1931 const hipGraphNode_t* pDependencies;
1932 hipGraphNode_t pDependencies__val;
1933 size_t numDependencies;
1934 hipMemAllocNodeParams* pNodeParams;
1935 hipMemAllocNodeParams pNodeParams__val;
1936 } hipGraphAddMemAllocNode;
1937 struct {
1938 hipGraphNode_t* pGraphNode;
1939 hipGraphNode_t pGraphNode__val;
1940 hipGraph_t graph;
1941 const hipGraphNode_t* pDependencies;
1942 hipGraphNode_t pDependencies__val;
1943 size_t numDependencies;
1944 void* dev_ptr;
1945 } hipGraphAddMemFreeNode;
1946 struct {
1947 hipGraphNode_t* pGraphNode;
1948 hipGraphNode_t pGraphNode__val;
1949 hipGraph_t graph;
1950 const hipGraphNode_t* pDependencies;
1951 hipGraphNode_t pDependencies__val;
1952 size_t numDependencies;
1953 const hipMemcpy3DParms* pCopyParams;
1954 hipMemcpy3DParms pCopyParams__val;
1955 } hipGraphAddMemcpyNode;
1956 struct {
1957 hipGraphNode_t* pGraphNode;
1958 hipGraphNode_t pGraphNode__val;
1959 hipGraph_t graph;
1960 const hipGraphNode_t* pDependencies;
1961 hipGraphNode_t pDependencies__val;
1962 size_t numDependencies;
1963 void* dst;
1964 const void* src;
1965 size_t count;
1966 hipMemcpyKind kind;
1967 } hipGraphAddMemcpyNode1D;
1968 struct {
1969 hipGraphNode_t* pGraphNode;
1970 hipGraphNode_t pGraphNode__val;
1971 hipGraph_t graph;
1972 const hipGraphNode_t* pDependencies;
1973 hipGraphNode_t pDependencies__val;
1974 size_t numDependencies;
1975 void* dst;
1976 const void* symbol;
1977 size_t count;
1978 size_t offset;
1979 hipMemcpyKind kind;
1980 } hipGraphAddMemcpyNodeFromSymbol;
1981 struct {
1982 hipGraphNode_t* pGraphNode;
1983 hipGraphNode_t pGraphNode__val;
1984 hipGraph_t graph;
1985 const hipGraphNode_t* pDependencies;
1986 hipGraphNode_t pDependencies__val;
1987 size_t numDependencies;
1988 const void* symbol;
1989 const void* src;
1990 size_t count;
1991 size_t offset;
1992 hipMemcpyKind kind;
1993 } hipGraphAddMemcpyNodeToSymbol;
1994 struct {
1995 hipGraphNode_t* pGraphNode;
1996 hipGraphNode_t pGraphNode__val;
1997 hipGraph_t graph;
1998 const hipGraphNode_t* pDependencies;
1999 hipGraphNode_t pDependencies__val;
2000 size_t numDependencies;
2001 const hipMemsetParams* pMemsetParams;
2002 hipMemsetParams pMemsetParams__val;
2003 } hipGraphAddMemsetNode;
2004 struct {
2005 hipGraphNode_t* pGraphNode;
2006 hipGraphNode_t pGraphNode__val;
2007 hipGraph_t graph;
2008 const hipGraphNode_t* pDependencies;
2009 hipGraphNode_t pDependencies__val;
2010 size_t numDependencies;
2011 hipGraphNodeParams* nodeParams;
2012 hipGraphNodeParams nodeParams__val;
2013 } hipGraphAddNode;
2014 struct {
2015 hipGraphNode_t node;
2016 hipGraph_t* pGraph;
2017 hipGraph_t pGraph__val;
2018 } hipGraphChildGraphNodeGetGraph;
2019 struct {
2020 hipGraph_t* pGraphClone;
2021 hipGraph_t pGraphClone__val;
2022 hipGraph_t originalGraph;
2023 } hipGraphClone;
2024 struct {
2025 hipGraph_t* pGraph;
2026 hipGraph_t pGraph__val;
2027 unsigned int flags;
2028 } hipGraphCreate;
2029 struct {
2030 hipGraph_t graph;
2031 const char* path;
2032 char path__val;
2033 unsigned int flags;
2034 } hipGraphDebugDotPrint;
2035 struct {
2036 hipGraph_t graph;
2037 } hipGraphDestroy;
2038 struct {
2039 hipGraphNode_t node;
2040 } hipGraphDestroyNode;
2041 struct {
2042 hipGraphNode_t node;
2043 hipEvent_t* event_out;
2044 hipEvent_t event_out__val;
2045 } hipGraphEventRecordNodeGetEvent;
2046 struct {
2047 hipGraphNode_t node;
2048 hipEvent_t event;
2049 } hipGraphEventRecordNodeSetEvent;
2050 struct {
2051 hipGraphNode_t node;
2052 hipEvent_t* event_out;
2053 hipEvent_t event_out__val;
2054 } hipGraphEventWaitNodeGetEvent;
2055 struct {
2056 hipGraphNode_t node;
2057 hipEvent_t event;
2058 } hipGraphEventWaitNodeSetEvent;
2059 struct {
2060 hipGraphExec_t hGraphExec;
2061 hipGraphNode_t node;
2062 hipGraph_t childGraph;
2063 } hipGraphExecChildGraphNodeSetParams;
2064 struct {
2065 hipGraphExec_t graphExec;
2066 } hipGraphExecDestroy;
2067 struct {
2068 hipGraphExec_t hGraphExec;
2069 hipGraphNode_t hNode;
2070 hipEvent_t event;
2071 } hipGraphExecEventRecordNodeSetEvent;
2072 struct {
2073 hipGraphExec_t hGraphExec;
2074 hipGraphNode_t hNode;
2075 hipEvent_t event;
2076 } hipGraphExecEventWaitNodeSetEvent;
2077 struct {
2078 hipGraphExec_t hGraphExec;
2079 hipGraphNode_t hNode;
2080 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2081 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2082 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
2083 struct {
2084 hipGraphExec_t hGraphExec;
2085 hipGraphNode_t hNode;
2086 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2087 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2088 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
2089 struct {
2090 hipGraphExec_t graphExec;
2091 unsigned long long* flags;
2092 unsigned long long flags__val;
2093 } hipGraphExecGetFlags;
2094 struct {
2095 hipGraphExec_t hGraphExec;
2096 hipGraphNode_t node;
2097 const hipHostNodeParams* pNodeParams;
2098 hipHostNodeParams pNodeParams__val;
2099 } hipGraphExecHostNodeSetParams;
2100 struct {
2101 hipGraphExec_t hGraphExec;
2102 hipGraphNode_t node;
2103 const hipKernelNodeParams* pNodeParams;
2104 hipKernelNodeParams pNodeParams__val;
2105 } hipGraphExecKernelNodeSetParams;
2106 struct {
2107 hipGraphExec_t hGraphExec;
2108 hipGraphNode_t node;
2109 hipMemcpy3DParms* pNodeParams;
2110 hipMemcpy3DParms pNodeParams__val;
2111 } hipGraphExecMemcpyNodeSetParams;
2112 struct {
2113 hipGraphExec_t hGraphExec;
2114 hipGraphNode_t node;
2115 void* dst;
2116 const void* src;
2117 size_t count;
2118 hipMemcpyKind kind;
2119 } hipGraphExecMemcpyNodeSetParams1D;
2120 struct {
2121 hipGraphExec_t hGraphExec;
2122 hipGraphNode_t node;
2123 void* dst;
2124 const void* symbol;
2125 size_t count;
2126 size_t offset;
2127 hipMemcpyKind kind;
2128 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2129 struct {
2130 hipGraphExec_t hGraphExec;
2131 hipGraphNode_t node;
2132 const void* symbol;
2133 const void* src;
2134 size_t count;
2135 size_t offset;
2136 hipMemcpyKind kind;
2137 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2138 struct {
2139 hipGraphExec_t hGraphExec;
2140 hipGraphNode_t node;
2141 const hipMemsetParams* pNodeParams;
2142 hipMemsetParams pNodeParams__val;
2143 } hipGraphExecMemsetNodeSetParams;
2144 struct {
2145 hipGraphExec_t graphExec;
2146 hipGraphNode_t node;
2147 hipGraphNodeParams* nodeParams;
2148 hipGraphNodeParams nodeParams__val;
2149 } hipGraphExecNodeSetParams;
2150 struct {
2151 hipGraphExec_t hGraphExec;
2152 hipGraph_t hGraph;
2153 hipGraphNode_t* hErrorNode_out;
2154 hipGraphNode_t hErrorNode_out__val;
2155 hipGraphExecUpdateResult* updateResult_out;
2156 hipGraphExecUpdateResult updateResult_out__val;
2157 } hipGraphExecUpdate;
2158 struct {
2159 hipGraphNode_t hNode;
2160 hipExternalSemaphoreSignalNodeParams* params_out;
2161 hipExternalSemaphoreSignalNodeParams params_out__val;
2162 } hipGraphExternalSemaphoresSignalNodeGetParams;
2163 struct {
2164 hipGraphNode_t hNode;
2165 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2166 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2167 } hipGraphExternalSemaphoresSignalNodeSetParams;
2168 struct {
2169 hipGraphNode_t hNode;
2170 hipExternalSemaphoreWaitNodeParams* params_out;
2171 hipExternalSemaphoreWaitNodeParams params_out__val;
2172 } hipGraphExternalSemaphoresWaitNodeGetParams;
2173 struct {
2174 hipGraphNode_t hNode;
2175 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2176 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2177 } hipGraphExternalSemaphoresWaitNodeSetParams;
2178 struct {
2179 hipGraph_t graph;
2180 hipGraphNode_t* from;
2181 hipGraphNode_t from__val;
2182 hipGraphNode_t* to;
2183 hipGraphNode_t to__val;
2184 size_t* numEdges;
2185 size_t numEdges__val;
2186 } hipGraphGetEdges;
2187 struct {
2188 hipGraph_t graph;
2189 hipGraphNode_t* nodes;
2190 hipGraphNode_t nodes__val;
2191 size_t* numNodes;
2192 size_t numNodes__val;
2193 } hipGraphGetNodes;
2194 struct {
2195 hipGraph_t graph;
2196 hipGraphNode_t* pRootNodes;
2197 hipGraphNode_t pRootNodes__val;
2198 size_t* pNumRootNodes;
2199 size_t pNumRootNodes__val;
2200 } hipGraphGetRootNodes;
2201 struct {
2202 hipGraphNode_t node;
2203 hipHostNodeParams* pNodeParams;
2204 hipHostNodeParams pNodeParams__val;
2205 } hipGraphHostNodeGetParams;
2206 struct {
2207 hipGraphNode_t node;
2208 const hipHostNodeParams* pNodeParams;
2209 hipHostNodeParams pNodeParams__val;
2210 } hipGraphHostNodeSetParams;
2211 struct {
2212 hipGraphExec_t* pGraphExec;
2213 hipGraphExec_t pGraphExec__val;
2214 hipGraph_t graph;
2215 hipGraphNode_t* pErrorNode;
2216 hipGraphNode_t pErrorNode__val;
2217 char* pLogBuffer;
2218 char pLogBuffer__val;
2219 size_t bufferSize;
2220 } hipGraphInstantiate;
2221 struct {
2222 hipGraphExec_t* pGraphExec;
2223 hipGraphExec_t pGraphExec__val;
2224 hipGraph_t graph;
2225 unsigned long long flags;
2226 } hipGraphInstantiateWithFlags;
2227 struct {
2228 hipGraphExec_t* pGraphExec;
2229 hipGraphExec_t pGraphExec__val;
2230 hipGraph_t graph;
2231 hipGraphInstantiateParams* instantiateParams;
2232 hipGraphInstantiateParams instantiateParams__val;
2233 } hipGraphInstantiateWithParams;
2234 struct {
2235 hipGraphNode_t hSrc;
2236 hipGraphNode_t hDst;
2237 } hipGraphKernelNodeCopyAttributes;
2238 struct {
2239 hipGraphNode_t hNode;
2240 hipLaunchAttributeID attr;
2241 hipLaunchAttributeValue* value;
2242 hipLaunchAttributeValue value__val;
2243 } hipGraphKernelNodeGetAttribute;
2244 struct {
2245 hipGraphNode_t node;
2246 hipKernelNodeParams* pNodeParams;
2247 hipKernelNodeParams pNodeParams__val;
2248 } hipGraphKernelNodeGetParams;
2249 struct {
2250 hipGraphNode_t hNode;
2251 hipLaunchAttributeID attr;
2252 const hipLaunchAttributeValue* value;
2253 hipLaunchAttributeValue value__val;
2254 } hipGraphKernelNodeSetAttribute;
2255 struct {
2256 hipGraphNode_t node;
2257 const hipKernelNodeParams* pNodeParams;
2258 hipKernelNodeParams pNodeParams__val;
2259 } hipGraphKernelNodeSetParams;
2260 struct {
2261 hipGraphExec_t graphExec;
2262 hipStream_t stream;
2263 } hipGraphLaunch;
2264 struct {
2265 hipGraphNode_t node;
2266 hipMemAllocNodeParams* pNodeParams;
2267 hipMemAllocNodeParams pNodeParams__val;
2268 } hipGraphMemAllocNodeGetParams;
2269 struct {
2270 hipGraphNode_t node;
2271 void* dev_ptr;
2272 } hipGraphMemFreeNodeGetParams;
2273 struct {
2274 hipGraphNode_t node;
2275 hipMemcpy3DParms* pNodeParams;
2276 hipMemcpy3DParms pNodeParams__val;
2277 } hipGraphMemcpyNodeGetParams;
2278 struct {
2279 hipGraphNode_t node;
2280 const hipMemcpy3DParms* pNodeParams;
2281 hipMemcpy3DParms pNodeParams__val;
2282 } hipGraphMemcpyNodeSetParams;
2283 struct {
2284 hipGraphNode_t node;
2285 void* dst;
2286 const void* src;
2287 size_t count;
2288 hipMemcpyKind kind;
2289 } hipGraphMemcpyNodeSetParams1D;
2290 struct {
2291 hipGraphNode_t node;
2292 void* dst;
2293 const void* symbol;
2294 size_t count;
2295 size_t offset;
2296 hipMemcpyKind kind;
2297 } hipGraphMemcpyNodeSetParamsFromSymbol;
2298 struct {
2299 hipGraphNode_t node;
2300 const void* symbol;
2301 const void* src;
2302 size_t count;
2303 size_t offset;
2304 hipMemcpyKind kind;
2305 } hipGraphMemcpyNodeSetParamsToSymbol;
2306 struct {
2307 hipGraphNode_t node;
2308 hipMemsetParams* pNodeParams;
2309 hipMemsetParams pNodeParams__val;
2310 } hipGraphMemsetNodeGetParams;
2311 struct {
2312 hipGraphNode_t node;
2313 const hipMemsetParams* pNodeParams;
2314 hipMemsetParams pNodeParams__val;
2315 } hipGraphMemsetNodeSetParams;
2316 struct {
2317 hipGraphNode_t* pNode;
2318 hipGraphNode_t pNode__val;
2319 hipGraphNode_t originalNode;
2320 hipGraph_t clonedGraph;
2321 } hipGraphNodeFindInClone;
2322 struct {
2323 hipGraphNode_t node;
2324 hipGraphNode_t* pDependencies;
2325 hipGraphNode_t pDependencies__val;
2326 size_t* pNumDependencies;
2327 size_t pNumDependencies__val;
2328 } hipGraphNodeGetDependencies;
2329 struct {
2330 hipGraphNode_t node;
2331 hipGraphNode_t* pDependentNodes;
2332 hipGraphNode_t pDependentNodes__val;
2333 size_t* pNumDependentNodes;
2334 size_t pNumDependentNodes__val;
2335 } hipGraphNodeGetDependentNodes;
2336 struct {
2337 hipGraphExec_t hGraphExec;
2338 hipGraphNode_t hNode;
2339 unsigned int* isEnabled;
2340 unsigned int isEnabled__val;
2341 } hipGraphNodeGetEnabled;
2342 struct {
2343 hipGraphNode_t node;
2344 hipGraphNodeType* pType;
2345 hipGraphNodeType pType__val;
2346 } hipGraphNodeGetType;
2347 struct {
2348 hipGraphExec_t hGraphExec;
2349 hipGraphNode_t hNode;
2350 unsigned int isEnabled;
2351 } hipGraphNodeSetEnabled;
2352 struct {
2353 hipGraphNode_t node;
2354 hipGraphNodeParams* nodeParams;
2355 hipGraphNodeParams nodeParams__val;
2356 } hipGraphNodeSetParams;
2357 struct {
2358 hipGraph_t graph;
2359 hipUserObject_t object;
2360 unsigned int count;
2361 } hipGraphReleaseUserObject;
2362 struct {
2363 hipGraph_t graph;
2364 const hipGraphNode_t* from;
2365 hipGraphNode_t from__val;
2366 const hipGraphNode_t* to;
2367 hipGraphNode_t to__val;
2368 size_t numDependencies;
2369 } hipGraphRemoveDependencies;
2370 struct {
2371 hipGraph_t graph;
2372 hipUserObject_t object;
2373 unsigned int count;
2374 unsigned int flags;
2375 } hipGraphRetainUserObject;
2376 struct {
2377 hipGraphExec_t graphExec;
2378 hipStream_t stream;
2379 } hipGraphUpload;
2380 struct {
2381 hipGraphicsResource** resource;
2382 hipGraphicsResource* resource__val;
2383 GLuint buffer;
2384 unsigned int flags;
2385 } hipGraphicsGLRegisterBuffer;
2386 struct {
2387 hipGraphicsResource** resource;
2388 hipGraphicsResource* resource__val;
2389 GLuint image;
2390 GLenum target;
2391 unsigned int flags;
2392 } hipGraphicsGLRegisterImage;
2393 struct {
2394 int count;
2395 hipGraphicsResource_t* resources;
2396 hipGraphicsResource_t resources__val;
2397 hipStream_t stream;
2398 } hipGraphicsMapResources;
2399 struct {
2400 void** devPtr;
2401 void* devPtr__val;
2402 size_t* size;
2403 size_t size__val;
2404 hipGraphicsResource_t resource;
2405 } hipGraphicsResourceGetMappedPointer;
2406 struct {
2407 hipArray_t* array;
2408 hipArray_t array__val;
2409 hipGraphicsResource_t resource;
2410 unsigned int arrayIndex;
2411 unsigned int mipLevel;
2412 } hipGraphicsSubResourceGetMappedArray;
2413 struct {
2414 int count;
2415 hipGraphicsResource_t* resources;
2416 hipGraphicsResource_t resources__val;
2417 hipStream_t stream;
2418 } hipGraphicsUnmapResources;
2419 struct {
2420 hipGraphicsResource_t resource;
2421 } hipGraphicsUnregisterResource;
2422 struct {
2423 hipFunction_t f;
2424 unsigned int globalWorkSizeX;
2425 unsigned int globalWorkSizeY;
2426 unsigned int globalWorkSizeZ;
2427 unsigned int blockDimX;
2428 unsigned int blockDimY;
2429 unsigned int blockDimZ;
2430 size_t sharedMemBytes;
2431 hipStream_t hStream;
2432 void** kernelParams;
2433 void* kernelParams__val;
2434 void** extra;
2435 void* extra__val;
2436 hipEvent_t startEvent;
2437 hipEvent_t stopEvent;
2438 } hipHccModuleLaunchKernel;
2439 struct {
2440 void** ptr;
2441 void* ptr__val;
2442 size_t size;
2443 unsigned int flags;
2444 } hipHostAlloc;
2445 struct {
2446 void* ptr;
2447 } hipHostFree;
2448 struct {
2449 void** devPtr;
2450 void* devPtr__val;
2451 void* hstPtr;
2452 unsigned int flags;
2453 } hipHostGetDevicePointer;
2454 struct {
2455 unsigned int* flagsPtr;
2456 unsigned int flagsPtr__val;
2457 void* hostPtr;
2458 } hipHostGetFlags;
2459 struct {
2460 void** ptr;
2461 void* ptr__val;
2462 size_t size;
2463 unsigned int flags;
2464 } hipHostMalloc;
2465 struct {
2466 void* hostPtr;
2467 size_t sizeBytes;
2468 unsigned int flags;
2469 } hipHostRegister;
2470 struct {
2471 void* hostPtr;
2472 } hipHostUnregister;
2473 struct {
2474 hipExternalMemory_t* extMem_out;
2475 hipExternalMemory_t extMem_out__val;
2476 const hipExternalMemoryHandleDesc* memHandleDesc;
2477 hipExternalMemoryHandleDesc memHandleDesc__val;
2478 } hipImportExternalMemory;
2479 struct {
2480 hipExternalSemaphore_t* extSem_out;
2481 hipExternalSemaphore_t extSem_out__val;
2482 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2483 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2484 } hipImportExternalSemaphore;
2485 struct {
2486 unsigned int flags;
2487 } hipInit;
2488 struct {
2489 void* devPtr;
2490 } hipIpcCloseMemHandle;
2491 struct {
2492 hipIpcEventHandle_t* handle;
2493 hipIpcEventHandle_t handle__val;
2494 hipEvent_t event;
2495 } hipIpcGetEventHandle;
2496 struct {
2497 hipIpcMemHandle_t* handle;
2498 hipIpcMemHandle_t handle__val;
2499 void* devPtr;
2500 } hipIpcGetMemHandle;
2501 struct {
2502 hipEvent_t* event;
2503 hipEvent_t event__val;
2504 hipIpcEventHandle_t handle;
2505 } hipIpcOpenEventHandle;
2506 struct {
2507 void** devPtr;
2508 void* devPtr__val;
2509 hipIpcMemHandle_t handle;
2510 unsigned int flags;
2511 } hipIpcOpenMemHandle;
2512 struct {
2513 const void* hostFunction;
2514 } hipLaunchByPtr;
2515 struct {
2516 const void* f;
2517 dim3 gridDim;
2518 dim3 blockDimX;
2519 void** kernelParams;
2520 void* kernelParams__val;
2521 unsigned int sharedMemBytes;
2522 hipStream_t stream;
2523 } hipLaunchCooperativeKernel;
2524 struct {
2525 hipLaunchParams* launchParamsList;
2526 hipLaunchParams launchParamsList__val;
2527 int numDevices;
2528 unsigned int flags;
2529 } hipLaunchCooperativeKernelMultiDevice;
2530 struct {
2531 hipStream_t stream;
2532 hipHostFn_t fn;
2533 void* userData;
2534 } hipLaunchHostFunc;
2535 struct {
2536 const void* function_address;
2537 dim3 numBlocks;
2538 dim3 dimBlocks;
2539 void** args;
2540 void* args__val;
2541 size_t sharedMemBytes;
2542 hipStream_t stream;
2543 } hipLaunchKernel;
2544 struct {
2545 void** ptr;
2546 void* ptr__val;
2547 size_t size;
2548 } hipMalloc;
2549 struct {
2550 hipPitchedPtr* pitchedDevPtr;
2551 hipPitchedPtr pitchedDevPtr__val;
2552 hipExtent extent;
2553 } hipMalloc3D;
2554 struct {
2555 hipArray_t* array;
2556 hipArray_t array__val;
2557 const hipChannelFormatDesc* desc;
2558 hipChannelFormatDesc desc__val;
2559 hipExtent extent;
2560 unsigned int flags;
2561 } hipMalloc3DArray;
2562 struct {
2563 hipArray_t* array;
2564 hipArray_t array__val;
2565 const hipChannelFormatDesc* desc;
2566 hipChannelFormatDesc desc__val;
2567 size_t width;
2568 size_t height;
2569 unsigned int flags;
2570 } hipMallocArray;
2571 struct {
2572 void** dev_ptr;
2573 void* dev_ptr__val;
2574 size_t size;
2575 hipStream_t stream;
2576 } hipMallocAsync;
2577 struct {
2578 void** dev_ptr;
2579 void* dev_ptr__val;
2580 size_t size;
2581 hipMemPool_t mem_pool;
2582 hipStream_t stream;
2583 } hipMallocFromPoolAsync;
2584 struct {
2585 void** ptr;
2586 void* ptr__val;
2587 size_t size;
2588 } hipMallocHost;
2589 struct {
2590 void** dev_ptr;
2591 void* dev_ptr__val;
2592 size_t size;
2593 unsigned int flags;
2594 } hipMallocManaged;
2595 struct {
2596 hipMipmappedArray_t* mipmappedArray;
2597 hipMipmappedArray_t mipmappedArray__val;
2598 const hipChannelFormatDesc* desc;
2599 hipChannelFormatDesc desc__val;
2600 hipExtent extent;
2601 unsigned int numLevels;
2602 unsigned int flags;
2603 } hipMallocMipmappedArray;
2604 struct {
2605 void** ptr;
2606 void* ptr__val;
2607 size_t* pitch;
2608 size_t pitch__val;
2609 size_t width;
2610 size_t height;
2611 } hipMallocPitch;
2612 struct {
2613 void* devPtr;
2614 size_t size;
2615 } hipMemAddressFree;
2616 struct {
2617 void** ptr;
2618 void* ptr__val;
2619 size_t size;
2620 size_t alignment;
2621 void* addr;
2622 unsigned long long flags;
2623 } hipMemAddressReserve;
2624 struct {
2625 const void* dev_ptr;
2626 size_t count;
2627 hipMemoryAdvise advice;
2628 int device;
2629 } hipMemAdvise;
2630 struct {
2631 void** ptr;
2632 void* ptr__val;
2633 size_t size;
2634 } hipMemAllocHost;
2635 struct {
2636 hipDeviceptr_t* dptr;
2637 hipDeviceptr_t dptr__val;
2638 size_t* pitch;
2639 size_t pitch__val;
2640 size_t widthInBytes;
2641 size_t height;
2642 unsigned int elementSizeBytes;
2643 } hipMemAllocPitch;
2644 struct {
2645 hipMemGenericAllocationHandle_t* handle;
2646 hipMemGenericAllocationHandle_t handle__val;
2647 size_t size;
2648 const hipMemAllocationProp* prop;
2649 hipMemAllocationProp prop__val;
2650 unsigned long long flags;
2651 } hipMemCreate;
2652 struct {
2653 void* shareableHandle;
2654 hipMemGenericAllocationHandle_t handle;
2655 hipMemAllocationHandleType handleType;
2656 unsigned long long flags;
2657 } hipMemExportToShareableHandle;
2658 struct {
2659 unsigned long long* flags;
2660 unsigned long long flags__val;
2661 const hipMemLocation* location;
2662 hipMemLocation location__val;
2663 void* ptr;
2664 } hipMemGetAccess;
2665 struct {
2666 hipDeviceptr_t* pbase;
2667 hipDeviceptr_t pbase__val;
2668 size_t* psize;
2669 size_t psize__val;
2670 hipDeviceptr_t dptr;
2671 } hipMemGetAddressRange;
2672 struct {
2673 size_t* granularity;
2674 size_t granularity__val;
2675 const hipMemAllocationProp* prop;
2676 hipMemAllocationProp prop__val;
2677 hipMemAllocationGranularity_flags option;
2678 } hipMemGetAllocationGranularity;
2679 struct {
2680 hipMemAllocationProp* prop;
2681 hipMemAllocationProp prop__val;
2682 hipMemGenericAllocationHandle_t handle;
2683 } hipMemGetAllocationPropertiesFromHandle;
2684 struct {
2685 size_t* free;
2686 size_t free__val;
2687 size_t* total;
2688 size_t total__val;
2689 } hipMemGetInfo;
2690 struct {
2691 hipMemGenericAllocationHandle_t* handle;
2692 hipMemGenericAllocationHandle_t handle__val;
2693 void* osHandle;
2694 hipMemAllocationHandleType shHandleType;
2695 } hipMemImportFromShareableHandle;
2696 struct {
2697 void* ptr;
2698 size_t size;
2699 size_t offset;
2700 hipMemGenericAllocationHandle_t handle;
2701 unsigned long long flags;
2702 } hipMemMap;
2703 struct {
2704 hipArrayMapInfo* mapInfoList;
2705 hipArrayMapInfo mapInfoList__val;
2706 unsigned int count;
2707 hipStream_t stream;
2708 } hipMemMapArrayAsync;
2709 struct {
2710 hipMemPool_t* mem_pool;
2711 hipMemPool_t mem_pool__val;
2712 const hipMemPoolProps* pool_props;
2713 hipMemPoolProps pool_props__val;
2714 } hipMemPoolCreate;
2715 struct {
2716 hipMemPool_t mem_pool;
2717 } hipMemPoolDestroy;
2718 struct {
2719 hipMemPoolPtrExportData* export_data;
2720 hipMemPoolPtrExportData export_data__val;
2721 void* dev_ptr;
2722 } hipMemPoolExportPointer;
2723 struct {
2724 void* shared_handle;
2725 hipMemPool_t mem_pool;
2726 hipMemAllocationHandleType handle_type;
2727 unsigned int flags;
2728 } hipMemPoolExportToShareableHandle;
2729 struct {
2730 hipMemAccessFlags* flags;
2731 hipMemAccessFlags flags__val;
2732 hipMemPool_t mem_pool;
2733 hipMemLocation* location;
2734 hipMemLocation location__val;
2735 } hipMemPoolGetAccess;
2736 struct {
2737 hipMemPool_t mem_pool;
2738 hipMemPoolAttr attr;
2739 void* value;
2740 } hipMemPoolGetAttribute;
2741 struct {
2742 hipMemPool_t* mem_pool;
2743 hipMemPool_t mem_pool__val;
2744 void* shared_handle;
2745 hipMemAllocationHandleType handle_type;
2746 unsigned int flags;
2747 } hipMemPoolImportFromShareableHandle;
2748 struct {
2749 void** dev_ptr;
2750 void* dev_ptr__val;
2751 hipMemPool_t mem_pool;
2752 hipMemPoolPtrExportData* export_data;
2753 hipMemPoolPtrExportData export_data__val;
2754 } hipMemPoolImportPointer;
2755 struct {
2756 hipMemPool_t mem_pool;
2757 const hipMemAccessDesc* desc_list;
2758 hipMemAccessDesc desc_list__val;
2759 size_t count;
2760 } hipMemPoolSetAccess;
2761 struct {
2762 hipMemPool_t mem_pool;
2763 hipMemPoolAttr attr;
2764 void* value;
2765 } hipMemPoolSetAttribute;
2766 struct {
2767 hipMemPool_t mem_pool;
2768 size_t min_bytes_to_hold;
2769 } hipMemPoolTrimTo;
2770 struct {
2771 const void* dev_ptr;
2772 size_t count;
2773 int device;
2774 hipStream_t stream;
2775 } hipMemPrefetchAsync;
2776 struct {
2777 void* ptr;
2778 size_t* size;
2779 size_t size__val;
2780 } hipMemPtrGetInfo;
2781 struct {
2782 void* data;
2783 size_t data_size;
2784 hipMemRangeAttribute attribute;
2785 const void* dev_ptr;
2786 size_t count;
2787 } hipMemRangeGetAttribute;
2788 struct {
2789 void** data;
2790 void* data__val;
2791 size_t* data_sizes;
2792 size_t data_sizes__val;
2793 hipMemRangeAttribute* attributes;
2794 hipMemRangeAttribute attributes__val;
2795 size_t num_attributes;
2796 const void* dev_ptr;
2797 size_t count;
2798 } hipMemRangeGetAttributes;
2799 struct {
2800 hipMemGenericAllocationHandle_t handle;
2801 } hipMemRelease;
2802 struct {
2803 hipMemGenericAllocationHandle_t* handle;
2804 hipMemGenericAllocationHandle_t handle__val;
2805 void* addr;
2806 } hipMemRetainAllocationHandle;
2807 struct {
2808 void* ptr;
2809 size_t size;
2810 const hipMemAccessDesc* desc;
2811 hipMemAccessDesc desc__val;
2812 size_t count;
2813 } hipMemSetAccess;
2814 struct {
2815 void* ptr;
2816 size_t size;
2817 } hipMemUnmap;
2818 struct {
2819 void* dst;
2820 const void* src;
2821 size_t sizeBytes;
2822 hipMemcpyKind kind;
2823 } hipMemcpy;
2824 struct {
2825 void* dst;
2826 size_t dpitch;
2827 const void* src;
2828 size_t spitch;
2829 size_t width;
2830 size_t height;
2831 hipMemcpyKind kind;
2832 } hipMemcpy2D;
2833 struct {
2834 hipArray_t dst;
2835 size_t wOffsetDst;
2836 size_t hOffsetDst;
2837 hipArray_const_t src;
2838 size_t wOffsetSrc;
2839 size_t hOffsetSrc;
2840 size_t width;
2841 size_t height;
2842 hipMemcpyKind kind;
2843 } hipMemcpy2DArrayToArray;
2844 struct {
2845 void* dst;
2846 size_t dpitch;
2847 const void* src;
2848 size_t spitch;
2849 size_t width;
2850 size_t height;
2851 hipMemcpyKind kind;
2852 hipStream_t stream;
2853 } hipMemcpy2DAsync;
2854 struct {
2855 void* dst;
2856 size_t dpitch;
2857 hipArray_const_t src;
2858 size_t wOffset;
2859 size_t hOffset;
2860 size_t width;
2861 size_t height;
2862 hipMemcpyKind kind;
2863 } hipMemcpy2DFromArray;
2864 struct {
2865 void* dst;
2866 size_t dpitch;
2867 hipArray_const_t src;
2868 size_t wOffset;
2869 size_t hOffset;
2870 size_t width;
2871 size_t height;
2872 hipMemcpyKind kind;
2873 hipStream_t stream;
2874 } hipMemcpy2DFromArrayAsync;
2875 struct {
2876 hipArray_t dst;
2877 size_t wOffset;
2878 size_t hOffset;
2879 const void* src;
2880 size_t spitch;
2881 size_t width;
2882 size_t height;
2883 hipMemcpyKind kind;
2884 } hipMemcpy2DToArray;
2885 struct {
2886 hipArray_t dst;
2887 size_t wOffset;
2888 size_t hOffset;
2889 const void* src;
2890 size_t spitch;
2891 size_t width;
2892 size_t height;
2893 hipMemcpyKind kind;
2894 hipStream_t stream;
2895 } hipMemcpy2DToArrayAsync;
2896 struct {
2897 const hipMemcpy3DParms* p;
2898 hipMemcpy3DParms p__val;
2899 } hipMemcpy3D;
2900 struct {
2901 const hipMemcpy3DParms* p;
2902 hipMemcpy3DParms p__val;
2903 hipStream_t stream;
2904 } hipMemcpy3DAsync;
2905 struct {
2906 void* dst;
2907 const void* src;
2908 size_t sizeBytes;
2909 hipMemcpyKind kind;
2910 hipStream_t stream;
2911 } hipMemcpyAsync;
2912 struct {
2913 hipArray_t dstArray;
2914 size_t dstOffset;
2915 hipArray_t srcArray;
2916 size_t srcOffset;
2917 size_t ByteCount;
2918 } hipMemcpyAtoA;
2919 struct {
2920 hipDeviceptr_t dstDevice;
2921 hipArray_t srcArray;
2922 size_t srcOffset;
2923 size_t ByteCount;
2924 } hipMemcpyAtoD;
2925 struct {
2926 void* dst;
2927 hipArray_t srcArray;
2928 size_t srcOffset;
2929 size_t count;
2930 } hipMemcpyAtoH;
2931 struct {
2932 void* dstHost;
2933 hipArray_t srcArray;
2934 size_t srcOffset;
2935 size_t ByteCount;
2936 hipStream_t stream;
2937 } hipMemcpyAtoHAsync;
2938 struct {
2939 hipArray_t dstArray;
2940 size_t dstOffset;
2941 hipDeviceptr_t srcDevice;
2942 size_t ByteCount;
2943 } hipMemcpyDtoA;
2944 struct {
2945 hipDeviceptr_t dst;
2946 hipDeviceptr_t src;
2947 size_t sizeBytes;
2948 } hipMemcpyDtoD;
2949 struct {
2950 hipDeviceptr_t dst;
2951 hipDeviceptr_t src;
2952 size_t sizeBytes;
2953 hipStream_t stream;
2954 } hipMemcpyDtoDAsync;
2955 struct {
2956 void* dst;
2957 hipDeviceptr_t src;
2958 size_t sizeBytes;
2959 } hipMemcpyDtoH;
2960 struct {
2961 void* dst;
2962 hipDeviceptr_t src;
2963 size_t sizeBytes;
2964 hipStream_t stream;
2965 } hipMemcpyDtoHAsync;
2966 struct {
2967 void* dst;
2968 hipArray_const_t srcArray;
2969 size_t wOffset;
2970 size_t hOffset;
2971 size_t count;
2972 hipMemcpyKind kind;
2973 } hipMemcpyFromArray;
2974 struct {
2975 void* dst;
2976 const void* symbol;
2977 size_t sizeBytes;
2978 size_t offset;
2979 hipMemcpyKind kind;
2980 } hipMemcpyFromSymbol;
2981 struct {
2982 void* dst;
2983 const void* symbol;
2984 size_t sizeBytes;
2985 size_t offset;
2986 hipMemcpyKind kind;
2987 hipStream_t stream;
2988 } hipMemcpyFromSymbolAsync;
2989 struct {
2990 hipArray_t dstArray;
2991 size_t dstOffset;
2992 const void* srcHost;
2993 size_t count;
2994 } hipMemcpyHtoA;
2995 struct {
2996 hipArray_t dstArray;
2997 size_t dstOffset;
2998 const void* srcHost;
2999 size_t ByteCount;
3000 hipStream_t stream;
3001 } hipMemcpyHtoAAsync;
3002 struct {
3003 hipDeviceptr_t dst;
3004 void* src;
3005 size_t sizeBytes;
3006 } hipMemcpyHtoD;
3007 struct {
3008 hipDeviceptr_t dst;
3009 void* src;
3010 size_t sizeBytes;
3011 hipStream_t stream;
3012 } hipMemcpyHtoDAsync;
3013 struct {
3014 const hip_Memcpy2D* pCopy;
3015 hip_Memcpy2D pCopy__val;
3016 } hipMemcpyParam2D;
3017 struct {
3018 const hip_Memcpy2D* pCopy;
3019 hip_Memcpy2D pCopy__val;
3020 hipStream_t stream;
3021 } hipMemcpyParam2DAsync;
3022 struct {
3023 void* dst;
3024 int dstDeviceId;
3025 const void* src;
3026 int srcDeviceId;
3027 size_t sizeBytes;
3028 } hipMemcpyPeer;
3029 struct {
3030 void* dst;
3031 int dstDeviceId;
3032 const void* src;
3033 int srcDevice;
3034 size_t sizeBytes;
3035 hipStream_t stream;
3036 } hipMemcpyPeerAsync;
3037 struct {
3038 hipArray_t dst;
3039 size_t wOffset;
3040 size_t hOffset;
3041 const void* src;
3042 size_t count;
3043 hipMemcpyKind kind;
3044 } hipMemcpyToArray;
3045 struct {
3046 const void* symbol;
3047 const void* src;
3048 size_t sizeBytes;
3049 size_t offset;
3050 hipMemcpyKind kind;
3051 } hipMemcpyToSymbol;
3052 struct {
3053 const void* symbol;
3054 const void* src;
3055 size_t sizeBytes;
3056 size_t offset;
3057 hipMemcpyKind kind;
3058 hipStream_t stream;
3059 } hipMemcpyToSymbolAsync;
3060 struct {
3061 void* dst;
3062 const void* src;
3063 size_t sizeBytes;
3064 hipMemcpyKind kind;
3065 hipStream_t stream;
3066 } hipMemcpyWithStream;
3067 struct {
3068 void* dst;
3069 int value;
3070 size_t sizeBytes;
3071 } hipMemset;
3072 struct {
3073 void* dst;
3074 size_t pitch;
3075 int value;
3076 size_t width;
3077 size_t height;
3078 } hipMemset2D;
3079 struct {
3080 void* dst;
3081 size_t pitch;
3082 int value;
3083 size_t width;
3084 size_t height;
3085 hipStream_t stream;
3086 } hipMemset2DAsync;
3087 struct {
3088 hipPitchedPtr pitchedDevPtr;
3089 int value;
3090 hipExtent extent;
3091 } hipMemset3D;
3092 struct {
3093 hipPitchedPtr pitchedDevPtr;
3094 int value;
3095 hipExtent extent;
3096 hipStream_t stream;
3097 } hipMemset3DAsync;
3098 struct {
3099 void* dst;
3100 int value;
3101 size_t sizeBytes;
3102 hipStream_t stream;
3103 } hipMemsetAsync;
3104 struct {
3105 hipDeviceptr_t dest;
3106 unsigned short value;
3107 size_t count;
3108 } hipMemsetD16;
3109 struct {
3110 hipDeviceptr_t dest;
3111 unsigned short value;
3112 size_t count;
3113 hipStream_t stream;
3114 } hipMemsetD16Async;
3115 struct {
3116 hipDeviceptr_t dest;
3117 int value;
3118 size_t count;
3119 } hipMemsetD32;
3120 struct {
3121 hipDeviceptr_t dst;
3122 int value;
3123 size_t count;
3124 hipStream_t stream;
3125 } hipMemsetD32Async;
3126 struct {
3127 hipDeviceptr_t dest;
3128 unsigned char value;
3129 size_t count;
3130 } hipMemsetD8;
3131 struct {
3132 hipDeviceptr_t dest;
3133 unsigned char value;
3134 size_t count;
3135 hipStream_t stream;
3136 } hipMemsetD8Async;
3137 struct {
3138 hipMipmappedArray_t* pHandle;
3139 hipMipmappedArray_t pHandle__val;
3140 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
3141 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
3142 unsigned int numMipmapLevels;
3143 } hipMipmappedArrayCreate;
3144 struct {
3145 hipMipmappedArray_t hMipmappedArray;
3146 } hipMipmappedArrayDestroy;
3147 struct {
3148 hipArray_t* pLevelArray;
3149 hipArray_t pLevelArray__val;
3150 hipMipmappedArray_t hMipMappedArray;
3151 unsigned int level;
3152 } hipMipmappedArrayGetLevel;
3153 struct {
3154 hipFunction_t* function;
3155 hipFunction_t function__val;
3156 hipModule_t module;
3157 const char* kname;
3158 char kname__val;
3159 } hipModuleGetFunction;
3160 struct {
3161 hipDeviceptr_t* dptr;
3162 hipDeviceptr_t dptr__val;
3163 size_t* bytes;
3164 size_t bytes__val;
3165 hipModule_t hmod;
3166 const char* name;
3167 char name__val;
3168 } hipModuleGetGlobal;
3169 struct {
3170 textureReference** texRef;
3171 textureReference* texRef__val;
3172 hipModule_t hmod;
3173 const char* name;
3174 char name__val;
3175 } hipModuleGetTexRef;
3176 struct {
3177 hipFunction_t f;
3178 unsigned int gridDimX;
3179 unsigned int gridDimY;
3180 unsigned int gridDimZ;
3181 unsigned int blockDimX;
3182 unsigned int blockDimY;
3183 unsigned int blockDimZ;
3184 unsigned int sharedMemBytes;
3185 hipStream_t stream;
3186 void** kernelParams;
3187 void* kernelParams__val;
3188 } hipModuleLaunchCooperativeKernel;
3189 struct {
3190 hipFunctionLaunchParams* launchParamsList;
3191 hipFunctionLaunchParams launchParamsList__val;
3192 unsigned int numDevices;
3193 unsigned int flags;
3194 } hipModuleLaunchCooperativeKernelMultiDevice;
3195 struct {
3196 hipFunction_t f;
3197 unsigned int gridDimX;
3198 unsigned int gridDimY;
3199 unsigned int gridDimZ;
3200 unsigned int blockDimX;
3201 unsigned int blockDimY;
3202 unsigned int blockDimZ;
3203 unsigned int sharedMemBytes;
3204 hipStream_t stream;
3205 void** kernelParams;
3206 void* kernelParams__val;
3207 void** extra;
3208 void* extra__val;
3209 } hipModuleLaunchKernel;
3210 struct {
3211 hipModule_t* module;
3212 hipModule_t module__val;
3213 const char* fname;
3214 char fname__val;
3215 } hipModuleLoad;
3216 struct {
3217 hipModule_t* module;
3218 hipModule_t module__val;
3219 const void* image;
3220 } hipModuleLoadData;
3221 struct {
3222 hipModule_t* module;
3223 hipModule_t module__val;
3224 const void* image;
3225 unsigned int numOptions;
3226 hipJitOption* options;
3227 hipJitOption options__val;
3228 void** optionsValues;
3229 void* optionsValues__val;
3230 } hipModuleLoadDataEx;
3231 struct {
3232 int* numBlocks;
3233 int numBlocks__val;
3234 hipFunction_t f;
3235 int blockSize;
3236 size_t dynSharedMemPerBlk;
3237 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3238 struct {
3239 int* numBlocks;
3240 int numBlocks__val;
3241 hipFunction_t f;
3242 int blockSize;
3243 size_t dynSharedMemPerBlk;
3244 unsigned int flags;
3245 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3246 struct {
3247 int* gridSize;
3248 int gridSize__val;
3249 int* blockSize;
3250 int blockSize__val;
3251 hipFunction_t f;
3252 size_t dynSharedMemPerBlk;
3253 int blockSizeLimit;
3254 } hipModuleOccupancyMaxPotentialBlockSize;
3255 struct {
3256 int* gridSize;
3257 int gridSize__val;
3258 int* blockSize;
3259 int blockSize__val;
3260 hipFunction_t f;
3261 size_t dynSharedMemPerBlk;
3262 int blockSizeLimit;
3263 unsigned int flags;
3264 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3265 struct {
3266 hipModule_t module;
3267 } hipModuleUnload;
3268 struct {
3269 int* numBlocks;
3270 int numBlocks__val;
3271 const void* f;
3272 int blockSize;
3273 size_t dynamicSMemSize;
3274 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3275 struct {
3276 int* numBlocks;
3277 int numBlocks__val;
3278 const void* f;
3279 int blockSize;
3280 size_t dynamicSMemSize;
3281 unsigned int flags;
3282 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3283 struct {
3284 int* gridSize;
3285 int gridSize__val;
3286 int* blockSize;
3287 int blockSize__val;
3288 const void* f;
3289 size_t dynSharedMemPerBlk;
3290 int blockSizeLimit;
3291 } hipOccupancyMaxPotentialBlockSize;
3292 struct {
3293 void* data;
3294 hipPointer_attribute attribute;
3295 hipDeviceptr_t ptr;
3296 } hipPointerGetAttribute;
3297 struct {
3298 hipPointerAttribute_t* attributes;
3299 hipPointerAttribute_t attributes__val;
3300 const void* ptr;
3301 } hipPointerGetAttributes;
3302 struct {
3303 const void* value;
3304 hipPointer_attribute attribute;
3305 hipDeviceptr_t ptr;
3306 } hipPointerSetAttribute;
3307 struct {
3308 int* runtimeVersion;
3309 int runtimeVersion__val;
3310 } hipRuntimeGetVersion;
3311 struct {
3312 int deviceId;
3313 } hipSetDevice;
3314 struct {
3315 unsigned int flags;
3316 } hipSetDeviceFlags;
3317 struct {
3318 int* device_arr;
3319 int device_arr__val;
3320 int len;
3321 } hipSetValidDevices;
3322 struct {
3323 const void* arg;
3324 size_t size;
3325 size_t offset;
3326 } hipSetupArgument;
3327 struct {
3328 const hipExternalSemaphore_t* extSemArray;
3329 hipExternalSemaphore_t extSemArray__val;
3330 const hipExternalSemaphoreSignalParams* paramsArray;
3331 hipExternalSemaphoreSignalParams paramsArray__val;
3332 unsigned int numExtSems;
3333 hipStream_t stream;
3334 } hipSignalExternalSemaphoresAsync;
3335 struct {
3336 hipStream_t stream;
3337 hipStreamCallback_t callback;
3338 void* userData;
3339 unsigned int flags;
3340 } hipStreamAddCallback;
3341 struct {
3342 hipStream_t stream;
3343 void* dev_ptr;
3344 size_t length;
3345 unsigned int flags;
3346 } hipStreamAttachMemAsync;
3347 struct {
3348 hipStream_t stream;
3349 hipStreamCaptureMode mode;
3350 } hipStreamBeginCapture;
3351 struct {
3352 hipStream_t stream;
3353 hipGraph_t graph;
3354 const hipGraphNode_t* dependencies;
3355 hipGraphNode_t dependencies__val;
3356 const hipGraphEdgeData* dependencyData;
3357 hipGraphEdgeData dependencyData__val;
3358 size_t numDependencies;
3359 hipStreamCaptureMode mode;
3360 } hipStreamBeginCaptureToGraph;
3361 struct {
3362 hipStream_t* stream;
3363 hipStream_t stream__val;
3364 } hipStreamCreate;
3365 struct {
3366 hipStream_t* stream;
3367 hipStream_t stream__val;
3368 unsigned int flags;
3369 } hipStreamCreateWithFlags;
3370 struct {
3371 hipStream_t* stream;
3372 hipStream_t stream__val;
3373 unsigned int flags;
3374 int priority;
3375 } hipStreamCreateWithPriority;
3376 struct {
3377 hipStream_t stream;
3378 } hipStreamDestroy;
3379 struct {
3380 hipStream_t stream;
3381 hipGraph_t* pGraph;
3382 hipGraph_t pGraph__val;
3383 } hipStreamEndCapture;
3384 struct {
3385 hipStream_t stream;
3386 hipStreamCaptureStatus* pCaptureStatus;
3387 hipStreamCaptureStatus pCaptureStatus__val;
3388 unsigned long long* pId;
3389 unsigned long long pId__val;
3390 } hipStreamGetCaptureInfo;
3391 struct {
3392 hipStream_t stream;
3393 hipStreamCaptureStatus* captureStatus_out;
3394 hipStreamCaptureStatus captureStatus_out__val;
3395 unsigned long long* id_out;
3396 unsigned long long id_out__val;
3397 hipGraph_t* graph_out;
3398 hipGraph_t graph_out__val;
3399 const hipGraphNode_t** dependencies_out;
3400 const hipGraphNode_t* dependencies_out__val;
3401 size_t* numDependencies_out;
3402 size_t numDependencies_out__val;
3403 } hipStreamGetCaptureInfo_v2;
3404 struct {
3405 hipStream_t stream;
3406 hipDevice_t* device;
3407 hipDevice_t device__val;
3408 } hipStreamGetDevice;
3409 struct {
3410 hipStream_t stream;
3411 unsigned int* flags;
3412 unsigned int flags__val;
3413 } hipStreamGetFlags;
3414 struct {
3415 hipStream_t stream;
3416 int* priority;
3417 int priority__val;
3418 } hipStreamGetPriority;
3419 struct {
3420 hipStream_t stream;
3421 hipStreamCaptureStatus* pCaptureStatus;
3422 hipStreamCaptureStatus pCaptureStatus__val;
3423 } hipStreamIsCapturing;
3424 struct {
3425 hipStream_t stream;
3426 } hipStreamQuery;
3427 struct {
3428 hipStream_t stream;
3429 } hipStreamSynchronize;
3430 struct {
3431 hipStream_t stream;
3432 hipGraphNode_t* dependencies;
3433 hipGraphNode_t dependencies__val;
3434 size_t numDependencies;
3435 unsigned int flags;
3436 } hipStreamUpdateCaptureDependencies;
3437 struct {
3438 hipStream_t stream;
3439 hipEvent_t event;
3440 unsigned int flags;
3441 } hipStreamWaitEvent;
3442 struct {
3443 hipStream_t stream;
3444 void* ptr;
3445 unsigned int value;
3446 unsigned int flags;
3447 unsigned int mask;
3448 } hipStreamWaitValue32;
3449 struct {
3450 hipStream_t stream;
3451 void* ptr;
3452 uint64_t value;
3453 unsigned int flags;
3454 uint64_t mask;
3455 } hipStreamWaitValue64;
3456 struct {
3457 hipStream_t stream;
3458 void* ptr;
3459 unsigned int value;
3460 unsigned int flags;
3461 } hipStreamWriteValue32;
3462 struct {
3463 hipStream_t stream;
3464 void* ptr;
3465 uint64_t value;
3466 unsigned int flags;
3467 } hipStreamWriteValue64;
3468 struct {
3469 hipDeviceptr_t* dev_ptr;
3470 hipDeviceptr_t dev_ptr__val;
3471 const textureReference* texRef;
3472 textureReference texRef__val;
3473 } hipTexRefGetAddress;
3474 struct {
3475 hipArray_t* pArray;
3476 hipArray_t pArray__val;
3477 const textureReference* texRef;
3478 textureReference texRef__val;
3479 } hipTexRefGetArray;
3480 struct {
3481 float* pBorderColor;
3482 float pBorderColor__val;
3483 const textureReference* texRef;
3484 textureReference texRef__val;
3485 } hipTexRefGetBorderColor;
3486 struct {
3487 unsigned int* pFlags;
3488 unsigned int pFlags__val;
3489 const textureReference* texRef;
3490 textureReference texRef__val;
3491 } hipTexRefGetFlags;
3492 struct {
3493 hipArray_Format* pFormat;
3494 hipArray_Format pFormat__val;
3495 int* pNumChannels;
3496 int pNumChannels__val;
3497 const textureReference* texRef;
3498 textureReference texRef__val;
3499 } hipTexRefGetFormat;
3500 struct {
3501 int* pmaxAnsio;
3502 int pmaxAnsio__val;
3503 const textureReference* texRef;
3504 textureReference texRef__val;
3505 } hipTexRefGetMaxAnisotropy;
3506 struct {
3507 hipMipmappedArray_t* pArray;
3508 hipMipmappedArray_t pArray__val;
3509 const textureReference* texRef;
3510 textureReference texRef__val;
3511 } hipTexRefGetMipMappedArray;
3512 struct {
3513 float* pbias;
3514 float pbias__val;
3515 const textureReference* texRef;
3516 textureReference texRef__val;
3517 } hipTexRefGetMipmapLevelBias;
3518 struct {
3519 float* pminMipmapLevelClamp;
3520 float pminMipmapLevelClamp__val;
3521 float* pmaxMipmapLevelClamp;
3522 float pmaxMipmapLevelClamp__val;
3523 const textureReference* texRef;
3524 textureReference texRef__val;
3525 } hipTexRefGetMipmapLevelClamp;
3526 struct {
3527 size_t* ByteOffset;
3528 size_t ByteOffset__val;
3529 textureReference* texRef;
3530 textureReference texRef__val;
3531 hipDeviceptr_t dptr;
3532 size_t bytes;
3533 } hipTexRefSetAddress;
3534 struct {
3535 textureReference* texRef;
3536 textureReference texRef__val;
3537 const HIP_ARRAY_DESCRIPTOR* desc;
3538 HIP_ARRAY_DESCRIPTOR desc__val;
3539 hipDeviceptr_t dptr;
3540 size_t Pitch;
3541 } hipTexRefSetAddress2D;
3542 struct {
3543 textureReference* tex;
3544 textureReference tex__val;
3545 hipArray_const_t array;
3546 unsigned int flags;
3547 } hipTexRefSetArray;
3548 struct {
3549 textureReference* texRef;
3550 textureReference texRef__val;
3551 float* pBorderColor;
3552 float pBorderColor__val;
3553 } hipTexRefSetBorderColor;
3554 struct {
3555 textureReference* texRef;
3556 textureReference texRef__val;
3557 unsigned int Flags;
3558 } hipTexRefSetFlags;
3559 struct {
3560 textureReference* texRef;
3561 textureReference texRef__val;
3562 hipArray_Format fmt;
3563 int NumPackedComponents;
3564 } hipTexRefSetFormat;
3565 struct {
3566 textureReference* texRef;
3567 textureReference texRef__val;
3568 unsigned int maxAniso;
3569 } hipTexRefSetMaxAnisotropy;
3570 struct {
3571 textureReference* texRef;
3572 textureReference texRef__val;
3573 float bias;
3574 } hipTexRefSetMipmapLevelBias;
3575 struct {
3576 textureReference* texRef;
3577 textureReference texRef__val;
3578 float minMipMapLevelClamp;
3579 float maxMipMapLevelClamp;
3580 } hipTexRefSetMipmapLevelClamp;
3581 struct {
3582 textureReference* texRef;
3583 textureReference texRef__val;
3584 hipMipmappedArray* mipmappedArray;
3585 hipMipmappedArray mipmappedArray__val;
3586 unsigned int Flags;
3587 } hipTexRefSetMipmappedArray;
3588 struct {
3589 hipStreamCaptureMode* mode;
3590 hipStreamCaptureMode mode__val;
3591 } hipThreadExchangeStreamCaptureMode;
3592 struct {
3593 hipUserObject_t* object_out;
3594 hipUserObject_t object_out__val;
3595 void* ptr;
3596 hipHostFn_t destroy;
3597 unsigned int initialRefcount;
3598 unsigned int flags;
3599 } hipUserObjectCreate;
3600 struct {
3601 hipUserObject_t object;
3602 unsigned int count;
3603 } hipUserObjectRelease;
3604 struct {
3605 hipUserObject_t object;
3606 unsigned int count;
3607 } hipUserObjectRetain;
3608 struct {
3609 const hipExternalSemaphore_t* extSemArray;
3610 hipExternalSemaphore_t extSemArray__val;
3611 const hipExternalSemaphoreWaitParams* paramsArray;
3612 hipExternalSemaphoreWaitParams paramsArray__val;
3613 unsigned int numExtSems;
3614 hipStream_t stream;
3615 } hipWaitExternalSemaphoresAsync;
3616 } args;
3617 uint64_t *phase_data;
3618} hip_api_data_t;
3619
3620// HIP API callbacks args data filling macros
3621// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
3622#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3623 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3624 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3625 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3626 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3627};
3628// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3629#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3630 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3631 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3632 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3633 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3634};
3635// hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
3636#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3638 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3639};
3640// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3641#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3642 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3643 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3644};
3645// hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
3646#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3647 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3648 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3649};
3650// hipArrayDestroy[('hipArray_t', 'array')]
3651#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3652 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3653};
3654// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
3655#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3656 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3657 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3658};
3659// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
3660#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3661 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3662 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3663 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3664 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3665};
3666// hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
3667#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3668 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3669 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3670};
3671// hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
3672#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3673 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3674 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3675};
3676// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3677#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3678 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3679 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3680 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3681 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3682};
3683// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
3684#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3685 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3686 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3687};
3688// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
3689#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3690 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3691 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3692 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3693};
3694// hipCtxDestroy[('hipCtx_t', 'ctx')]
3695#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3696 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3697};
3698// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
3699#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3700 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3701};
3702// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
3703#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3704 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3705 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3706};
3707// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
3708#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3710 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3711};
3712// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3713#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3714 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3715};
3716// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
3717#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3718 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3719};
3720// hipCtxGetDevice[('hipDevice_t*', 'device')]
3721#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3722 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3723};
3724// hipCtxGetFlags[('unsigned int*', 'flags')]
3725#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3726 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3727};
3728// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3729#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3730 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3731};
3732// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
3733#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3734 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3735};
3736// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
3737#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3738 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3739};
3740// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3741#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3742 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3743};
3744// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
3745#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3746 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3747};
3748// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3749#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3750 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3751};
3752// hipCtxSynchronize[]
3753#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3754};
3755// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
3756#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3757 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3758};
3759// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
3760#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3761 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3762};
3763// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
3764#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3765 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3766};
3767// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
3768#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3769 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3770 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3771 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3772};
3773// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
3774#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3775 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3776 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3777 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3778};
3779// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
3780#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3781 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3782};
3783// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
3784#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3785 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3786 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3787};
3788// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
3789#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3790 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3791 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3792};
3793// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
3794#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3795 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3796 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3797 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3798};
3799// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
3800#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3801 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3802 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3803};
3804// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3805#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3806 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3807};
3808// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3809#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3810 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3811 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3812};
3813// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3814#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3815 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3816 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3817 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3818};
3819// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
3820#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3821 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3822 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3823};
3824// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3825#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3826 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3827 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3828};
3829// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
3830#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3831 cb_data.args.hipDeviceGetName.name = (char*)name; \
3832 cb_data.args.hipDeviceGetName.len = (int)len; \
3833 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3834};
3835// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
3836#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3837 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3838 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3839 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3840 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3841};
3842// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
3843#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3844 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3845 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3846 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3847};
3848// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3849#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3850 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3851};
3852// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
3853#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3854 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3855 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3856};
3857// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
3858#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3859 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3860 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3861};
3862// hipDeviceGraphMemTrim[('int', 'device')]
3863#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3864 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3865};
3866// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
3867#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3868 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3869 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3870 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3871};
3872// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
3873#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3874 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3875};
3876// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
3877#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3878 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3879};
3880// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
3881#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3882 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3883 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3884};
3885// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
3886#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3887 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3888 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3889};
3890// hipDeviceReset[]
3891#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3892};
3893// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3894#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3895 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3896};
3897// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3898#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3899 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3900 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3901 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3902};
3903// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
3904#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3905 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3906 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3907};
3908// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
3909#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3910 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3911 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3912};
3913// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3914#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3915 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3916};
3917// hipDeviceSynchronize[]
3918#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3919};
3920// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
3921#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3922 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3923 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3924};
3925// hipDriverGetVersion[('int*', 'driverVersion')]
3926#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3927 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3928};
3929// hipDrvGraphAddMemFreeNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('hipDeviceptr_t', 'dptr')]
3930#define INIT_hipDrvGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
3931 cb_data.args.hipDrvGraphAddMemFreeNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3932 cb_data.args.hipDrvGraphAddMemFreeNode.hGraph = (hipGraph_t)hGraph; \
3933 cb_data.args.hipDrvGraphAddMemFreeNode.dependencies = (const hipGraphNode_t*)dependencies; \
3934 cb_data.args.hipDrvGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
3935 cb_data.args.hipDrvGraphAddMemFreeNode.dptr = (hipDeviceptr_t)dptr; \
3936};
3937// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
3938#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3939 cb_data.args.hipDrvGraphAddMemcpyNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3940 cb_data.args.hipDrvGraphAddMemcpyNode.hGraph = (hipGraph_t)hGraph; \
3941 cb_data.args.hipDrvGraphAddMemcpyNode.dependencies = (const hipGraphNode_t*)dependencies; \
3942 cb_data.args.hipDrvGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
3943 cb_data.args.hipDrvGraphAddMemcpyNode.copyParams = (const HIP_MEMCPY3D*)copyParams; \
3944 cb_data.args.hipDrvGraphAddMemcpyNode.ctx = (hipCtx_t)ctx; \
3945};
3946// hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
3947#define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3948 cb_data.args.hipDrvGraphAddMemsetNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3949 cb_data.args.hipDrvGraphAddMemsetNode.hGraph = (hipGraph_t)hGraph; \
3950 cb_data.args.hipDrvGraphAddMemsetNode.dependencies = (const hipGraphNode_t*)dependencies; \
3951 cb_data.args.hipDrvGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
3952 cb_data.args.hipDrvGraphAddMemsetNode.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
3953 cb_data.args.hipDrvGraphAddMemsetNode.ctx = (hipCtx_t)ctx; \
3954};
3955// hipDrvGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
3956#define INIT_hipDrvGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3957 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3958 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.hNode = (hipGraphNode_t)hNode; \
3959 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.copyParams = (const HIP_MEMCPY3D*)copyParams; \
3960 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.ctx = (hipCtx_t)ctx; \
3961};
3962// hipDrvGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
3963#define INIT_hipDrvGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
3964 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3965 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.hNode = (hipGraphNode_t)hNode; \
3966 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
3967 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.ctx = (hipCtx_t)ctx; \
3968};
3969// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
3970#define INIT_hipDrvGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
3971};
3972// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
3973#define INIT_hipDrvGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3974};
3975// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
3976#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3977 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3978};
3979// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
3980#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3981 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3982};
3983// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
3984#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3985 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3986 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3987};
3988// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
3989#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3990 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3991 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3992 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3993 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3994};
3995// hipEventCreate[('hipEvent_t*', 'event')]
3996#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3997 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3998};
3999// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
4000#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
4001 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
4002 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
4003};
4004// hipEventDestroy[('hipEvent_t', 'event')]
4005#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
4006 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
4007};
4008// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
4009#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
4010 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
4011 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
4012 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
4013};
4014// hipEventQuery[('hipEvent_t', 'event')]
4015#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
4016 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
4017};
4018// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
4019#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
4020 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
4021 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
4022};
4023// hipEventSynchronize[('hipEvent_t', 'event')]
4024#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
4025 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
4026};
4027// hipExtGetLastError[]
4028#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
4029};
4030// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
4031#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
4032 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
4033 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
4034 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
4035 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
4036};
4037// 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')]
4038#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
4039 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
4040 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
4041 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
4042 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
4043 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4044 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
4045 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4046 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4047 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
4048};
4049// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
4050#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4051 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4052 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
4053 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
4054};
4055// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
4056#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
4057 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
4058 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
4059 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
4060};
4061// 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')]
4062#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4063 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
4064 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4065 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4066 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4067 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
4068 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
4069 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
4070 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4071 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4072 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4073 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
4074 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4075 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4076 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
4077};
4078// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
4079#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
4080 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
4081 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
4082 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
4083};
4084// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
4085#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
4086 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
4087 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
4088 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
4089};
4090// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
4091#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
4092 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
4093 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
4094 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
4095};
4096// hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
4097#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
4098 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
4099 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
4100 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
4101};
4102// hipFree[('void*', 'ptr')]
4103#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
4104 cb_data.args.hipFree.ptr = (void*)ptr; \
4105};
4106// hipFreeArray[('hipArray_t', 'array')]
4107#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
4108 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
4109};
4110// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
4111#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
4112 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
4113 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
4114};
4115// hipFreeHost[('void*', 'ptr')]
4116#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
4117 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
4118};
4119// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
4120#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
4121 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
4122};
4123// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
4124#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
4125 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
4126 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
4127 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
4128};
4129// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
4130#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
4131 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
4132 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
4133};
4134// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
4135#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
4136 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
4137 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
4138 cb_data.args.hipFuncSetAttribute.value = (int)value; \
4139};
4140// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
4141#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
4142 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
4143 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
4144};
4145// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
4146#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
4147 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
4148 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
4149};
4150// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
4151#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
4152 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
4153 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
4154 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
4155 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
4156};
4157// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
4158#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
4159 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
4160 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
4161};
4162// hipGetDevice[('int*', 'deviceId')]
4163#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
4164 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
4165};
4166// hipGetDeviceCount[('int*', 'count')]
4167#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
4168 cb_data.args.hipGetDeviceCount.count = (int*)count; \
4169};
4170// hipGetDeviceFlags[('unsigned int*', 'flags')]
4171#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
4172 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
4173};
4174// hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
4175#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
4176 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
4177 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
4178};
4179// hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
4180#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
4181 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
4182 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
4183};
4184// hipGetErrorString[]
4185#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
4186};
4187// hipGetFuncBySymbol[('hipFunction_t*', 'functionPtr'), ('const void*', 'symbolPtr')]
4188#define INIT_hipGetFuncBySymbol_CB_ARGS_DATA(cb_data) { \
4189 cb_data.args.hipGetFuncBySymbol.functionPtr = (hipFunction_t*)functionPtr; \
4190 cb_data.args.hipGetFuncBySymbol.symbolPtr = (const void*)symbolPtr; \
4191};
4192// hipGetLastError[]
4193#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
4194};
4195// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
4196#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
4197 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
4198 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
4199 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
4200};
4201// hipGetProcAddress[('const char*', 'symbol'), ('void**', 'pfn'), ('int', 'hipVersion'), ('uint64_t', 'flags'), ('hipDriverProcAddressQueryResult*', 'symbolStatus')]
4202#define INIT_hipGetProcAddress_CB_ARGS_DATA(cb_data) { \
4203 cb_data.args.hipGetProcAddress.symbol = (symbol) ? strdup(symbol) : NULL; \
4204 cb_data.args.hipGetProcAddress.pfn = (void**)pfn; \
4205 cb_data.args.hipGetProcAddress.hipVersion = (int)hipVersion; \
4206 cb_data.args.hipGetProcAddress.flags = (uint64_t)flags; \
4207 cb_data.args.hipGetProcAddress.symbolStatus = (hipDriverProcAddressQueryResult*)symbolStatus; \
4208};
4209// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
4210#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
4211 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
4212 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
4213};
4214// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
4215#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
4216 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
4217 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
4218};
4219// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
4220#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
4221 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4222 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
4223 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4224 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
4225 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
4226};
4227// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4228#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
4229 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
4230 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
4231 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
4232 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
4233};
4234// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
4235#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
4236 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4237 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
4238 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4239 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
4240};
4241// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
4242#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
4243 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4244 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
4245 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4246 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
4247 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
4248};
4249// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
4250#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
4251 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4252 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
4253 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4254 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
4255 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
4256};
4257// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4258#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
4259 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4260 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.graph = (hipGraph_t)graph; \
4261 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4262 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.numDependencies = (size_t)numDependencies; \
4263 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4264};
4265// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4266#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4267 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4268 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.graph = (hipGraph_t)graph; \
4269 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4270 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.numDependencies = (size_t)numDependencies; \
4271 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4272};
4273// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
4274#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4275 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4276 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4277 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4278 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4279 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4280};
4281// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
4282#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4283 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4284 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4285 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4286 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4287 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4288};
4289// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4290#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4291 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4292 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4293 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4294 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4295 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4296};
4297// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
4298#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4299 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4300 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4301 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4302 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4303 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4304};
4305// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
4306#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4307 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4308 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4309 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4310 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4311 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4312};
4313// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4314#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4315 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4316 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4317 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4318 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4319 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4320 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4321 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4322 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4323};
4324// 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')]
4325#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4326 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4327 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4328 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4329 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4330 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4331 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4332 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4333 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4334 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4335};
4336// 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')]
4337#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4338 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4339 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4340 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4341 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4342 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4343 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4344 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4345 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4346 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4347};
4348// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
4349#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4350 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4351 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4352 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4353 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4354 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4355};
4356// hipGraphAddNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraphNodeParams*', 'nodeParams')]
4357#define INIT_hipGraphAddNode_CB_ARGS_DATA(cb_data) { \
4358 cb_data.args.hipGraphAddNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4359 cb_data.args.hipGraphAddNode.graph = (hipGraph_t)graph; \
4360 cb_data.args.hipGraphAddNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4361 cb_data.args.hipGraphAddNode.numDependencies = (size_t)numDependencies; \
4362 cb_data.args.hipGraphAddNode.nodeParams = (hipGraphNodeParams*)nodeParams; \
4363};
4364// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
4365#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4366 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4367 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4368};
4369// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
4370#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4371 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4372 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4373};
4374// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
4375#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4376 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4377 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4378};
4379// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
4380#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4381 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4382 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4383 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4384};
4385// hipGraphDestroy[('hipGraph_t', 'graph')]
4386#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4387 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4388};
4389// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
4390#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4391 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4392};
4393// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4394#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4395 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4396 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4397};
4398// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4399#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4400 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4401 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4402};
4403// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
4404#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4405 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4406 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4407};
4408// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
4409#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4410 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4411 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4412};
4413// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
4414#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4415 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4416 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4417 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4418};
4419// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
4420#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4421 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4422};
4423// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4424#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4425 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4426 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4427 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4428};
4429// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
4430#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4431 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4432 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4433 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4434};
4435// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4436#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4437 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4438 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4439 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4440};
4441// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4442#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4443 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4444 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4445 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4446};
4447// hipGraphExecGetFlags[('hipGraphExec_t', 'graphExec'), ('unsigned long long*', 'flags')]
4448#define INIT_hipGraphExecGetFlags_CB_ARGS_DATA(cb_data) { \
4449};
4450// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4451#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4452 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4453 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4454 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4455};
4456// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4457#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4458 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4459 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4460 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4461};
4462// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4463#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4464 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4465 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4466 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4467};
4468// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4469#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4470 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4471 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4472 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4473 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4474 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4475 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4476};
4477// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4478#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4479 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4480 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4481 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4482 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4483 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4484 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4485 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4486};
4487// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4488#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4489 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4490 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4491 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4492 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4493 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4494 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4495 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4496};
4497// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4498#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4499 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4500 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4501 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4502};
4503// hipGraphExecNodeSetParams[('hipGraphExec_t', 'graphExec'), ('hipGraphNode_t', 'node'), ('hipGraphNodeParams*', 'nodeParams')]
4504#define INIT_hipGraphExecNodeSetParams_CB_ARGS_DATA(cb_data) { \
4505};
4506// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
4507#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4508 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4509 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4510 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4511 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4512};
4513// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
4514#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4515 cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4516 cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out = (hipExternalSemaphoreSignalNodeParams*)params_out; \
4517};
4518// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
4519#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4520 cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4521 cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4522};
4523// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
4524#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4525 cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4526 cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out = (hipExternalSemaphoreWaitNodeParams*)params_out; \
4527};
4528// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
4529#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4530 cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4531 cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4532};
4533// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
4534#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4535 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4536 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4537 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4538 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4539};
4540// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
4541#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4542 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4543 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4544 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4545};
4546// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
4547#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4548 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4549 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4550 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4551};
4552// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
4553#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4554 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4555 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4556};
4557// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4558#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4559 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4560 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4561};
4562// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
4563#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4564 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4565 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4566 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4567 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4568 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4569};
4570// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
4571#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4572 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4573 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4574 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4575};
4576// hipGraphInstantiateWithParams[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphInstantiateParams*', 'instantiateParams')]
4577#define INIT_hipGraphInstantiateWithParams_CB_ARGS_DATA(cb_data) { \
4578 cb_data.args.hipGraphInstantiateWithParams.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4579 cb_data.args.hipGraphInstantiateWithParams.graph = (hipGraph_t)graph; \
4580 cb_data.args.hipGraphInstantiateWithParams.instantiateParams = (hipGraphInstantiateParams*)instantiateParams; \
4581};
4582// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
4583#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4584 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4585 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4586};
4587// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('hipLaunchAttributeValue*', 'value')]
4588#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4589};
4590// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
4591#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4592 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4593 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4594};
4595// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('const hipLaunchAttributeValue*', 'value')]
4596#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4597};
4598// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4599#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4600 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4601 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4602};
4603// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4604#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4605 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4606 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4607};
4608// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4609#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4610 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4611 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4612};
4613// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
4614#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4615 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4616 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4617};
4618// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4619#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4620 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4621 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4622};
4623// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
4624#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4625 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4626 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4627};
4628// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4629#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4630 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4631 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4632 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4633 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4634 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4635};
4636// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4637#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4638 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4639 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4640 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4641 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4642 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4643 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4644};
4645// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4646#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4647 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4648 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4649 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4650 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4651 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4652 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4653};
4654// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
4655#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4656 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4657 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4658};
4659// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4660#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4661 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4662 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4663};
4664// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
4665#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4666 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4667 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4668 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4669};
4670// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
4671#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4672 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4673 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4674 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4675};
4676// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
4677#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4678 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4679 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4680 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4681};
4682// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
4683#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4684 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4685 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4686 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4687};
4688// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
4689#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4690 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4691 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4692};
4693// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
4694#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4695 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4696 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4697 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4698};
4699// hipGraphNodeSetParams[('hipGraphNode_t', 'node'), ('hipGraphNodeParams*', 'nodeParams')]
4700#define INIT_hipGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4701};
4702// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
4703#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4704 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4705 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4706 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4707};
4708// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4709#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4710 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4711 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4712 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4713 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4714};
4715// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
4716#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4717 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4718 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4719 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4720 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4721};
4722// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4723#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4724 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4725 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4726};
4727// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
4728#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4729 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4730 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4731 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4732};
4733// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
4734#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4735 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4736 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4737 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4738 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4739};
4740// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4741#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4742 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4743 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4744 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4745};
4746// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
4747#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4748 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4749 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4750 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4751};
4752// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
4753#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4754 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4755 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4756 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4757 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4758};
4759// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4760#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4761 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4762 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4763 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4764};
4765// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
4766#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4767 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4768};
4769// 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')]
4770#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4771 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4772 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4773 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4774 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4775 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4776 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4777 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4778 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4779 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4780 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4781 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4782 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4783 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4784};
4785// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4786#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4787 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4788 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4789 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4790};
4791// hipHostFree[('void*', 'ptr')]
4792#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4793 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4794};
4795// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
4796#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4797 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4798 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4799 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4800};
4801// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
4802#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4803 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4804 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4805};
4806// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4807#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4808 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4809 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4810 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4811};
4812// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
4813#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4814 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4815 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4816 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4817};
4818// hipHostUnregister[('void*', 'hostPtr')]
4819#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4820 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4821};
4822// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
4823#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4824 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4825 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4826};
4827// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
4828#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4829 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4830 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4831};
4832// hipInit[('unsigned int', 'flags')]
4833#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4834 cb_data.args.hipInit.flags = (unsigned int)flags; \
4835};
4836// hipIpcCloseMemHandle[('void*', 'devPtr')]
4837#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4838 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4839};
4840// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
4841#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4842 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4843 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4844};
4845// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
4846#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4847 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4848 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4849};
4850// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
4851#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4852 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4853 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4854};
4855// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
4856#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4857 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4858 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4859 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4860};
4861// hipLaunchByPtr[('const void*', 'hostFunction')]
4862#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4863 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4864};
4865// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4866#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4867 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4868 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4869 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4870 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4871 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4872 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4873};
4874// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
4875#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4876 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4877 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4878 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4879};
4880// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
4881#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4882 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4883 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4884 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4885};
4886// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4887#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4888 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4889 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4890 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4891 cb_data.args.hipLaunchKernel.args = (void**)args; \
4892 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4893 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4894};
4895// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
4896#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4897 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4898 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4899};
4900// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
4901#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4902 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4903 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4904};
4905// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
4906#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4907 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4908 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4909 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4910 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4911};
4912// hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
4913#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4914 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4915 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4916 cb_data.args.hipMallocArray.width = (size_t)width; \
4917 cb_data.args.hipMallocArray.height = (size_t)height; \
4918 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4919};
4920// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
4921#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4922 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4923 cb_data.args.hipMallocAsync.size = (size_t)size; \
4924 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4925};
4926// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
4927#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4928 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4929 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4930 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4931 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4932};
4933// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
4934#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4935 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4936 cb_data.args.hipMallocHost.size = (size_t)size; \
4937};
4938// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4939#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4940 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4941 cb_data.args.hipMallocManaged.size = (size_t)size; \
4942 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4943};
4944// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
4945#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4946 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4947 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4948 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4949 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4950 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4951};
4952// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
4953#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4954 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4955 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4956 cb_data.args.hipMallocPitch.width = (size_t)width; \
4957 cb_data.args.hipMallocPitch.height = (size_t)height; \
4958};
4959// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
4960#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4961 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4962 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4963};
4964// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
4965#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4966 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4967 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4968 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4969 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4970 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4971};
4972// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
4973#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4974 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4975 cb_data.args.hipMemAdvise.count = (size_t)count; \
4976 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4977 cb_data.args.hipMemAdvise.device = (int)device; \
4978};
4979// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
4980#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4981 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4982 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4983};
4984// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
4985#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4986 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4987 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4988 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4989 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4990 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4991};
4992// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
4993#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4994 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4995 cb_data.args.hipMemCreate.size = (size_t)size; \
4996 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4997 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4998};
4999// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
5000#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
5001 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
5002 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
5003 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
5004 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
5005};
5006// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
5007#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
5008 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
5009 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
5010 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
5011};
5012// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
5013#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
5014 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
5015 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
5016 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
5017};
5018// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
5019#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
5020 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
5021 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
5022 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
5023};
5024// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
5025#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
5026 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
5027 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
5028};
5029// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
5030#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
5031 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
5032 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
5033};
5034// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
5035#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
5036 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
5037 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
5038 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
5039};
5040// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
5041#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
5042 cb_data.args.hipMemMap.ptr = (void*)ptr; \
5043 cb_data.args.hipMemMap.size = (size_t)size; \
5044 cb_data.args.hipMemMap.offset = (size_t)offset; \
5045 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
5046 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
5047};
5048// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
5049#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
5050 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
5051 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
5052 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
5053};
5054// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
5055#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
5056 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
5057 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
5058};
5059// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
5060#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
5061 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
5062};
5063// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
5064#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
5065 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
5066 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
5067};
5068// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
5069#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
5070 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
5071 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
5072 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
5073 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
5074};
5075// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
5076#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
5077 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
5078 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
5079 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
5080};
5081// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
5082#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
5083 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
5084 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
5085 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
5086};
5087// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
5088#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
5089 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
5090 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
5091 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
5092 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
5093};
5094// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
5095#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
5096 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
5097 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
5098 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
5099};
5100// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
5101#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
5102 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
5103 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
5104 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
5105};
5106// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
5107#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
5108 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
5109 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
5110 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
5111};
5112// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
5113#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
5114 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
5115 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
5116};
5117// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
5118#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
5119 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
5120 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
5121 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
5122 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
5123};
5124// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
5125#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
5126 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
5127 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
5128};
5129// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
5130#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
5131 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
5132 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
5133 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
5134 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
5135 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
5136};
5137// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
5138#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
5139 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
5140 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
5141 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
5142 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
5143 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
5144 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
5145};
5146// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
5147#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
5148 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
5149};
5150// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
5151#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
5152 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
5153 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
5154};
5155// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
5156#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
5157 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
5158 cb_data.args.hipMemSetAccess.size = (size_t)size; \
5159 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
5160 cb_data.args.hipMemSetAccess.count = (size_t)count; \
5161};
5162// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
5163#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
5164 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
5165 cb_data.args.hipMemUnmap.size = (size_t)size; \
5166};
5167// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
5168#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
5169 cb_data.args.hipMemcpy.dst = (void*)dst; \
5170 cb_data.args.hipMemcpy.src = (const void*)src; \
5171 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
5172 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
5173};
5174// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5175#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
5176 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
5177 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
5178 cb_data.args.hipMemcpy2D.src = (const void*)src; \
5179 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
5180 cb_data.args.hipMemcpy2D.width = (size_t)width; \
5181 cb_data.args.hipMemcpy2D.height = (size_t)height; \
5182 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
5183};
5184// hipMemcpy2DArrayToArray[('hipArray_t', 'dst'), ('size_t', 'wOffsetDst'), ('size_t', 'hOffsetDst'), ('hipArray_const_t', 'src'), ('size_t', 'wOffsetSrc'), ('size_t', 'hOffsetSrc'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5185#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) { \
5186 cb_data.args.hipMemcpy2DArrayToArray.dst = (hipArray_t)dst; \
5187 cb_data.args.hipMemcpy2DArrayToArray.wOffsetDst = (size_t)wOffsetDst; \
5188 cb_data.args.hipMemcpy2DArrayToArray.hOffsetDst = (size_t)hOffsetDst; \
5189 cb_data.args.hipMemcpy2DArrayToArray.src = (hipArray_const_t)src; \
5190 cb_data.args.hipMemcpy2DArrayToArray.wOffsetSrc = (size_t)wOffsetSrc; \
5191 cb_data.args.hipMemcpy2DArrayToArray.hOffsetSrc = (size_t)hOffsetSrc; \
5192 cb_data.args.hipMemcpy2DArrayToArray.width = (size_t)width; \
5193 cb_data.args.hipMemcpy2DArrayToArray.height = (size_t)height; \
5194 cb_data.args.hipMemcpy2DArrayToArray.kind = (hipMemcpyKind)kind; \
5195};
5196// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5197#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
5198 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
5199 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
5200 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
5201 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
5202 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
5203 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
5204 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
5205 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
5206};
5207// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5208#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
5209 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
5210 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
5211 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
5212 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
5213 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
5214 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
5215 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
5216 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
5217};
5218// 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')]
5219#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
5220 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
5221 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
5222 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
5223 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
5224 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
5225 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
5226 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
5227 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
5228 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
5229};
5230// hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
5231#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
5232 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
5233 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
5234 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
5235 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
5236 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
5237 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
5238 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
5239 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
5240};
5241// 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')]
5242#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
5243 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
5244 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
5245 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
5246 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
5247 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
5248 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
5249 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
5250 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
5251 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
5252};
5253// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
5254#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
5255 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
5256};
5257// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
5258#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
5260 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
5261};
5262// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5263#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
5264 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
5265 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
5266 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
5267 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
5268 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
5269};
5270// hipMemcpyAtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
5271#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) { \
5272 cb_data.args.hipMemcpyAtoA.dstArray = (hipArray_t)dstArray; \
5273 cb_data.args.hipMemcpyAtoA.dstOffset = (size_t)dstOffset; \
5274 cb_data.args.hipMemcpyAtoA.srcArray = (hipArray_t)srcArray; \
5275 cb_data.args.hipMemcpyAtoA.srcOffset = (size_t)srcOffset; \
5276 cb_data.args.hipMemcpyAtoA.ByteCount = (size_t)ByteCount; \
5277};
5278// hipMemcpyAtoD[('hipDeviceptr_t', 'dstDevice'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
5279#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) { \
5280 cb_data.args.hipMemcpyAtoD.dstDevice = (hipDeviceptr_t)dstDevice; \
5281 cb_data.args.hipMemcpyAtoD.srcArray = (hipArray_t)srcArray; \
5282 cb_data.args.hipMemcpyAtoD.srcOffset = (size_t)srcOffset; \
5283 cb_data.args.hipMemcpyAtoD.ByteCount = (size_t)ByteCount; \
5284};
5285// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
5286#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
5287 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
5288 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
5289 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
5290 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
5291};
5292// hipMemcpyAtoHAsync[('void*', 'dstHost'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
5293#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) { \
5294 cb_data.args.hipMemcpyAtoHAsync.dstHost = (void*)dstHost; \
5295 cb_data.args.hipMemcpyAtoHAsync.srcArray = (hipArray_t)srcArray; \
5296 cb_data.args.hipMemcpyAtoHAsync.srcOffset = (size_t)srcOffset; \
5297 cb_data.args.hipMemcpyAtoHAsync.ByteCount = (size_t)ByteCount; \
5298 cb_data.args.hipMemcpyAtoHAsync.stream = (hipStream_t)stream; \
5299};
5300// hipMemcpyDtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipDeviceptr_t', 'srcDevice'), ('size_t', 'ByteCount')]
5301#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) { \
5302 cb_data.args.hipMemcpyDtoA.dstArray = (hipArray_t)dstArray; \
5303 cb_data.args.hipMemcpyDtoA.dstOffset = (size_t)dstOffset; \
5304 cb_data.args.hipMemcpyDtoA.srcDevice = (hipDeviceptr_t)srcDevice; \
5305 cb_data.args.hipMemcpyDtoA.ByteCount = (size_t)ByteCount; \
5306};
5307// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
5308#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
5309 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
5310 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
5311 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
5312};
5313// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5314#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
5315 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5316 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
5317 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
5318 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
5319};
5320// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
5321#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
5322 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
5323 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
5324 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
5325};
5326// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5327#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
5328 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
5329 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
5330 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
5331 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
5332};
5333// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5334#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
5335 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
5336 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
5337 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
5338 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
5339 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
5340 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
5341};
5342// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5343#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
5344 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
5345 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5346 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5347 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5348 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5349};
5350// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5351#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5352 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5353 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5354 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5355 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5356 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5357 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5358};
5359// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
5360#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5361 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5362 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5363 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5364 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5365};
5366// hipMemcpyHtoAAsync[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
5367#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) { \
5368 cb_data.args.hipMemcpyHtoAAsync.dstArray = (hipArray_t)dstArray; \
5369 cb_data.args.hipMemcpyHtoAAsync.dstOffset = (size_t)dstOffset; \
5370 cb_data.args.hipMemcpyHtoAAsync.srcHost = (const void*)srcHost; \
5371 cb_data.args.hipMemcpyHtoAAsync.ByteCount = (size_t)ByteCount; \
5372 cb_data.args.hipMemcpyHtoAAsync.stream = (hipStream_t)stream; \
5373};
5374// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
5375#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5376 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5377 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5378 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5379};
5380// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5381#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5382 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5383 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5384 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5385 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5386};
5387// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
5388#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5389 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5390};
5391// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
5392#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5393 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5394 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5395};
5396// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
5397#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5398 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5399 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5400 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5401 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5402 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5403};
5404// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5405#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5406 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5407 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5408 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5409 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5410 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5411 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5412};
5413// hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5414#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5415 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5416 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5417 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5418 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5419 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5420 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5421};
5422// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
5423#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5424 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5425 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5426 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5427 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5428 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5429};
5430// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5431#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5432 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5433 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5434 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5435 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5436 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5437 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5438};
5439// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
5440#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5441 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5442 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5443 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5444 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5445 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5446};
5447// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
5448#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5449 cb_data.args.hipMemset.dst = (void*)dst; \
5450 cb_data.args.hipMemset.value = (int)value; \
5451 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5452};
5453// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
5454#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5455 cb_data.args.hipMemset2D.dst = (void*)dst; \
5456 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5457 cb_data.args.hipMemset2D.value = (int)value; \
5458 cb_data.args.hipMemset2D.width = (size_t)width; \
5459 cb_data.args.hipMemset2D.height = (size_t)height; \
5460};
5461// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
5462#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5463 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5464 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5465 cb_data.args.hipMemset2DAsync.value = (int)value; \
5466 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5467 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5468 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5469};
5470// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
5471#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5472 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5473 cb_data.args.hipMemset3D.value = (int)value; \
5474 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5475};
5476// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
5477#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5478 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5479 cb_data.args.hipMemset3DAsync.value = (int)value; \
5480 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5481 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5482};
5483// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
5484#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5485 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5486 cb_data.args.hipMemsetAsync.value = (int)value; \
5487 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5488 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5489};
5490// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
5491#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5492 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5493 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5494 cb_data.args.hipMemsetD16.count = (size_t)count; \
5495};
5496// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5497#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5498 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5499 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5500 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5501 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5502};
5503// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
5504#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5505 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5506 cb_data.args.hipMemsetD32.value = (int)value; \
5507 cb_data.args.hipMemsetD32.count = (size_t)count; \
5508};
5509// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5510#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5511 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5512 cb_data.args.hipMemsetD32Async.value = (int)value; \
5513 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5514 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5515};
5516// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
5517#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5518 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5519 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5520 cb_data.args.hipMemsetD8.count = (size_t)count; \
5521};
5522// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
5523#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5524 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5525 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5526 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5527 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5528};
5529// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
5530#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5531 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5532 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5533 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5534};
5535// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
5536#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5537 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5538};
5539// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
5540#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5541 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5542 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5543 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5544};
5545// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
5546#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5547 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5548 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5549 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5550};
5551// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5552#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5553 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5554 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5555 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5556 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5557};
5558// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5559#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5560 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5561 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5562 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5563};
5564// 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')]
5565#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5566 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5567 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5568 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5569 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5570 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5571 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5572 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5573 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5574 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5575 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5576};
5577// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
5578#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5579 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5580 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5581 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5582};
5583// 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')]
5584#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5585 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5586 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5587 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5588 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5589 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5590 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5591 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5592 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5593 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5594 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5595 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5596};
5597// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
5598#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5599 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5600 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5601};
5602// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
5603#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5604 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5605 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5606};
5607// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
5608#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5609 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5610 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5611 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5612 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5613 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5614};
5615// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
5616#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5617 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5618 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5619 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5620 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5621};
5622// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
5623#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5624 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5625 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5626 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5627 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5628 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5629};
5630// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5631#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5632 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5633 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5634 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5635 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5636 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5637};
5638// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
5639#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5640 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5641 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5642 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5643 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5644 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5645 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5646};
5647// hipModuleUnload[('hipModule_t', 'module')]
5648#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5649 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5650};
5651// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
5652#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5653 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5654 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5655 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5656 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5657};
5658// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
5659#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5660 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5661 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5662 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5663 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5664 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5665};
5666// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5667#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5668 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5669 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5670 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5671 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5672 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5673};
5674// hipPeekAtLastError[]
5675#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5676};
5677// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5678#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5679 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5680 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5681 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5682};
5683// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
5684#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5685 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5686 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5687};
5688// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5689#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5690 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5691 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5692 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5693};
5694// hipProfilerStart[]
5695#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5696};
5697// hipProfilerStop[]
5698#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5699};
5700// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
5701#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5702 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5703};
5704// hipSetDevice[('int', 'deviceId')]
5705#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5706 cb_data.args.hipSetDevice.deviceId = (int)device; \
5707};
5708// hipSetDeviceFlags[('unsigned int', 'flags')]
5709#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5710 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5711};
5712// hipSetValidDevices[('int*', 'device_arr'), ('int', 'len')]
5713#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) { \
5714 cb_data.args.hipSetValidDevices.device_arr = (int*)device_arr; \
5715 cb_data.args.hipSetValidDevices.len = (int)len; \
5716};
5717// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
5718#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5719 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5720 cb_data.args.hipSetupArgument.size = (size_t)size; \
5721 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5722};
5723// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5724#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5725 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5726 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5727 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5728 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5729};
5730// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
5731#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5732 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5733 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5734 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5735 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5736};
5737// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
5738#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5739 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5740 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5741 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5742 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5743};
5744// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
5745#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5746 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5747 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5748};
5749// hipStreamBeginCaptureToGraph[('hipStream_t', 'stream'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'dependencies'), ('const hipGraphEdgeData*', 'dependencyData'), ('size_t', 'numDependencies'), ('hipStreamCaptureMode', 'mode')]
5750#define INIT_hipStreamBeginCaptureToGraph_CB_ARGS_DATA(cb_data) { \
5751 cb_data.args.hipStreamBeginCaptureToGraph.stream = (hipStream_t)stream; \
5752 cb_data.args.hipStreamBeginCaptureToGraph.graph = (hipGraph_t)graph; \
5753 cb_data.args.hipStreamBeginCaptureToGraph.dependencies = (const hipGraphNode_t*)dependencies; \
5754 cb_data.args.hipStreamBeginCaptureToGraph.dependencyData = (const hipGraphEdgeData*)dependencyData; \
5755 cb_data.args.hipStreamBeginCaptureToGraph.numDependencies = (size_t)numDependencies; \
5756 cb_data.args.hipStreamBeginCaptureToGraph.mode = (hipStreamCaptureMode)mode; \
5757};
5758// hipStreamCreate[('hipStream_t*', 'stream')]
5759#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5760 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5761};
5762// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
5763#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5764 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5765 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5766};
5767// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
5768#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5769 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5770 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5771 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5772};
5773// hipStreamDestroy[('hipStream_t', 'stream')]
5774#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5775 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5776};
5777// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
5778#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5779 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5780 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5781};
5782// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
5783#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5784 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5785 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5786 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5787};
5788// 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')]
5789#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5790 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5791 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5792 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5793 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5794 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5795 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5796};
5797// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
5798#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5799 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5800 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5801};
5802// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
5803#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5804 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5805 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5806};
5807// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
5808#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5809 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5810 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5811};
5812// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
5813#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5814 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5815 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5816};
5817// hipStreamQuery[('hipStream_t', 'stream')]
5818#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5819 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5820};
5821// hipStreamSynchronize[('hipStream_t', 'stream')]
5822#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5823 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5824};
5825// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
5826#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5827 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5828 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5829 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5830 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5831};
5832// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
5833#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5834 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5835 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5836 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5837};
5838// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
5839#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5840 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5841 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5842 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5843 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5844 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5845};
5846// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
5847#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5848 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5849 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5850 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5851 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5852 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5853};
5854// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
5855#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5856 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5857 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5858 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5859 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5860};
5861// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
5862#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5863 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5864 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5865 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5866 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5867};
5868// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
5869#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5870 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5871 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5872};
5873// hipTexRefGetArray[('hipArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5874#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) { \
5875 cb_data.args.hipTexRefGetArray.pArray = (hipArray_t*)pArray; \
5876 cb_data.args.hipTexRefGetArray.texRef = (const textureReference*)texRef; \
5877};
5878// hipTexRefGetBorderColor[('float*', 'pBorderColor'), ('const textureReference*', 'texRef')]
5879#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) { \
5880 cb_data.args.hipTexRefGetBorderColor.pBorderColor = (float*)pBorderColor; \
5881 cb_data.args.hipTexRefGetBorderColor.texRef = (const textureReference*)texRef; \
5882};
5883// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
5884#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5885 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5886 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5887};
5888// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
5889#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5890 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5891 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5892 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5893};
5894// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
5895#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5896 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5897 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5898};
5899// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5900#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5901 cb_data.args.hipTexRefGetMipMappedArray.pArray = (hipMipmappedArray_t*)pArray; \
5902 cb_data.args.hipTexRefGetMipMappedArray.texRef = (const textureReference*)texRef; \
5903};
5904// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
5905#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5906 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5907 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5908};
5909// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
5910#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5911 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5912 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5913 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5914};
5915// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
5916#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5917 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5918 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5919 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5920 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5921};
5922// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
5923#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5924 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5925 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5926 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5927 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5928};
5929// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
5930#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5931 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5932 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5933 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5934};
5935// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
5936#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5937 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5938 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5939};
5940// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
5941#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5942 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5943 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5944};
5945// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
5946#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5947 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5948 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5949 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5950};
5951// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
5952#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5953 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5954 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5955};
5956// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
5957#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5958 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5959 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5960};
5961// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
5962#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5963 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5964 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5965 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5966};
5967// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
5968#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5969 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5970 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5971 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5972};
5973// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
5974#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5975 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5976};
5977// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
5978#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5979 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5980 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5981 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5982 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5983 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5984};
5985// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5986#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5987 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5988 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5989};
5990// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5991#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5992 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5993 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5994};
5995// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5996#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5997 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5998 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5999 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
6000 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
6001};
6002#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
6003
6004// Macros for non-public API primitives
6005// hipBindTexture()
6006#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
6007// hipBindTexture2D()
6008#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
6009// hipBindTextureToArray()
6010#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
6011// hipBindTextureToMipmappedArray()
6012#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
6013// hipCreateTextureObject()
6014#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
6015// hipDestroyTextureObject()
6016#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
6017// hipDeviceGetCount()
6018#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
6019// hipGetTextureAlignmentOffset()
6020#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
6021// hipGetTextureObjectResourceDesc()
6022#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
6023// hipGetTextureObjectResourceViewDesc()
6024#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
6025// hipGetTextureObjectTextureDesc()
6026#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
6027// hipGetTextureReference()
6028#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
6029// hipTexObjectCreate()
6030#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
6031// hipTexObjectDestroy()
6032#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
6033// hipTexObjectGetResourceDesc()
6034#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
6035// hipTexObjectGetResourceViewDesc()
6036#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
6037// hipTexObjectGetTextureDesc()
6038#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
6039// hipTexRefGetAddressMode()
6040#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
6041// hipTexRefGetFilterMode()
6042#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
6043// hipTexRefGetMipmapFilterMode()
6044#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
6045// hipTexRefSetAddressMode()
6046#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
6047// hipTexRefSetFilterMode()
6048#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
6049// hipTexRefSetMipmapFilterMode()
6050#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
6051// hipUnbindTexture()
6052#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
6053
6054#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
6055
6056#if HIP_PROF_HIP_API_STRING
6057// HIP API args filling helper
6058static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
6059 switch (id) {
6060// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
6061 case HIP_API_ID___hipPopCallConfiguration:
6062 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
6063 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
6064 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
6065 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
6066 break;
6067// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
6068 case HIP_API_ID___hipPushCallConfiguration:
6069 break;
6070// hipArray3DCreate[('hipArray_t*', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
6071 case HIP_API_ID_hipArray3DCreate:
6072 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
6073 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
6074 break;
6075// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
6076 case HIP_API_ID_hipArray3DGetDescriptor:
6077 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
6078 break;
6079// hipArrayCreate[('hipArray_t*', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
6080 case HIP_API_ID_hipArrayCreate:
6081 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
6082 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
6083 break;
6084// hipArrayDestroy[('hipArray_t', 'array')]
6085 case HIP_API_ID_hipArrayDestroy:
6086 break;
6087// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray_t', 'array')]
6088 case HIP_API_ID_hipArrayGetDescriptor:
6089 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
6090 break;
6091// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray_t', 'array')]
6092 case HIP_API_ID_hipArrayGetInfo:
6093 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
6094 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
6095 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
6096 break;
6097// hipChooseDeviceR0000[('int*', 'device'), ('const hipDeviceProp_tR0000*', 'prop')]
6098 case HIP_API_ID_hipChooseDeviceR0000:
6099 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
6100 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
6101 break;
6102// hipChooseDeviceR0600[('int*', 'device'), ('const hipDeviceProp_tR0600*', 'prop')]
6103 case HIP_API_ID_hipChooseDeviceR0600:
6104 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
6105 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
6106 break;
6107// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
6108 case HIP_API_ID_hipConfigureCall:
6109 break;
6110// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
6111 case HIP_API_ID_hipCreateSurfaceObject:
6112 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
6113 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
6114 break;
6115// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
6116 case HIP_API_ID_hipCtxCreate:
6117 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
6118 break;
6119// hipCtxDestroy[('hipCtx_t', 'ctx')]
6120 case HIP_API_ID_hipCtxDestroy:
6121 break;
6122// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
6123 case HIP_API_ID_hipCtxDisablePeerAccess:
6124 break;
6125// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
6126 case HIP_API_ID_hipCtxEnablePeerAccess:
6127 break;
6128// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
6129 case HIP_API_ID_hipCtxGetApiVersion:
6130 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
6131 break;
6132// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
6133 case HIP_API_ID_hipCtxGetCacheConfig:
6134 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
6135 break;
6136// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
6137 case HIP_API_ID_hipCtxGetCurrent:
6138 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
6139 break;
6140// hipCtxGetDevice[('hipDevice_t*', 'device')]
6141 case HIP_API_ID_hipCtxGetDevice:
6142 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
6143 break;
6144// hipCtxGetFlags[('unsigned int*', 'flags')]
6145 case HIP_API_ID_hipCtxGetFlags:
6146 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
6147 break;
6148// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
6149 case HIP_API_ID_hipCtxGetSharedMemConfig:
6150 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
6151 break;
6152// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
6153 case HIP_API_ID_hipCtxPopCurrent:
6154 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
6155 break;
6156// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
6157 case HIP_API_ID_hipCtxPushCurrent:
6158 break;
6159// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
6160 case HIP_API_ID_hipCtxSetCacheConfig:
6161 break;
6162// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
6163 case HIP_API_ID_hipCtxSetCurrent:
6164 break;
6165// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
6166 case HIP_API_ID_hipCtxSetSharedMemConfig:
6167 break;
6168// hipCtxSynchronize[]
6169 case HIP_API_ID_hipCtxSynchronize:
6170 break;
6171// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
6172 case HIP_API_ID_hipDestroyExternalMemory:
6173 break;
6174// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
6175 case HIP_API_ID_hipDestroyExternalSemaphore:
6176 break;
6177// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
6178 case HIP_API_ID_hipDestroySurfaceObject:
6179 break;
6180// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
6181 case HIP_API_ID_hipDeviceCanAccessPeer:
6182 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
6183 break;
6184// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
6185 case HIP_API_ID_hipDeviceComputeCapability:
6186 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
6187 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
6188 break;
6189// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
6190 case HIP_API_ID_hipDeviceDisablePeerAccess:
6191 break;
6192// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
6193 case HIP_API_ID_hipDeviceEnablePeerAccess:
6194 break;
6195// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
6196 case HIP_API_ID_hipDeviceGet:
6197 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
6198 break;
6199// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
6200 case HIP_API_ID_hipDeviceGetAttribute:
6201 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
6202 break;
6203// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
6204 case HIP_API_ID_hipDeviceGetByPCIBusId:
6205 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
6206 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
6207 break;
6208// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
6209 case HIP_API_ID_hipDeviceGetCacheConfig:
6210 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
6211 break;
6212// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
6213 case HIP_API_ID_hipDeviceGetDefaultMemPool:
6214 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
6215 break;
6216// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
6217 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
6218 break;
6219// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
6220 case HIP_API_ID_hipDeviceGetLimit:
6221 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
6222 break;
6223// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
6224 case HIP_API_ID_hipDeviceGetMemPool:
6225 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
6226 break;
6227// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
6228 case HIP_API_ID_hipDeviceGetName:
6229 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
6230 break;
6231// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
6232 case HIP_API_ID_hipDeviceGetP2PAttribute:
6233 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
6234 break;
6235// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
6236 case HIP_API_ID_hipDeviceGetPCIBusId:
6237 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
6238 break;
6239// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
6240 case HIP_API_ID_hipDeviceGetSharedMemConfig:
6241 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
6242 break;
6243// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
6244 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
6245 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
6246 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
6247 break;
6248// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
6249 case HIP_API_ID_hipDeviceGetUuid:
6250 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
6251 break;
6252// hipDeviceGraphMemTrim[('int', 'device')]
6253 case HIP_API_ID_hipDeviceGraphMemTrim:
6254 break;
6255// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
6256 case HIP_API_ID_hipDevicePrimaryCtxGetState:
6257 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
6258 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
6259 break;
6260// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
6261 case HIP_API_ID_hipDevicePrimaryCtxRelease:
6262 break;
6263// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
6264 case HIP_API_ID_hipDevicePrimaryCtxReset:
6265 break;
6266// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
6267 case HIP_API_ID_hipDevicePrimaryCtxRetain:
6268 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
6269 break;
6270// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
6271 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
6272 break;
6273// hipDeviceReset[]
6274 case HIP_API_ID_hipDeviceReset:
6275 break;
6276// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
6277 case HIP_API_ID_hipDeviceSetCacheConfig:
6278 break;
6279// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
6280 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
6281 break;
6282// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
6283 case HIP_API_ID_hipDeviceSetLimit:
6284 break;
6285// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
6286 case HIP_API_ID_hipDeviceSetMemPool:
6287 break;
6288// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
6289 case HIP_API_ID_hipDeviceSetSharedMemConfig:
6290 break;
6291// hipDeviceSynchronize[]
6292 case HIP_API_ID_hipDeviceSynchronize:
6293 break;
6294// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
6295 case HIP_API_ID_hipDeviceTotalMem:
6296 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
6297 break;
6298// hipDriverGetVersion[('int*', 'driverVersion')]
6299 case HIP_API_ID_hipDriverGetVersion:
6300 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
6301 break;
6302// hipDrvGraphAddMemFreeNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('hipDeviceptr_t', 'dptr')]
6303 case HIP_API_ID_hipDrvGraphAddMemFreeNode:
6304 if (data->args.hipDrvGraphAddMemFreeNode.phGraphNode) data->args.hipDrvGraphAddMemFreeNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemFreeNode.phGraphNode);
6305 if (data->args.hipDrvGraphAddMemFreeNode.dependencies) data->args.hipDrvGraphAddMemFreeNode.dependencies__val = *(data->args.hipDrvGraphAddMemFreeNode.dependencies);
6306 break;
6307// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
6308 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
6309 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
6310 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
6311 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
6312 break;
6313// hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
6314 case HIP_API_ID_hipDrvGraphAddMemsetNode:
6315 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode) data->args.hipDrvGraphAddMemsetNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemsetNode.phGraphNode);
6316 if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
6317 if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
6318 break;
6319// hipDrvGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
6320 case HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams:
6321 if (data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams) data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams__val = *(data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams);
6322 break;
6323// hipDrvGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
6324 case HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams:
6325 if (data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams) data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams__val = *(data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams);
6326 break;
6327// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
6328 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
6329 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
6330 break;
6331// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
6332 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
6333 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
6334 break;
6335// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
6336 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
6337 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
6338 break;
6339// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
6340 case HIP_API_ID_hipDrvMemcpy3D:
6341 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
6342 break;
6343// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
6344 case HIP_API_ID_hipDrvMemcpy3DAsync:
6345 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
6346 break;
6347// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
6348 case HIP_API_ID_hipDrvPointerGetAttributes:
6349 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
6350 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
6351 break;
6352// hipEventCreate[('hipEvent_t*', 'event')]
6353 case HIP_API_ID_hipEventCreate:
6354 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
6355 break;
6356// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
6357 case HIP_API_ID_hipEventCreateWithFlags:
6358 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
6359 break;
6360// hipEventDestroy[('hipEvent_t', 'event')]
6361 case HIP_API_ID_hipEventDestroy:
6362 break;
6363// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
6364 case HIP_API_ID_hipEventElapsedTime:
6365 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
6366 break;
6367// hipEventQuery[('hipEvent_t', 'event')]
6368 case HIP_API_ID_hipEventQuery:
6369 break;
6370// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
6371 case HIP_API_ID_hipEventRecord:
6372 break;
6373// hipEventSynchronize[('hipEvent_t', 'event')]
6374 case HIP_API_ID_hipEventSynchronize:
6375 break;
6376// hipExtGetLastError[]
6377 case HIP_API_ID_hipExtGetLastError:
6378 break;
6379// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
6380 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6381 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6382 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6383 break;
6384// 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')]
6385 case HIP_API_ID_hipExtLaunchKernel:
6386 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6387 break;
6388// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6389 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6390 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6391 break;
6392// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6393 case HIP_API_ID_hipExtMallocWithFlags:
6394 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6395 break;
6396// 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')]
6397 case HIP_API_ID_hipExtModuleLaunchKernel:
6398 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6399 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6400 break;
6401// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
6402 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6403 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6404 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6405 break;
6406// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
6407 case HIP_API_ID_hipExtStreamGetCUMask:
6408 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6409 break;
6410// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
6411 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6412 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6413 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6414 break;
6415// hipExternalMemoryGetMappedMipmappedArray[('hipMipmappedArray_t*', 'mipmap'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryMipmappedArrayDesc*', 'mipmapDesc')]
6416 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6417 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6418 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6419 break;
6420// hipFree[('void*', 'ptr')]
6421 case HIP_API_ID_hipFree:
6422 break;
6423// hipFreeArray[('hipArray_t', 'array')]
6424 case HIP_API_ID_hipFreeArray:
6425 break;
6426// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
6427 case HIP_API_ID_hipFreeAsync:
6428 break;
6429// hipFreeHost[('void*', 'ptr')]
6430 case HIP_API_ID_hipFreeHost:
6431 break;
6432// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
6433 case HIP_API_ID_hipFreeMipmappedArray:
6434 break;
6435// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
6436 case HIP_API_ID_hipFuncGetAttribute:
6437 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6438 break;
6439// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
6440 case HIP_API_ID_hipFuncGetAttributes:
6441 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6442 break;
6443// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
6444 case HIP_API_ID_hipFuncSetAttribute:
6445 break;
6446// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
6447 case HIP_API_ID_hipFuncSetCacheConfig:
6448 break;
6449// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
6450 case HIP_API_ID_hipFuncSetSharedMemConfig:
6451 break;
6452// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
6453 case HIP_API_ID_hipGLGetDevices:
6454 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6455 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6456 break;
6457// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
6458 case HIP_API_ID_hipGetChannelDesc:
6459 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6460 break;
6461// hipGetDevice[('int*', 'deviceId')]
6462 case HIP_API_ID_hipGetDevice:
6463 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6464 break;
6465// hipGetDeviceCount[('int*', 'count')]
6466 case HIP_API_ID_hipGetDeviceCount:
6467 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6468 break;
6469// hipGetDeviceFlags[('unsigned int*', 'flags')]
6470 case HIP_API_ID_hipGetDeviceFlags:
6471 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6472 break;
6473// hipGetDevicePropertiesR0000[('hipDeviceProp_tR0000*', 'prop'), ('int', 'device')]
6474 case HIP_API_ID_hipGetDevicePropertiesR0000:
6475 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6476 break;
6477// hipGetDevicePropertiesR0600[('hipDeviceProp_tR0600*', 'prop'), ('int', 'deviceId')]
6478 case HIP_API_ID_hipGetDevicePropertiesR0600:
6479 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6480 break;
6481// hipGetErrorString[]
6482 case HIP_API_ID_hipGetErrorString:
6483 break;
6484// hipGetFuncBySymbol[('hipFunction_t*', 'functionPtr'), ('const void*', 'symbolPtr')]
6485 case HIP_API_ID_hipGetFuncBySymbol:
6486 if (data->args.hipGetFuncBySymbol.functionPtr) data->args.hipGetFuncBySymbol.functionPtr__val = *(data->args.hipGetFuncBySymbol.functionPtr);
6487 break;
6488// hipGetLastError[]
6489 case HIP_API_ID_hipGetLastError:
6490 break;
6491// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
6492 case HIP_API_ID_hipGetMipmappedArrayLevel:
6493 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6494 break;
6495// hipGetProcAddress[('const char*', 'symbol'), ('void**', 'pfn'), ('int', 'hipVersion'), ('uint64_t', 'flags'), ('hipDriverProcAddressQueryResult*', 'symbolStatus')]
6496 case HIP_API_ID_hipGetProcAddress:
6497 if (data->args.hipGetProcAddress.symbol) data->args.hipGetProcAddress.symbol__val = *(data->args.hipGetProcAddress.symbol);
6498 if (data->args.hipGetProcAddress.pfn) data->args.hipGetProcAddress.pfn__val = *(data->args.hipGetProcAddress.pfn);
6499 if (data->args.hipGetProcAddress.symbolStatus) data->args.hipGetProcAddress.symbolStatus__val = *(data->args.hipGetProcAddress.symbolStatus);
6500 break;
6501// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
6502 case HIP_API_ID_hipGetSymbolAddress:
6503 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6504 break;
6505// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
6506 case HIP_API_ID_hipGetSymbolSize:
6507 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6508 break;
6509// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
6510 case HIP_API_ID_hipGraphAddChildGraphNode:
6511 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6512 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6513 break;
6514// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6515 case HIP_API_ID_hipGraphAddDependencies:
6516 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6517 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6518 break;
6519// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
6520 case HIP_API_ID_hipGraphAddEmptyNode:
6521 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6522 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6523 break;
6524// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6525 case HIP_API_ID_hipGraphAddEventRecordNode:
6526 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6527 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6528 break;
6529// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
6530 case HIP_API_ID_hipGraphAddEventWaitNode:
6531 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6532 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6533 break;
6534// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6535 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6536 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6537 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6538 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6539 break;
6540// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6541 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6542 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6543 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6544 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6545 break;
6546// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
6547 case HIP_API_ID_hipGraphAddHostNode:
6548 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6549 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6550 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6551 break;
6552// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
6553 case HIP_API_ID_hipGraphAddKernelNode:
6554 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6555 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6556 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6557 break;
6558// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6559 case HIP_API_ID_hipGraphAddMemAllocNode:
6560 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6561 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6562 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6563 break;
6564// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
6565 case HIP_API_ID_hipGraphAddMemFreeNode:
6566 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6567 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6568 break;
6569// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
6570 case HIP_API_ID_hipGraphAddMemcpyNode:
6571 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6572 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6573 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6574 break;
6575// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6576 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6577 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6578 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6579 break;
6580// 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')]
6581 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6582 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6583 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6584 break;
6585// 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')]
6586 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6587 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6588 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6589 break;
6590// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
6591 case HIP_API_ID_hipGraphAddMemsetNode:
6592 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6593 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6594 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6595 break;
6596// hipGraphAddNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraphNodeParams*', 'nodeParams')]
6597 case HIP_API_ID_hipGraphAddNode:
6598 if (data->args.hipGraphAddNode.pGraphNode) data->args.hipGraphAddNode.pGraphNode__val = *(data->args.hipGraphAddNode.pGraphNode);
6599 if (data->args.hipGraphAddNode.pDependencies) data->args.hipGraphAddNode.pDependencies__val = *(data->args.hipGraphAddNode.pDependencies);
6600 if (data->args.hipGraphAddNode.nodeParams) data->args.hipGraphAddNode.nodeParams__val = *(data->args.hipGraphAddNode.nodeParams);
6601 break;
6602// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
6603 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6604 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6605 break;
6606// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
6607 case HIP_API_ID_hipGraphClone:
6608 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6609 break;
6610// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
6611 case HIP_API_ID_hipGraphCreate:
6612 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6613 break;
6614// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
6615 case HIP_API_ID_hipGraphDebugDotPrint:
6616 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6617 break;
6618// hipGraphDestroy[('hipGraph_t', 'graph')]
6619 case HIP_API_ID_hipGraphDestroy:
6620 break;
6621// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
6622 case HIP_API_ID_hipGraphDestroyNode:
6623 break;
6624// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6625 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6626 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6627 break;
6628// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6629 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6630 break;
6631// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6632 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6633 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6634 break;
6635// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6636 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6637 break;
6638// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
6639 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6640 break;
6641// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
6642 case HIP_API_ID_hipGraphExecDestroy:
6643 break;
6644// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6645 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6646 break;
6647// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6648 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6649 break;
6650// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6651 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6652 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6653 break;
6654// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6655 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6656 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6657 break;
6658// hipGraphExecGetFlags[('hipGraphExec_t', 'graphExec'), ('unsigned long long*', 'flags')]
6659 case HIP_API_ID_hipGraphExecGetFlags:
6660 if (data->args.hipGraphExecGetFlags.flags) data->args.hipGraphExecGetFlags.flags__val = *(data->args.hipGraphExecGetFlags.flags);
6661 break;
6662// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6663 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6664 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6665 break;
6666// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6667 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6668 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6669 break;
6670// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6671 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6672 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6673 break;
6674// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6675 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6676 break;
6677// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6678 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6679 break;
6680// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6681 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6682 break;
6683// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6684 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6685 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6686 break;
6687// hipGraphExecNodeSetParams[('hipGraphExec_t', 'graphExec'), ('hipGraphNode_t', 'node'), ('hipGraphNodeParams*', 'nodeParams')]
6688 case HIP_API_ID_hipGraphExecNodeSetParams:
6689 if (data->args.hipGraphExecNodeSetParams.nodeParams) data->args.hipGraphExecNodeSetParams.nodeParams__val = *(data->args.hipGraphExecNodeSetParams.nodeParams);
6690 break;
6691// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
6692 case HIP_API_ID_hipGraphExecUpdate:
6693 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6694 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6695 break;
6696// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
6697 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6698 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6699 break;
6700// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
6701 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6702 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6703 break;
6704// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
6705 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6706 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6707 break;
6708// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
6709 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6710 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6711 break;
6712// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
6713 case HIP_API_ID_hipGraphGetEdges:
6714 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6715 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6716 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6717 break;
6718// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
6719 case HIP_API_ID_hipGraphGetNodes:
6720 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6721 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6722 break;
6723// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
6724 case HIP_API_ID_hipGraphGetRootNodes:
6725 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6726 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6727 break;
6728// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
6729 case HIP_API_ID_hipGraphHostNodeGetParams:
6730 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6731 break;
6732// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6733 case HIP_API_ID_hipGraphHostNodeSetParams:
6734 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6735 break;
6736// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
6737 case HIP_API_ID_hipGraphInstantiate:
6738 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6739 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6740 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6741 break;
6742// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
6743 case HIP_API_ID_hipGraphInstantiateWithFlags:
6744 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6745 break;
6746// hipGraphInstantiateWithParams[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphInstantiateParams*', 'instantiateParams')]
6747 case HIP_API_ID_hipGraphInstantiateWithParams:
6748 if (data->args.hipGraphInstantiateWithParams.pGraphExec) data->args.hipGraphInstantiateWithParams.pGraphExec__val = *(data->args.hipGraphInstantiateWithParams.pGraphExec);
6749 if (data->args.hipGraphInstantiateWithParams.instantiateParams) data->args.hipGraphInstantiateWithParams.instantiateParams__val = *(data->args.hipGraphInstantiateWithParams.instantiateParams);
6750 break;
6751// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
6752 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6753 break;
6754// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('hipLaunchAttributeValue*', 'value')]
6755 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6756 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6757 break;
6758// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
6759 case HIP_API_ID_hipGraphKernelNodeGetParams:
6760 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6761 break;
6762// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('const hipLaunchAttributeValue*', 'value')]
6763 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6764 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6765 break;
6766// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6767 case HIP_API_ID_hipGraphKernelNodeSetParams:
6768 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6769 break;
6770// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6771 case HIP_API_ID_hipGraphLaunch:
6772 break;
6773// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6774 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6775 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6776 break;
6777// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
6778 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6779 break;
6780// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6781 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6782 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6783 break;
6784// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
6785 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6786 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6787 break;
6788// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6789 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6790 break;
6791// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6792 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6793 break;
6794// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6795 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6796 break;
6797// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
6798 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6799 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6800 break;
6801// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6802 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6803 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6804 break;
6805// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
6806 case HIP_API_ID_hipGraphNodeFindInClone:
6807 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6808 break;
6809// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
6810 case HIP_API_ID_hipGraphNodeGetDependencies:
6811 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6812 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6813 break;
6814// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
6815 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6816 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6817 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6818 break;
6819// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
6820 case HIP_API_ID_hipGraphNodeGetEnabled:
6821 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6822 break;
6823// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
6824 case HIP_API_ID_hipGraphNodeGetType:
6825 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6826 break;
6827// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
6828 case HIP_API_ID_hipGraphNodeSetEnabled:
6829 break;
6830// hipGraphNodeSetParams[('hipGraphNode_t', 'node'), ('hipGraphNodeParams*', 'nodeParams')]
6831 case HIP_API_ID_hipGraphNodeSetParams:
6832 if (data->args.hipGraphNodeSetParams.nodeParams) data->args.hipGraphNodeSetParams.nodeParams__val = *(data->args.hipGraphNodeSetParams.nodeParams);
6833 break;
6834// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6835 case HIP_API_ID_hipGraphReleaseUserObject:
6836 break;
6837// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6838 case HIP_API_ID_hipGraphRemoveDependencies:
6839 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6840 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6841 break;
6842// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
6843 case HIP_API_ID_hipGraphRetainUserObject:
6844 break;
6845// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6846 case HIP_API_ID_hipGraphUpload:
6847 break;
6848// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
6849 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6850 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6851 break;
6852// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
6853 case HIP_API_ID_hipGraphicsGLRegisterImage:
6854 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6855 break;
6856// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6857 case HIP_API_ID_hipGraphicsMapResources:
6858 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6859 break;
6860// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
6861 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6862 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6863 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6864 break;
6865// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
6866 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6867 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6868 break;
6869// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6870 case HIP_API_ID_hipGraphicsUnmapResources:
6871 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6872 break;
6873// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
6874 case HIP_API_ID_hipGraphicsUnregisterResource:
6875 break;
6876// 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')]
6877 case HIP_API_ID_hipHccModuleLaunchKernel:
6878 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6879 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6880 break;
6881// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6882 case HIP_API_ID_hipHostAlloc:
6883 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6884 break;
6885// hipHostFree[('void*', 'ptr')]
6886 case HIP_API_ID_hipHostFree:
6887 break;
6888// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
6889 case HIP_API_ID_hipHostGetDevicePointer:
6890 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6891 break;
6892// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
6893 case HIP_API_ID_hipHostGetFlags:
6894 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6895 break;
6896// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6897 case HIP_API_ID_hipHostMalloc:
6898 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6899 break;
6900// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6901 case HIP_API_ID_hipHostRegister:
6902 break;
6903// hipHostUnregister[('void*', 'hostPtr')]
6904 case HIP_API_ID_hipHostUnregister:
6905 break;
6906// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
6907 case HIP_API_ID_hipImportExternalMemory:
6908 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6909 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6910 break;
6911// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
6912 case HIP_API_ID_hipImportExternalSemaphore:
6913 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6914 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6915 break;
6916// hipInit[('unsigned int', 'flags')]
6917 case HIP_API_ID_hipInit:
6918 break;
6919// hipIpcCloseMemHandle[('void*', 'devPtr')]
6920 case HIP_API_ID_hipIpcCloseMemHandle:
6921 break;
6922// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
6923 case HIP_API_ID_hipIpcGetEventHandle:
6924 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6925 break;
6926// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
6927 case HIP_API_ID_hipIpcGetMemHandle:
6928 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6929 break;
6930// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
6931 case HIP_API_ID_hipIpcOpenEventHandle:
6932 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6933 break;
6934// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
6935 case HIP_API_ID_hipIpcOpenMemHandle:
6936 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6937 break;
6938// hipLaunchByPtr[('const void*', 'hostFunction')]
6939 case HIP_API_ID_hipLaunchByPtr:
6940 break;
6941// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6942 case HIP_API_ID_hipLaunchCooperativeKernel:
6943 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6944 break;
6945// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6946 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6947 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6948 break;
6949// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
6950 case HIP_API_ID_hipLaunchHostFunc:
6951 break;
6952// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6953 case HIP_API_ID_hipLaunchKernel:
6954 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6955 break;
6956// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
6957 case HIP_API_ID_hipMalloc:
6958 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6959 break;
6960// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
6961 case HIP_API_ID_hipMalloc3D:
6962 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6963 break;
6964// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
6965 case HIP_API_ID_hipMalloc3DArray:
6966 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6967 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6968 break;
6969// hipMallocArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
6970 case HIP_API_ID_hipMallocArray:
6971 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6972 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6973 break;
6974// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
6975 case HIP_API_ID_hipMallocAsync:
6976 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6977 break;
6978// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
6979 case HIP_API_ID_hipMallocFromPoolAsync:
6980 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6981 break;
6982// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
6983 case HIP_API_ID_hipMallocHost:
6984 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6985 break;
6986// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6987 case HIP_API_ID_hipMallocManaged:
6988 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6989 break;
6990// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
6991 case HIP_API_ID_hipMallocMipmappedArray:
6992 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6993 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6994 break;
6995// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
6996 case HIP_API_ID_hipMallocPitch:
6997 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6998 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6999 break;
7000// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
7001 case HIP_API_ID_hipMemAddressFree:
7002 break;
7003// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
7004 case HIP_API_ID_hipMemAddressReserve:
7005 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
7006 break;
7007// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
7008 case HIP_API_ID_hipMemAdvise:
7009 break;
7010// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
7011 case HIP_API_ID_hipMemAllocHost:
7012 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
7013 break;
7014// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
7015 case HIP_API_ID_hipMemAllocPitch:
7016 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
7017 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
7018 break;
7019// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
7020 case HIP_API_ID_hipMemCreate:
7021 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
7022 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
7023 break;
7024// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
7025 case HIP_API_ID_hipMemExportToShareableHandle:
7026 break;
7027// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
7028 case HIP_API_ID_hipMemGetAccess:
7029 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
7030 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
7031 break;
7032// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
7033 case HIP_API_ID_hipMemGetAddressRange:
7034 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
7035 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
7036 break;
7037// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
7038 case HIP_API_ID_hipMemGetAllocationGranularity:
7039 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
7040 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
7041 break;
7042// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
7043 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
7044 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
7045 break;
7046// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
7047 case HIP_API_ID_hipMemGetInfo:
7048 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
7049 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
7050 break;
7051// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
7052 case HIP_API_ID_hipMemImportFromShareableHandle:
7053 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
7054 break;
7055// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
7056 case HIP_API_ID_hipMemMap:
7057 break;
7058// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
7059 case HIP_API_ID_hipMemMapArrayAsync:
7060 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
7061 break;
7062// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
7063 case HIP_API_ID_hipMemPoolCreate:
7064 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
7065 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
7066 break;
7067// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
7068 case HIP_API_ID_hipMemPoolDestroy:
7069 break;
7070// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
7071 case HIP_API_ID_hipMemPoolExportPointer:
7072 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
7073 break;
7074// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
7075 case HIP_API_ID_hipMemPoolExportToShareableHandle:
7076 break;
7077// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
7078 case HIP_API_ID_hipMemPoolGetAccess:
7079 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
7080 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
7081 break;
7082// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
7083 case HIP_API_ID_hipMemPoolGetAttribute:
7084 break;
7085// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
7086 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
7087 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
7088 break;
7089// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
7090 case HIP_API_ID_hipMemPoolImportPointer:
7091 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
7092 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
7093 break;
7094// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
7095 case HIP_API_ID_hipMemPoolSetAccess:
7096 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
7097 break;
7098// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
7099 case HIP_API_ID_hipMemPoolSetAttribute:
7100 break;
7101// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
7102 case HIP_API_ID_hipMemPoolTrimTo:
7103 break;
7104// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
7105 case HIP_API_ID_hipMemPrefetchAsync:
7106 break;
7107// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
7108 case HIP_API_ID_hipMemPtrGetInfo:
7109 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
7110 break;
7111// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
7112 case HIP_API_ID_hipMemRangeGetAttribute:
7113 break;
7114// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
7115 case HIP_API_ID_hipMemRangeGetAttributes:
7116 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
7117 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
7118 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
7119 break;
7120// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
7121 case HIP_API_ID_hipMemRelease:
7122 break;
7123// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
7124 case HIP_API_ID_hipMemRetainAllocationHandle:
7125 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
7126 break;
7127// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
7128 case HIP_API_ID_hipMemSetAccess:
7129 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
7130 break;
7131// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
7132 case HIP_API_ID_hipMemUnmap:
7133 break;
7134// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
7135 case HIP_API_ID_hipMemcpy:
7136 break;
7137// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
7138 case HIP_API_ID_hipMemcpy2D:
7139 break;
7140// hipMemcpy2DArrayToArray[('hipArray_t', 'dst'), ('size_t', 'wOffsetDst'), ('size_t', 'hOffsetDst'), ('hipArray_const_t', 'src'), ('size_t', 'wOffsetSrc'), ('size_t', 'hOffsetSrc'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
7141 case HIP_API_ID_hipMemcpy2DArrayToArray:
7142 break;
7143// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7144 case HIP_API_ID_hipMemcpy2DAsync:
7145 break;
7146// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
7147 case HIP_API_ID_hipMemcpy2DFromArray:
7148 break;
7149// 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')]
7150 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
7151 break;
7152// hipMemcpy2DToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
7153 case HIP_API_ID_hipMemcpy2DToArray:
7154 break;
7155// 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')]
7156 case HIP_API_ID_hipMemcpy2DToArrayAsync:
7157 break;
7158// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
7159 case HIP_API_ID_hipMemcpy3D:
7160 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
7161 break;
7162// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
7163 case HIP_API_ID_hipMemcpy3DAsync:
7164 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
7165 break;
7166// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7167 case HIP_API_ID_hipMemcpyAsync:
7168 break;
7169// hipMemcpyAtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
7170 case HIP_API_ID_hipMemcpyAtoA:
7171 break;
7172// hipMemcpyAtoD[('hipDeviceptr_t', 'dstDevice'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
7173 case HIP_API_ID_hipMemcpyAtoD:
7174 break;
7175// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
7176 case HIP_API_ID_hipMemcpyAtoH:
7177 break;
7178// hipMemcpyAtoHAsync[('void*', 'dstHost'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
7179 case HIP_API_ID_hipMemcpyAtoHAsync:
7180 break;
7181// hipMemcpyDtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipDeviceptr_t', 'srcDevice'), ('size_t', 'ByteCount')]
7182 case HIP_API_ID_hipMemcpyDtoA:
7183 break;
7184// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
7185 case HIP_API_ID_hipMemcpyDtoD:
7186 break;
7187// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7188 case HIP_API_ID_hipMemcpyDtoDAsync:
7189 break;
7190// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
7191 case HIP_API_ID_hipMemcpyDtoH:
7192 break;
7193// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7194 case HIP_API_ID_hipMemcpyDtoHAsync:
7195 break;
7196// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
7197 case HIP_API_ID_hipMemcpyFromArray:
7198 break;
7199// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
7200 case HIP_API_ID_hipMemcpyFromSymbol:
7201 break;
7202// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7203 case HIP_API_ID_hipMemcpyFromSymbolAsync:
7204 break;
7205// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
7206 case HIP_API_ID_hipMemcpyHtoA:
7207 break;
7208// hipMemcpyHtoAAsync[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
7209 case HIP_API_ID_hipMemcpyHtoAAsync:
7210 break;
7211// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
7212 case HIP_API_ID_hipMemcpyHtoD:
7213 break;
7214// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7215 case HIP_API_ID_hipMemcpyHtoDAsync:
7216 break;
7217// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
7218 case HIP_API_ID_hipMemcpyParam2D:
7219 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
7220 break;
7221// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
7222 case HIP_API_ID_hipMemcpyParam2DAsync:
7223 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
7224 break;
7225// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
7226 case HIP_API_ID_hipMemcpyPeer:
7227 break;
7228// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7229 case HIP_API_ID_hipMemcpyPeerAsync:
7230 break;
7231// hipMemcpyToArray[('hipArray_t', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
7232 case HIP_API_ID_hipMemcpyToArray:
7233 break;
7234// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
7235 case HIP_API_ID_hipMemcpyToSymbol:
7236 break;
7237// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7238 case HIP_API_ID_hipMemcpyToSymbolAsync:
7239 break;
7240// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
7241 case HIP_API_ID_hipMemcpyWithStream:
7242 break;
7243// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
7244 case HIP_API_ID_hipMemset:
7245 break;
7246// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
7247 case HIP_API_ID_hipMemset2D:
7248 break;
7249// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
7250 case HIP_API_ID_hipMemset2DAsync:
7251 break;
7252// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
7253 case HIP_API_ID_hipMemset3D:
7254 break;
7255// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
7256 case HIP_API_ID_hipMemset3DAsync:
7257 break;
7258// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
7259 case HIP_API_ID_hipMemsetAsync:
7260 break;
7261// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
7262 case HIP_API_ID_hipMemsetD16:
7263 break;
7264// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
7265 case HIP_API_ID_hipMemsetD16Async:
7266 break;
7267// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
7268 case HIP_API_ID_hipMemsetD32:
7269 break;
7270// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
7271 case HIP_API_ID_hipMemsetD32Async:
7272 break;
7273// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
7274 case HIP_API_ID_hipMemsetD8:
7275 break;
7276// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
7277 case HIP_API_ID_hipMemsetD8Async:
7278 break;
7279// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
7280 case HIP_API_ID_hipMipmappedArrayCreate:
7281 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
7282 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
7283 break;
7284// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
7285 case HIP_API_ID_hipMipmappedArrayDestroy:
7286 break;
7287// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
7288 case HIP_API_ID_hipMipmappedArrayGetLevel:
7289 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
7290 break;
7291// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
7292 case HIP_API_ID_hipModuleGetFunction:
7293 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
7294 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
7295 break;
7296// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
7297 case HIP_API_ID_hipModuleGetGlobal:
7298 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
7299 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
7300 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
7301 break;
7302// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
7303 case HIP_API_ID_hipModuleGetTexRef:
7304 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
7305 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
7306 break;
7307// 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')]
7308 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
7309 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
7310 break;
7311// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
7312 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
7313 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
7314 break;
7315// 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')]
7316 case HIP_API_ID_hipModuleLaunchKernel:
7317 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
7318 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
7319 break;
7320// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
7321 case HIP_API_ID_hipModuleLoad:
7322 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
7323 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
7324 break;
7325// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
7326 case HIP_API_ID_hipModuleLoadData:
7327 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
7328 break;
7329// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
7330 case HIP_API_ID_hipModuleLoadDataEx:
7331 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
7332 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
7333 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
7334 break;
7335// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
7336 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
7337 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7338 break;
7339// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
7340 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7341 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7342 break;
7343// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
7344 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
7345 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
7346 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
7347 break;
7348// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
7349 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
7350 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
7351 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
7352 break;
7353// hipModuleUnload[('hipModule_t', 'module')]
7354 case HIP_API_ID_hipModuleUnload:
7355 break;
7356// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
7357 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
7358 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7359 break;
7360// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
7361 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7362 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7363 break;
7364// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
7365 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
7366 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
7367 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
7368 break;
7369// hipPeekAtLastError[]
7370 case HIP_API_ID_hipPeekAtLastError:
7371 break;
7372// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
7373 case HIP_API_ID_hipPointerGetAttribute:
7374 break;
7375// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
7376 case HIP_API_ID_hipPointerGetAttributes:
7377 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
7378 break;
7379// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
7380 case HIP_API_ID_hipPointerSetAttribute:
7381 break;
7382// hipProfilerStart[]
7383 case HIP_API_ID_hipProfilerStart:
7384 break;
7385// hipProfilerStop[]
7386 case HIP_API_ID_hipProfilerStop:
7387 break;
7388// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
7389 case HIP_API_ID_hipRuntimeGetVersion:
7390 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
7391 break;
7392// hipSetDevice[('int', 'deviceId')]
7393 case HIP_API_ID_hipSetDevice:
7394 break;
7395// hipSetDeviceFlags[('unsigned int', 'flags')]
7396 case HIP_API_ID_hipSetDeviceFlags:
7397 break;
7398// hipSetValidDevices[('int*', 'device_arr'), ('int', 'len')]
7399 case HIP_API_ID_hipSetValidDevices:
7400 if (data->args.hipSetValidDevices.device_arr) data->args.hipSetValidDevices.device_arr__val = *(data->args.hipSetValidDevices.device_arr);
7401 break;
7402// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
7403 case HIP_API_ID_hipSetupArgument:
7404 break;
7405// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
7406 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
7407 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
7408 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
7409 break;
7410// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
7411 case HIP_API_ID_hipStreamAddCallback:
7412 break;
7413// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
7414 case HIP_API_ID_hipStreamAttachMemAsync:
7415 break;
7416// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
7417 case HIP_API_ID_hipStreamBeginCapture:
7418 break;
7419// hipStreamBeginCaptureToGraph[('hipStream_t', 'stream'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'dependencies'), ('const hipGraphEdgeData*', 'dependencyData'), ('size_t', 'numDependencies'), ('hipStreamCaptureMode', 'mode')]
7420 case HIP_API_ID_hipStreamBeginCaptureToGraph:
7421 if (data->args.hipStreamBeginCaptureToGraph.dependencies) data->args.hipStreamBeginCaptureToGraph.dependencies__val = *(data->args.hipStreamBeginCaptureToGraph.dependencies);
7422 if (data->args.hipStreamBeginCaptureToGraph.dependencyData) data->args.hipStreamBeginCaptureToGraph.dependencyData__val = *(data->args.hipStreamBeginCaptureToGraph.dependencyData);
7423 break;
7424// hipStreamCreate[('hipStream_t*', 'stream')]
7425 case HIP_API_ID_hipStreamCreate:
7426 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
7427 break;
7428// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
7429 case HIP_API_ID_hipStreamCreateWithFlags:
7430 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
7431 break;
7432// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
7433 case HIP_API_ID_hipStreamCreateWithPriority:
7434 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
7435 break;
7436// hipStreamDestroy[('hipStream_t', 'stream')]
7437 case HIP_API_ID_hipStreamDestroy:
7438 break;
7439// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
7440 case HIP_API_ID_hipStreamEndCapture:
7441 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7442 break;
7443// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
7444 case HIP_API_ID_hipStreamGetCaptureInfo:
7445 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7446 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7447 break;
7448// 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')]
7449 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7450 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7451 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7452 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7453 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7454 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7455 break;
7456// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
7457 case HIP_API_ID_hipStreamGetDevice:
7458 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7459 break;
7460// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
7461 case HIP_API_ID_hipStreamGetFlags:
7462 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7463 break;
7464// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
7465 case HIP_API_ID_hipStreamGetPriority:
7466 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7467 break;
7468// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
7469 case HIP_API_ID_hipStreamIsCapturing:
7470 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7471 break;
7472// hipStreamQuery[('hipStream_t', 'stream')]
7473 case HIP_API_ID_hipStreamQuery:
7474 break;
7475// hipStreamSynchronize[('hipStream_t', 'stream')]
7476 case HIP_API_ID_hipStreamSynchronize:
7477 break;
7478// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
7479 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7480 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7481 break;
7482// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
7483 case HIP_API_ID_hipStreamWaitEvent:
7484 break;
7485// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
7486 case HIP_API_ID_hipStreamWaitValue32:
7487 break;
7488// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
7489 case HIP_API_ID_hipStreamWaitValue64:
7490 break;
7491// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
7492 case HIP_API_ID_hipStreamWriteValue32:
7493 break;
7494// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
7495 case HIP_API_ID_hipStreamWriteValue64:
7496 break;
7497// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
7498 case HIP_API_ID_hipTexRefGetAddress:
7499 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7500 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7501 break;
7502// hipTexRefGetArray[('hipArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
7503 case HIP_API_ID_hipTexRefGetArray:
7504 if (data->args.hipTexRefGetArray.pArray) data->args.hipTexRefGetArray.pArray__val = *(data->args.hipTexRefGetArray.pArray);
7505 if (data->args.hipTexRefGetArray.texRef) data->args.hipTexRefGetArray.texRef__val = *(data->args.hipTexRefGetArray.texRef);
7506 break;
7507// hipTexRefGetBorderColor[('float*', 'pBorderColor'), ('const textureReference*', 'texRef')]
7508 case HIP_API_ID_hipTexRefGetBorderColor:
7509 if (data->args.hipTexRefGetBorderColor.pBorderColor) data->args.hipTexRefGetBorderColor.pBorderColor__val = *(data->args.hipTexRefGetBorderColor.pBorderColor);
7510 if (data->args.hipTexRefGetBorderColor.texRef) data->args.hipTexRefGetBorderColor.texRef__val = *(data->args.hipTexRefGetBorderColor.texRef);
7511 break;
7512// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
7513 case HIP_API_ID_hipTexRefGetFlags:
7514 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7515 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7516 break;
7517// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
7518 case HIP_API_ID_hipTexRefGetFormat:
7519 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7520 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7521 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7522 break;
7523// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
7524 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7525 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7526 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7527 break;
7528// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
7529 case HIP_API_ID_hipTexRefGetMipMappedArray:
7530 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7531 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7532 break;
7533// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
7534 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7535 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7536 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7537 break;
7538// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
7539 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7540 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7541 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7542 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7543 break;
7544// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
7545 case HIP_API_ID_hipTexRefSetAddress:
7546 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7547 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7548 break;
7549// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
7550 case HIP_API_ID_hipTexRefSetAddress2D:
7551 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7552 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7553 break;
7554// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
7555 case HIP_API_ID_hipTexRefSetArray:
7556 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7557 break;
7558// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
7559 case HIP_API_ID_hipTexRefSetBorderColor:
7560 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7561 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7562 break;
7563// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
7564 case HIP_API_ID_hipTexRefSetFlags:
7565 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7566 break;
7567// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
7568 case HIP_API_ID_hipTexRefSetFormat:
7569 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7570 break;
7571// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
7572 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7573 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7574 break;
7575// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
7576 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7577 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7578 break;
7579// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
7580 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7581 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7582 break;
7583// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
7584 case HIP_API_ID_hipTexRefSetMipmappedArray:
7585 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7586 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7587 break;
7588// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
7589 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7590 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7591 break;
7592// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
7593 case HIP_API_ID_hipUserObjectCreate:
7594 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7595 break;
7596// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7597 case HIP_API_ID_hipUserObjectRelease:
7598 break;
7599// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
7600 case HIP_API_ID_hipUserObjectRetain:
7601 break;
7602// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
7603 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7604 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7605 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7606 break;
7607 default: break;
7608 };
7609}
7610
7611#include <sstream>
7612#include <string>
7613// HIP API string method, method name and parameters
7614static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* data) {
7615 std::ostringstream oss;
7616 switch (id) {
7617 case HIP_API_ID___hipPopCallConfiguration:
7618 oss << "__hipPopCallConfiguration(";
7619 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss << "gridDim=NULL";
7620 else { oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7621 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss << ", blockDim=NULL";
7622 else { oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7623 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss << ", sharedMem=NULL";
7624 else { oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7625 if (data->args.__hipPopCallConfiguration.stream == NULL) oss << ", stream=NULL";
7626 else { oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7627 oss << ")";
7628 break;
7629 case HIP_API_ID___hipPushCallConfiguration:
7630 oss << "__hipPushCallConfiguration(";
7631 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7632 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7633 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7634 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7635 oss << ")";
7636 break;
7637 case HIP_API_ID_hipArray3DCreate:
7638 oss << "hipArray3DCreate(";
7639 if (data->args.hipArray3DCreate.array == NULL) oss << "array=NULL";
7640 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.array__val); }
7641 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7642 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7643 oss << ")";
7644 break;
7645 case HIP_API_ID_hipArray3DGetDescriptor:
7646 oss << "hipArray3DGetDescriptor(";
7647 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7648 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7649 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7650 oss << ")";
7651 break;
7652 case HIP_API_ID_hipArrayCreate:
7653 oss << "hipArrayCreate(";
7654 if (data->args.hipArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
7655 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pHandle__val); }
7656 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
7657 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7658 oss << ")";
7659 break;
7660 case HIP_API_ID_hipArrayDestroy:
7661 oss << "hipArrayDestroy(";
7662 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7663 oss << ")";
7664 break;
7665 case HIP_API_ID_hipArrayGetDescriptor:
7666 oss << "hipArrayGetDescriptor(";
7667 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
7668 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7669 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7670 oss << ")";
7671 break;
7672 case HIP_API_ID_hipArrayGetInfo:
7673 oss << "hipArrayGetInfo(";
7674 if (data->args.hipArrayGetInfo.desc == NULL) oss << "desc=NULL";
7675 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7676 if (data->args.hipArrayGetInfo.extent == NULL) oss << ", extent=NULL";
7677 else { oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7678 if (data->args.hipArrayGetInfo.flags == NULL) oss << ", flags=NULL";
7679 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7680 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7681 oss << ")";
7682 break;
7683 case HIP_API_ID_hipChooseDeviceR0000:
7684 oss << "hipChooseDeviceR0000(";
7685 if (data->args.hipChooseDeviceR0000.device == NULL) oss << "device=NULL";
7686 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7687 if (data->args.hipChooseDeviceR0000.prop == NULL) oss << ", prop=NULL";
7688 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7689 oss << ")";
7690 break;
7691 case HIP_API_ID_hipChooseDeviceR0600:
7692 oss << "hipChooseDeviceR0600(";
7693 if (data->args.hipChooseDeviceR0600.device == NULL) oss << "device=NULL";
7694 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7695 if (data->args.hipChooseDeviceR0600.prop == NULL) oss << ", prop=NULL";
7696 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7697 oss << ")";
7698 break;
7699 case HIP_API_ID_hipConfigureCall:
7700 oss << "hipConfigureCall(";
7701 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7702 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7703 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7704 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7705 oss << ")";
7706 break;
7707 case HIP_API_ID_hipCreateSurfaceObject:
7708 oss << "hipCreateSurfaceObject(";
7709 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss << "pSurfObject=NULL";
7710 else { oss << "pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7711 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss << ", pResDesc=NULL";
7712 else { oss << ", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7713 oss << ")";
7714 break;
7715 case HIP_API_ID_hipCtxCreate:
7716 oss << "hipCtxCreate(";
7717 if (data->args.hipCtxCreate.ctx == NULL) oss << "ctx=NULL";
7718 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7719 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7720 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7721 oss << ")";
7722 break;
7723 case HIP_API_ID_hipCtxDestroy:
7724 oss << "hipCtxDestroy(";
7725 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7726 oss << ")";
7727 break;
7728 case HIP_API_ID_hipCtxDisablePeerAccess:
7729 oss << "hipCtxDisablePeerAccess(";
7730 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7731 oss << ")";
7732 break;
7733 case HIP_API_ID_hipCtxEnablePeerAccess:
7734 oss << "hipCtxEnablePeerAccess(";
7735 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7736 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7737 oss << ")";
7738 break;
7739 case HIP_API_ID_hipCtxGetApiVersion:
7740 oss << "hipCtxGetApiVersion(";
7741 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7742 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss << ", apiVersion=NULL";
7743 else { oss << ", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7744 oss << ")";
7745 break;
7746 case HIP_API_ID_hipCtxGetCacheConfig:
7747 oss << "hipCtxGetCacheConfig(";
7748 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7749 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7750 oss << ")";
7751 break;
7752 case HIP_API_ID_hipCtxGetCurrent:
7753 oss << "hipCtxGetCurrent(";
7754 if (data->args.hipCtxGetCurrent.ctx == NULL) oss << "ctx=NULL";
7755 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7756 oss << ")";
7757 break;
7758 case HIP_API_ID_hipCtxGetDevice:
7759 oss << "hipCtxGetDevice(";
7760 if (data->args.hipCtxGetDevice.device == NULL) oss << "device=NULL";
7761 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7762 oss << ")";
7763 break;
7764 case HIP_API_ID_hipCtxGetFlags:
7765 oss << "hipCtxGetFlags(";
7766 if (data->args.hipCtxGetFlags.flags == NULL) oss << "flags=NULL";
7767 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7768 oss << ")";
7769 break;
7770 case HIP_API_ID_hipCtxGetSharedMemConfig:
7771 oss << "hipCtxGetSharedMemConfig(";
7772 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7773 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7774 oss << ")";
7775 break;
7776 case HIP_API_ID_hipCtxPopCurrent:
7777 oss << "hipCtxPopCurrent(";
7778 if (data->args.hipCtxPopCurrent.ctx == NULL) oss << "ctx=NULL";
7779 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7780 oss << ")";
7781 break;
7782 case HIP_API_ID_hipCtxPushCurrent:
7783 oss << "hipCtxPushCurrent(";
7784 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7785 oss << ")";
7786 break;
7787 case HIP_API_ID_hipCtxSetCacheConfig:
7788 oss << "hipCtxSetCacheConfig(";
7789 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7790 oss << ")";
7791 break;
7792 case HIP_API_ID_hipCtxSetCurrent:
7793 oss << "hipCtxSetCurrent(";
7794 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7795 oss << ")";
7796 break;
7797 case HIP_API_ID_hipCtxSetSharedMemConfig:
7798 oss << "hipCtxSetSharedMemConfig(";
7799 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7800 oss << ")";
7801 break;
7802 case HIP_API_ID_hipCtxSynchronize:
7803 oss << "hipCtxSynchronize(";
7804 oss << ")";
7805 break;
7806 case HIP_API_ID_hipDestroyExternalMemory:
7807 oss << "hipDestroyExternalMemory(";
7808 oss << "extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7809 oss << ")";
7810 break;
7811 case HIP_API_ID_hipDestroyExternalSemaphore:
7812 oss << "hipDestroyExternalSemaphore(";
7813 oss << "extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7814 oss << ")";
7815 break;
7816 case HIP_API_ID_hipDestroySurfaceObject:
7817 oss << "hipDestroySurfaceObject(";
7818 oss << "surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7819 oss << ")";
7820 break;
7821 case HIP_API_ID_hipDeviceCanAccessPeer:
7822 oss << "hipDeviceCanAccessPeer(";
7823 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss << "canAccessPeer=NULL";
7824 else { oss << "canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7825 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7826 oss << ", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7827 oss << ")";
7828 break;
7829 case HIP_API_ID_hipDeviceComputeCapability:
7830 oss << "hipDeviceComputeCapability(";
7831 if (data->args.hipDeviceComputeCapability.major == NULL) oss << "major=NULL";
7832 else { oss << "major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7833 if (data->args.hipDeviceComputeCapability.minor == NULL) oss << ", minor=NULL";
7834 else { oss << ", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7835 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7836 oss << ")";
7837 break;
7838 case HIP_API_ID_hipDeviceDisablePeerAccess:
7839 oss << "hipDeviceDisablePeerAccess(";
7840 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7841 oss << ")";
7842 break;
7843 case HIP_API_ID_hipDeviceEnablePeerAccess:
7844 oss << "hipDeviceEnablePeerAccess(";
7845 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7846 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7847 oss << ")";
7848 break;
7849 case HIP_API_ID_hipDeviceGet:
7850 oss << "hipDeviceGet(";
7851 if (data->args.hipDeviceGet.device == NULL) oss << "device=NULL";
7852 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7853 oss << ", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7854 oss << ")";
7855 break;
7856 case HIP_API_ID_hipDeviceGetAttribute:
7857 oss << "hipDeviceGetAttribute(";
7858 if (data->args.hipDeviceGetAttribute.pi == NULL) oss << "pi=NULL";
7859 else { oss << "pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7860 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7861 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7862 oss << ")";
7863 break;
7864 case HIP_API_ID_hipDeviceGetByPCIBusId:
7865 oss << "hipDeviceGetByPCIBusId(";
7866 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss << "device=NULL";
7867 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7868 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss << ", pciBusId=NULL";
7869 else { oss << ", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7870 oss << ")";
7871 break;
7872 case HIP_API_ID_hipDeviceGetCacheConfig:
7873 oss << "hipDeviceGetCacheConfig(";
7874 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7875 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7876 oss << ")";
7877 break;
7878 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7879 oss << "hipDeviceGetDefaultMemPool(";
7880 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7881 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7882 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7883 oss << ")";
7884 break;
7885 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7886 oss << "hipDeviceGetGraphMemAttribute(";
7887 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7888 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7889 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7890 oss << ")";
7891 break;
7892 case HIP_API_ID_hipDeviceGetLimit:
7893 oss << "hipDeviceGetLimit(";
7894 if (data->args.hipDeviceGetLimit.pValue == NULL) oss << "pValue=NULL";
7895 else { oss << "pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7896 oss << ", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7897 oss << ")";
7898 break;
7899 case HIP_API_ID_hipDeviceGetMemPool:
7900 oss << "hipDeviceGetMemPool(";
7901 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7902 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7903 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7904 oss << ")";
7905 break;
7906 case HIP_API_ID_hipDeviceGetName:
7907 oss << "hipDeviceGetName(";
7908 if (data->args.hipDeviceGetName.name == NULL) oss << "name=NULL";
7909 else { oss << "name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7910 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7911 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7912 oss << ")";
7913 break;
7914 case HIP_API_ID_hipDeviceGetP2PAttribute:
7915 oss << "hipDeviceGetP2PAttribute(";
7916 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss << "value=NULL";
7917 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7918 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7919 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7920 oss << ", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7921 oss << ")";
7922 break;
7923 case HIP_API_ID_hipDeviceGetPCIBusId:
7924 oss << "hipDeviceGetPCIBusId(";
7925 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss << "pciBusId=NULL";
7926 else { oss << "pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7927 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7928 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7929 oss << ")";
7930 break;
7931 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7932 oss << "hipDeviceGetSharedMemConfig(";
7933 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7934 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7935 oss << ")";
7936 break;
7937 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7938 oss << "hipDeviceGetStreamPriorityRange(";
7939 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss << "leastPriority=NULL";
7940 else { oss << "leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7941 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss << ", greatestPriority=NULL";
7942 else { oss << ", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7943 oss << ")";
7944 break;
7945 case HIP_API_ID_hipDeviceGetUuid:
7946 oss << "hipDeviceGetUuid(";
7947 if (data->args.hipDeviceGetUuid.uuid == NULL) oss << "uuid=NULL";
7948 else { oss << "uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7949 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7950 oss << ")";
7951 break;
7952 case HIP_API_ID_hipDeviceGraphMemTrim:
7953 oss << "hipDeviceGraphMemTrim(";
7954 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7955 oss << ")";
7956 break;
7957 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7958 oss << "hipDevicePrimaryCtxGetState(";
7959 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7960 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss << ", flags=NULL";
7961 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7962 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss << ", active=NULL";
7963 else { oss << ", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7964 oss << ")";
7965 break;
7966 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7967 oss << "hipDevicePrimaryCtxRelease(";
7968 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7969 oss << ")";
7970 break;
7971 case HIP_API_ID_hipDevicePrimaryCtxReset:
7972 oss << "hipDevicePrimaryCtxReset(";
7973 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7974 oss << ")";
7975 break;
7976 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7977 oss << "hipDevicePrimaryCtxRetain(";
7978 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss << "pctx=NULL";
7979 else { oss << "pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7980 oss << ", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7981 oss << ")";
7982 break;
7983 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7984 oss << "hipDevicePrimaryCtxSetFlags(";
7985 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7986 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7987 oss << ")";
7988 break;
7989 case HIP_API_ID_hipDeviceReset:
7990 oss << "hipDeviceReset(";
7991 oss << ")";
7992 break;
7993 case HIP_API_ID_hipDeviceSetCacheConfig:
7994 oss << "hipDeviceSetCacheConfig(";
7995 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7996 oss << ")";
7997 break;
7998 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7999 oss << "hipDeviceSetGraphMemAttribute(";
8000 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
8001 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
8002 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
8003 oss << ")";
8004 break;
8005 case HIP_API_ID_hipDeviceSetLimit:
8006 oss << "hipDeviceSetLimit(";
8007 oss << "limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
8008 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
8009 oss << ")";
8010 break;
8011 case HIP_API_ID_hipDeviceSetMemPool:
8012 oss << "hipDeviceSetMemPool(";
8013 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
8014 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
8015 oss << ")";
8016 break;
8017 case HIP_API_ID_hipDeviceSetSharedMemConfig:
8018 oss << "hipDeviceSetSharedMemConfig(";
8019 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
8020 oss << ")";
8021 break;
8022 case HIP_API_ID_hipDeviceSynchronize:
8023 oss << "hipDeviceSynchronize(";
8024 oss << ")";
8025 break;
8026 case HIP_API_ID_hipDeviceTotalMem:
8027 oss << "hipDeviceTotalMem(";
8028 if (data->args.hipDeviceTotalMem.bytes == NULL) oss << "bytes=NULL";
8029 else { oss << "bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
8030 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
8031 oss << ")";
8032 break;
8033 case HIP_API_ID_hipDriverGetVersion:
8034 oss << "hipDriverGetVersion(";
8035 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss << "driverVersion=NULL";
8036 else { oss << "driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
8037 oss << ")";
8038 break;
8039 case HIP_API_ID_hipDrvGraphAddMemFreeNode:
8040 oss << "hipDrvGraphAddMemFreeNode(";
8041 if (data->args.hipDrvGraphAddMemFreeNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
8042 else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.phGraphNode__val); }
8043 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.hGraph);
8044 if (data->args.hipDrvGraphAddMemFreeNode.dependencies == NULL) oss << ", dependencies=NULL";
8045 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.dependencies__val); }
8046 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.numDependencies);
8047 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.dptr);
8048 oss << ")";
8049 break;
8050 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
8051 oss << "hipDrvGraphAddMemcpyNode(";
8052 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
8053 else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
8054 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
8055 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss << ", dependencies=NULL";
8056 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
8057 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
8058 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss << ", copyParams=NULL";
8059 else { oss << ", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
8060 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
8061 oss << ")";
8062 break;
8063 case HIP_API_ID_hipDrvGraphAddMemsetNode:
8064 oss << "hipDrvGraphAddMemsetNode(";
8065 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode == NULL) oss << "phGraphNode=NULL";
8066 else { oss << "phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.phGraphNode__val); }
8067 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.hGraph);
8068 if (data->args.hipDrvGraphAddMemsetNode.dependencies == NULL) oss << ", dependencies=NULL";
8069 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.dependencies__val); }
8070 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.numDependencies);
8071 if (data->args.hipDrvGraphAddMemsetNode.memsetParams == NULL) oss << ", memsetParams=NULL";
8072 else { oss << ", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.memsetParams__val); }
8073 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
8074 oss << ")";
8075 break;
8076 case HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams:
8077 oss << "hipDrvGraphExecMemcpyNodeSetParams(";
8078 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.hGraphExec);
8079 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.hNode);
8080 if (data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams == NULL) oss << ", copyParams=NULL";
8081 else { oss << ", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams__val); }
8082 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.ctx);
8083 oss << ")";
8084 break;
8085 case HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams:
8086 oss << "hipDrvGraphExecMemsetNodeSetParams(";
8087 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.hGraphExec);
8088 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.hNode);
8089 if (data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams == NULL) oss << ", memsetParams=NULL";
8090 else { oss << ", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams__val); }
8091 oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.ctx);
8092 oss << ")";
8093 break;
8094 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
8095 oss << "hipDrvGraphMemcpyNodeGetParams(";
8096 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
8097 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8098 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
8099 oss << ")";
8100 break;
8101 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
8102 oss << "hipDrvGraphMemcpyNodeSetParams(";
8103 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
8104 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8105 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
8106 oss << ")";
8107 break;
8108 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
8109 oss << "hipDrvMemcpy2DUnaligned(";
8110 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss << "pCopy=NULL";
8111 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
8112 oss << ")";
8113 break;
8114 case HIP_API_ID_hipDrvMemcpy3D:
8115 oss << "hipDrvMemcpy3D(";
8116 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss << "pCopy=NULL";
8117 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
8118 oss << ")";
8119 break;
8120 case HIP_API_ID_hipDrvMemcpy3DAsync:
8121 oss << "hipDrvMemcpy3DAsync(";
8122 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss << "pCopy=NULL";
8123 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
8124 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
8125 oss << ")";
8126 break;
8127 case HIP_API_ID_hipDrvPointerGetAttributes:
8128 oss << "hipDrvPointerGetAttributes(";
8129 oss << "numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
8130 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss << ", attributes=NULL";
8131 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
8132 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss << ", data=NULL";
8133 else { oss << ", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
8134 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
8135 oss << ")";
8136 break;
8137 case HIP_API_ID_hipEventCreate:
8138 oss << "hipEventCreate(";
8139 if (data->args.hipEventCreate.event == NULL) oss << "event=NULL";
8140 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
8141 oss << ")";
8142 break;
8143 case HIP_API_ID_hipEventCreateWithFlags:
8144 oss << "hipEventCreateWithFlags(";
8145 if (data->args.hipEventCreateWithFlags.event == NULL) oss << "event=NULL";
8146 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
8147 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
8148 oss << ")";
8149 break;
8150 case HIP_API_ID_hipEventDestroy:
8151 oss << "hipEventDestroy(";
8152 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
8153 oss << ")";
8154 break;
8155 case HIP_API_ID_hipEventElapsedTime:
8156 oss << "hipEventElapsedTime(";
8157 if (data->args.hipEventElapsedTime.ms == NULL) oss << "ms=NULL";
8158 else { oss << "ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
8159 oss << ", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
8160 oss << ", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
8161 oss << ")";
8162 break;
8163 case HIP_API_ID_hipEventQuery:
8164 oss << "hipEventQuery(";
8165 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
8166 oss << ")";
8167 break;
8168 case HIP_API_ID_hipEventRecord:
8169 oss << "hipEventRecord(";
8170 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
8171 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
8172 oss << ")";
8173 break;
8174 case HIP_API_ID_hipEventSynchronize:
8175 oss << "hipEventSynchronize(";
8176 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
8177 oss << ")";
8178 break;
8179 case HIP_API_ID_hipExtGetLastError:
8180 oss << "hipExtGetLastError(";
8181 oss << ")";
8182 break;
8183 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
8184 oss << "hipExtGetLinkTypeAndHopCount(";
8185 oss << "device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
8186 oss << ", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
8187 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss << ", linktype=NULL";
8188 else { oss << ", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
8189 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss << ", hopcount=NULL";
8190 else { oss << ", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
8191 oss << ")";
8192 break;
8193 case HIP_API_ID_hipExtLaunchKernel:
8194 oss << "hipExtLaunchKernel(";
8195 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
8196 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
8197 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
8198 if (data->args.hipExtLaunchKernel.args == NULL) oss << ", args=NULL";
8199 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
8200 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
8201 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
8202 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
8203 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
8204 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
8205 oss << ")";
8206 break;
8207 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
8208 oss << "hipExtLaunchMultiKernelMultiDevice(";
8209 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
8210 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
8211 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
8212 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
8213 oss << ")";
8214 break;
8215 case HIP_API_ID_hipExtMallocWithFlags:
8216 oss << "hipExtMallocWithFlags(";
8217 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss << "ptr=NULL";
8218 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
8219 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
8220 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
8221 oss << ")";
8222 break;
8223 case HIP_API_ID_hipExtModuleLaunchKernel:
8224 oss << "hipExtModuleLaunchKernel(";
8225 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
8226 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
8227 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
8228 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
8229 oss << ", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
8230 oss << ", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
8231 oss << ", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
8232 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
8233 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
8234 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8235 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
8236 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
8237 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
8238 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
8239 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
8240 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
8241 oss << ")";
8242 break;
8243 case HIP_API_ID_hipExtStreamCreateWithCUMask:
8244 oss << "hipExtStreamCreateWithCUMask(";
8245 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss << "stream=NULL";
8246 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
8247 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
8248 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss << ", cuMask=NULL";
8249 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
8250 oss << ")";
8251 break;
8252 case HIP_API_ID_hipExtStreamGetCUMask:
8253 oss << "hipExtStreamGetCUMask(";
8254 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
8255 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
8256 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss << ", cuMask=NULL";
8257 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
8258 oss << ")";
8259 break;
8260 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
8261 oss << "hipExternalMemoryGetMappedBuffer(";
8262 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss << "devPtr=NULL";
8263 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
8264 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
8265 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss << ", bufferDesc=NULL";
8266 else { oss << ", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
8267 oss << ")";
8268 break;
8269 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
8270 oss << "hipExternalMemoryGetMappedMipmappedArray(";
8271 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss << "mipmap=NULL";
8272 else { oss << "mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
8273 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
8274 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss << ", mipmapDesc=NULL";
8275 else { oss << ", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
8276 oss << ")";
8277 break;
8278 case HIP_API_ID_hipFree:
8279 oss << "hipFree(";
8280 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
8281 oss << ")";
8282 break;
8283 case HIP_API_ID_hipFreeArray:
8284 oss << "hipFreeArray(";
8285 oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
8286 oss << ")";
8287 break;
8288 case HIP_API_ID_hipFreeAsync:
8289 oss << "hipFreeAsync(";
8290 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
8291 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
8292 oss << ")";
8293 break;
8294 case HIP_API_ID_hipFreeHost:
8295 oss << "hipFreeHost(";
8296 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
8297 oss << ")";
8298 break;
8299 case HIP_API_ID_hipFreeMipmappedArray:
8300 oss << "hipFreeMipmappedArray(";
8301 oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
8302 oss << ")";
8303 break;
8304 case HIP_API_ID_hipFuncGetAttribute:
8305 oss << "hipFuncGetAttribute(";
8306 if (data->args.hipFuncGetAttribute.value == NULL) oss << "value=NULL";
8307 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
8308 oss << ", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
8309 oss << ", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
8310 oss << ")";
8311 break;
8312 case HIP_API_ID_hipFuncGetAttributes:
8313 oss << "hipFuncGetAttributes(";
8314 if (data->args.hipFuncGetAttributes.attr == NULL) oss << "attr=NULL";
8315 else { oss << "attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
8316 oss << ", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
8317 oss << ")";
8318 break;
8319 case HIP_API_ID_hipFuncSetAttribute:
8320 oss << "hipFuncSetAttribute(";
8321 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
8322 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
8323 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
8324 oss << ")";
8325 break;
8326 case HIP_API_ID_hipFuncSetCacheConfig:
8327 oss << "hipFuncSetCacheConfig(";
8328 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
8329 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
8330 oss << ")";
8331 break;
8332 case HIP_API_ID_hipFuncSetSharedMemConfig:
8333 oss << "hipFuncSetSharedMemConfig(";
8334 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
8335 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
8336 oss << ")";
8337 break;
8338 case HIP_API_ID_hipGLGetDevices:
8339 oss << "hipGLGetDevices(";
8340 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss << "pHipDeviceCount=NULL";
8341 else { oss << "pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
8342 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss << ", pHipDevices=NULL";
8343 else { oss << ", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
8344 oss << ", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
8345 oss << ", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
8346 oss << ")";
8347 break;
8348 case HIP_API_ID_hipGetChannelDesc:
8349 oss << "hipGetChannelDesc(";
8350 if (data->args.hipGetChannelDesc.desc == NULL) oss << "desc=NULL";
8351 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
8352 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
8353 oss << ")";
8354 break;
8355 case HIP_API_ID_hipGetDevice:
8356 oss << "hipGetDevice(";
8357 if (data->args.hipGetDevice.deviceId == NULL) oss << "deviceId=NULL";
8358 else { oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
8359 oss << ")";
8360 break;
8361 case HIP_API_ID_hipGetDeviceCount:
8362 oss << "hipGetDeviceCount(";
8363 if (data->args.hipGetDeviceCount.count == NULL) oss << "count=NULL";
8364 else { oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
8365 oss << ")";
8366 break;
8367 case HIP_API_ID_hipGetDeviceFlags:
8368 oss << "hipGetDeviceFlags(";
8369 if (data->args.hipGetDeviceFlags.flags == NULL) oss << "flags=NULL";
8370 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
8371 oss << ")";
8372 break;
8373 case HIP_API_ID_hipGetDevicePropertiesR0000:
8374 oss << "hipGetDevicePropertiesR0000(";
8375 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss << "prop=NULL";
8376 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
8377 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
8378 oss << ")";
8379 break;
8380 case HIP_API_ID_hipGetDevicePropertiesR0600:
8381 oss << "hipGetDevicePropertiesR0600(";
8382 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss << "prop=NULL";
8383 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
8384 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
8385 oss << ")";
8386 break;
8387 case HIP_API_ID_hipGetErrorString:
8388 oss << "hipGetErrorString(";
8389 oss << ")";
8390 break;
8391 case HIP_API_ID_hipGetFuncBySymbol:
8392 oss << "hipGetFuncBySymbol(";
8393 if (data->args.hipGetFuncBySymbol.functionPtr == NULL) oss << "functionPtr=NULL";
8394 else { oss << "functionPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.functionPtr__val); }
8395 oss << ", symbolPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.symbolPtr);
8396 oss << ")";
8397 break;
8398 case HIP_API_ID_hipGetLastError:
8399 oss << "hipGetLastError(";
8400 oss << ")";
8401 break;
8402 case HIP_API_ID_hipGetMipmappedArrayLevel:
8403 oss << "hipGetMipmappedArrayLevel(";
8404 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss << "levelArray=NULL";
8405 else { oss << "levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
8406 oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
8407 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
8408 oss << ")";
8409 break;
8410 case HIP_API_ID_hipGetProcAddress:
8411 oss << "hipGetProcAddress(";
8412 if (data->args.hipGetProcAddress.symbol == NULL) oss << "symbol=NULL";
8413 else { oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbol__val); }
8414 if (data->args.hipGetProcAddress.pfn == NULL) oss << ", pfn=NULL";
8415 else { oss << ", pfn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.pfn__val); }
8416 oss << ", hipVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.hipVersion);
8417 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.flags);
8418 if (data->args.hipGetProcAddress.symbolStatus == NULL) oss << ", symbolStatus=NULL";
8419 else { oss << ", symbolStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbolStatus__val); }
8420 oss << ")";
8421 break;
8422 case HIP_API_ID_hipGetSymbolAddress:
8423 oss << "hipGetSymbolAddress(";
8424 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss << "devPtr=NULL";
8425 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
8426 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
8427 oss << ")";
8428 break;
8429 case HIP_API_ID_hipGetSymbolSize:
8430 oss << "hipGetSymbolSize(";
8431 if (data->args.hipGetSymbolSize.size == NULL) oss << "size=NULL";
8432 else { oss << "size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
8433 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
8434 oss << ")";
8435 break;
8436 case HIP_API_ID_hipGraphAddChildGraphNode:
8437 oss << "hipGraphAddChildGraphNode(";
8438 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8439 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
8440 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
8441 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8442 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
8443 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
8444 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
8445 oss << ")";
8446 break;
8447 case HIP_API_ID_hipGraphAddDependencies:
8448 oss << "hipGraphAddDependencies(";
8449 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
8450 if (data->args.hipGraphAddDependencies.from == NULL) oss << ", from=NULL";
8451 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
8452 if (data->args.hipGraphAddDependencies.to == NULL) oss << ", to=NULL";
8453 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
8454 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
8455 oss << ")";
8456 break;
8457 case HIP_API_ID_hipGraphAddEmptyNode:
8458 oss << "hipGraphAddEmptyNode(";
8459 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8460 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
8461 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
8462 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8463 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
8464 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
8465 oss << ")";
8466 break;
8467 case HIP_API_ID_hipGraphAddEventRecordNode:
8468 oss << "hipGraphAddEventRecordNode(";
8469 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8470 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
8471 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
8472 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8473 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
8474 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
8475 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
8476 oss << ")";
8477 break;
8478 case HIP_API_ID_hipGraphAddEventWaitNode:
8479 oss << "hipGraphAddEventWaitNode(";
8480 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8481 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
8482 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
8483 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8484 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
8485 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
8486 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
8487 oss << ")";
8488 break;
8489 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
8490 oss << "hipGraphAddExternalSemaphoresSignalNode(";
8491 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8492 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
8493 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
8494 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8495 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
8496 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
8497 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8498 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
8499 oss << ")";
8500 break;
8501 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
8502 oss << "hipGraphAddExternalSemaphoresWaitNode(";
8503 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8504 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
8505 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
8506 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8507 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
8508 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8509 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8510 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8511 oss << ")";
8512 break;
8513 case HIP_API_ID_hipGraphAddHostNode:
8514 oss << "hipGraphAddHostNode(";
8515 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8516 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8517 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8518 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8519 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8520 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8521 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8522 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8523 oss << ")";
8524 break;
8525 case HIP_API_ID_hipGraphAddKernelNode:
8526 oss << "hipGraphAddKernelNode(";
8527 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8528 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8529 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8530 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8531 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8532 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8533 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8534 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8535 oss << ")";
8536 break;
8537 case HIP_API_ID_hipGraphAddMemAllocNode:
8538 oss << "hipGraphAddMemAllocNode(";
8539 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8540 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8541 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8542 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8543 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8544 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8545 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8546 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8547 oss << ")";
8548 break;
8549 case HIP_API_ID_hipGraphAddMemFreeNode:
8550 oss << "hipGraphAddMemFreeNode(";
8551 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8552 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8553 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8554 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8555 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8556 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8557 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8558 oss << ")";
8559 break;
8560 case HIP_API_ID_hipGraphAddMemcpyNode:
8561 oss << "hipGraphAddMemcpyNode(";
8562 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8563 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8564 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8565 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8566 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8567 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8568 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss << ", pCopyParams=NULL";
8569 else { oss << ", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8570 oss << ")";
8571 break;
8572 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8573 oss << "hipGraphAddMemcpyNode1D(";
8574 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss << "pGraphNode=NULL";
8575 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8576 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8577 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss << ", pDependencies=NULL";
8578 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8579 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8580 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8581 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8582 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8583 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8584 oss << ")";
8585 break;
8586 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8587 oss << "hipGraphAddMemcpyNodeFromSymbol(";
8588 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8589 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8590 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8591 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8592 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8593 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8594 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8595 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8596 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8597 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8598 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8599 oss << ")";
8600 break;
8601 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8602 oss << "hipGraphAddMemcpyNodeToSymbol(";
8603 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
8604 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8605 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8606 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
8607 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8608 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8609 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8610 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8611 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8612 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8613 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8614 oss << ")";
8615 break;
8616 case HIP_API_ID_hipGraphAddMemsetNode:
8617 oss << "hipGraphAddMemsetNode(";
8618 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8619 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8620 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8621 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8622 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8623 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8624 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss << ", pMemsetParams=NULL";
8625 else { oss << ", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8626 oss << ")";
8627 break;
8628 case HIP_API_ID_hipGraphAddNode:
8629 oss << "hipGraphAddNode(";
8630 if (data->args.hipGraphAddNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
8631 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pGraphNode__val); }
8632 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.graph);
8633 if (data->args.hipGraphAddNode.pDependencies == NULL) oss << ", pDependencies=NULL";
8634 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pDependencies__val); }
8635 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.numDependencies);
8636 if (data->args.hipGraphAddNode.nodeParams == NULL) oss << ", nodeParams=NULL";
8637 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.nodeParams__val); }
8638 oss << ")";
8639 break;
8640 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8641 oss << "hipGraphChildGraphNodeGetGraph(";
8642 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8643 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss << ", pGraph=NULL";
8644 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8645 oss << ")";
8646 break;
8647 case HIP_API_ID_hipGraphClone:
8648 oss << "hipGraphClone(";
8649 if (data->args.hipGraphClone.pGraphClone == NULL) oss << "pGraphClone=NULL";
8650 else { oss << "pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8651 oss << ", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8652 oss << ")";
8653 break;
8654 case HIP_API_ID_hipGraphCreate:
8655 oss << "hipGraphCreate(";
8656 if (data->args.hipGraphCreate.pGraph == NULL) oss << "pGraph=NULL";
8657 else { oss << "pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8658 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8659 oss << ")";
8660 break;
8661 case HIP_API_ID_hipGraphDebugDotPrint:
8662 oss << "hipGraphDebugDotPrint(";
8663 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8664 if (data->args.hipGraphDebugDotPrint.path == NULL) oss << ", path=NULL";
8665 else { oss << ", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8666 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8667 oss << ")";
8668 break;
8669 case HIP_API_ID_hipGraphDestroy:
8670 oss << "hipGraphDestroy(";
8671 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8672 oss << ")";
8673 break;
8674 case HIP_API_ID_hipGraphDestroyNode:
8675 oss << "hipGraphDestroyNode(";
8676 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8677 oss << ")";
8678 break;
8679 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8680 oss << "hipGraphEventRecordNodeGetEvent(";
8681 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8682 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8683 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8684 oss << ")";
8685 break;
8686 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8687 oss << "hipGraphEventRecordNodeSetEvent(";
8688 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8689 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8690 oss << ")";
8691 break;
8692 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8693 oss << "hipGraphEventWaitNodeGetEvent(";
8694 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8695 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
8696 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8697 oss << ")";
8698 break;
8699 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8700 oss << "hipGraphEventWaitNodeSetEvent(";
8701 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8702 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8703 oss << ")";
8704 break;
8705 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8706 oss << "hipGraphExecChildGraphNodeSetParams(";
8707 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8708 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8709 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8710 oss << ")";
8711 break;
8712 case HIP_API_ID_hipGraphExecDestroy:
8713 oss << "hipGraphExecDestroy(";
8714 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8715 oss << ")";
8716 break;
8717 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8718 oss << "hipGraphExecEventRecordNodeSetEvent(";
8719 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8720 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8721 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8722 oss << ")";
8723 break;
8724 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8725 oss << "hipGraphExecEventWaitNodeSetEvent(";
8726 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8727 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8728 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8729 oss << ")";
8730 break;
8731 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8732 oss << "hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8733 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8734 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8735 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8736 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8737 oss << ")";
8738 break;
8739 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8740 oss << "hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8741 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8742 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8743 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8744 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8745 oss << ")";
8746 break;
8747 case HIP_API_ID_hipGraphExecGetFlags:
8748 oss << "hipGraphExecGetFlags(";
8749 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecGetFlags.graphExec);
8750 if (data->args.hipGraphExecGetFlags.flags == NULL) oss << ", flags=NULL";
8751 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecGetFlags.flags__val); }
8752 oss << ")";
8753 break;
8754 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8755 oss << "hipGraphExecHostNodeSetParams(";
8756 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8757 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8758 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8759 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8760 oss << ")";
8761 break;
8762 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8763 oss << "hipGraphExecKernelNodeSetParams(";
8764 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8765 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8766 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8767 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8768 oss << ")";
8769 break;
8770 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8771 oss << "hipGraphExecMemcpyNodeSetParams(";
8772 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8773 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8774 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8775 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8776 oss << ")";
8777 break;
8778 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8779 oss << "hipGraphExecMemcpyNodeSetParams1D(";
8780 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8781 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8782 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8783 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8784 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8785 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8786 oss << ")";
8787 break;
8788 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8789 oss << "hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8790 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8791 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8792 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8793 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8794 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8795 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8796 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8797 oss << ")";
8798 break;
8799 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8800 oss << "hipGraphExecMemcpyNodeSetParamsToSymbol(";
8801 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8802 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8803 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8804 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8805 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8806 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8807 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8808 oss << ")";
8809 break;
8810 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8811 oss << "hipGraphExecMemsetNodeSetParams(";
8812 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8813 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8814 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8815 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8816 oss << ")";
8817 break;
8818 case HIP_API_ID_hipGraphExecNodeSetParams:
8819 oss << "hipGraphExecNodeSetParams(";
8820 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecNodeSetParams.graphExec);
8821 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecNodeSetParams.node);
8822 if (data->args.hipGraphExecNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8823 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecNodeSetParams.nodeParams__val); }
8824 oss << ")";
8825 break;
8826 case HIP_API_ID_hipGraphExecUpdate:
8827 oss << "hipGraphExecUpdate(";
8828 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8829 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8830 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss << ", hErrorNode_out=NULL";
8831 else { oss << ", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8832 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss << ", updateResult_out=NULL";
8833 else { oss << ", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8834 oss << ")";
8835 break;
8836 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8837 oss << "hipGraphExternalSemaphoresSignalNodeGetParams(";
8838 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8839 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8840 else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8841 oss << ")";
8842 break;
8843 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8844 oss << "hipGraphExternalSemaphoresSignalNodeSetParams(";
8845 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8846 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8847 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8848 oss << ")";
8849 break;
8850 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8851 oss << "hipGraphExternalSemaphoresWaitNodeGetParams(";
8852 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8853 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss << ", params_out=NULL";
8854 else { oss << ", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8855 oss << ")";
8856 break;
8857 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8858 oss << "hipGraphExternalSemaphoresWaitNodeSetParams(";
8859 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8860 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
8861 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8862 oss << ")";
8863 break;
8864 case HIP_API_ID_hipGraphGetEdges:
8865 oss << "hipGraphGetEdges(";
8866 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8867 if (data->args.hipGraphGetEdges.from == NULL) oss << ", from=NULL";
8868 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8869 if (data->args.hipGraphGetEdges.to == NULL) oss << ", to=NULL";
8870 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8871 if (data->args.hipGraphGetEdges.numEdges == NULL) oss << ", numEdges=NULL";
8872 else { oss << ", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8873 oss << ")";
8874 break;
8875 case HIP_API_ID_hipGraphGetNodes:
8876 oss << "hipGraphGetNodes(";
8877 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8878 if (data->args.hipGraphGetNodes.nodes == NULL) oss << ", nodes=NULL";
8879 else { oss << ", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8880 if (data->args.hipGraphGetNodes.numNodes == NULL) oss << ", numNodes=NULL";
8881 else { oss << ", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8882 oss << ")";
8883 break;
8884 case HIP_API_ID_hipGraphGetRootNodes:
8885 oss << "hipGraphGetRootNodes(";
8886 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8887 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss << ", pRootNodes=NULL";
8888 else { oss << ", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8889 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss << ", pNumRootNodes=NULL";
8890 else { oss << ", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8891 oss << ")";
8892 break;
8893 case HIP_API_ID_hipGraphHostNodeGetParams:
8894 oss << "hipGraphHostNodeGetParams(";
8895 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8896 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8897 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8898 oss << ")";
8899 break;
8900 case HIP_API_ID_hipGraphHostNodeSetParams:
8901 oss << "hipGraphHostNodeSetParams(";
8902 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8903 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8904 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8905 oss << ")";
8906 break;
8907 case HIP_API_ID_hipGraphInstantiate:
8908 oss << "hipGraphInstantiate(";
8909 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss << "pGraphExec=NULL";
8910 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8911 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8912 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss << ", pErrorNode=NULL";
8913 else { oss << ", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8914 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss << ", pLogBuffer=NULL";
8915 else { oss << ", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8916 oss << ", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8917 oss << ")";
8918 break;
8919 case HIP_API_ID_hipGraphInstantiateWithFlags:
8920 oss << "hipGraphInstantiateWithFlags(";
8921 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss << "pGraphExec=NULL";
8922 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8923 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8924 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8925 oss << ")";
8926 break;
8927 case HIP_API_ID_hipGraphInstantiateWithParams:
8928 oss << "hipGraphInstantiateWithParams(";
8929 if (data->args.hipGraphInstantiateWithParams.pGraphExec == NULL) oss << "pGraphExec=NULL";
8930 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.pGraphExec__val); }
8931 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.graph);
8932 if (data->args.hipGraphInstantiateWithParams.instantiateParams == NULL) oss << ", instantiateParams=NULL";
8933 else { oss << ", instantiateParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.instantiateParams__val); }
8934 oss << ")";
8935 break;
8936 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8937 oss << "hipGraphKernelNodeCopyAttributes(";
8938 oss << "hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8939 oss << ", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8940 oss << ")";
8941 break;
8942 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8943 oss << "hipGraphKernelNodeGetAttribute(";
8944 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8945 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8946 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss << ", value=NULL";
8947 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8948 oss << ")";
8949 break;
8950 case HIP_API_ID_hipGraphKernelNodeGetParams:
8951 oss << "hipGraphKernelNodeGetParams(";
8952 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8953 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8954 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8955 oss << ")";
8956 break;
8957 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8958 oss << "hipGraphKernelNodeSetAttribute(";
8959 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8960 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8961 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss << ", value=NULL";
8962 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8963 oss << ")";
8964 break;
8965 case HIP_API_ID_hipGraphKernelNodeSetParams:
8966 oss << "hipGraphKernelNodeSetParams(";
8967 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8968 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8969 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8970 oss << ")";
8971 break;
8972 case HIP_API_ID_hipGraphLaunch:
8973 oss << "hipGraphLaunch(";
8974 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8975 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8976 oss << ")";
8977 break;
8978 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8979 oss << "hipGraphMemAllocNodeGetParams(";
8980 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8981 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8982 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8983 oss << ")";
8984 break;
8985 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8986 oss << "hipGraphMemFreeNodeGetParams(";
8987 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8988 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8989 oss << ")";
8990 break;
8991 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8992 oss << "hipGraphMemcpyNodeGetParams(";
8993 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8994 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8995 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8996 oss << ")";
8997 break;
8998 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8999 oss << "hipGraphMemcpyNodeSetParams(";
9000 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
9001 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
9002 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
9003 oss << ")";
9004 break;
9005 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
9006 oss << "hipGraphMemcpyNodeSetParams1D(";
9007 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
9008 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
9009 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
9010 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
9011 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
9012 oss << ")";
9013 break;
9014 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
9015 oss << "hipGraphMemcpyNodeSetParamsFromSymbol(";
9016 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
9017 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
9018 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
9019 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
9020 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
9021 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
9022 oss << ")";
9023 break;
9024 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
9025 oss << "hipGraphMemcpyNodeSetParamsToSymbol(";
9026 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
9027 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
9028 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
9029 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
9030 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
9031 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
9032 oss << ")";
9033 break;
9034 case HIP_API_ID_hipGraphMemsetNodeGetParams:
9035 oss << "hipGraphMemsetNodeGetParams(";
9036 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
9037 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
9038 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
9039 oss << ")";
9040 break;
9041 case HIP_API_ID_hipGraphMemsetNodeSetParams:
9042 oss << "hipGraphMemsetNodeSetParams(";
9043 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
9044 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
9045 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
9046 oss << ")";
9047 break;
9048 case HIP_API_ID_hipGraphNodeFindInClone:
9049 oss << "hipGraphNodeFindInClone(";
9050 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss << "pNode=NULL";
9051 else { oss << "pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
9052 oss << ", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
9053 oss << ", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
9054 oss << ")";
9055 break;
9056 case HIP_API_ID_hipGraphNodeGetDependencies:
9057 oss << "hipGraphNodeGetDependencies(";
9058 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
9059 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss << ", pDependencies=NULL";
9060 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
9061 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss << ", pNumDependencies=NULL";
9062 else { oss << ", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
9063 oss << ")";
9064 break;
9065 case HIP_API_ID_hipGraphNodeGetDependentNodes:
9066 oss << "hipGraphNodeGetDependentNodes(";
9067 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
9068 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss << ", pDependentNodes=NULL";
9069 else { oss << ", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
9070 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss << ", pNumDependentNodes=NULL";
9071 else { oss << ", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
9072 oss << ")";
9073 break;
9074 case HIP_API_ID_hipGraphNodeGetEnabled:
9075 oss << "hipGraphNodeGetEnabled(";
9076 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
9077 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
9078 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss << ", isEnabled=NULL";
9079 else { oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
9080 oss << ")";
9081 break;
9082 case HIP_API_ID_hipGraphNodeGetType:
9083 oss << "hipGraphNodeGetType(";
9084 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
9085 if (data->args.hipGraphNodeGetType.pType == NULL) oss << ", pType=NULL";
9086 else { oss << ", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
9087 oss << ")";
9088 break;
9089 case HIP_API_ID_hipGraphNodeSetEnabled:
9090 oss << "hipGraphNodeSetEnabled(";
9091 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
9092 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
9093 oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
9094 oss << ")";
9095 break;
9096 case HIP_API_ID_hipGraphNodeSetParams:
9097 oss << "hipGraphNodeSetParams(";
9098 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetParams.node);
9099 if (data->args.hipGraphNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
9100 else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetParams.nodeParams__val); }
9101 oss << ")";
9102 break;
9103 case HIP_API_ID_hipGraphReleaseUserObject:
9104 oss << "hipGraphReleaseUserObject(";
9105 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
9106 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
9107 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
9108 oss << ")";
9109 break;
9110 case HIP_API_ID_hipGraphRemoveDependencies:
9111 oss << "hipGraphRemoveDependencies(";
9112 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
9113 if (data->args.hipGraphRemoveDependencies.from == NULL) oss << ", from=NULL";
9114 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
9115 if (data->args.hipGraphRemoveDependencies.to == NULL) oss << ", to=NULL";
9116 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
9117 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
9118 oss << ")";
9119 break;
9120 case HIP_API_ID_hipGraphRetainUserObject:
9121 oss << "hipGraphRetainUserObject(";
9122 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
9123 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
9124 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
9125 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
9126 oss << ")";
9127 break;
9128 case HIP_API_ID_hipGraphUpload:
9129 oss << "hipGraphUpload(";
9130 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
9131 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
9132 oss << ")";
9133 break;
9134 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
9135 oss << "hipGraphicsGLRegisterBuffer(";
9136 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss << "resource=NULL";
9137 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
9138 oss << ", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
9139 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
9140 oss << ")";
9141 break;
9142 case HIP_API_ID_hipGraphicsGLRegisterImage:
9143 oss << "hipGraphicsGLRegisterImage(";
9144 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss << "resource=NULL";
9145 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
9146 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
9147 oss << ", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
9148 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
9149 oss << ")";
9150 break;
9151 case HIP_API_ID_hipGraphicsMapResources:
9152 oss << "hipGraphicsMapResources(";
9153 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
9154 if (data->args.hipGraphicsMapResources.resources == NULL) oss << ", resources=NULL";
9155 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
9156 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
9157 oss << ")";
9158 break;
9159 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
9160 oss << "hipGraphicsResourceGetMappedPointer(";
9161 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss << "devPtr=NULL";
9162 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
9163 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss << ", size=NULL";
9164 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
9165 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
9166 oss << ")";
9167 break;
9168 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
9169 oss << "hipGraphicsSubResourceGetMappedArray(";
9170 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss << "array=NULL";
9171 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
9172 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
9173 oss << ", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
9174 oss << ", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
9175 oss << ")";
9176 break;
9177 case HIP_API_ID_hipGraphicsUnmapResources:
9178 oss << "hipGraphicsUnmapResources(";
9179 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
9180 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss << ", resources=NULL";
9181 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
9182 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
9183 oss << ")";
9184 break;
9185 case HIP_API_ID_hipGraphicsUnregisterResource:
9186 oss << "hipGraphicsUnregisterResource(";
9187 oss << "resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
9188 oss << ")";
9189 break;
9190 case HIP_API_ID_hipHccModuleLaunchKernel:
9191 oss << "hipHccModuleLaunchKernel(";
9192 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
9193 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
9194 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
9195 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
9196 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
9197 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
9198 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
9199 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
9200 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
9201 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9202 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
9203 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
9204 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
9205 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
9206 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
9207 oss << ")";
9208 break;
9209 case HIP_API_ID_hipHostAlloc:
9210 oss << "hipHostAlloc(";
9211 if (data->args.hipHostAlloc.ptr == NULL) oss << "ptr=NULL";
9212 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
9213 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
9214 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
9215 oss << ")";
9216 break;
9217 case HIP_API_ID_hipHostFree:
9218 oss << "hipHostFree(";
9219 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
9220 oss << ")";
9221 break;
9222 case HIP_API_ID_hipHostGetDevicePointer:
9223 oss << "hipHostGetDevicePointer(";
9224 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss << "devPtr=NULL";
9225 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
9226 oss << ", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
9227 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
9228 oss << ")";
9229 break;
9230 case HIP_API_ID_hipHostGetFlags:
9231 oss << "hipHostGetFlags(";
9232 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss << "flagsPtr=NULL";
9233 else { oss << "flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
9234 oss << ", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
9235 oss << ")";
9236 break;
9237 case HIP_API_ID_hipHostMalloc:
9238 oss << "hipHostMalloc(";
9239 if (data->args.hipHostMalloc.ptr == NULL) oss << "ptr=NULL";
9240 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
9241 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
9242 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
9243 oss << ")";
9244 break;
9245 case HIP_API_ID_hipHostRegister:
9246 oss << "hipHostRegister(";
9247 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
9248 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
9249 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
9250 oss << ")";
9251 break;
9252 case HIP_API_ID_hipHostUnregister:
9253 oss << "hipHostUnregister(";
9254 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
9255 oss << ")";
9256 break;
9257 case HIP_API_ID_hipImportExternalMemory:
9258 oss << "hipImportExternalMemory(";
9259 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss << "extMem_out=NULL";
9260 else { oss << "extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
9261 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss << ", memHandleDesc=NULL";
9262 else { oss << ", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
9263 oss << ")";
9264 break;
9265 case HIP_API_ID_hipImportExternalSemaphore:
9266 oss << "hipImportExternalSemaphore(";
9267 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss << "extSem_out=NULL";
9268 else { oss << "extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
9269 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss << ", semHandleDesc=NULL";
9270 else { oss << ", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
9271 oss << ")";
9272 break;
9273 case HIP_API_ID_hipInit:
9274 oss << "hipInit(";
9275 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
9276 oss << ")";
9277 break;
9278 case HIP_API_ID_hipIpcCloseMemHandle:
9279 oss << "hipIpcCloseMemHandle(";
9280 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
9281 oss << ")";
9282 break;
9283 case HIP_API_ID_hipIpcGetEventHandle:
9284 oss << "hipIpcGetEventHandle(";
9285 if (data->args.hipIpcGetEventHandle.handle == NULL) oss << "handle=NULL";
9286 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
9287 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
9288 oss << ")";
9289 break;
9290 case HIP_API_ID_hipIpcGetMemHandle:
9291 oss << "hipIpcGetMemHandle(";
9292 if (data->args.hipIpcGetMemHandle.handle == NULL) oss << "handle=NULL";
9293 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
9294 oss << ", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
9295 oss << ")";
9296 break;
9297 case HIP_API_ID_hipIpcOpenEventHandle:
9298 oss << "hipIpcOpenEventHandle(";
9299 if (data->args.hipIpcOpenEventHandle.event == NULL) oss << "event=NULL";
9300 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
9301 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
9302 oss << ")";
9303 break;
9304 case HIP_API_ID_hipIpcOpenMemHandle:
9305 oss << "hipIpcOpenMemHandle(";
9306 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss << "devPtr=NULL";
9307 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
9308 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
9309 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
9310 oss << ")";
9311 break;
9312 case HIP_API_ID_hipLaunchByPtr:
9313 oss << "hipLaunchByPtr(";
9314 oss << "hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
9315 oss << ")";
9316 break;
9317 case HIP_API_ID_hipLaunchCooperativeKernel:
9318 oss << "hipLaunchCooperativeKernel(";
9319 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
9320 oss << ", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
9321 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
9322 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9323 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
9324 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
9325 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
9326 oss << ")";
9327 break;
9328 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
9329 oss << "hipLaunchCooperativeKernelMultiDevice(";
9330 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
9331 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9332 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
9333 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
9334 oss << ")";
9335 break;
9336 case HIP_API_ID_hipLaunchHostFunc:
9337 oss << "hipLaunchHostFunc(";
9338 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
9339 oss << ", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
9340 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
9341 oss << ")";
9342 break;
9343 case HIP_API_ID_hipLaunchKernel:
9344 oss << "hipLaunchKernel(";
9345 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
9346 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
9347 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
9348 if (data->args.hipLaunchKernel.args == NULL) oss << ", args=NULL";
9349 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
9350 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
9351 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
9352 oss << ")";
9353 break;
9354 case HIP_API_ID_hipMalloc:
9355 oss << "hipMalloc(";
9356 if (data->args.hipMalloc.ptr == NULL) oss << "ptr=NULL";
9357 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
9358 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
9359 oss << ")";
9360 break;
9361 case HIP_API_ID_hipMalloc3D:
9362 oss << "hipMalloc3D(";
9363 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss << "pitchedDevPtr=NULL";
9364 else { oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
9365 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
9366 oss << ")";
9367 break;
9368 case HIP_API_ID_hipMalloc3DArray:
9369 oss << "hipMalloc3DArray(";
9370 if (data->args.hipMalloc3DArray.array == NULL) oss << "array=NULL";
9371 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
9372 if (data->args.hipMalloc3DArray.desc == NULL) oss << ", desc=NULL";
9373 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
9374 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
9375 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
9376 oss << ")";
9377 break;
9378 case HIP_API_ID_hipMallocArray:
9379 oss << "hipMallocArray(";
9380 if (data->args.hipMallocArray.array == NULL) oss << "array=NULL";
9381 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.array__val); }
9382 if (data->args.hipMallocArray.desc == NULL) oss << ", desc=NULL";
9383 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
9384 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
9385 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
9386 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
9387 oss << ")";
9388 break;
9389 case HIP_API_ID_hipMallocAsync:
9390 oss << "hipMallocAsync(";
9391 if (data->args.hipMallocAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
9392 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
9393 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
9394 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
9395 oss << ")";
9396 break;
9397 case HIP_API_ID_hipMallocFromPoolAsync:
9398 oss << "hipMallocFromPoolAsync(";
9399 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
9400 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
9401 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
9402 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
9403 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
9404 oss << ")";
9405 break;
9406 case HIP_API_ID_hipMallocHost:
9407 oss << "hipMallocHost(";
9408 if (data->args.hipMallocHost.ptr == NULL) oss << "ptr=NULL";
9409 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
9410 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
9411 oss << ")";
9412 break;
9413 case HIP_API_ID_hipMallocManaged:
9414 oss << "hipMallocManaged(";
9415 if (data->args.hipMallocManaged.dev_ptr == NULL) oss << "dev_ptr=NULL";
9416 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
9417 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
9418 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
9419 oss << ")";
9420 break;
9421 case HIP_API_ID_hipMallocMipmappedArray:
9422 oss << "hipMallocMipmappedArray(";
9423 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss << "mipmappedArray=NULL";
9424 else { oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
9425 if (data->args.hipMallocMipmappedArray.desc == NULL) oss << ", desc=NULL";
9426 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
9427 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
9428 oss << ", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
9429 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
9430 oss << ")";
9431 break;
9432 case HIP_API_ID_hipMallocPitch:
9433 oss << "hipMallocPitch(";
9434 if (data->args.hipMallocPitch.ptr == NULL) oss << "ptr=NULL";
9435 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
9436 if (data->args.hipMallocPitch.pitch == NULL) oss << ", pitch=NULL";
9437 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
9438 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
9439 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
9440 oss << ")";
9441 break;
9442 case HIP_API_ID_hipMemAddressFree:
9443 oss << "hipMemAddressFree(";
9444 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
9445 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
9446 oss << ")";
9447 break;
9448 case HIP_API_ID_hipMemAddressReserve:
9449 oss << "hipMemAddressReserve(";
9450 if (data->args.hipMemAddressReserve.ptr == NULL) oss << "ptr=NULL";
9451 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
9452 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
9453 oss << ", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
9454 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
9455 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
9456 oss << ")";
9457 break;
9458 case HIP_API_ID_hipMemAdvise:
9459 oss << "hipMemAdvise(";
9460 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
9461 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
9462 oss << ", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
9463 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
9464 oss << ")";
9465 break;
9466 case HIP_API_ID_hipMemAllocHost:
9467 oss << "hipMemAllocHost(";
9468 if (data->args.hipMemAllocHost.ptr == NULL) oss << "ptr=NULL";
9469 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
9470 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
9471 oss << ")";
9472 break;
9473 case HIP_API_ID_hipMemAllocPitch:
9474 oss << "hipMemAllocPitch(";
9475 if (data->args.hipMemAllocPitch.dptr == NULL) oss << "dptr=NULL";
9476 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
9477 if (data->args.hipMemAllocPitch.pitch == NULL) oss << ", pitch=NULL";
9478 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
9479 oss << ", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
9480 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
9481 oss << ", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
9482 oss << ")";
9483 break;
9484 case HIP_API_ID_hipMemCreate:
9485 oss << "hipMemCreate(";
9486 if (data->args.hipMemCreate.handle == NULL) oss << "handle=NULL";
9487 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
9488 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
9489 if (data->args.hipMemCreate.prop == NULL) oss << ", prop=NULL";
9490 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
9491 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
9492 oss << ")";
9493 break;
9494 case HIP_API_ID_hipMemExportToShareableHandle:
9495 oss << "hipMemExportToShareableHandle(";
9496 oss << "shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
9497 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
9498 oss << ", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
9499 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
9500 oss << ")";
9501 break;
9502 case HIP_API_ID_hipMemGetAccess:
9503 oss << "hipMemGetAccess(";
9504 if (data->args.hipMemGetAccess.flags == NULL) oss << "flags=NULL";
9505 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
9506 if (data->args.hipMemGetAccess.location == NULL) oss << ", location=NULL";
9507 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
9508 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
9509 oss << ")";
9510 break;
9511 case HIP_API_ID_hipMemGetAddressRange:
9512 oss << "hipMemGetAddressRange(";
9513 if (data->args.hipMemGetAddressRange.pbase == NULL) oss << "pbase=NULL";
9514 else { oss << "pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
9515 if (data->args.hipMemGetAddressRange.psize == NULL) oss << ", psize=NULL";
9516 else { oss << ", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
9517 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
9518 oss << ")";
9519 break;
9520 case HIP_API_ID_hipMemGetAllocationGranularity:
9521 oss << "hipMemGetAllocationGranularity(";
9522 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss << "granularity=NULL";
9523 else { oss << "granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
9524 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss << ", prop=NULL";
9525 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
9526 oss << ", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
9527 oss << ")";
9528 break;
9529 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
9530 oss << "hipMemGetAllocationPropertiesFromHandle(";
9531 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss << "prop=NULL";
9532 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
9533 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
9534 oss << ")";
9535 break;
9536 case HIP_API_ID_hipMemGetInfo:
9537 oss << "hipMemGetInfo(";
9538 if (data->args.hipMemGetInfo.free == NULL) oss << "free=NULL";
9539 else { oss << "free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
9540 if (data->args.hipMemGetInfo.total == NULL) oss << ", total=NULL";
9541 else { oss << ", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
9542 oss << ")";
9543 break;
9544 case HIP_API_ID_hipMemImportFromShareableHandle:
9545 oss << "hipMemImportFromShareableHandle(";
9546 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss << "handle=NULL";
9547 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
9548 oss << ", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
9549 oss << ", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9550 oss << ")";
9551 break;
9552 case HIP_API_ID_hipMemMap:
9553 oss << "hipMemMap(";
9554 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9555 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9556 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9557 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9558 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9559 oss << ")";
9560 break;
9561 case HIP_API_ID_hipMemMapArrayAsync:
9562 oss << "hipMemMapArrayAsync(";
9563 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss << "mapInfoList=NULL";
9564 else { oss << "mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9565 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9566 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9567 oss << ")";
9568 break;
9569 case HIP_API_ID_hipMemPoolCreate:
9570 oss << "hipMemPoolCreate(";
9571 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss << "mem_pool=NULL";
9572 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9573 if (data->args.hipMemPoolCreate.pool_props == NULL) oss << ", pool_props=NULL";
9574 else { oss << ", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9575 oss << ")";
9576 break;
9577 case HIP_API_ID_hipMemPoolDestroy:
9578 oss << "hipMemPoolDestroy(";
9579 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9580 oss << ")";
9581 break;
9582 case HIP_API_ID_hipMemPoolExportPointer:
9583 oss << "hipMemPoolExportPointer(";
9584 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss << "export_data=NULL";
9585 else { oss << "export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9586 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9587 oss << ")";
9588 break;
9589 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9590 oss << "hipMemPoolExportToShareableHandle(";
9591 oss << "shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9592 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9593 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9594 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9595 oss << ")";
9596 break;
9597 case HIP_API_ID_hipMemPoolGetAccess:
9598 oss << "hipMemPoolGetAccess(";
9599 if (data->args.hipMemPoolGetAccess.flags == NULL) oss << "flags=NULL";
9600 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9601 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9602 if (data->args.hipMemPoolGetAccess.location == NULL) oss << ", location=NULL";
9603 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9604 oss << ")";
9605 break;
9606 case HIP_API_ID_hipMemPoolGetAttribute:
9607 oss << "hipMemPoolGetAttribute(";
9608 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9609 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9610 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9611 oss << ")";
9612 break;
9613 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9614 oss << "hipMemPoolImportFromShareableHandle(";
9615 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss << "mem_pool=NULL";
9616 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9617 oss << ", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9618 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9619 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9620 oss << ")";
9621 break;
9622 case HIP_API_ID_hipMemPoolImportPointer:
9623 oss << "hipMemPoolImportPointer(";
9624 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss << "dev_ptr=NULL";
9625 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9626 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9627 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss << ", export_data=NULL";
9628 else { oss << ", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9629 oss << ")";
9630 break;
9631 case HIP_API_ID_hipMemPoolSetAccess:
9632 oss << "hipMemPoolSetAccess(";
9633 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9634 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss << ", desc_list=NULL";
9635 else { oss << ", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9636 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9637 oss << ")";
9638 break;
9639 case HIP_API_ID_hipMemPoolSetAttribute:
9640 oss << "hipMemPoolSetAttribute(";
9641 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9642 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9643 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9644 oss << ")";
9645 break;
9646 case HIP_API_ID_hipMemPoolTrimTo:
9647 oss << "hipMemPoolTrimTo(";
9648 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9649 oss << ", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9650 oss << ")";
9651 break;
9652 case HIP_API_ID_hipMemPrefetchAsync:
9653 oss << "hipMemPrefetchAsync(";
9654 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9655 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9656 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9657 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9658 oss << ")";
9659 break;
9660 case HIP_API_ID_hipMemPtrGetInfo:
9661 oss << "hipMemPtrGetInfo(";
9662 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9663 if (data->args.hipMemPtrGetInfo.size == NULL) oss << ", size=NULL";
9664 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9665 oss << ")";
9666 break;
9667 case HIP_API_ID_hipMemRangeGetAttribute:
9668 oss << "hipMemRangeGetAttribute(";
9669 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9670 oss << ", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9671 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9672 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9673 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9674 oss << ")";
9675 break;
9676 case HIP_API_ID_hipMemRangeGetAttributes:
9677 oss << "hipMemRangeGetAttributes(";
9678 if (data->args.hipMemRangeGetAttributes.data == NULL) oss << "data=NULL";
9679 else { oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9680 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss << ", data_sizes=NULL";
9681 else { oss << ", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9682 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss << ", attributes=NULL";
9683 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9684 oss << ", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9685 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9686 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9687 oss << ")";
9688 break;
9689 case HIP_API_ID_hipMemRelease:
9690 oss << "hipMemRelease(";
9691 oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9692 oss << ")";
9693 break;
9694 case HIP_API_ID_hipMemRetainAllocationHandle:
9695 oss << "hipMemRetainAllocationHandle(";
9696 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss << "handle=NULL";
9697 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9698 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9699 oss << ")";
9700 break;
9701 case HIP_API_ID_hipMemSetAccess:
9702 oss << "hipMemSetAccess(";
9703 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9704 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9705 if (data->args.hipMemSetAccess.desc == NULL) oss << ", desc=NULL";
9706 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9707 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9708 oss << ")";
9709 break;
9710 case HIP_API_ID_hipMemUnmap:
9711 oss << "hipMemUnmap(";
9712 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9713 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9714 oss << ")";
9715 break;
9716 case HIP_API_ID_hipMemcpy:
9717 oss << "hipMemcpy(";
9718 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9719 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9720 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9721 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9722 oss << ")";
9723 break;
9724 case HIP_API_ID_hipMemcpy2D:
9725 oss << "hipMemcpy2D(";
9726 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9727 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9728 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9729 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9730 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9731 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9732 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9733 oss << ")";
9734 break;
9735 case HIP_API_ID_hipMemcpy2DArrayToArray:
9736 oss << "hipMemcpy2DArrayToArray(";
9737 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.dst);
9738 oss << ", wOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetDst);
9739 oss << ", hOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetDst);
9740 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.src);
9741 oss << ", wOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetSrc);
9742 oss << ", hOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetSrc);
9743 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.width);
9744 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.height);
9745 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.kind);
9746 oss << ")";
9747 break;
9748 case HIP_API_ID_hipMemcpy2DAsync:
9749 oss << "hipMemcpy2DAsync(";
9750 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9751 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9752 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9753 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9754 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9755 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9756 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9757 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9758 oss << ")";
9759 break;
9760 case HIP_API_ID_hipMemcpy2DFromArray:
9761 oss << "hipMemcpy2DFromArray(";
9762 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9763 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9764 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9765 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9766 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9767 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9768 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9769 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9770 oss << ")";
9771 break;
9772 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9773 oss << "hipMemcpy2DFromArrayAsync(";
9774 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9775 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9776 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9777 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9778 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9779 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9780 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9781 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9782 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9783 oss << ")";
9784 break;
9785 case HIP_API_ID_hipMemcpy2DToArray:
9786 oss << "hipMemcpy2DToArray(";
9787 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9788 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9789 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9790 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9791 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9792 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9793 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9794 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9795 oss << ")";
9796 break;
9797 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9798 oss << "hipMemcpy2DToArrayAsync(";
9799 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9800 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9801 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9802 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9803 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9804 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9805 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9806 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9807 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9808 oss << ")";
9809 break;
9810 case HIP_API_ID_hipMemcpy3D:
9811 oss << "hipMemcpy3D(";
9812 if (data->args.hipMemcpy3D.p == NULL) oss << "p=NULL";
9813 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9814 oss << ")";
9815 break;
9816 case HIP_API_ID_hipMemcpy3DAsync:
9817 oss << "hipMemcpy3DAsync(";
9818 if (data->args.hipMemcpy3DAsync.p == NULL) oss << "p=NULL";
9819 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9820 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9821 oss << ")";
9822 break;
9823 case HIP_API_ID_hipMemcpyAsync:
9824 oss << "hipMemcpyAsync(";
9825 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9826 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9827 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9828 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9829 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9830 oss << ")";
9831 break;
9832 case HIP_API_ID_hipMemcpyAtoA:
9833 oss << "hipMemcpyAtoA(";
9834 oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstArray);
9835 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstOffset);
9836 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcArray);
9837 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcOffset);
9838 oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.ByteCount);
9839 oss << ")";
9840 break;
9841 case HIP_API_ID_hipMemcpyAtoD:
9842 oss << "hipMemcpyAtoD(";
9843 oss << "dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.dstDevice);
9844 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcArray);
9845 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcOffset);
9846 oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.ByteCount);
9847 oss << ")";
9848 break;
9849 case HIP_API_ID_hipMemcpyAtoH:
9850 oss << "hipMemcpyAtoH(";
9851 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9852 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9853 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9854 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9855 oss << ")";
9856 break;
9857 case HIP_API_ID_hipMemcpyAtoHAsync:
9858 oss << "hipMemcpyAtoHAsync(";
9859 oss << "dstHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.dstHost);
9860 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcArray);
9861 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcOffset);
9862 oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.ByteCount);
9863 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.stream);
9864 oss << ")";
9865 break;
9866 case HIP_API_ID_hipMemcpyDtoA:
9867 oss << "hipMemcpyDtoA(";
9868 oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstArray);
9869 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstOffset);
9870 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.srcDevice);
9871 oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.ByteCount);
9872 oss << ")";
9873 break;
9874 case HIP_API_ID_hipMemcpyDtoD:
9875 oss << "hipMemcpyDtoD(";
9876 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9877 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9878 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9879 oss << ")";
9880 break;
9881 case HIP_API_ID_hipMemcpyDtoDAsync:
9882 oss << "hipMemcpyDtoDAsync(";
9883 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9884 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9885 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9886 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9887 oss << ")";
9888 break;
9889 case HIP_API_ID_hipMemcpyDtoH:
9890 oss << "hipMemcpyDtoH(";
9891 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9892 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9893 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9894 oss << ")";
9895 break;
9896 case HIP_API_ID_hipMemcpyDtoHAsync:
9897 oss << "hipMemcpyDtoHAsync(";
9898 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9899 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9900 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9901 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9902 oss << ")";
9903 break;
9904 case HIP_API_ID_hipMemcpyFromArray:
9905 oss << "hipMemcpyFromArray(";
9906 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9907 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9908 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9909 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9910 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9911 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9912 oss << ")";
9913 break;
9914 case HIP_API_ID_hipMemcpyFromSymbol:
9915 oss << "hipMemcpyFromSymbol(";
9916 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9917 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9918 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9919 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9920 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9921 oss << ")";
9922 break;
9923 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9924 oss << "hipMemcpyFromSymbolAsync(";
9925 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9926 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9927 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9928 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9929 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9930 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9931 oss << ")";
9932 break;
9933 case HIP_API_ID_hipMemcpyHtoA:
9934 oss << "hipMemcpyHtoA(";
9935 oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9936 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9937 oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9938 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9939 oss << ")";
9940 break;
9941 case HIP_API_ID_hipMemcpyHtoAAsync:
9942 oss << "hipMemcpyHtoAAsync(";
9943 oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstArray);
9944 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstOffset);
9945 oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.srcHost);
9946 oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.ByteCount);
9947 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.stream);
9948 oss << ")";
9949 break;
9950 case HIP_API_ID_hipMemcpyHtoD:
9951 oss << "hipMemcpyHtoD(";
9952 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9953 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9954 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9955 oss << ")";
9956 break;
9957 case HIP_API_ID_hipMemcpyHtoDAsync:
9958 oss << "hipMemcpyHtoDAsync(";
9959 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9960 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9961 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9962 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9963 oss << ")";
9964 break;
9965 case HIP_API_ID_hipMemcpyParam2D:
9966 oss << "hipMemcpyParam2D(";
9967 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss << "pCopy=NULL";
9968 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9969 oss << ")";
9970 break;
9971 case HIP_API_ID_hipMemcpyParam2DAsync:
9972 oss << "hipMemcpyParam2DAsync(";
9973 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss << "pCopy=NULL";
9974 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9975 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9976 oss << ")";
9977 break;
9978 case HIP_API_ID_hipMemcpyPeer:
9979 oss << "hipMemcpyPeer(";
9980 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9981 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9982 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9983 oss << ", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9984 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9985 oss << ")";
9986 break;
9987 case HIP_API_ID_hipMemcpyPeerAsync:
9988 oss << "hipMemcpyPeerAsync(";
9989 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9990 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9991 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9992 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9993 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9994 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9995 oss << ")";
9996 break;
9997 case HIP_API_ID_hipMemcpyToArray:
9998 oss << "hipMemcpyToArray(";
9999 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
10000 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
10001 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
10002 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
10003 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
10004 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
10005 oss << ")";
10006 break;
10007 case HIP_API_ID_hipMemcpyToSymbol:
10008 oss << "hipMemcpyToSymbol(";
10009 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
10010 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
10011 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
10012 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
10013 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
10014 oss << ")";
10015 break;
10016 case HIP_API_ID_hipMemcpyToSymbolAsync:
10017 oss << "hipMemcpyToSymbolAsync(";
10018 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
10019 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
10020 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
10021 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
10022 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
10023 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
10024 oss << ")";
10025 break;
10026 case HIP_API_ID_hipMemcpyWithStream:
10027 oss << "hipMemcpyWithStream(";
10028 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
10029 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
10030 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
10031 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
10032 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
10033 oss << ")";
10034 break;
10035 case HIP_API_ID_hipMemset:
10036 oss << "hipMemset(";
10037 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
10038 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
10039 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
10040 oss << ")";
10041 break;
10042 case HIP_API_ID_hipMemset2D:
10043 oss << "hipMemset2D(";
10044 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
10045 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
10046 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
10047 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
10048 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
10049 oss << ")";
10050 break;
10051 case HIP_API_ID_hipMemset2DAsync:
10052 oss << "hipMemset2DAsync(";
10053 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
10054 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
10055 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
10056 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
10057 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
10058 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
10059 oss << ")";
10060 break;
10061 case HIP_API_ID_hipMemset3D:
10062 oss << "hipMemset3D(";
10063 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
10064 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
10065 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
10066 oss << ")";
10067 break;
10068 case HIP_API_ID_hipMemset3DAsync:
10069 oss << "hipMemset3DAsync(";
10070 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
10071 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
10072 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
10073 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
10074 oss << ")";
10075 break;
10076 case HIP_API_ID_hipMemsetAsync:
10077 oss << "hipMemsetAsync(";
10078 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
10079 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
10080 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
10081 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
10082 oss << ")";
10083 break;
10084 case HIP_API_ID_hipMemsetD16:
10085 oss << "hipMemsetD16(";
10086 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
10087 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
10088 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
10089 oss << ")";
10090 break;
10091 case HIP_API_ID_hipMemsetD16Async:
10092 oss << "hipMemsetD16Async(";
10093 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
10094 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
10095 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
10096 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
10097 oss << ")";
10098 break;
10099 case HIP_API_ID_hipMemsetD32:
10100 oss << "hipMemsetD32(";
10101 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
10102 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
10103 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
10104 oss << ")";
10105 break;
10106 case HIP_API_ID_hipMemsetD32Async:
10107 oss << "hipMemsetD32Async(";
10108 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
10109 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
10110 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
10111 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
10112 oss << ")";
10113 break;
10114 case HIP_API_ID_hipMemsetD8:
10115 oss << "hipMemsetD8(";
10116 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
10117 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
10118 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
10119 oss << ")";
10120 break;
10121 case HIP_API_ID_hipMemsetD8Async:
10122 oss << "hipMemsetD8Async(";
10123 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
10124 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
10125 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
10126 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
10127 oss << ")";
10128 break;
10129 case HIP_API_ID_hipMipmappedArrayCreate:
10130 oss << "hipMipmappedArrayCreate(";
10131 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
10132 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
10133 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss << ", pMipmappedArrayDesc=NULL";
10134 else { oss << ", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
10135 oss << ", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
10136 oss << ")";
10137 break;
10138 case HIP_API_ID_hipMipmappedArrayDestroy:
10139 oss << "hipMipmappedArrayDestroy(";
10140 oss << "hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
10141 oss << ")";
10142 break;
10143 case HIP_API_ID_hipMipmappedArrayGetLevel:
10144 oss << "hipMipmappedArrayGetLevel(";
10145 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss << "pLevelArray=NULL";
10146 else { oss << "pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
10147 oss << ", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
10148 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
10149 oss << ")";
10150 break;
10151 case HIP_API_ID_hipModuleGetFunction:
10152 oss << "hipModuleGetFunction(";
10153 if (data->args.hipModuleGetFunction.function == NULL) oss << "function=NULL";
10154 else { oss << "function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
10155 oss << ", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
10156 if (data->args.hipModuleGetFunction.kname == NULL) oss << ", kname=NULL";
10157 else { oss << ", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
10158 oss << ")";
10159 break;
10160 case HIP_API_ID_hipModuleGetGlobal:
10161 oss << "hipModuleGetGlobal(";
10162 if (data->args.hipModuleGetGlobal.dptr == NULL) oss << "dptr=NULL";
10163 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
10164 if (data->args.hipModuleGetGlobal.bytes == NULL) oss << ", bytes=NULL";
10165 else { oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
10166 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
10167 if (data->args.hipModuleGetGlobal.name == NULL) oss << ", name=NULL";
10168 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
10169 oss << ")";
10170 break;
10171 case HIP_API_ID_hipModuleGetTexRef:
10172 oss << "hipModuleGetTexRef(";
10173 if (data->args.hipModuleGetTexRef.texRef == NULL) oss << "texRef=NULL";
10174 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipModuleGetTexRef.texRef__val); }
10175 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
10176 if (data->args.hipModuleGetTexRef.name == NULL) oss << ", name=NULL";
10177 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
10178 oss << ")";
10179 break;
10180 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
10181 oss << "hipModuleLaunchCooperativeKernel(";
10182 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
10183 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
10184 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
10185 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
10186 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
10187 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
10188 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
10189 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
10190 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
10191 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
10192 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
10193 oss << ")";
10194 break;
10195 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
10196 oss << "hipModuleLaunchCooperativeKernelMultiDevice(";
10197 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
10198 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
10199 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
10200 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
10201 oss << ")";
10202 break;
10203 case HIP_API_ID_hipModuleLaunchKernel:
10204 oss << "hipModuleLaunchKernel(";
10205 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
10206 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
10207 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
10208 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
10209 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
10210 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
10211 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
10212 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
10213 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
10214 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
10215 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
10216 if (data->args.hipModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
10217 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
10218 oss << ")";
10219 break;
10220 case HIP_API_ID_hipModuleLoad:
10221 oss << "hipModuleLoad(";
10222 if (data->args.hipModuleLoad.module == NULL) oss << "module=NULL";
10223 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
10224 if (data->args.hipModuleLoad.fname == NULL) oss << ", fname=NULL";
10225 else { oss << ", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
10226 oss << ")";
10227 break;
10228 case HIP_API_ID_hipModuleLoadData:
10229 oss << "hipModuleLoadData(";
10230 if (data->args.hipModuleLoadData.module == NULL) oss << "module=NULL";
10231 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
10232 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
10233 oss << ")";
10234 break;
10235 case HIP_API_ID_hipModuleLoadDataEx:
10236 oss << "hipModuleLoadDataEx(";
10237 if (data->args.hipModuleLoadDataEx.module == NULL) oss << "module=NULL";
10238 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
10239 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
10240 oss << ", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
10241 if (data->args.hipModuleLoadDataEx.options == NULL) oss << ", options=NULL";
10242 else { oss << ", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
10243 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss << ", optionsValues=NULL";
10244 else { oss << ", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
10245 oss << ")";
10246 break;
10247 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
10248 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
10249 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
10250 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10251 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
10252 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10253 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
10254 oss << ")";
10255 break;
10256 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10257 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10258 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
10259 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10260 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10261 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10262 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
10263 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10264 oss << ")";
10265 break;
10266 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
10267 oss << "hipModuleOccupancyMaxPotentialBlockSize(";
10268 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
10269 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
10270 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
10271 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
10272 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
10273 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10274 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
10275 oss << ")";
10276 break;
10277 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
10278 oss << "hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
10279 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss << "gridSize=NULL";
10280 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
10281 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss << ", blockSize=NULL";
10282 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
10283 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
10284 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
10285 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
10286 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
10287 oss << ")";
10288 break;
10289 case HIP_API_ID_hipModuleUnload:
10290 oss << "hipModuleUnload(";
10291 oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
10292 oss << ")";
10293 break;
10294 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
10295 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessor(";
10296 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
10297 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10298 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
10299 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10300 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
10301 oss << ")";
10302 break;
10303 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10304 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10305 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
10306 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10307 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10308 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10309 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
10310 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10311 oss << ")";
10312 break;
10313 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
10314 oss << "hipOccupancyMaxPotentialBlockSize(";
10315 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
10316 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
10317 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
10318 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
10319 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
10320 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10321 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
10322 oss << ")";
10323 break;
10324 case HIP_API_ID_hipPeekAtLastError:
10325 oss << "hipPeekAtLastError(";
10326 oss << ")";
10327 break;
10328 case HIP_API_ID_hipPointerGetAttribute:
10329 oss << "hipPointerGetAttribute(";
10330 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
10331 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
10332 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
10333 oss << ")";
10334 break;
10335 case HIP_API_ID_hipPointerGetAttributes:
10336 oss << "hipPointerGetAttributes(";
10337 if (data->args.hipPointerGetAttributes.attributes == NULL) oss << "attributes=NULL";
10338 else { oss << "attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
10339 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
10340 oss << ")";
10341 break;
10342 case HIP_API_ID_hipPointerSetAttribute:
10343 oss << "hipPointerSetAttribute(";
10344 oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
10345 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
10346 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
10347 oss << ")";
10348 break;
10349 case HIP_API_ID_hipProfilerStart:
10350 oss << "hipProfilerStart(";
10351 oss << ")";
10352 break;
10353 case HIP_API_ID_hipProfilerStop:
10354 oss << "hipProfilerStop(";
10355 oss << ")";
10356 break;
10357 case HIP_API_ID_hipRuntimeGetVersion:
10358 oss << "hipRuntimeGetVersion(";
10359 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss << "runtimeVersion=NULL";
10360 else { oss << "runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
10361 oss << ")";
10362 break;
10363 case HIP_API_ID_hipSetDevice:
10364 oss << "hipSetDevice(";
10365 oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
10366 oss << ")";
10367 break;
10368 case HIP_API_ID_hipSetDeviceFlags:
10369 oss << "hipSetDeviceFlags(";
10370 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
10371 oss << ")";
10372 break;
10373 case HIP_API_ID_hipSetValidDevices:
10374 oss << "hipSetValidDevices(";
10375 if (data->args.hipSetValidDevices.device_arr == NULL) oss << "device_arr=NULL";
10376 else { oss << "device_arr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.device_arr__val); }
10377 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.len);
10378 oss << ")";
10379 break;
10380 case HIP_API_ID_hipSetupArgument:
10381 oss << "hipSetupArgument(";
10382 oss << "arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
10383 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
10384 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
10385 oss << ")";
10386 break;
10387 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
10388 oss << "hipSignalExternalSemaphoresAsync(";
10389 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
10390 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
10391 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
10392 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
10393 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
10394 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
10395 oss << ")";
10396 break;
10397 case HIP_API_ID_hipStreamAddCallback:
10398 oss << "hipStreamAddCallback(";
10399 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
10400 oss << ", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
10401 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
10402 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
10403 oss << ")";
10404 break;
10405 case HIP_API_ID_hipStreamAttachMemAsync:
10406 oss << "hipStreamAttachMemAsync(";
10407 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
10408 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
10409 oss << ", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
10410 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
10411 oss << ")";
10412 break;
10413 case HIP_API_ID_hipStreamBeginCapture:
10414 oss << "hipStreamBeginCapture(";
10415 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
10416 oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
10417 oss << ")";
10418 break;
10419 case HIP_API_ID_hipStreamBeginCaptureToGraph:
10420 oss << "hipStreamBeginCaptureToGraph(";
10421 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.stream);
10422 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.graph);
10423 if (data->args.hipStreamBeginCaptureToGraph.dependencies == NULL) oss << ", dependencies=NULL";
10424 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencies__val); }
10425 if (data->args.hipStreamBeginCaptureToGraph.dependencyData == NULL) oss << ", dependencyData=NULL";
10426 else { oss << ", dependencyData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencyData__val); }
10427 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.numDependencies);
10428 oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.mode);
10429 oss << ")";
10430 break;
10431 case HIP_API_ID_hipStreamCreate:
10432 oss << "hipStreamCreate(";
10433 if (data->args.hipStreamCreate.stream == NULL) oss << "stream=NULL";
10434 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
10435 oss << ")";
10436 break;
10437 case HIP_API_ID_hipStreamCreateWithFlags:
10438 oss << "hipStreamCreateWithFlags(";
10439 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss << "stream=NULL";
10440 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
10441 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
10442 oss << ")";
10443 break;
10444 case HIP_API_ID_hipStreamCreateWithPriority:
10445 oss << "hipStreamCreateWithPriority(";
10446 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss << "stream=NULL";
10447 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
10448 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
10449 oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
10450 oss << ")";
10451 break;
10452 case HIP_API_ID_hipStreamDestroy:
10453 oss << "hipStreamDestroy(";
10454 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
10455 oss << ")";
10456 break;
10457 case HIP_API_ID_hipStreamEndCapture:
10458 oss << "hipStreamEndCapture(";
10459 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
10460 if (data->args.hipStreamEndCapture.pGraph == NULL) oss << ", pGraph=NULL";
10461 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
10462 oss << ")";
10463 break;
10464 case HIP_API_ID_hipStreamGetCaptureInfo:
10465 oss << "hipStreamGetCaptureInfo(";
10466 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
10467 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
10468 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
10469 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss << ", pId=NULL";
10470 else { oss << ", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
10471 oss << ")";
10472 break;
10473 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
10474 oss << "hipStreamGetCaptureInfo_v2(";
10475 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
10476 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss << ", captureStatus_out=NULL";
10477 else { oss << ", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
10478 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss << ", id_out=NULL";
10479 else { oss << ", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
10480 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss << ", graph_out=NULL";
10481 else { oss << ", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
10482 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss << ", dependencies_out=NULL";
10483 else { oss << ", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
10484 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss << ", numDependencies_out=NULL";
10485 else { oss << ", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
10486 oss << ")";
10487 break;
10488 case HIP_API_ID_hipStreamGetDevice:
10489 oss << "hipStreamGetDevice(";
10490 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
10491 if (data->args.hipStreamGetDevice.device == NULL) oss << ", device=NULL";
10492 else { oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
10493 oss << ")";
10494 break;
10495 case HIP_API_ID_hipStreamGetFlags:
10496 oss << "hipStreamGetFlags(";
10497 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
10498 if (data->args.hipStreamGetFlags.flags == NULL) oss << ", flags=NULL";
10499 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
10500 oss << ")";
10501 break;
10502 case HIP_API_ID_hipStreamGetPriority:
10503 oss << "hipStreamGetPriority(";
10504 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
10505 if (data->args.hipStreamGetPriority.priority == NULL) oss << ", priority=NULL";
10506 else { oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
10507 oss << ")";
10508 break;
10509 case HIP_API_ID_hipStreamIsCapturing:
10510 oss << "hipStreamIsCapturing(";
10511 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
10512 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
10513 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
10514 oss << ")";
10515 break;
10516 case HIP_API_ID_hipStreamQuery:
10517 oss << "hipStreamQuery(";
10518 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
10519 oss << ")";
10520 break;
10521 case HIP_API_ID_hipStreamSynchronize:
10522 oss << "hipStreamSynchronize(";
10523 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
10524 oss << ")";
10525 break;
10526 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
10527 oss << "hipStreamUpdateCaptureDependencies(";
10528 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
10529 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss << ", dependencies=NULL";
10530 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
10531 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
10532 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
10533 oss << ")";
10534 break;
10535 case HIP_API_ID_hipStreamWaitEvent:
10536 oss << "hipStreamWaitEvent(";
10537 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
10538 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
10539 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
10540 oss << ")";
10541 break;
10542 case HIP_API_ID_hipStreamWaitValue32:
10543 oss << "hipStreamWaitValue32(";
10544 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
10545 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
10546 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
10547 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
10548 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
10549 oss << ")";
10550 break;
10551 case HIP_API_ID_hipStreamWaitValue64:
10552 oss << "hipStreamWaitValue64(";
10553 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
10554 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
10555 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
10556 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
10557 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
10558 oss << ")";
10559 break;
10560 case HIP_API_ID_hipStreamWriteValue32:
10561 oss << "hipStreamWriteValue32(";
10562 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
10563 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
10564 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
10565 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
10566 oss << ")";
10567 break;
10568 case HIP_API_ID_hipStreamWriteValue64:
10569 oss << "hipStreamWriteValue64(";
10570 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
10571 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
10572 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
10573 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
10574 oss << ")";
10575 break;
10576 case HIP_API_ID_hipTexRefGetAddress:
10577 oss << "hipTexRefGetAddress(";
10578 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss << "dev_ptr=NULL";
10579 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
10580 if (data->args.hipTexRefGetAddress.texRef == NULL) oss << ", texRef=NULL";
10581 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
10582 oss << ")";
10583 break;
10584 case HIP_API_ID_hipTexRefGetArray:
10585 oss << "hipTexRefGetArray(";
10586 if (data->args.hipTexRefGetArray.pArray == NULL) oss << "pArray=NULL";
10587 else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.pArray__val); }
10588 if (data->args.hipTexRefGetArray.texRef == NULL) oss << ", texRef=NULL";
10589 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.texRef__val); }
10590 oss << ")";
10591 break;
10592 case HIP_API_ID_hipTexRefGetBorderColor:
10593 oss << "hipTexRefGetBorderColor(";
10594 if (data->args.hipTexRefGetBorderColor.pBorderColor == NULL) oss << "pBorderColor=NULL";
10595 else { oss << "pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.pBorderColor__val); }
10596 if (data->args.hipTexRefGetBorderColor.texRef == NULL) oss << ", texRef=NULL";
10597 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.texRef__val); }
10598 oss << ")";
10599 break;
10600 case HIP_API_ID_hipTexRefGetFlags:
10601 oss << "hipTexRefGetFlags(";
10602 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss << "pFlags=NULL";
10603 else { oss << "pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
10604 if (data->args.hipTexRefGetFlags.texRef == NULL) oss << ", texRef=NULL";
10605 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
10606 oss << ")";
10607 break;
10608 case HIP_API_ID_hipTexRefGetFormat:
10609 oss << "hipTexRefGetFormat(";
10610 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss << "pFormat=NULL";
10611 else { oss << "pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
10612 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss << ", pNumChannels=NULL";
10613 else { oss << ", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
10614 if (data->args.hipTexRefGetFormat.texRef == NULL) oss << ", texRef=NULL";
10615 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
10616 oss << ")";
10617 break;
10618 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
10619 oss << "hipTexRefGetMaxAnisotropy(";
10620 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss << "pmaxAnsio=NULL";
10621 else { oss << "pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
10622 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss << ", texRef=NULL";
10623 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
10624 oss << ")";
10625 break;
10626 case HIP_API_ID_hipTexRefGetMipMappedArray:
10627 oss << "hipTexRefGetMipMappedArray(";
10628 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss << "pArray=NULL";
10629 else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
10630 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss << ", texRef=NULL";
10631 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
10632 oss << ")";
10633 break;
10634 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
10635 oss << "hipTexRefGetMipmapLevelBias(";
10636 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss << "pbias=NULL";
10637 else { oss << "pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
10638 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss << ", texRef=NULL";
10639 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
10640 oss << ")";
10641 break;
10642 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10643 oss << "hipTexRefGetMipmapLevelClamp(";
10644 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss << "pminMipmapLevelClamp=NULL";
10645 else { oss << "pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10646 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss << ", pmaxMipmapLevelClamp=NULL";
10647 else { oss << ", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10648 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss << ", texRef=NULL";
10649 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10650 oss << ")";
10651 break;
10652 case HIP_API_ID_hipTexRefSetAddress:
10653 oss << "hipTexRefSetAddress(";
10654 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss << "ByteOffset=NULL";
10655 else { oss << "ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10656 if (data->args.hipTexRefSetAddress.texRef == NULL) oss << ", texRef=NULL";
10657 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10658 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10659 oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10660 oss << ")";
10661 break;
10662 case HIP_API_ID_hipTexRefSetAddress2D:
10663 oss << "hipTexRefSetAddress2D(";
10664 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss << "texRef=NULL";
10665 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10666 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss << ", desc=NULL";
10667 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10668 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10669 oss << ", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10670 oss << ")";
10671 break;
10672 case HIP_API_ID_hipTexRefSetArray:
10673 oss << "hipTexRefSetArray(";
10674 if (data->args.hipTexRefSetArray.tex == NULL) oss << "tex=NULL";
10675 else { oss << "tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10676 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10677 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10678 oss << ")";
10679 break;
10680 case HIP_API_ID_hipTexRefSetBorderColor:
10681 oss << "hipTexRefSetBorderColor(";
10682 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss << "texRef=NULL";
10683 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10684 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss << ", pBorderColor=NULL";
10685 else { oss << ", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10686 oss << ")";
10687 break;
10688 case HIP_API_ID_hipTexRefSetFlags:
10689 oss << "hipTexRefSetFlags(";
10690 if (data->args.hipTexRefSetFlags.texRef == NULL) oss << "texRef=NULL";
10691 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10692 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10693 oss << ")";
10694 break;
10695 case HIP_API_ID_hipTexRefSetFormat:
10696 oss << "hipTexRefSetFormat(";
10697 if (data->args.hipTexRefSetFormat.texRef == NULL) oss << "texRef=NULL";
10698 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10699 oss << ", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10700 oss << ", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10701 oss << ")";
10702 break;
10703 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10704 oss << "hipTexRefSetMaxAnisotropy(";
10705 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss << "texRef=NULL";
10706 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10707 oss << ", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10708 oss << ")";
10709 break;
10710 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10711 oss << "hipTexRefSetMipmapLevelBias(";
10712 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss << "texRef=NULL";
10713 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10714 oss << ", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10715 oss << ")";
10716 break;
10717 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10718 oss << "hipTexRefSetMipmapLevelClamp(";
10719 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss << "texRef=NULL";
10720 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10721 oss << ", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10722 oss << ", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10723 oss << ")";
10724 break;
10725 case HIP_API_ID_hipTexRefSetMipmappedArray:
10726 oss << "hipTexRefSetMipmappedArray(";
10727 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss << "texRef=NULL";
10728 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10729 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss << ", mipmappedArray=NULL";
10730 else { oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10731 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10732 oss << ")";
10733 break;
10734 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10735 oss << "hipThreadExchangeStreamCaptureMode(";
10736 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss << "mode=NULL";
10737 else { oss << "mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10738 oss << ")";
10739 break;
10740 case HIP_API_ID_hipUserObjectCreate:
10741 oss << "hipUserObjectCreate(";
10742 if (data->args.hipUserObjectCreate.object_out == NULL) oss << "object_out=NULL";
10743 else { oss << "object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10744 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10745 oss << ", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10746 oss << ", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10747 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10748 oss << ")";
10749 break;
10750 case HIP_API_ID_hipUserObjectRelease:
10751 oss << "hipUserObjectRelease(";
10752 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10753 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10754 oss << ")";
10755 break;
10756 case HIP_API_ID_hipUserObjectRetain:
10757 oss << "hipUserObjectRetain(";
10758 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10759 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10760 oss << ")";
10761 break;
10762 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10763 oss << "hipWaitExternalSemaphoresAsync(";
10764 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
10765 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10766 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
10767 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10768 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10769 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10770 oss << ")";
10771 break;
10772 default: oss << "unknown";
10773 };
10774 return strdup(oss.str().c_str());
10775}
10776#endif // HIP_PROF_HIP_API_STRING
10777#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:1265