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// HIP API callbacks ID enumeration
11enum hip_api_id_t {
12 HIP_API_ID_NONE = 0,
13 HIP_API_ID_FIRST = 1,
14 HIP_API_ID___hipPopCallConfiguration = 1,
15 HIP_API_ID___hipPushCallConfiguration = 2,
16 HIP_API_ID_hipArray3DCreate = 3,
17 HIP_API_ID_hipArrayCreate = 4,
18 HIP_API_ID_hipArrayDestroy = 5,
19 HIP_API_ID_hipChooseDevice = 6,
20 HIP_API_ID_hipConfigureCall = 7,
21 HIP_API_ID_hipCtxCreate = 8,
22 HIP_API_ID_hipCtxDestroy = 9,
23 HIP_API_ID_hipCtxDisablePeerAccess = 10,
24 HIP_API_ID_hipCtxEnablePeerAccess = 11,
25 HIP_API_ID_hipCtxGetApiVersion = 12,
26 HIP_API_ID_hipCtxGetCacheConfig = 13,
27 HIP_API_ID_hipCtxGetCurrent = 14,
28 HIP_API_ID_hipCtxGetDevice = 15,
29 HIP_API_ID_hipCtxGetFlags = 16,
30 HIP_API_ID_hipCtxGetSharedMemConfig = 17,
31 HIP_API_ID_hipCtxPopCurrent = 18,
32 HIP_API_ID_hipCtxPushCurrent = 19,
33 HIP_API_ID_hipCtxSetCacheConfig = 20,
34 HIP_API_ID_hipCtxSetCurrent = 21,
35 HIP_API_ID_hipCtxSetSharedMemConfig = 22,
36 HIP_API_ID_hipCtxSynchronize = 23,
37 HIP_API_ID_hipDestroyExternalMemory = 24,
38 HIP_API_ID_hipDestroyExternalSemaphore = 25,
39 HIP_API_ID_hipDeviceCanAccessPeer = 26,
40 HIP_API_ID_hipDeviceComputeCapability = 27,
41 HIP_API_ID_hipDeviceDisablePeerAccess = 28,
42 HIP_API_ID_hipDeviceEnablePeerAccess = 29,
43 HIP_API_ID_hipDeviceGet = 30,
44 HIP_API_ID_hipDeviceGetAttribute = 31,
45 HIP_API_ID_hipDeviceGetByPCIBusId = 32,
46 HIP_API_ID_hipDeviceGetCacheConfig = 33,
47 HIP_API_ID_hipDeviceGetLimit = 34,
48 HIP_API_ID_hipDeviceGetName = 35,
49 HIP_API_ID_hipDeviceGetP2PAttribute = 36,
50 HIP_API_ID_hipDeviceGetPCIBusId = 37,
51 HIP_API_ID_hipDeviceGetSharedMemConfig = 38,
52 HIP_API_ID_hipDeviceGetStreamPriorityRange = 39,
53 HIP_API_ID_hipDevicePrimaryCtxGetState = 40,
54 HIP_API_ID_hipDevicePrimaryCtxRelease = 41,
55 HIP_API_ID_hipDevicePrimaryCtxReset = 42,
56 HIP_API_ID_hipDevicePrimaryCtxRetain = 43,
57 HIP_API_ID_hipDevicePrimaryCtxSetFlags = 44,
58 HIP_API_ID_hipDeviceReset = 45,
59 HIP_API_ID_hipDeviceSetCacheConfig = 46,
60 HIP_API_ID_hipDeviceSetSharedMemConfig = 47,
61 HIP_API_ID_hipDeviceSynchronize = 48,
62 HIP_API_ID_hipDeviceTotalMem = 49,
63 HIP_API_ID_RESERVED_50 = 50,
64 HIP_API_ID_hipDrvMemcpy2DUnaligned = 51,
65 HIP_API_ID_hipDrvMemcpy3D = 52,
66 HIP_API_ID_hipDrvMemcpy3DAsync = 53,
67 HIP_API_ID_hipEventCreate = 54,
68 HIP_API_ID_hipEventCreateWithFlags = 55,
69 HIP_API_ID_hipEventDestroy = 56,
70 HIP_API_ID_hipEventElapsedTime = 57,
71 HIP_API_ID_hipEventQuery = 58,
72 HIP_API_ID_hipEventRecord = 59,
73 HIP_API_ID_hipEventSynchronize = 60,
74 HIP_API_ID_hipExtGetLinkTypeAndHopCount = 61,
75 HIP_API_ID_hipExtLaunchKernel = 62,
76 HIP_API_ID_hipExtLaunchMultiKernelMultiDevice = 63,
77 HIP_API_ID_hipExtMallocWithFlags = 64,
78 HIP_API_ID_hipExtModuleLaunchKernel = 65,
79 HIP_API_ID_hipExtStreamCreateWithCUMask = 66,
80 HIP_API_ID_hipExtStreamGetCUMask = 67,
81 HIP_API_ID_hipExternalMemoryGetMappedBuffer = 68,
82 HIP_API_ID_hipFree = 69,
83 HIP_API_ID_hipFreeArray = 70,
84 HIP_API_ID_hipFreeHost = 71,
85 HIP_API_ID_hipFreeMipmappedArray = 72,
86 HIP_API_ID_hipFuncGetAttribute = 73,
87 HIP_API_ID_hipFuncGetAttributes = 74,
88 HIP_API_ID_hipFuncSetAttribute = 75,
89 HIP_API_ID_hipFuncSetCacheConfig = 76,
90 HIP_API_ID_hipFuncSetSharedMemConfig = 77,
91 HIP_API_ID_hipGetDevice = 78,
92 HIP_API_ID_hipGetDeviceCount = 79,
93 HIP_API_ID_hipGetDeviceFlags = 80,
94 HIP_API_ID_hipGetDeviceProperties = 81,
95 HIP_API_ID_RESERVED_82 = 82,
96 HIP_API_ID_hipGetErrorString = 83,
97 HIP_API_ID_hipGetLastError = 84,
98 HIP_API_ID_hipGetMipmappedArrayLevel = 85,
99 HIP_API_ID_hipGetSymbolAddress = 86,
100 HIP_API_ID_hipGetSymbolSize = 87,
101 HIP_API_ID_hipHccModuleLaunchKernel = 88,
102 HIP_API_ID_hipHostAlloc = 89,
103 HIP_API_ID_hipHostFree = 90,
104 HIP_API_ID_hipHostGetDevicePointer = 91,
105 HIP_API_ID_hipHostGetFlags = 92,
106 HIP_API_ID_hipHostMalloc = 93,
107 HIP_API_ID_hipHostRegister = 94,
108 HIP_API_ID_hipHostUnregister = 95,
109 HIP_API_ID_hipImportExternalMemory = 96,
110 HIP_API_ID_hipImportExternalSemaphore = 97,
111 HIP_API_ID_hipInit = 98,
112 HIP_API_ID_hipIpcCloseMemHandle = 99,
113 HIP_API_ID_hipIpcGetEventHandle = 100,
114 HIP_API_ID_hipIpcGetMemHandle = 101,
115 HIP_API_ID_hipIpcOpenEventHandle = 102,
116 HIP_API_ID_hipIpcOpenMemHandle = 103,
117 HIP_API_ID_hipLaunchByPtr = 104,
118 HIP_API_ID_hipLaunchCooperativeKernel = 105,
119 HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 106,
120 HIP_API_ID_hipLaunchKernel = 107,
121 HIP_API_ID_hipMalloc = 108,
122 HIP_API_ID_hipMalloc3D = 109,
123 HIP_API_ID_hipMalloc3DArray = 110,
124 HIP_API_ID_hipMallocArray = 111,
125 HIP_API_ID_hipMallocHost = 112,
126 HIP_API_ID_hipMallocManaged = 113,
127 HIP_API_ID_hipMallocMipmappedArray = 114,
128 HIP_API_ID_hipMallocPitch = 115,
129 HIP_API_ID_hipMemAdvise = 116,
130 HIP_API_ID_hipMemAllocHost = 117,
131 HIP_API_ID_hipMemAllocPitch = 118,
132 HIP_API_ID_hipMemGetAddressRange = 119,
133 HIP_API_ID_hipMemGetInfo = 120,
134 HIP_API_ID_hipMemPrefetchAsync = 121,
135 HIP_API_ID_hipMemPtrGetInfo = 122,
136 HIP_API_ID_hipMemRangeGetAttribute = 123,
137 HIP_API_ID_hipMemRangeGetAttributes = 124,
138 HIP_API_ID_hipMemcpy = 125,
139 HIP_API_ID_hipMemcpy2D = 126,
140 HIP_API_ID_hipMemcpy2DAsync = 127,
141 HIP_API_ID_hipMemcpy2DFromArray = 128,
142 HIP_API_ID_hipMemcpy2DFromArrayAsync = 129,
143 HIP_API_ID_hipMemcpy2DToArray = 130,
144 HIP_API_ID_hipMemcpy2DToArrayAsync = 131,
145 HIP_API_ID_hipMemcpy3D = 132,
146 HIP_API_ID_hipMemcpy3DAsync = 133,
147 HIP_API_ID_hipMemcpyAsync = 134,
148 HIP_API_ID_hipMemcpyAtoH = 135,
149 HIP_API_ID_hipMemcpyDtoD = 136,
150 HIP_API_ID_hipMemcpyDtoDAsync = 137,
151 HIP_API_ID_hipMemcpyDtoH = 138,
152 HIP_API_ID_hipMemcpyDtoHAsync = 139,
153 HIP_API_ID_hipMemcpyFromArray = 140,
154 HIP_API_ID_hipMemcpyFromSymbol = 141,
155 HIP_API_ID_hipMemcpyFromSymbolAsync = 142,
156 HIP_API_ID_hipMemcpyHtoA = 143,
157 HIP_API_ID_hipMemcpyHtoD = 144,
158 HIP_API_ID_hipMemcpyHtoDAsync = 145,
159 HIP_API_ID_hipMemcpyParam2D = 146,
160 HIP_API_ID_hipMemcpyParam2DAsync = 147,
161 HIP_API_ID_hipMemcpyPeer = 148,
162 HIP_API_ID_hipMemcpyPeerAsync = 149,
163 HIP_API_ID_hipMemcpyToArray = 150,
164 HIP_API_ID_hipMemcpyToSymbol = 151,
165 HIP_API_ID_hipMemcpyToSymbolAsync = 152,
166 HIP_API_ID_hipMemcpyWithStream = 153,
167 HIP_API_ID_hipMemset = 154,
168 HIP_API_ID_hipMemset2D = 155,
169 HIP_API_ID_hipMemset2DAsync = 156,
170 HIP_API_ID_hipMemset3D = 157,
171 HIP_API_ID_hipMemset3DAsync = 158,
172 HIP_API_ID_hipMemsetAsync = 159,
173 HIP_API_ID_hipMemsetD16 = 160,
174 HIP_API_ID_hipMemsetD16Async = 161,
175 HIP_API_ID_hipMemsetD32 = 162,
176 HIP_API_ID_hipMemsetD32Async = 163,
177 HIP_API_ID_hipMemsetD8 = 164,
178 HIP_API_ID_hipMemsetD8Async = 165,
179 HIP_API_ID_hipModuleGetFunction = 166,
180 HIP_API_ID_hipModuleGetGlobal = 167,
181 HIP_API_ID_hipModuleGetTexRef = 168,
182 HIP_API_ID_hipModuleLaunchKernel = 169,
183 HIP_API_ID_hipModuleLoad = 170,
184 HIP_API_ID_hipModuleLoadData = 171,
185 HIP_API_ID_hipModuleLoadDataEx = 172,
186 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor = 173,
187 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 174,
188 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize = 175,
189 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags = 176,
190 HIP_API_ID_hipModuleUnload = 177,
191 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 178,
192 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 179,
193 HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 180,
194 HIP_API_ID_hipPeekAtLastError = 181,
195 HIP_API_ID_hipPointerGetAttributes = 182,
196 HIP_API_ID_hipProfilerStart = 183,
197 HIP_API_ID_hipProfilerStop = 184,
198 HIP_API_ID_RESERVED_185 = 185,
199 HIP_API_ID_hipSetDevice = 186,
200 HIP_API_ID_hipSetDeviceFlags = 187,
201 HIP_API_ID_hipSetupArgument = 188,
202 HIP_API_ID_hipSignalExternalSemaphoresAsync = 189,
203 HIP_API_ID_hipStreamAddCallback = 190,
204 HIP_API_ID_hipStreamAttachMemAsync = 191,
205 HIP_API_ID_hipStreamCreate = 192,
206 HIP_API_ID_hipStreamCreateWithFlags = 193,
207 HIP_API_ID_hipStreamCreateWithPriority = 194,
208 HIP_API_ID_hipStreamDestroy = 195,
209 HIP_API_ID_hipStreamGetFlags = 196,
210 HIP_API_ID_hipStreamGetPriority = 197,
211 HIP_API_ID_hipStreamQuery = 198,
212 HIP_API_ID_hipStreamSynchronize = 199,
213 HIP_API_ID_hipStreamWaitEvent = 200,
214 HIP_API_ID_hipStreamWaitValue32 = 201,
215 HIP_API_ID_hipStreamWaitValue64 = 202,
216 HIP_API_ID_hipStreamWriteValue32 = 203,
217 HIP_API_ID_hipStreamWriteValue64 = 204,
218 HIP_API_ID_hipWaitExternalSemaphoresAsync = 205,
219 HIP_API_ID_hipCreateSurfaceObject = 206,
220 HIP_API_ID_hipDestroySurfaceObject = 207,
221 HIP_API_ID_hipGraphAddKernelNode = 208,
222 HIP_API_ID_hipGraphAddMemcpyNode = 209,
223 HIP_API_ID_hipGraphAddMemsetNode = 210,
224 HIP_API_ID_hipGraphCreate = 211,
225 HIP_API_ID_hipGraphDestroy = 212,
226 HIP_API_ID_hipGraphExecDestroy = 213,
227 HIP_API_ID_hipGraphInstantiate = 214,
228 HIP_API_ID_hipGraphLaunch = 215,
229 HIP_API_ID_hipMipmappedArrayCreate = 216,
230 HIP_API_ID_hipMipmappedArrayDestroy = 217,
231 HIP_API_ID_hipMipmappedArrayGetLevel = 218,
232 HIP_API_ID_hipStreamBeginCapture = 219,
233 HIP_API_ID_hipStreamEndCapture = 220,
234 HIP_API_ID_hipTexRefGetAddress = 221,
235 HIP_API_ID_hipTexRefGetFlags = 222,
236 HIP_API_ID_hipTexRefGetFormat = 223,
237 HIP_API_ID_hipTexRefGetMaxAnisotropy = 224,
238 HIP_API_ID_hipTexRefGetMipMappedArray = 225,
239 HIP_API_ID_hipTexRefGetMipmapLevelBias = 226,
240 HIP_API_ID_hipTexRefGetMipmapLevelClamp = 227,
241 HIP_API_ID_hipTexRefSetAddress = 228,
242 HIP_API_ID_hipTexRefSetAddress2D = 229,
243 HIP_API_ID_hipTexRefSetBorderColor = 230,
244 HIP_API_ID_hipTexRefSetFormat = 231,
245 HIP_API_ID_hipTexRefSetMaxAnisotropy = 232,
246 HIP_API_ID_hipTexRefSetMipmapLevelClamp = 233,
247 HIP_API_ID_hipTexRefSetMipmappedArray = 234,
248 HIP_API_ID_hipGLGetDevices = 235,
249 HIP_API_ID_hipGraphAddDependencies = 236,
250 HIP_API_ID_hipGraphAddEmptyNode = 237,
251 HIP_API_ID_hipGraphExecKernelNodeSetParams = 238,
252 HIP_API_ID_hipGraphGetNodes = 239,
253 HIP_API_ID_hipGraphGetRootNodes = 240,
254 HIP_API_ID_hipGraphKernelNodeGetParams = 241,
255 HIP_API_ID_hipGraphKernelNodeSetParams = 242,
256 HIP_API_ID_hipGraphMemcpyNodeGetParams = 243,
257 HIP_API_ID_hipGraphMemcpyNodeSetParams = 244,
258 HIP_API_ID_hipGraphMemsetNodeGetParams = 245,
259 HIP_API_ID_hipGraphMemsetNodeSetParams = 246,
260 HIP_API_ID_hipGraphicsGLRegisterBuffer = 247,
261 HIP_API_ID_hipGraphicsMapResources = 248,
262 HIP_API_ID_hipGraphicsResourceGetMappedPointer = 249,
263 HIP_API_ID_hipGraphicsUnmapResources = 250,
264 HIP_API_ID_hipGraphicsUnregisterResource = 251,
265 HIP_API_ID_hipGraphAddChildGraphNode = 252,
266 HIP_API_ID_hipGraphAddEventRecordNode = 253,
267 HIP_API_ID_hipGraphAddEventWaitNode = 254,
268 HIP_API_ID_hipGraphAddHostNode = 255,
269 HIP_API_ID_hipGraphAddMemcpyNode1D = 256,
270 HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol = 257,
271 HIP_API_ID_hipGraphAddMemcpyNodeToSymbol = 258,
272 HIP_API_ID_hipGraphChildGraphNodeGetGraph = 259,
273 HIP_API_ID_hipGraphClone = 260,
274 HIP_API_ID_hipGraphDestroyNode = 261,
275 HIP_API_ID_hipGraphEventRecordNodeGetEvent = 262,
276 HIP_API_ID_hipGraphEventRecordNodeSetEvent = 263,
277 HIP_API_ID_hipGraphEventWaitNodeGetEvent = 264,
278 HIP_API_ID_hipGraphEventWaitNodeSetEvent = 265,
279 HIP_API_ID_hipGraphExecChildGraphNodeSetParams = 266,
280 HIP_API_ID_hipGraphExecEventRecordNodeSetEvent = 267,
281 HIP_API_ID_hipGraphExecEventWaitNodeSetEvent = 268,
282 HIP_API_ID_hipGraphExecHostNodeSetParams = 269,
283 HIP_API_ID_hipGraphExecMemcpyNodeSetParams = 270,
284 HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D = 271,
285 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol = 272,
286 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol = 273,
287 HIP_API_ID_hipGraphExecMemsetNodeSetParams = 274,
288 HIP_API_ID_hipGraphExecUpdate = 275,
289 HIP_API_ID_hipGraphGetEdges = 276,
290 HIP_API_ID_hipGraphHostNodeGetParams = 277,
291 HIP_API_ID_hipGraphHostNodeSetParams = 278,
292 HIP_API_ID_hipGraphInstantiateWithFlags = 279,
293 HIP_API_ID_hipGraphMemcpyNodeSetParams1D = 280,
294 HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol = 281,
295 HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol = 282,
296 HIP_API_ID_hipGraphNodeFindInClone = 283,
297 HIP_API_ID_hipGraphNodeGetDependencies = 284,
298 HIP_API_ID_hipGraphNodeGetDependentNodes = 285,
299 HIP_API_ID_hipGraphNodeGetType = 286,
300 HIP_API_ID_hipGraphRemoveDependencies = 287,
301 HIP_API_ID_hipStreamGetCaptureInfo = 288,
302 HIP_API_ID_hipStreamGetCaptureInfo_v2 = 289,
303 HIP_API_ID_hipStreamIsCapturing = 290,
304 HIP_API_ID_hipStreamUpdateCaptureDependencies = 291,
305 HIP_API_ID_hipDrvPointerGetAttributes = 292,
306 HIP_API_ID_hipGraphicsGLRegisterImage = 293,
307 HIP_API_ID_hipGraphicsSubResourceGetMappedArray = 294,
308 HIP_API_ID_hipPointerGetAttribute = 295,
309 HIP_API_ID_RESERVED_296 = 296,
310 HIP_API_ID_hipThreadExchangeStreamCaptureMode = 297,
311 HIP_API_ID_hipDeviceGetUuid = 298,
312 HIP_API_ID_hipGetChannelDesc = 299,
313 HIP_API_ID_hipGraphKernelNodeGetAttribute = 300,
314 HIP_API_ID_hipGraphKernelNodeSetAttribute = 301,
315 HIP_API_ID_hipLaunchHostFunc = 302,
316 HIP_API_ID_hipDeviceGetDefaultMemPool = 303,
317 HIP_API_ID_hipDeviceGetMemPool = 304,
318 HIP_API_ID_hipDeviceSetMemPool = 305,
319 HIP_API_ID_hipFreeAsync = 306,
320 HIP_API_ID_hipMallocAsync = 307,
321 HIP_API_ID_hipMallocFromPoolAsync = 308,
322 HIP_API_ID_hipMemPoolCreate = 309,
323 HIP_API_ID_hipMemPoolDestroy = 310,
324 HIP_API_ID_hipMemPoolExportPointer = 311,
325 HIP_API_ID_hipMemPoolExportToShareableHandle = 312,
326 HIP_API_ID_hipMemPoolGetAccess = 313,
327 HIP_API_ID_hipMemPoolGetAttribute = 314,
328 HIP_API_ID_hipMemPoolImportFromShareableHandle = 315,
329 HIP_API_ID_hipMemPoolImportPointer = 316,
330 HIP_API_ID_hipMemPoolSetAccess = 317,
331 HIP_API_ID_hipMemPoolSetAttribute = 318,
332 HIP_API_ID_hipMemPoolTrimTo = 319,
333 HIP_API_ID_hipMemAddressFree = 320,
334 HIP_API_ID_hipMemAddressReserve = 321,
335 HIP_API_ID_hipMemCreate = 322,
336 HIP_API_ID_hipMemExportToShareableHandle = 323,
337 HIP_API_ID_hipMemGetAccess = 324,
338 HIP_API_ID_hipMemGetAllocationGranularity = 325,
339 HIP_API_ID_hipMemGetAllocationPropertiesFromHandle = 326,
340 HIP_API_ID_hipMemImportFromShareableHandle = 327,
341 HIP_API_ID_hipMemMap = 328,
342 HIP_API_ID_hipMemMapArrayAsync = 329,
343 HIP_API_ID_hipMemRelease = 330,
344 HIP_API_ID_hipMemRetainAllocationHandle = 331,
345 HIP_API_ID_hipMemSetAccess = 332,
346 HIP_API_ID_hipMemUnmap = 333,
347 HIP_API_ID_hipDeviceSetGraphMemAttribute = 334,
348 HIP_API_ID_hipDeviceGetGraphMemAttribute = 335,
349 HIP_API_ID_hipDeviceGraphMemTrim = 336,
350 HIP_API_ID_hipDeviceSetLimit = 337,
351 HIP_API_ID_hipTexRefSetArray = 338,
352 HIP_API_ID_hipTexRefSetFlags = 339,
353 HIP_API_ID_hipTexRefSetMipmapLevelBias = 340,
354 HIP_API_ID_hipDriverGetVersion = 341,
355 HIP_API_ID_hipGraphUpload = 342,
356 HIP_API_ID_hipRuntimeGetVersion = 343,
357 HIP_API_ID_hipUserObjectCreate = 344,
358 HIP_API_ID_hipUserObjectRelease = 345,
359 HIP_API_ID_hipUserObjectRetain = 346,
360 HIP_API_ID_hipGraphRetainUserObject = 347,
361 HIP_API_ID_hipGraphReleaseUserObject = 348,
362 HIP_API_ID_hipGraphDebugDotPrint = 349,
363 HIP_API_ID_hipGraphKernelNodeCopyAttributes = 350,
364 HIP_API_ID_hipGraphNodeGetEnabled = 351,
365 HIP_API_ID_hipGraphNodeSetEnabled = 352,
366 HIP_API_ID_hipPointerSetAttribute = 353,
367 HIP_API_ID_hipGraphAddMemAllocNode = 354,
368 HIP_API_ID_hipGraphAddMemFreeNode = 355,
369 HIP_API_ID_hipGraphMemAllocNodeGetParams = 356,
370 HIP_API_ID_hipGraphMemFreeNodeGetParams = 357,
371 HIP_API_ID_hipModuleLaunchCooperativeKernel = 358,
372 HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice = 359,
373 HIP_API_ID_hipArray3DGetDescriptor = 360,
374 HIP_API_ID_hipArrayGetDescriptor = 361,
375 HIP_API_ID_hipArrayGetInfo = 362,
376 HIP_API_ID_hipStreamGetDevice = 363,
377 HIP_API_ID_LAST = 363,
378
379 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
380 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
381 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
382 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
383 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
384 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
385 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
386 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
387 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
388 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
389 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
390 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
391 HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
392 HIP_API_ID_hipMemcpyArrayToArray = HIP_API_ID_NONE,
393 HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
394 HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
395 HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
396 HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
397 HIP_API_ID_hipMemcpyFromArrayAsync = HIP_API_ID_NONE,
398 HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
399 HIP_API_ID_hipMemcpyToArrayAsync = HIP_API_ID_NONE,
400 HIP_API_ID_hipModuleLaunchKernelExt = HIP_API_ID_NONE,
401 HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
402 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
403 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
404 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
405 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
406 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
407 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
408 HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
409 HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
410 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
411 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
412 HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
413 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
414 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
415 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
416 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
417};
418
419// Return the HIP API string for a given callback ID
420static inline const char* hip_api_name(const uint32_t id) {
421 switch(id) {
422 case HIP_API_ID___hipPopCallConfiguration: return "__hipPopCallConfiguration";
423 case HIP_API_ID___hipPushCallConfiguration: return "__hipPushCallConfiguration";
424 case HIP_API_ID_hipArray3DCreate: return "hipArray3DCreate";
425 case HIP_API_ID_hipArray3DGetDescriptor: return "hipArray3DGetDescriptor";
426 case HIP_API_ID_hipArrayCreate: return "hipArrayCreate";
427 case HIP_API_ID_hipArrayDestroy: return "hipArrayDestroy";
428 case HIP_API_ID_hipArrayGetDescriptor: return "hipArrayGetDescriptor";
429 case HIP_API_ID_hipArrayGetInfo: return "hipArrayGetInfo";
430 case HIP_API_ID_hipChooseDevice: return "hipChooseDevice";
431 case HIP_API_ID_hipConfigureCall: return "hipConfigureCall";
432 case HIP_API_ID_hipCreateSurfaceObject: return "hipCreateSurfaceObject";
433 case HIP_API_ID_hipCtxCreate: return "hipCtxCreate";
434 case HIP_API_ID_hipCtxDestroy: return "hipCtxDestroy";
435 case HIP_API_ID_hipCtxDisablePeerAccess: return "hipCtxDisablePeerAccess";
436 case HIP_API_ID_hipCtxEnablePeerAccess: return "hipCtxEnablePeerAccess";
437 case HIP_API_ID_hipCtxGetApiVersion: return "hipCtxGetApiVersion";
438 case HIP_API_ID_hipCtxGetCacheConfig: return "hipCtxGetCacheConfig";
439 case HIP_API_ID_hipCtxGetCurrent: return "hipCtxGetCurrent";
440 case HIP_API_ID_hipCtxGetDevice: return "hipCtxGetDevice";
441 case HIP_API_ID_hipCtxGetFlags: return "hipCtxGetFlags";
442 case HIP_API_ID_hipCtxGetSharedMemConfig: return "hipCtxGetSharedMemConfig";
443 case HIP_API_ID_hipCtxPopCurrent: return "hipCtxPopCurrent";
444 case HIP_API_ID_hipCtxPushCurrent: return "hipCtxPushCurrent";
445 case HIP_API_ID_hipCtxSetCacheConfig: return "hipCtxSetCacheConfig";
446 case HIP_API_ID_hipCtxSetCurrent: return "hipCtxSetCurrent";
447 case HIP_API_ID_hipCtxSetSharedMemConfig: return "hipCtxSetSharedMemConfig";
448 case HIP_API_ID_hipCtxSynchronize: return "hipCtxSynchronize";
449 case HIP_API_ID_hipDestroyExternalMemory: return "hipDestroyExternalMemory";
450 case HIP_API_ID_hipDestroyExternalSemaphore: return "hipDestroyExternalSemaphore";
451 case HIP_API_ID_hipDestroySurfaceObject: return "hipDestroySurfaceObject";
452 case HIP_API_ID_hipDeviceCanAccessPeer: return "hipDeviceCanAccessPeer";
453 case HIP_API_ID_hipDeviceComputeCapability: return "hipDeviceComputeCapability";
454 case HIP_API_ID_hipDeviceDisablePeerAccess: return "hipDeviceDisablePeerAccess";
455 case HIP_API_ID_hipDeviceEnablePeerAccess: return "hipDeviceEnablePeerAccess";
456 case HIP_API_ID_hipDeviceGet: return "hipDeviceGet";
457 case HIP_API_ID_hipDeviceGetAttribute: return "hipDeviceGetAttribute";
458 case HIP_API_ID_hipDeviceGetByPCIBusId: return "hipDeviceGetByPCIBusId";
459 case HIP_API_ID_hipDeviceGetCacheConfig: return "hipDeviceGetCacheConfig";
460 case HIP_API_ID_hipDeviceGetDefaultMemPool: return "hipDeviceGetDefaultMemPool";
461 case HIP_API_ID_hipDeviceGetGraphMemAttribute: return "hipDeviceGetGraphMemAttribute";
462 case HIP_API_ID_hipDeviceGetLimit: return "hipDeviceGetLimit";
463 case HIP_API_ID_hipDeviceGetMemPool: return "hipDeviceGetMemPool";
464 case HIP_API_ID_hipDeviceGetName: return "hipDeviceGetName";
465 case HIP_API_ID_hipDeviceGetP2PAttribute: return "hipDeviceGetP2PAttribute";
466 case HIP_API_ID_hipDeviceGetPCIBusId: return "hipDeviceGetPCIBusId";
467 case HIP_API_ID_hipDeviceGetSharedMemConfig: return "hipDeviceGetSharedMemConfig";
468 case HIP_API_ID_hipDeviceGetStreamPriorityRange: return "hipDeviceGetStreamPriorityRange";
469 case HIP_API_ID_hipDeviceGetUuid: return "hipDeviceGetUuid";
470 case HIP_API_ID_hipDeviceGraphMemTrim: return "hipDeviceGraphMemTrim";
471 case HIP_API_ID_hipDevicePrimaryCtxGetState: return "hipDevicePrimaryCtxGetState";
472 case HIP_API_ID_hipDevicePrimaryCtxRelease: return "hipDevicePrimaryCtxRelease";
473 case HIP_API_ID_hipDevicePrimaryCtxReset: return "hipDevicePrimaryCtxReset";
474 case HIP_API_ID_hipDevicePrimaryCtxRetain: return "hipDevicePrimaryCtxRetain";
475 case HIP_API_ID_hipDevicePrimaryCtxSetFlags: return "hipDevicePrimaryCtxSetFlags";
476 case HIP_API_ID_hipDeviceReset: return "hipDeviceReset";
477 case HIP_API_ID_hipDeviceSetCacheConfig: return "hipDeviceSetCacheConfig";
478 case HIP_API_ID_hipDeviceSetGraphMemAttribute: return "hipDeviceSetGraphMemAttribute";
479 case HIP_API_ID_hipDeviceSetLimit: return "hipDeviceSetLimit";
480 case HIP_API_ID_hipDeviceSetMemPool: return "hipDeviceSetMemPool";
481 case HIP_API_ID_hipDeviceSetSharedMemConfig: return "hipDeviceSetSharedMemConfig";
482 case HIP_API_ID_hipDeviceSynchronize: return "hipDeviceSynchronize";
483 case HIP_API_ID_hipDeviceTotalMem: return "hipDeviceTotalMem";
484 case HIP_API_ID_hipDriverGetVersion: return "hipDriverGetVersion";
485 case HIP_API_ID_hipDrvMemcpy2DUnaligned: return "hipDrvMemcpy2DUnaligned";
486 case HIP_API_ID_hipDrvMemcpy3D: return "hipDrvMemcpy3D";
487 case HIP_API_ID_hipDrvMemcpy3DAsync: return "hipDrvMemcpy3DAsync";
488 case HIP_API_ID_hipDrvPointerGetAttributes: return "hipDrvPointerGetAttributes";
489 case HIP_API_ID_hipEventCreate: return "hipEventCreate";
490 case HIP_API_ID_hipEventCreateWithFlags: return "hipEventCreateWithFlags";
491 case HIP_API_ID_hipEventDestroy: return "hipEventDestroy";
492 case HIP_API_ID_hipEventElapsedTime: return "hipEventElapsedTime";
493 case HIP_API_ID_hipEventQuery: return "hipEventQuery";
494 case HIP_API_ID_hipEventRecord: return "hipEventRecord";
495 case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
496 case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
497 case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
498 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
499 case HIP_API_ID_hipExtMallocWithFlags: return "hipExtMallocWithFlags";
500 case HIP_API_ID_hipExtModuleLaunchKernel: return "hipExtModuleLaunchKernel";
501 case HIP_API_ID_hipExtStreamCreateWithCUMask: return "hipExtStreamCreateWithCUMask";
502 case HIP_API_ID_hipExtStreamGetCUMask: return "hipExtStreamGetCUMask";
503 case HIP_API_ID_hipExternalMemoryGetMappedBuffer: return "hipExternalMemoryGetMappedBuffer";
504 case HIP_API_ID_hipFree: return "hipFree";
505 case HIP_API_ID_hipFreeArray: return "hipFreeArray";
506 case HIP_API_ID_hipFreeAsync: return "hipFreeAsync";
507 case HIP_API_ID_hipFreeHost: return "hipFreeHost";
508 case HIP_API_ID_hipFreeMipmappedArray: return "hipFreeMipmappedArray";
509 case HIP_API_ID_hipFuncGetAttribute: return "hipFuncGetAttribute";
510 case HIP_API_ID_hipFuncGetAttributes: return "hipFuncGetAttributes";
511 case HIP_API_ID_hipFuncSetAttribute: return "hipFuncSetAttribute";
512 case HIP_API_ID_hipFuncSetCacheConfig: return "hipFuncSetCacheConfig";
513 case HIP_API_ID_hipFuncSetSharedMemConfig: return "hipFuncSetSharedMemConfig";
514 case HIP_API_ID_hipGLGetDevices: return "hipGLGetDevices";
515 case HIP_API_ID_hipGetChannelDesc: return "hipGetChannelDesc";
516 case HIP_API_ID_hipGetDevice: return "hipGetDevice";
517 case HIP_API_ID_hipGetDeviceCount: return "hipGetDeviceCount";
518 case HIP_API_ID_hipGetDeviceFlags: return "hipGetDeviceFlags";
519 case HIP_API_ID_hipGetDeviceProperties: return "hipGetDeviceProperties";
520 case HIP_API_ID_hipGetErrorString: return "hipGetErrorString";
521 case HIP_API_ID_hipGetLastError: return "hipGetLastError";
522 case HIP_API_ID_hipGetMipmappedArrayLevel: return "hipGetMipmappedArrayLevel";
523 case HIP_API_ID_hipGetSymbolAddress: return "hipGetSymbolAddress";
524 case HIP_API_ID_hipGetSymbolSize: return "hipGetSymbolSize";
525 case HIP_API_ID_hipGraphAddChildGraphNode: return "hipGraphAddChildGraphNode";
526 case HIP_API_ID_hipGraphAddDependencies: return "hipGraphAddDependencies";
527 case HIP_API_ID_hipGraphAddEmptyNode: return "hipGraphAddEmptyNode";
528 case HIP_API_ID_hipGraphAddEventRecordNode: return "hipGraphAddEventRecordNode";
529 case HIP_API_ID_hipGraphAddEventWaitNode: return "hipGraphAddEventWaitNode";
530 case HIP_API_ID_hipGraphAddHostNode: return "hipGraphAddHostNode";
531 case HIP_API_ID_hipGraphAddKernelNode: return "hipGraphAddKernelNode";
532 case HIP_API_ID_hipGraphAddMemAllocNode: return "hipGraphAddMemAllocNode";
533 case HIP_API_ID_hipGraphAddMemFreeNode: return "hipGraphAddMemFreeNode";
534 case HIP_API_ID_hipGraphAddMemcpyNode: return "hipGraphAddMemcpyNode";
535 case HIP_API_ID_hipGraphAddMemcpyNode1D: return "hipGraphAddMemcpyNode1D";
536 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol: return "hipGraphAddMemcpyNodeFromSymbol";
537 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol: return "hipGraphAddMemcpyNodeToSymbol";
538 case HIP_API_ID_hipGraphAddMemsetNode: return "hipGraphAddMemsetNode";
539 case HIP_API_ID_hipGraphChildGraphNodeGetGraph: return "hipGraphChildGraphNodeGetGraph";
540 case HIP_API_ID_hipGraphClone: return "hipGraphClone";
541 case HIP_API_ID_hipGraphCreate: return "hipGraphCreate";
542 case HIP_API_ID_hipGraphDebugDotPrint: return "hipGraphDebugDotPrint";
543 case HIP_API_ID_hipGraphDestroy: return "hipGraphDestroy";
544 case HIP_API_ID_hipGraphDestroyNode: return "hipGraphDestroyNode";
545 case HIP_API_ID_hipGraphEventRecordNodeGetEvent: return "hipGraphEventRecordNodeGetEvent";
546 case HIP_API_ID_hipGraphEventRecordNodeSetEvent: return "hipGraphEventRecordNodeSetEvent";
547 case HIP_API_ID_hipGraphEventWaitNodeGetEvent: return "hipGraphEventWaitNodeGetEvent";
548 case HIP_API_ID_hipGraphEventWaitNodeSetEvent: return "hipGraphEventWaitNodeSetEvent";
549 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams: return "hipGraphExecChildGraphNodeSetParams";
550 case HIP_API_ID_hipGraphExecDestroy: return "hipGraphExecDestroy";
551 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent: return "hipGraphExecEventRecordNodeSetEvent";
552 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent: return "hipGraphExecEventWaitNodeSetEvent";
553 case HIP_API_ID_hipGraphExecHostNodeSetParams: return "hipGraphExecHostNodeSetParams";
554 case HIP_API_ID_hipGraphExecKernelNodeSetParams: return "hipGraphExecKernelNodeSetParams";
555 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams: return "hipGraphExecMemcpyNodeSetParams";
556 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D: return "hipGraphExecMemcpyNodeSetParams1D";
557 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol: return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
558 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol: return "hipGraphExecMemcpyNodeSetParamsToSymbol";
559 case HIP_API_ID_hipGraphExecMemsetNodeSetParams: return "hipGraphExecMemsetNodeSetParams";
560 case HIP_API_ID_hipGraphExecUpdate: return "hipGraphExecUpdate";
561 case HIP_API_ID_hipGraphGetEdges: return "hipGraphGetEdges";
562 case HIP_API_ID_hipGraphGetNodes: return "hipGraphGetNodes";
563 case HIP_API_ID_hipGraphGetRootNodes: return "hipGraphGetRootNodes";
564 case HIP_API_ID_hipGraphHostNodeGetParams: return "hipGraphHostNodeGetParams";
565 case HIP_API_ID_hipGraphHostNodeSetParams: return "hipGraphHostNodeSetParams";
566 case HIP_API_ID_hipGraphInstantiate: return "hipGraphInstantiate";
567 case HIP_API_ID_hipGraphInstantiateWithFlags: return "hipGraphInstantiateWithFlags";
568 case HIP_API_ID_hipGraphKernelNodeCopyAttributes: return "hipGraphKernelNodeCopyAttributes";
569 case HIP_API_ID_hipGraphKernelNodeGetAttribute: return "hipGraphKernelNodeGetAttribute";
570 case HIP_API_ID_hipGraphKernelNodeGetParams: return "hipGraphKernelNodeGetParams";
571 case HIP_API_ID_hipGraphKernelNodeSetAttribute: return "hipGraphKernelNodeSetAttribute";
572 case HIP_API_ID_hipGraphKernelNodeSetParams: return "hipGraphKernelNodeSetParams";
573 case HIP_API_ID_hipGraphLaunch: return "hipGraphLaunch";
574 case HIP_API_ID_hipGraphMemAllocNodeGetParams: return "hipGraphMemAllocNodeGetParams";
575 case HIP_API_ID_hipGraphMemFreeNodeGetParams: return "hipGraphMemFreeNodeGetParams";
576 case HIP_API_ID_hipGraphMemcpyNodeGetParams: return "hipGraphMemcpyNodeGetParams";
577 case HIP_API_ID_hipGraphMemcpyNodeSetParams: return "hipGraphMemcpyNodeSetParams";
578 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D: return "hipGraphMemcpyNodeSetParams1D";
579 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol: return "hipGraphMemcpyNodeSetParamsFromSymbol";
580 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol: return "hipGraphMemcpyNodeSetParamsToSymbol";
581 case HIP_API_ID_hipGraphMemsetNodeGetParams: return "hipGraphMemsetNodeGetParams";
582 case HIP_API_ID_hipGraphMemsetNodeSetParams: return "hipGraphMemsetNodeSetParams";
583 case HIP_API_ID_hipGraphNodeFindInClone: return "hipGraphNodeFindInClone";
584 case HIP_API_ID_hipGraphNodeGetDependencies: return "hipGraphNodeGetDependencies";
585 case HIP_API_ID_hipGraphNodeGetDependentNodes: return "hipGraphNodeGetDependentNodes";
586 case HIP_API_ID_hipGraphNodeGetEnabled: return "hipGraphNodeGetEnabled";
587 case HIP_API_ID_hipGraphNodeGetType: return "hipGraphNodeGetType";
588 case HIP_API_ID_hipGraphNodeSetEnabled: return "hipGraphNodeSetEnabled";
589 case HIP_API_ID_hipGraphReleaseUserObject: return "hipGraphReleaseUserObject";
590 case HIP_API_ID_hipGraphRemoveDependencies: return "hipGraphRemoveDependencies";
591 case HIP_API_ID_hipGraphRetainUserObject: return "hipGraphRetainUserObject";
592 case HIP_API_ID_hipGraphUpload: return "hipGraphUpload";
593 case HIP_API_ID_hipGraphicsGLRegisterBuffer: return "hipGraphicsGLRegisterBuffer";
594 case HIP_API_ID_hipGraphicsGLRegisterImage: return "hipGraphicsGLRegisterImage";
595 case HIP_API_ID_hipGraphicsMapResources: return "hipGraphicsMapResources";
596 case HIP_API_ID_hipGraphicsResourceGetMappedPointer: return "hipGraphicsResourceGetMappedPointer";
597 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray: return "hipGraphicsSubResourceGetMappedArray";
598 case HIP_API_ID_hipGraphicsUnmapResources: return "hipGraphicsUnmapResources";
599 case HIP_API_ID_hipGraphicsUnregisterResource: return "hipGraphicsUnregisterResource";
600 case HIP_API_ID_hipHccModuleLaunchKernel: return "hipHccModuleLaunchKernel";
601 case HIP_API_ID_hipHostAlloc: return "hipHostAlloc";
602 case HIP_API_ID_hipHostFree: return "hipHostFree";
603 case HIP_API_ID_hipHostGetDevicePointer: return "hipHostGetDevicePointer";
604 case HIP_API_ID_hipHostGetFlags: return "hipHostGetFlags";
605 case HIP_API_ID_hipHostMalloc: return "hipHostMalloc";
606 case HIP_API_ID_hipHostRegister: return "hipHostRegister";
607 case HIP_API_ID_hipHostUnregister: return "hipHostUnregister";
608 case HIP_API_ID_hipImportExternalMemory: return "hipImportExternalMemory";
609 case HIP_API_ID_hipImportExternalSemaphore: return "hipImportExternalSemaphore";
610 case HIP_API_ID_hipInit: return "hipInit";
611 case HIP_API_ID_hipIpcCloseMemHandle: return "hipIpcCloseMemHandle";
612 case HIP_API_ID_hipIpcGetEventHandle: return "hipIpcGetEventHandle";
613 case HIP_API_ID_hipIpcGetMemHandle: return "hipIpcGetMemHandle";
614 case HIP_API_ID_hipIpcOpenEventHandle: return "hipIpcOpenEventHandle";
615 case HIP_API_ID_hipIpcOpenMemHandle: return "hipIpcOpenMemHandle";
616 case HIP_API_ID_hipLaunchByPtr: return "hipLaunchByPtr";
617 case HIP_API_ID_hipLaunchCooperativeKernel: return "hipLaunchCooperativeKernel";
618 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice: return "hipLaunchCooperativeKernelMultiDevice";
619 case HIP_API_ID_hipLaunchHostFunc: return "hipLaunchHostFunc";
620 case HIP_API_ID_hipLaunchKernel: return "hipLaunchKernel";
621 case HIP_API_ID_hipMalloc: return "hipMalloc";
622 case HIP_API_ID_hipMalloc3D: return "hipMalloc3D";
623 case HIP_API_ID_hipMalloc3DArray: return "hipMalloc3DArray";
624 case HIP_API_ID_hipMallocArray: return "hipMallocArray";
625 case HIP_API_ID_hipMallocAsync: return "hipMallocAsync";
626 case HIP_API_ID_hipMallocFromPoolAsync: return "hipMallocFromPoolAsync";
627 case HIP_API_ID_hipMallocHost: return "hipMallocHost";
628 case HIP_API_ID_hipMallocManaged: return "hipMallocManaged";
629 case HIP_API_ID_hipMallocMipmappedArray: return "hipMallocMipmappedArray";
630 case HIP_API_ID_hipMallocPitch: return "hipMallocPitch";
631 case HIP_API_ID_hipMemAddressFree: return "hipMemAddressFree";
632 case HIP_API_ID_hipMemAddressReserve: return "hipMemAddressReserve";
633 case HIP_API_ID_hipMemAdvise: return "hipMemAdvise";
634 case HIP_API_ID_hipMemAllocHost: return "hipMemAllocHost";
635 case HIP_API_ID_hipMemAllocPitch: return "hipMemAllocPitch";
636 case HIP_API_ID_hipMemCreate: return "hipMemCreate";
637 case HIP_API_ID_hipMemExportToShareableHandle: return "hipMemExportToShareableHandle";
638 case HIP_API_ID_hipMemGetAccess: return "hipMemGetAccess";
639 case HIP_API_ID_hipMemGetAddressRange: return "hipMemGetAddressRange";
640 case HIP_API_ID_hipMemGetAllocationGranularity: return "hipMemGetAllocationGranularity";
641 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle: return "hipMemGetAllocationPropertiesFromHandle";
642 case HIP_API_ID_hipMemGetInfo: return "hipMemGetInfo";
643 case HIP_API_ID_hipMemImportFromShareableHandle: return "hipMemImportFromShareableHandle";
644 case HIP_API_ID_hipMemMap: return "hipMemMap";
645 case HIP_API_ID_hipMemMapArrayAsync: return "hipMemMapArrayAsync";
646 case HIP_API_ID_hipMemPoolCreate: return "hipMemPoolCreate";
647 case HIP_API_ID_hipMemPoolDestroy: return "hipMemPoolDestroy";
648 case HIP_API_ID_hipMemPoolExportPointer: return "hipMemPoolExportPointer";
649 case HIP_API_ID_hipMemPoolExportToShareableHandle: return "hipMemPoolExportToShareableHandle";
650 case HIP_API_ID_hipMemPoolGetAccess: return "hipMemPoolGetAccess";
651 case HIP_API_ID_hipMemPoolGetAttribute: return "hipMemPoolGetAttribute";
652 case HIP_API_ID_hipMemPoolImportFromShareableHandle: return "hipMemPoolImportFromShareableHandle";
653 case HIP_API_ID_hipMemPoolImportPointer: return "hipMemPoolImportPointer";
654 case HIP_API_ID_hipMemPoolSetAccess: return "hipMemPoolSetAccess";
655 case HIP_API_ID_hipMemPoolSetAttribute: return "hipMemPoolSetAttribute";
656 case HIP_API_ID_hipMemPoolTrimTo: return "hipMemPoolTrimTo";
657 case HIP_API_ID_hipMemPrefetchAsync: return "hipMemPrefetchAsync";
658 case HIP_API_ID_hipMemPtrGetInfo: return "hipMemPtrGetInfo";
659 case HIP_API_ID_hipMemRangeGetAttribute: return "hipMemRangeGetAttribute";
660 case HIP_API_ID_hipMemRangeGetAttributes: return "hipMemRangeGetAttributes";
661 case HIP_API_ID_hipMemRelease: return "hipMemRelease";
662 case HIP_API_ID_hipMemRetainAllocationHandle: return "hipMemRetainAllocationHandle";
663 case HIP_API_ID_hipMemSetAccess: return "hipMemSetAccess";
664 case HIP_API_ID_hipMemUnmap: return "hipMemUnmap";
665 case HIP_API_ID_hipMemcpy: return "hipMemcpy";
666 case HIP_API_ID_hipMemcpy2D: return "hipMemcpy2D";
667 case HIP_API_ID_hipMemcpy2DAsync: return "hipMemcpy2DAsync";
668 case HIP_API_ID_hipMemcpy2DFromArray: return "hipMemcpy2DFromArray";
669 case HIP_API_ID_hipMemcpy2DFromArrayAsync: return "hipMemcpy2DFromArrayAsync";
670 case HIP_API_ID_hipMemcpy2DToArray: return "hipMemcpy2DToArray";
671 case HIP_API_ID_hipMemcpy2DToArrayAsync: return "hipMemcpy2DToArrayAsync";
672 case HIP_API_ID_hipMemcpy3D: return "hipMemcpy3D";
673 case HIP_API_ID_hipMemcpy3DAsync: return "hipMemcpy3DAsync";
674 case HIP_API_ID_hipMemcpyAsync: return "hipMemcpyAsync";
675 case HIP_API_ID_hipMemcpyAtoH: return "hipMemcpyAtoH";
676 case HIP_API_ID_hipMemcpyDtoD: return "hipMemcpyDtoD";
677 case HIP_API_ID_hipMemcpyDtoDAsync: return "hipMemcpyDtoDAsync";
678 case HIP_API_ID_hipMemcpyDtoH: return "hipMemcpyDtoH";
679 case HIP_API_ID_hipMemcpyDtoHAsync: return "hipMemcpyDtoHAsync";
680 case HIP_API_ID_hipMemcpyFromArray: return "hipMemcpyFromArray";
681 case HIP_API_ID_hipMemcpyFromSymbol: return "hipMemcpyFromSymbol";
682 case HIP_API_ID_hipMemcpyFromSymbolAsync: return "hipMemcpyFromSymbolAsync";
683 case HIP_API_ID_hipMemcpyHtoA: return "hipMemcpyHtoA";
684 case HIP_API_ID_hipMemcpyHtoD: return "hipMemcpyHtoD";
685 case HIP_API_ID_hipMemcpyHtoDAsync: return "hipMemcpyHtoDAsync";
686 case HIP_API_ID_hipMemcpyParam2D: return "hipMemcpyParam2D";
687 case HIP_API_ID_hipMemcpyParam2DAsync: return "hipMemcpyParam2DAsync";
688 case HIP_API_ID_hipMemcpyPeer: return "hipMemcpyPeer";
689 case HIP_API_ID_hipMemcpyPeerAsync: return "hipMemcpyPeerAsync";
690 case HIP_API_ID_hipMemcpyToArray: return "hipMemcpyToArray";
691 case HIP_API_ID_hipMemcpyToSymbol: return "hipMemcpyToSymbol";
692 case HIP_API_ID_hipMemcpyToSymbolAsync: return "hipMemcpyToSymbolAsync";
693 case HIP_API_ID_hipMemcpyWithStream: return "hipMemcpyWithStream";
694 case HIP_API_ID_hipMemset: return "hipMemset";
695 case HIP_API_ID_hipMemset2D: return "hipMemset2D";
696 case HIP_API_ID_hipMemset2DAsync: return "hipMemset2DAsync";
697 case HIP_API_ID_hipMemset3D: return "hipMemset3D";
698 case HIP_API_ID_hipMemset3DAsync: return "hipMemset3DAsync";
699 case HIP_API_ID_hipMemsetAsync: return "hipMemsetAsync";
700 case HIP_API_ID_hipMemsetD16: return "hipMemsetD16";
701 case HIP_API_ID_hipMemsetD16Async: return "hipMemsetD16Async";
702 case HIP_API_ID_hipMemsetD32: return "hipMemsetD32";
703 case HIP_API_ID_hipMemsetD32Async: return "hipMemsetD32Async";
704 case HIP_API_ID_hipMemsetD8: return "hipMemsetD8";
705 case HIP_API_ID_hipMemsetD8Async: return "hipMemsetD8Async";
706 case HIP_API_ID_hipMipmappedArrayCreate: return "hipMipmappedArrayCreate";
707 case HIP_API_ID_hipMipmappedArrayDestroy: return "hipMipmappedArrayDestroy";
708 case HIP_API_ID_hipMipmappedArrayGetLevel: return "hipMipmappedArrayGetLevel";
709 case HIP_API_ID_hipModuleGetFunction: return "hipModuleGetFunction";
710 case HIP_API_ID_hipModuleGetGlobal: return "hipModuleGetGlobal";
711 case HIP_API_ID_hipModuleGetTexRef: return "hipModuleGetTexRef";
712 case HIP_API_ID_hipModuleLaunchCooperativeKernel: return "hipModuleLaunchCooperativeKernel";
713 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice: return "hipModuleLaunchCooperativeKernelMultiDevice";
714 case HIP_API_ID_hipModuleLaunchKernel: return "hipModuleLaunchKernel";
715 case HIP_API_ID_hipModuleLoad: return "hipModuleLoad";
716 case HIP_API_ID_hipModuleLoadData: return "hipModuleLoadData";
717 case HIP_API_ID_hipModuleLoadDataEx: return "hipModuleLoadDataEx";
718 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
719 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
720 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize: return "hipModuleOccupancyMaxPotentialBlockSize";
721 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags: return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
722 case HIP_API_ID_hipModuleUnload: return "hipModuleUnload";
723 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor: return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
724 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags: return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
725 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize: return "hipOccupancyMaxPotentialBlockSize";
726 case HIP_API_ID_hipPeekAtLastError: return "hipPeekAtLastError";
727 case HIP_API_ID_hipPointerGetAttribute: return "hipPointerGetAttribute";
728 case HIP_API_ID_hipPointerGetAttributes: return "hipPointerGetAttributes";
729 case HIP_API_ID_hipPointerSetAttribute: return "hipPointerSetAttribute";
730 case HIP_API_ID_hipProfilerStart: return "hipProfilerStart";
731 case HIP_API_ID_hipProfilerStop: return "hipProfilerStop";
732 case HIP_API_ID_hipRuntimeGetVersion: return "hipRuntimeGetVersion";
733 case HIP_API_ID_hipSetDevice: return "hipSetDevice";
734 case HIP_API_ID_hipSetDeviceFlags: return "hipSetDeviceFlags";
735 case HIP_API_ID_hipSetupArgument: return "hipSetupArgument";
736 case HIP_API_ID_hipSignalExternalSemaphoresAsync: return "hipSignalExternalSemaphoresAsync";
737 case HIP_API_ID_hipStreamAddCallback: return "hipStreamAddCallback";
738 case HIP_API_ID_hipStreamAttachMemAsync: return "hipStreamAttachMemAsync";
739 case HIP_API_ID_hipStreamBeginCapture: return "hipStreamBeginCapture";
740 case HIP_API_ID_hipStreamCreate: return "hipStreamCreate";
741 case HIP_API_ID_hipStreamCreateWithFlags: return "hipStreamCreateWithFlags";
742 case HIP_API_ID_hipStreamCreateWithPriority: return "hipStreamCreateWithPriority";
743 case HIP_API_ID_hipStreamDestroy: return "hipStreamDestroy";
744 case HIP_API_ID_hipStreamEndCapture: return "hipStreamEndCapture";
745 case HIP_API_ID_hipStreamGetCaptureInfo: return "hipStreamGetCaptureInfo";
746 case HIP_API_ID_hipStreamGetCaptureInfo_v2: return "hipStreamGetCaptureInfo_v2";
747 case HIP_API_ID_hipStreamGetDevice: return "hipStreamGetDevice";
748 case HIP_API_ID_hipStreamGetFlags: return "hipStreamGetFlags";
749 case HIP_API_ID_hipStreamGetPriority: return "hipStreamGetPriority";
750 case HIP_API_ID_hipStreamIsCapturing: return "hipStreamIsCapturing";
751 case HIP_API_ID_hipStreamQuery: return "hipStreamQuery";
752 case HIP_API_ID_hipStreamSynchronize: return "hipStreamSynchronize";
753 case HIP_API_ID_hipStreamUpdateCaptureDependencies: return "hipStreamUpdateCaptureDependencies";
754 case HIP_API_ID_hipStreamWaitEvent: return "hipStreamWaitEvent";
755 case HIP_API_ID_hipStreamWaitValue32: return "hipStreamWaitValue32";
756 case HIP_API_ID_hipStreamWaitValue64: return "hipStreamWaitValue64";
757 case HIP_API_ID_hipStreamWriteValue32: return "hipStreamWriteValue32";
758 case HIP_API_ID_hipStreamWriteValue64: return "hipStreamWriteValue64";
759 case HIP_API_ID_hipTexRefGetAddress: return "hipTexRefGetAddress";
760 case HIP_API_ID_hipTexRefGetFlags: return "hipTexRefGetFlags";
761 case HIP_API_ID_hipTexRefGetFormat: return "hipTexRefGetFormat";
762 case HIP_API_ID_hipTexRefGetMaxAnisotropy: return "hipTexRefGetMaxAnisotropy";
763 case HIP_API_ID_hipTexRefGetMipMappedArray: return "hipTexRefGetMipMappedArray";
764 case HIP_API_ID_hipTexRefGetMipmapLevelBias: return "hipTexRefGetMipmapLevelBias";
765 case HIP_API_ID_hipTexRefGetMipmapLevelClamp: return "hipTexRefGetMipmapLevelClamp";
766 case HIP_API_ID_hipTexRefSetAddress: return "hipTexRefSetAddress";
767 case HIP_API_ID_hipTexRefSetAddress2D: return "hipTexRefSetAddress2D";
768 case HIP_API_ID_hipTexRefSetArray: return "hipTexRefSetArray";
769 case HIP_API_ID_hipTexRefSetBorderColor: return "hipTexRefSetBorderColor";
770 case HIP_API_ID_hipTexRefSetFlags: return "hipTexRefSetFlags";
771 case HIP_API_ID_hipTexRefSetFormat: return "hipTexRefSetFormat";
772 case HIP_API_ID_hipTexRefSetMaxAnisotropy: return "hipTexRefSetMaxAnisotropy";
773 case HIP_API_ID_hipTexRefSetMipmapLevelBias: return "hipTexRefSetMipmapLevelBias";
774 case HIP_API_ID_hipTexRefSetMipmapLevelClamp: return "hipTexRefSetMipmapLevelClamp";
775 case HIP_API_ID_hipTexRefSetMipmappedArray: return "hipTexRefSetMipmappedArray";
776 case HIP_API_ID_hipThreadExchangeStreamCaptureMode: return "hipThreadExchangeStreamCaptureMode";
777 case HIP_API_ID_hipUserObjectCreate: return "hipUserObjectCreate";
778 case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
779 case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
780 case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
781 };
782 return "unknown";
783};
784
785#include <string.h>
786// Return the HIP API callback ID for a given name
787static inline uint32_t hipApiIdByName(const char* name) {
788 if (strcmp("__hipPopCallConfiguration", name) == 0) return HIP_API_ID___hipPopCallConfiguration;
789 if (strcmp("__hipPushCallConfiguration", name) == 0) return HIP_API_ID___hipPushCallConfiguration;
790 if (strcmp("hipArray3DCreate", name) == 0) return HIP_API_ID_hipArray3DCreate;
791 if (strcmp("hipArray3DGetDescriptor", name) == 0) return HIP_API_ID_hipArray3DGetDescriptor;
792 if (strcmp("hipArrayCreate", name) == 0) return HIP_API_ID_hipArrayCreate;
793 if (strcmp("hipArrayDestroy", name) == 0) return HIP_API_ID_hipArrayDestroy;
794 if (strcmp("hipArrayGetDescriptor", name) == 0) return HIP_API_ID_hipArrayGetDescriptor;
795 if (strcmp("hipArrayGetInfo", name) == 0) return HIP_API_ID_hipArrayGetInfo;
796 if (strcmp("hipChooseDevice", name) == 0) return HIP_API_ID_hipChooseDevice;
797 if (strcmp("hipConfigureCall", name) == 0) return HIP_API_ID_hipConfigureCall;
798 if (strcmp("hipCreateSurfaceObject", name) == 0) return HIP_API_ID_hipCreateSurfaceObject;
799 if (strcmp("hipCtxCreate", name) == 0) return HIP_API_ID_hipCtxCreate;
800 if (strcmp("hipCtxDestroy", name) == 0) return HIP_API_ID_hipCtxDestroy;
801 if (strcmp("hipCtxDisablePeerAccess", name) == 0) return HIP_API_ID_hipCtxDisablePeerAccess;
802 if (strcmp("hipCtxEnablePeerAccess", name) == 0) return HIP_API_ID_hipCtxEnablePeerAccess;
803 if (strcmp("hipCtxGetApiVersion", name) == 0) return HIP_API_ID_hipCtxGetApiVersion;
804 if (strcmp("hipCtxGetCacheConfig", name) == 0) return HIP_API_ID_hipCtxGetCacheConfig;
805 if (strcmp("hipCtxGetCurrent", name) == 0) return HIP_API_ID_hipCtxGetCurrent;
806 if (strcmp("hipCtxGetDevice", name) == 0) return HIP_API_ID_hipCtxGetDevice;
807 if (strcmp("hipCtxGetFlags", name) == 0) return HIP_API_ID_hipCtxGetFlags;
808 if (strcmp("hipCtxGetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxGetSharedMemConfig;
809 if (strcmp("hipCtxPopCurrent", name) == 0) return HIP_API_ID_hipCtxPopCurrent;
810 if (strcmp("hipCtxPushCurrent", name) == 0) return HIP_API_ID_hipCtxPushCurrent;
811 if (strcmp("hipCtxSetCacheConfig", name) == 0) return HIP_API_ID_hipCtxSetCacheConfig;
812 if (strcmp("hipCtxSetCurrent", name) == 0) return HIP_API_ID_hipCtxSetCurrent;
813 if (strcmp("hipCtxSetSharedMemConfig", name) == 0) return HIP_API_ID_hipCtxSetSharedMemConfig;
814 if (strcmp("hipCtxSynchronize", name) == 0) return HIP_API_ID_hipCtxSynchronize;
815 if (strcmp("hipDestroyExternalMemory", name) == 0) return HIP_API_ID_hipDestroyExternalMemory;
816 if (strcmp("hipDestroyExternalSemaphore", name) == 0) return HIP_API_ID_hipDestroyExternalSemaphore;
817 if (strcmp("hipDestroySurfaceObject", name) == 0) return HIP_API_ID_hipDestroySurfaceObject;
818 if (strcmp("hipDeviceCanAccessPeer", name) == 0) return HIP_API_ID_hipDeviceCanAccessPeer;
819 if (strcmp("hipDeviceComputeCapability", name) == 0) return HIP_API_ID_hipDeviceComputeCapability;
820 if (strcmp("hipDeviceDisablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceDisablePeerAccess;
821 if (strcmp("hipDeviceEnablePeerAccess", name) == 0) return HIP_API_ID_hipDeviceEnablePeerAccess;
822 if (strcmp("hipDeviceGet", name) == 0) return HIP_API_ID_hipDeviceGet;
823 if (strcmp("hipDeviceGetAttribute", name) == 0) return HIP_API_ID_hipDeviceGetAttribute;
824 if (strcmp("hipDeviceGetByPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetByPCIBusId;
825 if (strcmp("hipDeviceGetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceGetCacheConfig;
826 if (strcmp("hipDeviceGetDefaultMemPool", name) == 0) return HIP_API_ID_hipDeviceGetDefaultMemPool;
827 if (strcmp("hipDeviceGetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceGetGraphMemAttribute;
828 if (strcmp("hipDeviceGetLimit", name) == 0) return HIP_API_ID_hipDeviceGetLimit;
829 if (strcmp("hipDeviceGetMemPool", name) == 0) return HIP_API_ID_hipDeviceGetMemPool;
830 if (strcmp("hipDeviceGetName", name) == 0) return HIP_API_ID_hipDeviceGetName;
831 if (strcmp("hipDeviceGetP2PAttribute", name) == 0) return HIP_API_ID_hipDeviceGetP2PAttribute;
832 if (strcmp("hipDeviceGetPCIBusId", name) == 0) return HIP_API_ID_hipDeviceGetPCIBusId;
833 if (strcmp("hipDeviceGetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceGetSharedMemConfig;
834 if (strcmp("hipDeviceGetStreamPriorityRange", name) == 0) return HIP_API_ID_hipDeviceGetStreamPriorityRange;
835 if (strcmp("hipDeviceGetUuid", name) == 0) return HIP_API_ID_hipDeviceGetUuid;
836 if (strcmp("hipDeviceGraphMemTrim", name) == 0) return HIP_API_ID_hipDeviceGraphMemTrim;
837 if (strcmp("hipDevicePrimaryCtxGetState", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxGetState;
838 if (strcmp("hipDevicePrimaryCtxRelease", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRelease;
839 if (strcmp("hipDevicePrimaryCtxReset", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxReset;
840 if (strcmp("hipDevicePrimaryCtxRetain", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxRetain;
841 if (strcmp("hipDevicePrimaryCtxSetFlags", name) == 0) return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
842 if (strcmp("hipDeviceReset", name) == 0) return HIP_API_ID_hipDeviceReset;
843 if (strcmp("hipDeviceSetCacheConfig", name) == 0) return HIP_API_ID_hipDeviceSetCacheConfig;
844 if (strcmp("hipDeviceSetGraphMemAttribute", name) == 0) return HIP_API_ID_hipDeviceSetGraphMemAttribute;
845 if (strcmp("hipDeviceSetLimit", name) == 0) return HIP_API_ID_hipDeviceSetLimit;
846 if (strcmp("hipDeviceSetMemPool", name) == 0) return HIP_API_ID_hipDeviceSetMemPool;
847 if (strcmp("hipDeviceSetSharedMemConfig", name) == 0) return HIP_API_ID_hipDeviceSetSharedMemConfig;
848 if (strcmp("hipDeviceSynchronize", name) == 0) return HIP_API_ID_hipDeviceSynchronize;
849 if (strcmp("hipDeviceTotalMem", name) == 0) return HIP_API_ID_hipDeviceTotalMem;
850 if (strcmp("hipDriverGetVersion", name) == 0) return HIP_API_ID_hipDriverGetVersion;
851 if (strcmp("hipDrvMemcpy2DUnaligned", name) == 0) return HIP_API_ID_hipDrvMemcpy2DUnaligned;
852 if (strcmp("hipDrvMemcpy3D", name) == 0) return HIP_API_ID_hipDrvMemcpy3D;
853 if (strcmp("hipDrvMemcpy3DAsync", name) == 0) return HIP_API_ID_hipDrvMemcpy3DAsync;
854 if (strcmp("hipDrvPointerGetAttributes", name) == 0) return HIP_API_ID_hipDrvPointerGetAttributes;
855 if (strcmp("hipEventCreate", name) == 0) return HIP_API_ID_hipEventCreate;
856 if (strcmp("hipEventCreateWithFlags", name) == 0) return HIP_API_ID_hipEventCreateWithFlags;
857 if (strcmp("hipEventDestroy", name) == 0) return HIP_API_ID_hipEventDestroy;
858 if (strcmp("hipEventElapsedTime", name) == 0) return HIP_API_ID_hipEventElapsedTime;
859 if (strcmp("hipEventQuery", name) == 0) return HIP_API_ID_hipEventQuery;
860 if (strcmp("hipEventRecord", name) == 0) return HIP_API_ID_hipEventRecord;
861 if (strcmp("hipEventSynchronize", name) == 0) return HIP_API_ID_hipEventSynchronize;
862 if (strcmp("hipExtGetLinkTypeAndHopCount", name) == 0) return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
863 if (strcmp("hipExtLaunchKernel", name) == 0) return HIP_API_ID_hipExtLaunchKernel;
864 if (strcmp("hipExtLaunchMultiKernelMultiDevice", name) == 0) return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
865 if (strcmp("hipExtMallocWithFlags", name) == 0) return HIP_API_ID_hipExtMallocWithFlags;
866 if (strcmp("hipExtModuleLaunchKernel", name) == 0) return HIP_API_ID_hipExtModuleLaunchKernel;
867 if (strcmp("hipExtStreamCreateWithCUMask", name) == 0) return HIP_API_ID_hipExtStreamCreateWithCUMask;
868 if (strcmp("hipExtStreamGetCUMask", name) == 0) return HIP_API_ID_hipExtStreamGetCUMask;
869 if (strcmp("hipExternalMemoryGetMappedBuffer", name) == 0) return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
870 if (strcmp("hipFree", name) == 0) return HIP_API_ID_hipFree;
871 if (strcmp("hipFreeArray", name) == 0) return HIP_API_ID_hipFreeArray;
872 if (strcmp("hipFreeAsync", name) == 0) return HIP_API_ID_hipFreeAsync;
873 if (strcmp("hipFreeHost", name) == 0) return HIP_API_ID_hipFreeHost;
874 if (strcmp("hipFreeMipmappedArray", name) == 0) return HIP_API_ID_hipFreeMipmappedArray;
875 if (strcmp("hipFuncGetAttribute", name) == 0) return HIP_API_ID_hipFuncGetAttribute;
876 if (strcmp("hipFuncGetAttributes", name) == 0) return HIP_API_ID_hipFuncGetAttributes;
877 if (strcmp("hipFuncSetAttribute", name) == 0) return HIP_API_ID_hipFuncSetAttribute;
878 if (strcmp("hipFuncSetCacheConfig", name) == 0) return HIP_API_ID_hipFuncSetCacheConfig;
879 if (strcmp("hipFuncSetSharedMemConfig", name) == 0) return HIP_API_ID_hipFuncSetSharedMemConfig;
880 if (strcmp("hipGLGetDevices", name) == 0) return HIP_API_ID_hipGLGetDevices;
881 if (strcmp("hipGetChannelDesc", name) == 0) return HIP_API_ID_hipGetChannelDesc;
882 if (strcmp("hipGetDevice", name) == 0) return HIP_API_ID_hipGetDevice;
883 if (strcmp("hipGetDeviceCount", name) == 0) return HIP_API_ID_hipGetDeviceCount;
884 if (strcmp("hipGetDeviceFlags", name) == 0) return HIP_API_ID_hipGetDeviceFlags;
885 if (strcmp("hipGetDeviceProperties", name) == 0) return HIP_API_ID_hipGetDeviceProperties;
886 if (strcmp("hipGetErrorString", name) == 0) return HIP_API_ID_hipGetErrorString;
887 if (strcmp("hipGetLastError", name) == 0) return HIP_API_ID_hipGetLastError;
888 if (strcmp("hipGetMipmappedArrayLevel", name) == 0) return HIP_API_ID_hipGetMipmappedArrayLevel;
889 if (strcmp("hipGetSymbolAddress", name) == 0) return HIP_API_ID_hipGetSymbolAddress;
890 if (strcmp("hipGetSymbolSize", name) == 0) return HIP_API_ID_hipGetSymbolSize;
891 if (strcmp("hipGraphAddChildGraphNode", name) == 0) return HIP_API_ID_hipGraphAddChildGraphNode;
892 if (strcmp("hipGraphAddDependencies", name) == 0) return HIP_API_ID_hipGraphAddDependencies;
893 if (strcmp("hipGraphAddEmptyNode", name) == 0) return HIP_API_ID_hipGraphAddEmptyNode;
894 if (strcmp("hipGraphAddEventRecordNode", name) == 0) return HIP_API_ID_hipGraphAddEventRecordNode;
895 if (strcmp("hipGraphAddEventWaitNode", name) == 0) return HIP_API_ID_hipGraphAddEventWaitNode;
896 if (strcmp("hipGraphAddHostNode", name) == 0) return HIP_API_ID_hipGraphAddHostNode;
897 if (strcmp("hipGraphAddKernelNode", name) == 0) return HIP_API_ID_hipGraphAddKernelNode;
898 if (strcmp("hipGraphAddMemAllocNode", name) == 0) return HIP_API_ID_hipGraphAddMemAllocNode;
899 if (strcmp("hipGraphAddMemFreeNode", name) == 0) return HIP_API_ID_hipGraphAddMemFreeNode;
900 if (strcmp("hipGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode;
901 if (strcmp("hipGraphAddMemcpyNode1D", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNode1D;
902 if (strcmp("hipGraphAddMemcpyNodeFromSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
903 if (strcmp("hipGraphAddMemcpyNodeToSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
904 if (strcmp("hipGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipGraphAddMemsetNode;
905 if (strcmp("hipGraphChildGraphNodeGetGraph", name) == 0) return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
906 if (strcmp("hipGraphClone", name) == 0) return HIP_API_ID_hipGraphClone;
907 if (strcmp("hipGraphCreate", name) == 0) return HIP_API_ID_hipGraphCreate;
908 if (strcmp("hipGraphDebugDotPrint", name) == 0) return HIP_API_ID_hipGraphDebugDotPrint;
909 if (strcmp("hipGraphDestroy", name) == 0) return HIP_API_ID_hipGraphDestroy;
910 if (strcmp("hipGraphDestroyNode", name) == 0) return HIP_API_ID_hipGraphDestroyNode;
911 if (strcmp("hipGraphEventRecordNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
912 if (strcmp("hipGraphEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
913 if (strcmp("hipGraphEventWaitNodeGetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
914 if (strcmp("hipGraphEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
915 if (strcmp("hipGraphExecChildGraphNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
916 if (strcmp("hipGraphExecDestroy", name) == 0) return HIP_API_ID_hipGraphExecDestroy;
917 if (strcmp("hipGraphExecEventRecordNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
918 if (strcmp("hipGraphExecEventWaitNodeSetEvent", name) == 0) return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
919 if (strcmp("hipGraphExecHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecHostNodeSetParams;
920 if (strcmp("hipGraphExecKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecKernelNodeSetParams;
921 if (strcmp("hipGraphExecMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
922 if (strcmp("hipGraphExecMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
923 if (strcmp("hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
924 if (strcmp("hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
925 if (strcmp("hipGraphExecMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
926 if (strcmp("hipGraphExecUpdate", name) == 0) return HIP_API_ID_hipGraphExecUpdate;
927 if (strcmp("hipGraphGetEdges", name) == 0) return HIP_API_ID_hipGraphGetEdges;
928 if (strcmp("hipGraphGetNodes", name) == 0) return HIP_API_ID_hipGraphGetNodes;
929 if (strcmp("hipGraphGetRootNodes", name) == 0) return HIP_API_ID_hipGraphGetRootNodes;
930 if (strcmp("hipGraphHostNodeGetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeGetParams;
931 if (strcmp("hipGraphHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeSetParams;
932 if (strcmp("hipGraphInstantiate", name) == 0) return HIP_API_ID_hipGraphInstantiate;
933 if (strcmp("hipGraphInstantiateWithFlags", name) == 0) return HIP_API_ID_hipGraphInstantiateWithFlags;
934 if (strcmp("hipGraphKernelNodeCopyAttributes", name) == 0) return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
935 if (strcmp("hipGraphKernelNodeGetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetAttribute;
936 if (strcmp("hipGraphKernelNodeGetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetParams;
937 if (strcmp("hipGraphKernelNodeSetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetAttribute;
938 if (strcmp("hipGraphKernelNodeSetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeSetParams;
939 if (strcmp("hipGraphLaunch", name) == 0) return HIP_API_ID_hipGraphLaunch;
940 if (strcmp("hipGraphMemAllocNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemAllocNodeGetParams;
941 if (strcmp("hipGraphMemFreeNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemFreeNodeGetParams;
942 if (strcmp("hipGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeGetParams;
943 if (strcmp("hipGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams;
944 if (strcmp("hipGraphMemcpyNodeSetParams1D", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
945 if (strcmp("hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
946 if (strcmp("hipGraphMemcpyNodeSetParamsToSymbol", name) == 0) return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
947 if (strcmp("hipGraphMemsetNodeGetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeGetParams;
948 if (strcmp("hipGraphMemsetNodeSetParams", name) == 0) return HIP_API_ID_hipGraphMemsetNodeSetParams;
949 if (strcmp("hipGraphNodeFindInClone", name) == 0) return HIP_API_ID_hipGraphNodeFindInClone;
950 if (strcmp("hipGraphNodeGetDependencies", name) == 0) return HIP_API_ID_hipGraphNodeGetDependencies;
951 if (strcmp("hipGraphNodeGetDependentNodes", name) == 0) return HIP_API_ID_hipGraphNodeGetDependentNodes;
952 if (strcmp("hipGraphNodeGetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeGetEnabled;
953 if (strcmp("hipGraphNodeGetType", name) == 0) return HIP_API_ID_hipGraphNodeGetType;
954 if (strcmp("hipGraphNodeSetEnabled", name) == 0) return HIP_API_ID_hipGraphNodeSetEnabled;
955 if (strcmp("hipGraphReleaseUserObject", name) == 0) return HIP_API_ID_hipGraphReleaseUserObject;
956 if (strcmp("hipGraphRemoveDependencies", name) == 0) return HIP_API_ID_hipGraphRemoveDependencies;
957 if (strcmp("hipGraphRetainUserObject", name) == 0) return HIP_API_ID_hipGraphRetainUserObject;
958 if (strcmp("hipGraphUpload", name) == 0) return HIP_API_ID_hipGraphUpload;
959 if (strcmp("hipGraphicsGLRegisterBuffer", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterBuffer;
960 if (strcmp("hipGraphicsGLRegisterImage", name) == 0) return HIP_API_ID_hipGraphicsGLRegisterImage;
961 if (strcmp("hipGraphicsMapResources", name) == 0) return HIP_API_ID_hipGraphicsMapResources;
962 if (strcmp("hipGraphicsResourceGetMappedPointer", name) == 0) return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
963 if (strcmp("hipGraphicsSubResourceGetMappedArray", name) == 0) return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
964 if (strcmp("hipGraphicsUnmapResources", name) == 0) return HIP_API_ID_hipGraphicsUnmapResources;
965 if (strcmp("hipGraphicsUnregisterResource", name) == 0) return HIP_API_ID_hipGraphicsUnregisterResource;
966 if (strcmp("hipHccModuleLaunchKernel", name) == 0) return HIP_API_ID_hipHccModuleLaunchKernel;
967 if (strcmp("hipHostAlloc", name) == 0) return HIP_API_ID_hipHostAlloc;
968 if (strcmp("hipHostFree", name) == 0) return HIP_API_ID_hipHostFree;
969 if (strcmp("hipHostGetDevicePointer", name) == 0) return HIP_API_ID_hipHostGetDevicePointer;
970 if (strcmp("hipHostGetFlags", name) == 0) return HIP_API_ID_hipHostGetFlags;
971 if (strcmp("hipHostMalloc", name) == 0) return HIP_API_ID_hipHostMalloc;
972 if (strcmp("hipHostRegister", name) == 0) return HIP_API_ID_hipHostRegister;
973 if (strcmp("hipHostUnregister", name) == 0) return HIP_API_ID_hipHostUnregister;
974 if (strcmp("hipImportExternalMemory", name) == 0) return HIP_API_ID_hipImportExternalMemory;
975 if (strcmp("hipImportExternalSemaphore", name) == 0) return HIP_API_ID_hipImportExternalSemaphore;
976 if (strcmp("hipInit", name) == 0) return HIP_API_ID_hipInit;
977 if (strcmp("hipIpcCloseMemHandle", name) == 0) return HIP_API_ID_hipIpcCloseMemHandle;
978 if (strcmp("hipIpcGetEventHandle", name) == 0) return HIP_API_ID_hipIpcGetEventHandle;
979 if (strcmp("hipIpcGetMemHandle", name) == 0) return HIP_API_ID_hipIpcGetMemHandle;
980 if (strcmp("hipIpcOpenEventHandle", name) == 0) return HIP_API_ID_hipIpcOpenEventHandle;
981 if (strcmp("hipIpcOpenMemHandle", name) == 0) return HIP_API_ID_hipIpcOpenMemHandle;
982 if (strcmp("hipLaunchByPtr", name) == 0) return HIP_API_ID_hipLaunchByPtr;
983 if (strcmp("hipLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernel;
984 if (strcmp("hipLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
985 if (strcmp("hipLaunchHostFunc", name) == 0) return HIP_API_ID_hipLaunchHostFunc;
986 if (strcmp("hipLaunchKernel", name) == 0) return HIP_API_ID_hipLaunchKernel;
987 if (strcmp("hipMalloc", name) == 0) return HIP_API_ID_hipMalloc;
988 if (strcmp("hipMalloc3D", name) == 0) return HIP_API_ID_hipMalloc3D;
989 if (strcmp("hipMalloc3DArray", name) == 0) return HIP_API_ID_hipMalloc3DArray;
990 if (strcmp("hipMallocArray", name) == 0) return HIP_API_ID_hipMallocArray;
991 if (strcmp("hipMallocAsync", name) == 0) return HIP_API_ID_hipMallocAsync;
992 if (strcmp("hipMallocFromPoolAsync", name) == 0) return HIP_API_ID_hipMallocFromPoolAsync;
993 if (strcmp("hipMallocHost", name) == 0) return HIP_API_ID_hipMallocHost;
994 if (strcmp("hipMallocManaged", name) == 0) return HIP_API_ID_hipMallocManaged;
995 if (strcmp("hipMallocMipmappedArray", name) == 0) return HIP_API_ID_hipMallocMipmappedArray;
996 if (strcmp("hipMallocPitch", name) == 0) return HIP_API_ID_hipMallocPitch;
997 if (strcmp("hipMemAddressFree", name) == 0) return HIP_API_ID_hipMemAddressFree;
998 if (strcmp("hipMemAddressReserve", name) == 0) return HIP_API_ID_hipMemAddressReserve;
999 if (strcmp("hipMemAdvise", name) == 0) return HIP_API_ID_hipMemAdvise;
1000 if (strcmp("hipMemAllocHost", name) == 0) return HIP_API_ID_hipMemAllocHost;
1001 if (strcmp("hipMemAllocPitch", name) == 0) return HIP_API_ID_hipMemAllocPitch;
1002 if (strcmp("hipMemCreate", name) == 0) return HIP_API_ID_hipMemCreate;
1003 if (strcmp("hipMemExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemExportToShareableHandle;
1004 if (strcmp("hipMemGetAccess", name) == 0) return HIP_API_ID_hipMemGetAccess;
1005 if (strcmp("hipMemGetAddressRange", name) == 0) return HIP_API_ID_hipMemGetAddressRange;
1006 if (strcmp("hipMemGetAllocationGranularity", name) == 0) return HIP_API_ID_hipMemGetAllocationGranularity;
1007 if (strcmp("hipMemGetAllocationPropertiesFromHandle", name) == 0) return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1008 if (strcmp("hipMemGetInfo", name) == 0) return HIP_API_ID_hipMemGetInfo;
1009 if (strcmp("hipMemImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemImportFromShareableHandle;
1010 if (strcmp("hipMemMap", name) == 0) return HIP_API_ID_hipMemMap;
1011 if (strcmp("hipMemMapArrayAsync", name) == 0) return HIP_API_ID_hipMemMapArrayAsync;
1012 if (strcmp("hipMemPoolCreate", name) == 0) return HIP_API_ID_hipMemPoolCreate;
1013 if (strcmp("hipMemPoolDestroy", name) == 0) return HIP_API_ID_hipMemPoolDestroy;
1014 if (strcmp("hipMemPoolExportPointer", name) == 0) return HIP_API_ID_hipMemPoolExportPointer;
1015 if (strcmp("hipMemPoolExportToShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolExportToShareableHandle;
1016 if (strcmp("hipMemPoolGetAccess", name) == 0) return HIP_API_ID_hipMemPoolGetAccess;
1017 if (strcmp("hipMemPoolGetAttribute", name) == 0) return HIP_API_ID_hipMemPoolGetAttribute;
1018 if (strcmp("hipMemPoolImportFromShareableHandle", name) == 0) return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1019 if (strcmp("hipMemPoolImportPointer", name) == 0) return HIP_API_ID_hipMemPoolImportPointer;
1020 if (strcmp("hipMemPoolSetAccess", name) == 0) return HIP_API_ID_hipMemPoolSetAccess;
1021 if (strcmp("hipMemPoolSetAttribute", name) == 0) return HIP_API_ID_hipMemPoolSetAttribute;
1022 if (strcmp("hipMemPoolTrimTo", name) == 0) return HIP_API_ID_hipMemPoolTrimTo;
1023 if (strcmp("hipMemPrefetchAsync", name) == 0) return HIP_API_ID_hipMemPrefetchAsync;
1024 if (strcmp("hipMemPtrGetInfo", name) == 0) return HIP_API_ID_hipMemPtrGetInfo;
1025 if (strcmp("hipMemRangeGetAttribute", name) == 0) return HIP_API_ID_hipMemRangeGetAttribute;
1026 if (strcmp("hipMemRangeGetAttributes", name) == 0) return HIP_API_ID_hipMemRangeGetAttributes;
1027 if (strcmp("hipMemRelease", name) == 0) return HIP_API_ID_hipMemRelease;
1028 if (strcmp("hipMemRetainAllocationHandle", name) == 0) return HIP_API_ID_hipMemRetainAllocationHandle;
1029 if (strcmp("hipMemSetAccess", name) == 0) return HIP_API_ID_hipMemSetAccess;
1030 if (strcmp("hipMemUnmap", name) == 0) return HIP_API_ID_hipMemUnmap;
1031 if (strcmp("hipMemcpy", name) == 0) return HIP_API_ID_hipMemcpy;
1032 if (strcmp("hipMemcpy2D", name) == 0) return HIP_API_ID_hipMemcpy2D;
1033 if (strcmp("hipMemcpy2DAsync", name) == 0) return HIP_API_ID_hipMemcpy2DAsync;
1034 if (strcmp("hipMemcpy2DFromArray", name) == 0) return HIP_API_ID_hipMemcpy2DFromArray;
1035 if (strcmp("hipMemcpy2DFromArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1036 if (strcmp("hipMemcpy2DToArray", name) == 0) return HIP_API_ID_hipMemcpy2DToArray;
1037 if (strcmp("hipMemcpy2DToArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DToArrayAsync;
1038 if (strcmp("hipMemcpy3D", name) == 0) return HIP_API_ID_hipMemcpy3D;
1039 if (strcmp("hipMemcpy3DAsync", name) == 0) return HIP_API_ID_hipMemcpy3DAsync;
1040 if (strcmp("hipMemcpyAsync", name) == 0) return HIP_API_ID_hipMemcpyAsync;
1041 if (strcmp("hipMemcpyAtoH", name) == 0) return HIP_API_ID_hipMemcpyAtoH;
1042 if (strcmp("hipMemcpyDtoD", name) == 0) return HIP_API_ID_hipMemcpyDtoD;
1043 if (strcmp("hipMemcpyDtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoDAsync;
1044 if (strcmp("hipMemcpyDtoH", name) == 0) return HIP_API_ID_hipMemcpyDtoH;
1045 if (strcmp("hipMemcpyDtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoHAsync;
1046 if (strcmp("hipMemcpyFromArray", name) == 0) return HIP_API_ID_hipMemcpyFromArray;
1047 if (strcmp("hipMemcpyFromSymbol", name) == 0) return HIP_API_ID_hipMemcpyFromSymbol;
1048 if (strcmp("hipMemcpyFromSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyFromSymbolAsync;
1049 if (strcmp("hipMemcpyHtoA", name) == 0) return HIP_API_ID_hipMemcpyHtoA;
1050 if (strcmp("hipMemcpyHtoD", name) == 0) return HIP_API_ID_hipMemcpyHtoD;
1051 if (strcmp("hipMemcpyHtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoDAsync;
1052 if (strcmp("hipMemcpyParam2D", name) == 0) return HIP_API_ID_hipMemcpyParam2D;
1053 if (strcmp("hipMemcpyParam2DAsync", name) == 0) return HIP_API_ID_hipMemcpyParam2DAsync;
1054 if (strcmp("hipMemcpyPeer", name) == 0) return HIP_API_ID_hipMemcpyPeer;
1055 if (strcmp("hipMemcpyPeerAsync", name) == 0) return HIP_API_ID_hipMemcpyPeerAsync;
1056 if (strcmp("hipMemcpyToArray", name) == 0) return HIP_API_ID_hipMemcpyToArray;
1057 if (strcmp("hipMemcpyToSymbol", name) == 0) return HIP_API_ID_hipMemcpyToSymbol;
1058 if (strcmp("hipMemcpyToSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyToSymbolAsync;
1059 if (strcmp("hipMemcpyWithStream", name) == 0) return HIP_API_ID_hipMemcpyWithStream;
1060 if (strcmp("hipMemset", name) == 0) return HIP_API_ID_hipMemset;
1061 if (strcmp("hipMemset2D", name) == 0) return HIP_API_ID_hipMemset2D;
1062 if (strcmp("hipMemset2DAsync", name) == 0) return HIP_API_ID_hipMemset2DAsync;
1063 if (strcmp("hipMemset3D", name) == 0) return HIP_API_ID_hipMemset3D;
1064 if (strcmp("hipMemset3DAsync", name) == 0) return HIP_API_ID_hipMemset3DAsync;
1065 if (strcmp("hipMemsetAsync", name) == 0) return HIP_API_ID_hipMemsetAsync;
1066 if (strcmp("hipMemsetD16", name) == 0) return HIP_API_ID_hipMemsetD16;
1067 if (strcmp("hipMemsetD16Async", name) == 0) return HIP_API_ID_hipMemsetD16Async;
1068 if (strcmp("hipMemsetD32", name) == 0) return HIP_API_ID_hipMemsetD32;
1069 if (strcmp("hipMemsetD32Async", name) == 0) return HIP_API_ID_hipMemsetD32Async;
1070 if (strcmp("hipMemsetD8", name) == 0) return HIP_API_ID_hipMemsetD8;
1071 if (strcmp("hipMemsetD8Async", name) == 0) return HIP_API_ID_hipMemsetD8Async;
1072 if (strcmp("hipMipmappedArrayCreate", name) == 0) return HIP_API_ID_hipMipmappedArrayCreate;
1073 if (strcmp("hipMipmappedArrayDestroy", name) == 0) return HIP_API_ID_hipMipmappedArrayDestroy;
1074 if (strcmp("hipMipmappedArrayGetLevel", name) == 0) return HIP_API_ID_hipMipmappedArrayGetLevel;
1075 if (strcmp("hipModuleGetFunction", name) == 0) return HIP_API_ID_hipModuleGetFunction;
1076 if (strcmp("hipModuleGetGlobal", name) == 0) return HIP_API_ID_hipModuleGetGlobal;
1077 if (strcmp("hipModuleGetTexRef", name) == 0) return HIP_API_ID_hipModuleGetTexRef;
1078 if (strcmp("hipModuleLaunchCooperativeKernel", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1079 if (strcmp("hipModuleLaunchCooperativeKernelMultiDevice", name) == 0) return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1080 if (strcmp("hipModuleLaunchKernel", name) == 0) return HIP_API_ID_hipModuleLaunchKernel;
1081 if (strcmp("hipModuleLoad", name) == 0) return HIP_API_ID_hipModuleLoad;
1082 if (strcmp("hipModuleLoadData", name) == 0) return HIP_API_ID_hipModuleLoadData;
1083 if (strcmp("hipModuleLoadDataEx", name) == 0) return HIP_API_ID_hipModuleLoadDataEx;
1084 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1085 if (strcmp("hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1086 if (strcmp("hipModuleOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1087 if (strcmp("hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0) return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1088 if (strcmp("hipModuleUnload", name) == 0) return HIP_API_ID_hipModuleUnload;
1089 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1090 if (strcmp("hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0) return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1091 if (strcmp("hipOccupancyMaxPotentialBlockSize", name) == 0) return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1092 if (strcmp("hipPeekAtLastError", name) == 0) return HIP_API_ID_hipPeekAtLastError;
1093 if (strcmp("hipPointerGetAttribute", name) == 0) return HIP_API_ID_hipPointerGetAttribute;
1094 if (strcmp("hipPointerGetAttributes", name) == 0) return HIP_API_ID_hipPointerGetAttributes;
1095 if (strcmp("hipPointerSetAttribute", name) == 0) return HIP_API_ID_hipPointerSetAttribute;
1096 if (strcmp("hipProfilerStart", name) == 0) return HIP_API_ID_hipProfilerStart;
1097 if (strcmp("hipProfilerStop", name) == 0) return HIP_API_ID_hipProfilerStop;
1098 if (strcmp("hipRuntimeGetVersion", name) == 0) return HIP_API_ID_hipRuntimeGetVersion;
1099 if (strcmp("hipSetDevice", name) == 0) return HIP_API_ID_hipSetDevice;
1100 if (strcmp("hipSetDeviceFlags", name) == 0) return HIP_API_ID_hipSetDeviceFlags;
1101 if (strcmp("hipSetupArgument", name) == 0) return HIP_API_ID_hipSetupArgument;
1102 if (strcmp("hipSignalExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1103 if (strcmp("hipStreamAddCallback", name) == 0) return HIP_API_ID_hipStreamAddCallback;
1104 if (strcmp("hipStreamAttachMemAsync", name) == 0) return HIP_API_ID_hipStreamAttachMemAsync;
1105 if (strcmp("hipStreamBeginCapture", name) == 0) return HIP_API_ID_hipStreamBeginCapture;
1106 if (strcmp("hipStreamCreate", name) == 0) return HIP_API_ID_hipStreamCreate;
1107 if (strcmp("hipStreamCreateWithFlags", name) == 0) return HIP_API_ID_hipStreamCreateWithFlags;
1108 if (strcmp("hipStreamCreateWithPriority", name) == 0) return HIP_API_ID_hipStreamCreateWithPriority;
1109 if (strcmp("hipStreamDestroy", name) == 0) return HIP_API_ID_hipStreamDestroy;
1110 if (strcmp("hipStreamEndCapture", name) == 0) return HIP_API_ID_hipStreamEndCapture;
1111 if (strcmp("hipStreamGetCaptureInfo", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo;
1112 if (strcmp("hipStreamGetCaptureInfo_v2", name) == 0) return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1113 if (strcmp("hipStreamGetDevice", name) == 0) return HIP_API_ID_hipStreamGetDevice;
1114 if (strcmp("hipStreamGetFlags", name) == 0) return HIP_API_ID_hipStreamGetFlags;
1115 if (strcmp("hipStreamGetPriority", name) == 0) return HIP_API_ID_hipStreamGetPriority;
1116 if (strcmp("hipStreamIsCapturing", name) == 0) return HIP_API_ID_hipStreamIsCapturing;
1117 if (strcmp("hipStreamQuery", name) == 0) return HIP_API_ID_hipStreamQuery;
1118 if (strcmp("hipStreamSynchronize", name) == 0) return HIP_API_ID_hipStreamSynchronize;
1119 if (strcmp("hipStreamUpdateCaptureDependencies", name) == 0) return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1120 if (strcmp("hipStreamWaitEvent", name) == 0) return HIP_API_ID_hipStreamWaitEvent;
1121 if (strcmp("hipStreamWaitValue32", name) == 0) return HIP_API_ID_hipStreamWaitValue32;
1122 if (strcmp("hipStreamWaitValue64", name) == 0) return HIP_API_ID_hipStreamWaitValue64;
1123 if (strcmp("hipStreamWriteValue32", name) == 0) return HIP_API_ID_hipStreamWriteValue32;
1124 if (strcmp("hipStreamWriteValue64", name) == 0) return HIP_API_ID_hipStreamWriteValue64;
1125 if (strcmp("hipTexRefGetAddress", name) == 0) return HIP_API_ID_hipTexRefGetAddress;
1126 if (strcmp("hipTexRefGetFlags", name) == 0) return HIP_API_ID_hipTexRefGetFlags;
1127 if (strcmp("hipTexRefGetFormat", name) == 0) return HIP_API_ID_hipTexRefGetFormat;
1128 if (strcmp("hipTexRefGetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1129 if (strcmp("hipTexRefGetMipMappedArray", name) == 0) return HIP_API_ID_hipTexRefGetMipMappedArray;
1130 if (strcmp("hipTexRefGetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1131 if (strcmp("hipTexRefGetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1132 if (strcmp("hipTexRefSetAddress", name) == 0) return HIP_API_ID_hipTexRefSetAddress;
1133 if (strcmp("hipTexRefSetAddress2D", name) == 0) return HIP_API_ID_hipTexRefSetAddress2D;
1134 if (strcmp("hipTexRefSetArray", name) == 0) return HIP_API_ID_hipTexRefSetArray;
1135 if (strcmp("hipTexRefSetBorderColor", name) == 0) return HIP_API_ID_hipTexRefSetBorderColor;
1136 if (strcmp("hipTexRefSetFlags", name) == 0) return HIP_API_ID_hipTexRefSetFlags;
1137 if (strcmp("hipTexRefSetFormat", name) == 0) return HIP_API_ID_hipTexRefSetFormat;
1138 if (strcmp("hipTexRefSetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1139 if (strcmp("hipTexRefSetMipmapLevelBias", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1140 if (strcmp("hipTexRefSetMipmapLevelClamp", name) == 0) return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1141 if (strcmp("hipTexRefSetMipmappedArray", name) == 0) return HIP_API_ID_hipTexRefSetMipmappedArray;
1142 if (strcmp("hipThreadExchangeStreamCaptureMode", name) == 0) return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1143 if (strcmp("hipUserObjectCreate", name) == 0) return HIP_API_ID_hipUserObjectCreate;
1144 if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
1145 if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
1146 if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1147 return HIP_API_ID_NONE;
1148}
1149
1150// HIP API callbacks data structures
1151typedef struct hip_api_data_s {
1152 uint64_t correlation_id;
1153 uint32_t phase;
1154 union {
1155 struct {
1156 dim3* gridDim;
1157 dim3 gridDim__val;
1158 dim3* blockDim;
1159 dim3 blockDim__val;
1160 size_t* sharedMem;
1161 size_t sharedMem__val;
1162 hipStream_t* stream;
1163 hipStream_t stream__val;
1164 } __hipPopCallConfiguration;
1165 struct {
1166 dim3 gridDim;
1167 dim3 blockDim;
1168 size_t sharedMem;
1169 hipStream_t stream;
1170 } __hipPushCallConfiguration;
1171 struct {
1172 hipArray** array;
1173 hipArray* array__val;
1174 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1175 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1176 } hipArray3DCreate;
1177 struct {
1178 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1179 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1180 hipArray* array;
1181 hipArray array__val;
1182 } hipArray3DGetDescriptor;
1183 struct {
1184 hipArray** pHandle;
1185 hipArray* pHandle__val;
1186 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1187 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1188 } hipArrayCreate;
1189 struct {
1190 hipArray* array;
1191 hipArray array__val;
1192 } hipArrayDestroy;
1193 struct {
1194 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1195 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1196 hipArray* array;
1197 hipArray array__val;
1198 } hipArrayGetDescriptor;
1199 struct {
1200 hipChannelFormatDesc* desc;
1201 hipChannelFormatDesc desc__val;
1202 hipExtent* extent;
1203 hipExtent extent__val;
1204 unsigned int* flags;
1205 unsigned int flags__val;
1206 hipArray* array;
1207 hipArray array__val;
1208 } hipArrayGetInfo;
1209 struct {
1210 int* device;
1211 int device__val;
1212 const hipDeviceProp_t* prop;
1213 hipDeviceProp_t prop__val;
1214 } hipChooseDevice;
1215 struct {
1216 dim3 gridDim;
1217 dim3 blockDim;
1218 size_t sharedMem;
1219 hipStream_t stream;
1220 } hipConfigureCall;
1221 struct {
1222 hipSurfaceObject_t* pSurfObject;
1223 hipSurfaceObject_t pSurfObject__val;
1224 const hipResourceDesc* pResDesc;
1225 hipResourceDesc pResDesc__val;
1226 } hipCreateSurfaceObject;
1227 struct {
1228 hipCtx_t* ctx;
1229 hipCtx_t ctx__val;
1230 unsigned int flags;
1231 hipDevice_t device;
1232 } hipCtxCreate;
1233 struct {
1234 hipCtx_t ctx;
1235 } hipCtxDestroy;
1236 struct {
1237 hipCtx_t peerCtx;
1238 } hipCtxDisablePeerAccess;
1239 struct {
1240 hipCtx_t peerCtx;
1241 unsigned int flags;
1242 } hipCtxEnablePeerAccess;
1243 struct {
1244 hipCtx_t ctx;
1245 int* apiVersion;
1246 int apiVersion__val;
1247 } hipCtxGetApiVersion;
1248 struct {
1249 hipFuncCache_t* cacheConfig;
1250 hipFuncCache_t cacheConfig__val;
1251 } hipCtxGetCacheConfig;
1252 struct {
1253 hipCtx_t* ctx;
1254 hipCtx_t ctx__val;
1255 } hipCtxGetCurrent;
1256 struct {
1257 hipDevice_t* device;
1258 hipDevice_t device__val;
1259 } hipCtxGetDevice;
1260 struct {
1261 unsigned int* flags;
1262 unsigned int flags__val;
1263 } hipCtxGetFlags;
1264 struct {
1265 hipSharedMemConfig* pConfig;
1266 hipSharedMemConfig pConfig__val;
1267 } hipCtxGetSharedMemConfig;
1268 struct {
1269 hipCtx_t* ctx;
1270 hipCtx_t ctx__val;
1271 } hipCtxPopCurrent;
1272 struct {
1273 hipCtx_t ctx;
1274 } hipCtxPushCurrent;
1275 struct {
1276 hipFuncCache_t cacheConfig;
1277 } hipCtxSetCacheConfig;
1278 struct {
1279 hipCtx_t ctx;
1280 } hipCtxSetCurrent;
1281 struct {
1282 hipSharedMemConfig config;
1283 } hipCtxSetSharedMemConfig;
1284 struct {
1285 hipExternalMemory_t extMem;
1286 } hipDestroyExternalMemory;
1287 struct {
1288 hipExternalSemaphore_t extSem;
1289 } hipDestroyExternalSemaphore;
1290 struct {
1291 hipSurfaceObject_t surfaceObject;
1292 } hipDestroySurfaceObject;
1293 struct {
1294 int* canAccessPeer;
1295 int canAccessPeer__val;
1296 int deviceId;
1297 int peerDeviceId;
1298 } hipDeviceCanAccessPeer;
1299 struct {
1300 int* major;
1301 int major__val;
1302 int* minor;
1303 int minor__val;
1304 hipDevice_t device;
1305 } hipDeviceComputeCapability;
1306 struct {
1307 int peerDeviceId;
1308 } hipDeviceDisablePeerAccess;
1309 struct {
1310 int peerDeviceId;
1311 unsigned int flags;
1312 } hipDeviceEnablePeerAccess;
1313 struct {
1314 hipDevice_t* device;
1315 hipDevice_t device__val;
1316 int ordinal;
1317 } hipDeviceGet;
1318 struct {
1319 int* pi;
1320 int pi__val;
1321 hipDeviceAttribute_t attr;
1322 int deviceId;
1323 } hipDeviceGetAttribute;
1324 struct {
1325 int* device;
1326 int device__val;
1327 const char* pciBusId;
1328 char pciBusId__val;
1329 } hipDeviceGetByPCIBusId;
1330 struct {
1331 hipFuncCache_t* cacheConfig;
1332 hipFuncCache_t cacheConfig__val;
1333 } hipDeviceGetCacheConfig;
1334 struct {
1335 hipMemPool_t* mem_pool;
1336 hipMemPool_t mem_pool__val;
1337 int device;
1338 } hipDeviceGetDefaultMemPool;
1339 struct {
1340 int device;
1341 hipGraphMemAttributeType attr;
1342 void* value;
1343 } hipDeviceGetGraphMemAttribute;
1344 struct {
1345 size_t* pValue;
1346 size_t pValue__val;
1347 enum hipLimit_t limit;
1348 } hipDeviceGetLimit;
1349 struct {
1350 hipMemPool_t* mem_pool;
1351 hipMemPool_t mem_pool__val;
1352 int device;
1353 } hipDeviceGetMemPool;
1354 struct {
1355 char* name;
1356 char name__val;
1357 int len;
1358 hipDevice_t device;
1359 } hipDeviceGetName;
1360 struct {
1361 int* value;
1362 int value__val;
1363 hipDeviceP2PAttr attr;
1364 int srcDevice;
1365 int dstDevice;
1366 } hipDeviceGetP2PAttribute;
1367 struct {
1368 char* pciBusId;
1369 char pciBusId__val;
1370 int len;
1371 int device;
1372 } hipDeviceGetPCIBusId;
1373 struct {
1374 hipSharedMemConfig* pConfig;
1375 hipSharedMemConfig pConfig__val;
1376 } hipDeviceGetSharedMemConfig;
1377 struct {
1378 int* leastPriority;
1379 int leastPriority__val;
1380 int* greatestPriority;
1381 int greatestPriority__val;
1382 } hipDeviceGetStreamPriorityRange;
1383 struct {
1384 hipUUID* uuid;
1385 hipUUID uuid__val;
1386 hipDevice_t device;
1387 } hipDeviceGetUuid;
1388 struct {
1389 int device;
1390 } hipDeviceGraphMemTrim;
1391 struct {
1392 hipDevice_t dev;
1393 unsigned int* flags;
1394 unsigned int flags__val;
1395 int* active;
1396 int active__val;
1397 } hipDevicePrimaryCtxGetState;
1398 struct {
1399 hipDevice_t dev;
1400 } hipDevicePrimaryCtxRelease;
1401 struct {
1402 hipDevice_t dev;
1403 } hipDevicePrimaryCtxReset;
1404 struct {
1405 hipCtx_t* pctx;
1406 hipCtx_t pctx__val;
1407 hipDevice_t dev;
1408 } hipDevicePrimaryCtxRetain;
1409 struct {
1410 hipDevice_t dev;
1411 unsigned int flags;
1412 } hipDevicePrimaryCtxSetFlags;
1413 struct {
1414 hipFuncCache_t cacheConfig;
1415 } hipDeviceSetCacheConfig;
1416 struct {
1417 int device;
1418 hipGraphMemAttributeType attr;
1419 void* value;
1420 } hipDeviceSetGraphMemAttribute;
1421 struct {
1422 enum hipLimit_t limit;
1423 size_t value;
1424 } hipDeviceSetLimit;
1425 struct {
1426 int device;
1427 hipMemPool_t mem_pool;
1428 } hipDeviceSetMemPool;
1429 struct {
1430 hipSharedMemConfig config;
1431 } hipDeviceSetSharedMemConfig;
1432 struct {
1433 size_t* bytes;
1434 size_t bytes__val;
1435 hipDevice_t device;
1436 } hipDeviceTotalMem;
1437 struct {
1438 int* driverVersion;
1439 int driverVersion__val;
1440 } hipDriverGetVersion;
1441 struct {
1442 const hip_Memcpy2D* pCopy;
1443 hip_Memcpy2D pCopy__val;
1444 } hipDrvMemcpy2DUnaligned;
1445 struct {
1446 const HIP_MEMCPY3D* pCopy;
1447 HIP_MEMCPY3D pCopy__val;
1448 } hipDrvMemcpy3D;
1449 struct {
1450 const HIP_MEMCPY3D* pCopy;
1451 HIP_MEMCPY3D pCopy__val;
1452 hipStream_t stream;
1453 } hipDrvMemcpy3DAsync;
1454 struct {
1455 unsigned int numAttributes;
1456 hipPointer_attribute* attributes;
1457 hipPointer_attribute attributes__val;
1458 void** data;
1459 void* data__val;
1460 hipDeviceptr_t ptr;
1461 } hipDrvPointerGetAttributes;
1462 struct {
1463 hipEvent_t* event;
1464 hipEvent_t event__val;
1465 } hipEventCreate;
1466 struct {
1467 hipEvent_t* event;
1468 hipEvent_t event__val;
1469 unsigned int flags;
1470 } hipEventCreateWithFlags;
1471 struct {
1472 hipEvent_t event;
1473 } hipEventDestroy;
1474 struct {
1475 float* ms;
1476 float ms__val;
1477 hipEvent_t start;
1478 hipEvent_t stop;
1479 } hipEventElapsedTime;
1480 struct {
1481 hipEvent_t event;
1482 } hipEventQuery;
1483 struct {
1484 hipEvent_t event;
1485 hipStream_t stream;
1486 } hipEventRecord;
1487 struct {
1488 hipEvent_t event;
1489 } hipEventSynchronize;
1490 struct {
1491 int device1;
1492 int device2;
1493 unsigned int* linktype;
1494 unsigned int linktype__val;
1495 unsigned int* hopcount;
1496 unsigned int hopcount__val;
1497 } hipExtGetLinkTypeAndHopCount;
1498 struct {
1499 const void* function_address;
1500 dim3 numBlocks;
1501 dim3 dimBlocks;
1502 void** args;
1503 void* args__val;
1504 size_t sharedMemBytes;
1505 hipStream_t stream;
1506 hipEvent_t startEvent;
1507 hipEvent_t stopEvent;
1508 int flags;
1509 } hipExtLaunchKernel;
1510 struct {
1511 hipLaunchParams* launchParamsList;
1512 hipLaunchParams launchParamsList__val;
1513 int numDevices;
1514 unsigned int flags;
1515 } hipExtLaunchMultiKernelMultiDevice;
1516 struct {
1517 void** ptr;
1518 void* ptr__val;
1519 size_t sizeBytes;
1520 unsigned int flags;
1521 } hipExtMallocWithFlags;
1522 struct {
1523 hipFunction_t f;
1524 unsigned int globalWorkSizeX;
1525 unsigned int globalWorkSizeY;
1526 unsigned int globalWorkSizeZ;
1527 unsigned int localWorkSizeX;
1528 unsigned int localWorkSizeY;
1529 unsigned int localWorkSizeZ;
1530 size_t sharedMemBytes;
1531 hipStream_t hStream;
1532 void** kernelParams;
1533 void* kernelParams__val;
1534 void** extra;
1535 void* extra__val;
1536 hipEvent_t startEvent;
1537 hipEvent_t stopEvent;
1538 unsigned int flags;
1539 } hipExtModuleLaunchKernel;
1540 struct {
1541 hipStream_t* stream;
1542 hipStream_t stream__val;
1543 unsigned int cuMaskSize;
1544 const unsigned int* cuMask;
1545 unsigned int cuMask__val;
1546 } hipExtStreamCreateWithCUMask;
1547 struct {
1548 hipStream_t stream;
1549 unsigned int cuMaskSize;
1550 unsigned int* cuMask;
1551 unsigned int cuMask__val;
1552 } hipExtStreamGetCUMask;
1553 struct {
1554 void** devPtr;
1555 void* devPtr__val;
1556 hipExternalMemory_t extMem;
1557 const hipExternalMemoryBufferDesc* bufferDesc;
1558 hipExternalMemoryBufferDesc bufferDesc__val;
1559 } hipExternalMemoryGetMappedBuffer;
1560 struct {
1561 void* ptr;
1562 } hipFree;
1563 struct {
1564 hipArray* array;
1565 hipArray array__val;
1566 } hipFreeArray;
1567 struct {
1568 void* dev_ptr;
1569 hipStream_t stream;
1570 } hipFreeAsync;
1571 struct {
1572 void* ptr;
1573 } hipFreeHost;
1574 struct {
1575 hipMipmappedArray_t mipmappedArray;
1576 } hipFreeMipmappedArray;
1577 struct {
1578 int* value;
1579 int value__val;
1580 hipFunction_attribute attrib;
1581 hipFunction_t hfunc;
1582 } hipFuncGetAttribute;
1583 struct {
1584 hipFuncAttributes* attr;
1585 hipFuncAttributes attr__val;
1586 const void* func;
1587 } hipFuncGetAttributes;
1588 struct {
1589 const void* func;
1590 hipFuncAttribute attr;
1591 int value;
1592 } hipFuncSetAttribute;
1593 struct {
1594 const void* func;
1595 hipFuncCache_t config;
1596 } hipFuncSetCacheConfig;
1597 struct {
1598 const void* func;
1599 hipSharedMemConfig config;
1600 } hipFuncSetSharedMemConfig;
1601 struct {
1602 unsigned int* pHipDeviceCount;
1603 unsigned int pHipDeviceCount__val;
1604 int* pHipDevices;
1605 int pHipDevices__val;
1606 unsigned int hipDeviceCount;
1607 hipGLDeviceList deviceList;
1608 } hipGLGetDevices;
1609 struct {
1610 hipChannelFormatDesc* desc;
1611 hipChannelFormatDesc desc__val;
1612 hipArray_const_t array;
1613 } hipGetChannelDesc;
1614 struct {
1615 int* deviceId;
1616 int deviceId__val;
1617 } hipGetDevice;
1618 struct {
1619 int* count;
1620 int count__val;
1621 } hipGetDeviceCount;
1622 struct {
1623 unsigned int* flags;
1624 unsigned int flags__val;
1625 } hipGetDeviceFlags;
1626 struct {
1627 hipDeviceProp_t* props;
1628 hipDeviceProp_t props__val;
1629 hipDevice_t device;
1630 } hipGetDeviceProperties;
1631 struct {
1632 hipArray_t* levelArray;
1633 hipArray_t levelArray__val;
1634 hipMipmappedArray_const_t mipmappedArray;
1635 unsigned int level;
1636 } hipGetMipmappedArrayLevel;
1637 struct {
1638 void** devPtr;
1639 void* devPtr__val;
1640 const void* symbol;
1641 } hipGetSymbolAddress;
1642 struct {
1643 size_t* size;
1644 size_t size__val;
1645 const void* symbol;
1646 } hipGetSymbolSize;
1647 struct {
1648 hipGraphNode_t* pGraphNode;
1649 hipGraphNode_t pGraphNode__val;
1650 hipGraph_t graph;
1651 const hipGraphNode_t* pDependencies;
1652 hipGraphNode_t pDependencies__val;
1653 size_t numDependencies;
1654 hipGraph_t childGraph;
1655 } hipGraphAddChildGraphNode;
1656 struct {
1657 hipGraph_t graph;
1658 const hipGraphNode_t* from;
1659 hipGraphNode_t from__val;
1660 const hipGraphNode_t* to;
1661 hipGraphNode_t to__val;
1662 size_t numDependencies;
1663 } hipGraphAddDependencies;
1664 struct {
1665 hipGraphNode_t* pGraphNode;
1666 hipGraphNode_t pGraphNode__val;
1667 hipGraph_t graph;
1668 const hipGraphNode_t* pDependencies;
1669 hipGraphNode_t pDependencies__val;
1670 size_t numDependencies;
1671 } hipGraphAddEmptyNode;
1672 struct {
1673 hipGraphNode_t* pGraphNode;
1674 hipGraphNode_t pGraphNode__val;
1675 hipGraph_t graph;
1676 const hipGraphNode_t* pDependencies;
1677 hipGraphNode_t pDependencies__val;
1678 size_t numDependencies;
1679 hipEvent_t event;
1680 } hipGraphAddEventRecordNode;
1681 struct {
1682 hipGraphNode_t* pGraphNode;
1683 hipGraphNode_t pGraphNode__val;
1684 hipGraph_t graph;
1685 const hipGraphNode_t* pDependencies;
1686 hipGraphNode_t pDependencies__val;
1687 size_t numDependencies;
1688 hipEvent_t event;
1689 } hipGraphAddEventWaitNode;
1690 struct {
1691 hipGraphNode_t* pGraphNode;
1692 hipGraphNode_t pGraphNode__val;
1693 hipGraph_t graph;
1694 const hipGraphNode_t* pDependencies;
1695 hipGraphNode_t pDependencies__val;
1696 size_t numDependencies;
1697 const hipHostNodeParams* pNodeParams;
1698 hipHostNodeParams pNodeParams__val;
1699 } hipGraphAddHostNode;
1700 struct {
1701 hipGraphNode_t* pGraphNode;
1702 hipGraphNode_t pGraphNode__val;
1703 hipGraph_t graph;
1704 const hipGraphNode_t* pDependencies;
1705 hipGraphNode_t pDependencies__val;
1706 size_t numDependencies;
1707 const hipKernelNodeParams* pNodeParams;
1708 hipKernelNodeParams pNodeParams__val;
1709 } hipGraphAddKernelNode;
1710 struct {
1711 hipGraphNode_t* pGraphNode;
1712 hipGraphNode_t pGraphNode__val;
1713 hipGraph_t graph;
1714 const hipGraphNode_t* pDependencies;
1715 hipGraphNode_t pDependencies__val;
1716 size_t numDependencies;
1717 hipMemAllocNodeParams* pNodeParams;
1718 hipMemAllocNodeParams pNodeParams__val;
1719 } hipGraphAddMemAllocNode;
1720 struct {
1721 hipGraphNode_t* pGraphNode;
1722 hipGraphNode_t pGraphNode__val;
1723 hipGraph_t graph;
1724 const hipGraphNode_t* pDependencies;
1725 hipGraphNode_t pDependencies__val;
1726 size_t numDependencies;
1727 void* dev_ptr;
1728 } hipGraphAddMemFreeNode;
1729 struct {
1730 hipGraphNode_t* pGraphNode;
1731 hipGraphNode_t pGraphNode__val;
1732 hipGraph_t graph;
1733 const hipGraphNode_t* pDependencies;
1734 hipGraphNode_t pDependencies__val;
1735 size_t numDependencies;
1736 const hipMemcpy3DParms* pCopyParams;
1737 hipMemcpy3DParms pCopyParams__val;
1738 } hipGraphAddMemcpyNode;
1739 struct {
1740 hipGraphNode_t* pGraphNode;
1741 hipGraphNode_t pGraphNode__val;
1742 hipGraph_t graph;
1743 const hipGraphNode_t* pDependencies;
1744 hipGraphNode_t pDependencies__val;
1745 size_t numDependencies;
1746 void* dst;
1747 const void* src;
1748 size_t count;
1749 hipMemcpyKind kind;
1750 } hipGraphAddMemcpyNode1D;
1751 struct {
1752 hipGraphNode_t* pGraphNode;
1753 hipGraphNode_t pGraphNode__val;
1754 hipGraph_t graph;
1755 const hipGraphNode_t* pDependencies;
1756 hipGraphNode_t pDependencies__val;
1757 size_t numDependencies;
1758 void* dst;
1759 const void* symbol;
1760 size_t count;
1761 size_t offset;
1762 hipMemcpyKind kind;
1763 } hipGraphAddMemcpyNodeFromSymbol;
1764 struct {
1765 hipGraphNode_t* pGraphNode;
1766 hipGraphNode_t pGraphNode__val;
1767 hipGraph_t graph;
1768 const hipGraphNode_t* pDependencies;
1769 hipGraphNode_t pDependencies__val;
1770 size_t numDependencies;
1771 const void* symbol;
1772 const void* src;
1773 size_t count;
1774 size_t offset;
1775 hipMemcpyKind kind;
1776 } hipGraphAddMemcpyNodeToSymbol;
1777 struct {
1778 hipGraphNode_t* pGraphNode;
1779 hipGraphNode_t pGraphNode__val;
1780 hipGraph_t graph;
1781 const hipGraphNode_t* pDependencies;
1782 hipGraphNode_t pDependencies__val;
1783 size_t numDependencies;
1784 const hipMemsetParams* pMemsetParams;
1785 hipMemsetParams pMemsetParams__val;
1786 } hipGraphAddMemsetNode;
1787 struct {
1788 hipGraphNode_t node;
1789 hipGraph_t* pGraph;
1790 hipGraph_t pGraph__val;
1791 } hipGraphChildGraphNodeGetGraph;
1792 struct {
1793 hipGraph_t* pGraphClone;
1794 hipGraph_t pGraphClone__val;
1795 hipGraph_t originalGraph;
1796 } hipGraphClone;
1797 struct {
1798 hipGraph_t* pGraph;
1799 hipGraph_t pGraph__val;
1800 unsigned int flags;
1801 } hipGraphCreate;
1802 struct {
1803 hipGraph_t graph;
1804 const char* path;
1805 char path__val;
1806 unsigned int flags;
1807 } hipGraphDebugDotPrint;
1808 struct {
1809 hipGraph_t graph;
1810 } hipGraphDestroy;
1811 struct {
1812 hipGraphNode_t node;
1813 } hipGraphDestroyNode;
1814 struct {
1815 hipGraphNode_t node;
1816 hipEvent_t* event_out;
1817 hipEvent_t event_out__val;
1818 } hipGraphEventRecordNodeGetEvent;
1819 struct {
1820 hipGraphNode_t node;
1821 hipEvent_t event;
1822 } hipGraphEventRecordNodeSetEvent;
1823 struct {
1824 hipGraphNode_t node;
1825 hipEvent_t* event_out;
1826 hipEvent_t event_out__val;
1827 } hipGraphEventWaitNodeGetEvent;
1828 struct {
1829 hipGraphNode_t node;
1830 hipEvent_t event;
1831 } hipGraphEventWaitNodeSetEvent;
1832 struct {
1833 hipGraphExec_t hGraphExec;
1834 hipGraphNode_t node;
1835 hipGraph_t childGraph;
1836 } hipGraphExecChildGraphNodeSetParams;
1837 struct {
1838 hipGraphExec_t graphExec;
1839 } hipGraphExecDestroy;
1840 struct {
1841 hipGraphExec_t hGraphExec;
1842 hipGraphNode_t hNode;
1843 hipEvent_t event;
1844 } hipGraphExecEventRecordNodeSetEvent;
1845 struct {
1846 hipGraphExec_t hGraphExec;
1847 hipGraphNode_t hNode;
1848 hipEvent_t event;
1849 } hipGraphExecEventWaitNodeSetEvent;
1850 struct {
1851 hipGraphExec_t hGraphExec;
1852 hipGraphNode_t node;
1853 const hipHostNodeParams* pNodeParams;
1854 hipHostNodeParams pNodeParams__val;
1855 } hipGraphExecHostNodeSetParams;
1856 struct {
1857 hipGraphExec_t hGraphExec;
1858 hipGraphNode_t node;
1859 const hipKernelNodeParams* pNodeParams;
1860 hipKernelNodeParams pNodeParams__val;
1861 } hipGraphExecKernelNodeSetParams;
1862 struct {
1863 hipGraphExec_t hGraphExec;
1864 hipGraphNode_t node;
1865 hipMemcpy3DParms* pNodeParams;
1866 hipMemcpy3DParms pNodeParams__val;
1867 } hipGraphExecMemcpyNodeSetParams;
1868 struct {
1869 hipGraphExec_t hGraphExec;
1870 hipGraphNode_t node;
1871 void* dst;
1872 const void* src;
1873 size_t count;
1874 hipMemcpyKind kind;
1875 } hipGraphExecMemcpyNodeSetParams1D;
1876 struct {
1877 hipGraphExec_t hGraphExec;
1878 hipGraphNode_t node;
1879 void* dst;
1880 const void* symbol;
1881 size_t count;
1882 size_t offset;
1883 hipMemcpyKind kind;
1884 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
1885 struct {
1886 hipGraphExec_t hGraphExec;
1887 hipGraphNode_t node;
1888 const void* symbol;
1889 const void* src;
1890 size_t count;
1891 size_t offset;
1892 hipMemcpyKind kind;
1893 } hipGraphExecMemcpyNodeSetParamsToSymbol;
1894 struct {
1895 hipGraphExec_t hGraphExec;
1896 hipGraphNode_t node;
1897 const hipMemsetParams* pNodeParams;
1898 hipMemsetParams pNodeParams__val;
1899 } hipGraphExecMemsetNodeSetParams;
1900 struct {
1901 hipGraphExec_t hGraphExec;
1902 hipGraph_t hGraph;
1903 hipGraphNode_t* hErrorNode_out;
1904 hipGraphNode_t hErrorNode_out__val;
1905 hipGraphExecUpdateResult* updateResult_out;
1906 hipGraphExecUpdateResult updateResult_out__val;
1907 } hipGraphExecUpdate;
1908 struct {
1909 hipGraph_t graph;
1910 hipGraphNode_t* from;
1911 hipGraphNode_t from__val;
1912 hipGraphNode_t* to;
1913 hipGraphNode_t to__val;
1914 size_t* numEdges;
1915 size_t numEdges__val;
1916 } hipGraphGetEdges;
1917 struct {
1918 hipGraph_t graph;
1919 hipGraphNode_t* nodes;
1920 hipGraphNode_t nodes__val;
1921 size_t* numNodes;
1922 size_t numNodes__val;
1923 } hipGraphGetNodes;
1924 struct {
1925 hipGraph_t graph;
1926 hipGraphNode_t* pRootNodes;
1927 hipGraphNode_t pRootNodes__val;
1928 size_t* pNumRootNodes;
1929 size_t pNumRootNodes__val;
1930 } hipGraphGetRootNodes;
1931 struct {
1932 hipGraphNode_t node;
1933 hipHostNodeParams* pNodeParams;
1934 hipHostNodeParams pNodeParams__val;
1935 } hipGraphHostNodeGetParams;
1936 struct {
1937 hipGraphNode_t node;
1938 const hipHostNodeParams* pNodeParams;
1939 hipHostNodeParams pNodeParams__val;
1940 } hipGraphHostNodeSetParams;
1941 struct {
1942 hipGraphExec_t* pGraphExec;
1943 hipGraphExec_t pGraphExec__val;
1944 hipGraph_t graph;
1945 hipGraphNode_t* pErrorNode;
1946 hipGraphNode_t pErrorNode__val;
1947 char* pLogBuffer;
1948 char pLogBuffer__val;
1949 size_t bufferSize;
1950 } hipGraphInstantiate;
1951 struct {
1952 hipGraphExec_t* pGraphExec;
1953 hipGraphExec_t pGraphExec__val;
1954 hipGraph_t graph;
1955 unsigned long long flags;
1956 } hipGraphInstantiateWithFlags;
1957 struct {
1958 hipGraphNode_t hSrc;
1959 hipGraphNode_t hDst;
1960 } hipGraphKernelNodeCopyAttributes;
1961 struct {
1962 hipGraphNode_t hNode;
1963 hipKernelNodeAttrID attr;
1964 hipKernelNodeAttrValue* value;
1965 hipKernelNodeAttrValue value__val;
1966 } hipGraphKernelNodeGetAttribute;
1967 struct {
1968 hipGraphNode_t node;
1969 hipKernelNodeParams* pNodeParams;
1970 hipKernelNodeParams pNodeParams__val;
1971 } hipGraphKernelNodeGetParams;
1972 struct {
1973 hipGraphNode_t hNode;
1974 hipKernelNodeAttrID attr;
1975 const hipKernelNodeAttrValue* value;
1976 hipKernelNodeAttrValue value__val;
1977 } hipGraphKernelNodeSetAttribute;
1978 struct {
1979 hipGraphNode_t node;
1980 const hipKernelNodeParams* pNodeParams;
1981 hipKernelNodeParams pNodeParams__val;
1982 } hipGraphKernelNodeSetParams;
1983 struct {
1984 hipGraphExec_t graphExec;
1985 hipStream_t stream;
1986 } hipGraphLaunch;
1987 struct {
1988 hipGraphNode_t node;
1989 hipMemAllocNodeParams* pNodeParams;
1990 hipMemAllocNodeParams pNodeParams__val;
1991 } hipGraphMemAllocNodeGetParams;
1992 struct {
1993 hipGraphNode_t node;
1994 void* dev_ptr;
1995 } hipGraphMemFreeNodeGetParams;
1996 struct {
1997 hipGraphNode_t node;
1998 hipMemcpy3DParms* pNodeParams;
1999 hipMemcpy3DParms pNodeParams__val;
2000 } hipGraphMemcpyNodeGetParams;
2001 struct {
2002 hipGraphNode_t node;
2003 const hipMemcpy3DParms* pNodeParams;
2004 hipMemcpy3DParms pNodeParams__val;
2005 } hipGraphMemcpyNodeSetParams;
2006 struct {
2007 hipGraphNode_t node;
2008 void* dst;
2009 const void* src;
2010 size_t count;
2011 hipMemcpyKind kind;
2012 } hipGraphMemcpyNodeSetParams1D;
2013 struct {
2014 hipGraphNode_t node;
2015 void* dst;
2016 const void* symbol;
2017 size_t count;
2018 size_t offset;
2019 hipMemcpyKind kind;
2020 } hipGraphMemcpyNodeSetParamsFromSymbol;
2021 struct {
2022 hipGraphNode_t node;
2023 const void* symbol;
2024 const void* src;
2025 size_t count;
2026 size_t offset;
2027 hipMemcpyKind kind;
2028 } hipGraphMemcpyNodeSetParamsToSymbol;
2029 struct {
2030 hipGraphNode_t node;
2031 hipMemsetParams* pNodeParams;
2032 hipMemsetParams pNodeParams__val;
2033 } hipGraphMemsetNodeGetParams;
2034 struct {
2035 hipGraphNode_t node;
2036 const hipMemsetParams* pNodeParams;
2037 hipMemsetParams pNodeParams__val;
2038 } hipGraphMemsetNodeSetParams;
2039 struct {
2040 hipGraphNode_t* pNode;
2041 hipGraphNode_t pNode__val;
2042 hipGraphNode_t originalNode;
2043 hipGraph_t clonedGraph;
2044 } hipGraphNodeFindInClone;
2045 struct {
2046 hipGraphNode_t node;
2047 hipGraphNode_t* pDependencies;
2048 hipGraphNode_t pDependencies__val;
2049 size_t* pNumDependencies;
2050 size_t pNumDependencies__val;
2051 } hipGraphNodeGetDependencies;
2052 struct {
2053 hipGraphNode_t node;
2054 hipGraphNode_t* pDependentNodes;
2055 hipGraphNode_t pDependentNodes__val;
2056 size_t* pNumDependentNodes;
2057 size_t pNumDependentNodes__val;
2058 } hipGraphNodeGetDependentNodes;
2059 struct {
2060 hipGraphExec_t hGraphExec;
2061 hipGraphNode_t hNode;
2062 unsigned int* isEnabled;
2063 unsigned int isEnabled__val;
2064 } hipGraphNodeGetEnabled;
2065 struct {
2066 hipGraphNode_t node;
2067 hipGraphNodeType* pType;
2068 hipGraphNodeType pType__val;
2069 } hipGraphNodeGetType;
2070 struct {
2071 hipGraphExec_t hGraphExec;
2072 hipGraphNode_t hNode;
2073 unsigned int isEnabled;
2074 } hipGraphNodeSetEnabled;
2075 struct {
2076 hipGraph_t graph;
2077 hipUserObject_t object;
2078 unsigned int count;
2079 } hipGraphReleaseUserObject;
2080 struct {
2081 hipGraph_t graph;
2082 const hipGraphNode_t* from;
2083 hipGraphNode_t from__val;
2084 const hipGraphNode_t* to;
2085 hipGraphNode_t to__val;
2086 size_t numDependencies;
2087 } hipGraphRemoveDependencies;
2088 struct {
2089 hipGraph_t graph;
2090 hipUserObject_t object;
2091 unsigned int count;
2092 unsigned int flags;
2093 } hipGraphRetainUserObject;
2094 struct {
2095 hipGraphExec_t graphExec;
2096 hipStream_t stream;
2097 } hipGraphUpload;
2098 struct {
2099 hipGraphicsResource** resource;
2100 hipGraphicsResource* resource__val;
2101 GLuint buffer;
2102 unsigned int flags;
2103 } hipGraphicsGLRegisterBuffer;
2104 struct {
2105 hipGraphicsResource** resource;
2106 hipGraphicsResource* resource__val;
2107 GLuint image;
2108 GLenum target;
2109 unsigned int flags;
2110 } hipGraphicsGLRegisterImage;
2111 struct {
2112 int count;
2113 hipGraphicsResource_t* resources;
2114 hipGraphicsResource_t resources__val;
2115 hipStream_t stream;
2116 } hipGraphicsMapResources;
2117 struct {
2118 void** devPtr;
2119 void* devPtr__val;
2120 size_t* size;
2121 size_t size__val;
2122 hipGraphicsResource_t resource;
2123 } hipGraphicsResourceGetMappedPointer;
2124 struct {
2125 hipArray_t* array;
2126 hipArray_t array__val;
2127 hipGraphicsResource_t resource;
2128 unsigned int arrayIndex;
2129 unsigned int mipLevel;
2130 } hipGraphicsSubResourceGetMappedArray;
2131 struct {
2132 int count;
2133 hipGraphicsResource_t* resources;
2134 hipGraphicsResource_t resources__val;
2135 hipStream_t stream;
2136 } hipGraphicsUnmapResources;
2137 struct {
2138 hipGraphicsResource_t resource;
2139 } hipGraphicsUnregisterResource;
2140 struct {
2141 hipFunction_t f;
2142 unsigned int globalWorkSizeX;
2143 unsigned int globalWorkSizeY;
2144 unsigned int globalWorkSizeZ;
2145 unsigned int blockDimX;
2146 unsigned int blockDimY;
2147 unsigned int blockDimZ;
2148 size_t sharedMemBytes;
2149 hipStream_t hStream;
2150 void** kernelParams;
2151 void* kernelParams__val;
2152 void** extra;
2153 void* extra__val;
2154 hipEvent_t startEvent;
2155 hipEvent_t stopEvent;
2156 } hipHccModuleLaunchKernel;
2157 struct {
2158 void** ptr;
2159 void* ptr__val;
2160 size_t size;
2161 unsigned int flags;
2162 } hipHostAlloc;
2163 struct {
2164 void* ptr;
2165 } hipHostFree;
2166 struct {
2167 void** devPtr;
2168 void* devPtr__val;
2169 void* hstPtr;
2170 unsigned int flags;
2171 } hipHostGetDevicePointer;
2172 struct {
2173 unsigned int* flagsPtr;
2174 unsigned int flagsPtr__val;
2175 void* hostPtr;
2176 } hipHostGetFlags;
2177 struct {
2178 void** ptr;
2179 void* ptr__val;
2180 size_t size;
2181 unsigned int flags;
2182 } hipHostMalloc;
2183 struct {
2184 void* hostPtr;
2185 size_t sizeBytes;
2186 unsigned int flags;
2187 } hipHostRegister;
2188 struct {
2189 void* hostPtr;
2190 } hipHostUnregister;
2191 struct {
2192 hipExternalMemory_t* extMem_out;
2193 hipExternalMemory_t extMem_out__val;
2194 const hipExternalMemoryHandleDesc* memHandleDesc;
2195 hipExternalMemoryHandleDesc memHandleDesc__val;
2196 } hipImportExternalMemory;
2197 struct {
2198 hipExternalSemaphore_t* extSem_out;
2199 hipExternalSemaphore_t extSem_out__val;
2200 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2201 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2202 } hipImportExternalSemaphore;
2203 struct {
2204 unsigned int flags;
2205 } hipInit;
2206 struct {
2207 void* devPtr;
2208 } hipIpcCloseMemHandle;
2209 struct {
2210 hipIpcEventHandle_t* handle;
2211 hipIpcEventHandle_t handle__val;
2212 hipEvent_t event;
2213 } hipIpcGetEventHandle;
2214 struct {
2215 hipIpcMemHandle_t* handle;
2216 hipIpcMemHandle_t handle__val;
2217 void* devPtr;
2218 } hipIpcGetMemHandle;
2219 struct {
2220 hipEvent_t* event;
2221 hipEvent_t event__val;
2222 hipIpcEventHandle_t handle;
2223 } hipIpcOpenEventHandle;
2224 struct {
2225 void** devPtr;
2226 void* devPtr__val;
2227 hipIpcMemHandle_t handle;
2228 unsigned int flags;
2229 } hipIpcOpenMemHandle;
2230 struct {
2231 const void* hostFunction;
2232 } hipLaunchByPtr;
2233 struct {
2234 const void* f;
2235 dim3 gridDim;
2236 dim3 blockDimX;
2237 void** kernelParams;
2238 void* kernelParams__val;
2239 unsigned int sharedMemBytes;
2240 hipStream_t stream;
2241 } hipLaunchCooperativeKernel;
2242 struct {
2243 hipLaunchParams* launchParamsList;
2244 hipLaunchParams launchParamsList__val;
2245 int numDevices;
2246 unsigned int flags;
2247 } hipLaunchCooperativeKernelMultiDevice;
2248 struct {
2249 hipStream_t stream;
2250 hipHostFn_t fn;
2251 void* userData;
2252 } hipLaunchHostFunc;
2253 struct {
2254 const void* function_address;
2255 dim3 numBlocks;
2256 dim3 dimBlocks;
2257 void** args;
2258 void* args__val;
2259 size_t sharedMemBytes;
2260 hipStream_t stream;
2261 } hipLaunchKernel;
2262 struct {
2263 void** ptr;
2264 void* ptr__val;
2265 size_t size;
2266 } hipMalloc;
2267 struct {
2268 hipPitchedPtr* pitchedDevPtr;
2269 hipPitchedPtr pitchedDevPtr__val;
2270 hipExtent extent;
2271 } hipMalloc3D;
2272 struct {
2273 hipArray_t* array;
2274 hipArray_t array__val;
2275 const hipChannelFormatDesc* desc;
2276 hipChannelFormatDesc desc__val;
2277 hipExtent extent;
2278 unsigned int flags;
2279 } hipMalloc3DArray;
2280 struct {
2281 hipArray** array;
2282 hipArray* array__val;
2283 const hipChannelFormatDesc* desc;
2284 hipChannelFormatDesc desc__val;
2285 size_t width;
2286 size_t height;
2287 unsigned int flags;
2288 } hipMallocArray;
2289 struct {
2290 void** dev_ptr;
2291 void* dev_ptr__val;
2292 size_t size;
2293 hipStream_t stream;
2294 } hipMallocAsync;
2295 struct {
2296 void** dev_ptr;
2297 void* dev_ptr__val;
2298 size_t size;
2299 hipMemPool_t mem_pool;
2300 hipStream_t stream;
2301 } hipMallocFromPoolAsync;
2302 struct {
2303 void** ptr;
2304 void* ptr__val;
2305 size_t size;
2306 } hipMallocHost;
2307 struct {
2308 void** dev_ptr;
2309 void* dev_ptr__val;
2310 size_t size;
2311 unsigned int flags;
2312 } hipMallocManaged;
2313 struct {
2314 hipMipmappedArray_t* mipmappedArray;
2315 hipMipmappedArray_t mipmappedArray__val;
2316 const hipChannelFormatDesc* desc;
2317 hipChannelFormatDesc desc__val;
2318 hipExtent extent;
2319 unsigned int numLevels;
2320 unsigned int flags;
2321 } hipMallocMipmappedArray;
2322 struct {
2323 void** ptr;
2324 void* ptr__val;
2325 size_t* pitch;
2326 size_t pitch__val;
2327 size_t width;
2328 size_t height;
2329 } hipMallocPitch;
2330 struct {
2331 void* devPtr;
2332 size_t size;
2333 } hipMemAddressFree;
2334 struct {
2335 void** ptr;
2336 void* ptr__val;
2337 size_t size;
2338 size_t alignment;
2339 void* addr;
2340 unsigned long long flags;
2341 } hipMemAddressReserve;
2342 struct {
2343 const void* dev_ptr;
2344 size_t count;
2345 hipMemoryAdvise advice;
2346 int device;
2347 } hipMemAdvise;
2348 struct {
2349 void** ptr;
2350 void* ptr__val;
2351 size_t size;
2352 } hipMemAllocHost;
2353 struct {
2354 hipDeviceptr_t* dptr;
2355 hipDeviceptr_t dptr__val;
2356 size_t* pitch;
2357 size_t pitch__val;
2358 size_t widthInBytes;
2359 size_t height;
2360 unsigned int elementSizeBytes;
2361 } hipMemAllocPitch;
2362 struct {
2363 hipMemGenericAllocationHandle_t* handle;
2364 hipMemGenericAllocationHandle_t handle__val;
2365 size_t size;
2366 const hipMemAllocationProp* prop;
2367 hipMemAllocationProp prop__val;
2368 unsigned long long flags;
2369 } hipMemCreate;
2370 struct {
2371 void* shareableHandle;
2372 hipMemGenericAllocationHandle_t handle;
2373 hipMemAllocationHandleType handleType;
2374 unsigned long long flags;
2375 } hipMemExportToShareableHandle;
2376 struct {
2377 unsigned long long* flags;
2378 unsigned long long flags__val;
2379 const hipMemLocation* location;
2380 hipMemLocation location__val;
2381 void* ptr;
2382 } hipMemGetAccess;
2383 struct {
2384 hipDeviceptr_t* pbase;
2385 hipDeviceptr_t pbase__val;
2386 size_t* psize;
2387 size_t psize__val;
2388 hipDeviceptr_t dptr;
2389 } hipMemGetAddressRange;
2390 struct {
2391 size_t* granularity;
2392 size_t granularity__val;
2393 const hipMemAllocationProp* prop;
2394 hipMemAllocationProp prop__val;
2395 hipMemAllocationGranularity_flags option;
2396 } hipMemGetAllocationGranularity;
2397 struct {
2398 hipMemAllocationProp* prop;
2399 hipMemAllocationProp prop__val;
2400 hipMemGenericAllocationHandle_t handle;
2401 } hipMemGetAllocationPropertiesFromHandle;
2402 struct {
2403 size_t* free;
2404 size_t free__val;
2405 size_t* total;
2406 size_t total__val;
2407 } hipMemGetInfo;
2408 struct {
2409 hipMemGenericAllocationHandle_t* handle;
2410 hipMemGenericAllocationHandle_t handle__val;
2411 void* osHandle;
2412 hipMemAllocationHandleType shHandleType;
2413 } hipMemImportFromShareableHandle;
2414 struct {
2415 void* ptr;
2416 size_t size;
2417 size_t offset;
2418 hipMemGenericAllocationHandle_t handle;
2419 unsigned long long flags;
2420 } hipMemMap;
2421 struct {
2422 hipArrayMapInfo* mapInfoList;
2423 hipArrayMapInfo mapInfoList__val;
2424 unsigned int count;
2425 hipStream_t stream;
2426 } hipMemMapArrayAsync;
2427 struct {
2428 hipMemPool_t* mem_pool;
2429 hipMemPool_t mem_pool__val;
2430 const hipMemPoolProps* pool_props;
2431 hipMemPoolProps pool_props__val;
2432 } hipMemPoolCreate;
2433 struct {
2434 hipMemPool_t mem_pool;
2435 } hipMemPoolDestroy;
2436 struct {
2437 hipMemPoolPtrExportData* export_data;
2438 hipMemPoolPtrExportData export_data__val;
2439 void* dev_ptr;
2440 } hipMemPoolExportPointer;
2441 struct {
2442 void* shared_handle;
2443 hipMemPool_t mem_pool;
2444 hipMemAllocationHandleType handle_type;
2445 unsigned int flags;
2446 } hipMemPoolExportToShareableHandle;
2447 struct {
2448 hipMemAccessFlags* flags;
2449 hipMemAccessFlags flags__val;
2450 hipMemPool_t mem_pool;
2451 hipMemLocation* location;
2452 hipMemLocation location__val;
2453 } hipMemPoolGetAccess;
2454 struct {
2455 hipMemPool_t mem_pool;
2456 hipMemPoolAttr attr;
2457 void* value;
2458 } hipMemPoolGetAttribute;
2459 struct {
2460 hipMemPool_t* mem_pool;
2461 hipMemPool_t mem_pool__val;
2462 void* shared_handle;
2463 hipMemAllocationHandleType handle_type;
2464 unsigned int flags;
2465 } hipMemPoolImportFromShareableHandle;
2466 struct {
2467 void** dev_ptr;
2468 void* dev_ptr__val;
2469 hipMemPool_t mem_pool;
2470 hipMemPoolPtrExportData* export_data;
2471 hipMemPoolPtrExportData export_data__val;
2472 } hipMemPoolImportPointer;
2473 struct {
2474 hipMemPool_t mem_pool;
2475 const hipMemAccessDesc* desc_list;
2476 hipMemAccessDesc desc_list__val;
2477 size_t count;
2478 } hipMemPoolSetAccess;
2479 struct {
2480 hipMemPool_t mem_pool;
2481 hipMemPoolAttr attr;
2482 void* value;
2483 } hipMemPoolSetAttribute;
2484 struct {
2485 hipMemPool_t mem_pool;
2486 size_t min_bytes_to_hold;
2487 } hipMemPoolTrimTo;
2488 struct {
2489 const void* dev_ptr;
2490 size_t count;
2491 int device;
2492 hipStream_t stream;
2493 } hipMemPrefetchAsync;
2494 struct {
2495 void* ptr;
2496 size_t* size;
2497 size_t size__val;
2498 } hipMemPtrGetInfo;
2499 struct {
2500 void* data;
2501 size_t data_size;
2502 hipMemRangeAttribute attribute;
2503 const void* dev_ptr;
2504 size_t count;
2505 } hipMemRangeGetAttribute;
2506 struct {
2507 void** data;
2508 void* data__val;
2509 size_t* data_sizes;
2510 size_t data_sizes__val;
2511 hipMemRangeAttribute* attributes;
2512 hipMemRangeAttribute attributes__val;
2513 size_t num_attributes;
2514 const void* dev_ptr;
2515 size_t count;
2516 } hipMemRangeGetAttributes;
2517 struct {
2518 hipMemGenericAllocationHandle_t handle;
2519 } hipMemRelease;
2520 struct {
2521 hipMemGenericAllocationHandle_t* handle;
2522 hipMemGenericAllocationHandle_t handle__val;
2523 void* addr;
2524 } hipMemRetainAllocationHandle;
2525 struct {
2526 void* ptr;
2527 size_t size;
2528 const hipMemAccessDesc* desc;
2529 hipMemAccessDesc desc__val;
2530 size_t count;
2531 } hipMemSetAccess;
2532 struct {
2533 void* ptr;
2534 size_t size;
2535 } hipMemUnmap;
2536 struct {
2537 void* dst;
2538 const void* src;
2539 size_t sizeBytes;
2540 hipMemcpyKind kind;
2541 } hipMemcpy;
2542 struct {
2543 void* dst;
2544 size_t dpitch;
2545 const void* src;
2546 size_t spitch;
2547 size_t width;
2548 size_t height;
2549 hipMemcpyKind kind;
2550 } hipMemcpy2D;
2551 struct {
2552 void* dst;
2553 size_t dpitch;
2554 const void* src;
2555 size_t spitch;
2556 size_t width;
2557 size_t height;
2558 hipMemcpyKind kind;
2559 hipStream_t stream;
2560 } hipMemcpy2DAsync;
2561 struct {
2562 void* dst;
2563 size_t dpitch;
2564 hipArray_const_t src;
2565 size_t wOffset;
2566 size_t hOffset;
2567 size_t width;
2568 size_t height;
2569 hipMemcpyKind kind;
2570 } hipMemcpy2DFromArray;
2571 struct {
2572 void* dst;
2573 size_t dpitch;
2574 hipArray_const_t src;
2575 size_t wOffset;
2576 size_t hOffset;
2577 size_t width;
2578 size_t height;
2579 hipMemcpyKind kind;
2580 hipStream_t stream;
2581 } hipMemcpy2DFromArrayAsync;
2582 struct {
2583 hipArray* dst;
2584 hipArray dst__val;
2585 size_t wOffset;
2586 size_t hOffset;
2587 const void* src;
2588 size_t spitch;
2589 size_t width;
2590 size_t height;
2591 hipMemcpyKind kind;
2592 } hipMemcpy2DToArray;
2593 struct {
2594 hipArray* dst;
2595 hipArray dst__val;
2596 size_t wOffset;
2597 size_t hOffset;
2598 const void* src;
2599 size_t spitch;
2600 size_t width;
2601 size_t height;
2602 hipMemcpyKind kind;
2603 hipStream_t stream;
2604 } hipMemcpy2DToArrayAsync;
2605 struct {
2606 const hipMemcpy3DParms* p;
2607 hipMemcpy3DParms p__val;
2608 } hipMemcpy3D;
2609 struct {
2610 const hipMemcpy3DParms* p;
2611 hipMemcpy3DParms p__val;
2612 hipStream_t stream;
2613 } hipMemcpy3DAsync;
2614 struct {
2615 void* dst;
2616 const void* src;
2617 size_t sizeBytes;
2618 hipMemcpyKind kind;
2619 hipStream_t stream;
2620 } hipMemcpyAsync;
2621 struct {
2622 void* dst;
2623 hipArray* srcArray;
2624 hipArray srcArray__val;
2625 size_t srcOffset;
2626 size_t count;
2627 } hipMemcpyAtoH;
2628 struct {
2629 hipDeviceptr_t dst;
2630 hipDeviceptr_t src;
2631 size_t sizeBytes;
2632 } hipMemcpyDtoD;
2633 struct {
2634 hipDeviceptr_t dst;
2635 hipDeviceptr_t src;
2636 size_t sizeBytes;
2637 hipStream_t stream;
2638 } hipMemcpyDtoDAsync;
2639 struct {
2640 void* dst;
2641 hipDeviceptr_t src;
2642 size_t sizeBytes;
2643 } hipMemcpyDtoH;
2644 struct {
2645 void* dst;
2646 hipDeviceptr_t src;
2647 size_t sizeBytes;
2648 hipStream_t stream;
2649 } hipMemcpyDtoHAsync;
2650 struct {
2651 void* dst;
2652 hipArray_const_t srcArray;
2653 size_t wOffset;
2654 size_t hOffset;
2655 size_t count;
2656 hipMemcpyKind kind;
2657 } hipMemcpyFromArray;
2658 struct {
2659 void* dst;
2660 const void* symbol;
2661 size_t sizeBytes;
2662 size_t offset;
2663 hipMemcpyKind kind;
2664 } hipMemcpyFromSymbol;
2665 struct {
2666 void* dst;
2667 const void* symbol;
2668 size_t sizeBytes;
2669 size_t offset;
2670 hipMemcpyKind kind;
2671 hipStream_t stream;
2672 } hipMemcpyFromSymbolAsync;
2673 struct {
2674 hipArray* dstArray;
2675 hipArray dstArray__val;
2676 size_t dstOffset;
2677 const void* srcHost;
2678 size_t count;
2679 } hipMemcpyHtoA;
2680 struct {
2681 hipDeviceptr_t dst;
2682 void* src;
2683 size_t sizeBytes;
2684 } hipMemcpyHtoD;
2685 struct {
2686 hipDeviceptr_t dst;
2687 void* src;
2688 size_t sizeBytes;
2689 hipStream_t stream;
2690 } hipMemcpyHtoDAsync;
2691 struct {
2692 const hip_Memcpy2D* pCopy;
2693 hip_Memcpy2D pCopy__val;
2694 } hipMemcpyParam2D;
2695 struct {
2696 const hip_Memcpy2D* pCopy;
2697 hip_Memcpy2D pCopy__val;
2698 hipStream_t stream;
2699 } hipMemcpyParam2DAsync;
2700 struct {
2701 void* dst;
2702 int dstDeviceId;
2703 const void* src;
2704 int srcDeviceId;
2705 size_t sizeBytes;
2706 } hipMemcpyPeer;
2707 struct {
2708 void* dst;
2709 int dstDeviceId;
2710 const void* src;
2711 int srcDevice;
2712 size_t sizeBytes;
2713 hipStream_t stream;
2714 } hipMemcpyPeerAsync;
2715 struct {
2716 hipArray* dst;
2717 hipArray dst__val;
2718 size_t wOffset;
2719 size_t hOffset;
2720 const void* src;
2721 size_t count;
2722 hipMemcpyKind kind;
2723 } hipMemcpyToArray;
2724 struct {
2725 const void* symbol;
2726 const void* src;
2727 size_t sizeBytes;
2728 size_t offset;
2729 hipMemcpyKind kind;
2730 } hipMemcpyToSymbol;
2731 struct {
2732 const void* symbol;
2733 const void* src;
2734 size_t sizeBytes;
2735 size_t offset;
2736 hipMemcpyKind kind;
2737 hipStream_t stream;
2738 } hipMemcpyToSymbolAsync;
2739 struct {
2740 void* dst;
2741 const void* src;
2742 size_t sizeBytes;
2743 hipMemcpyKind kind;
2744 hipStream_t stream;
2745 } hipMemcpyWithStream;
2746 struct {
2747 void* dst;
2748 int value;
2749 size_t sizeBytes;
2750 } hipMemset;
2751 struct {
2752 void* dst;
2753 size_t pitch;
2754 int value;
2755 size_t width;
2756 size_t height;
2757 } hipMemset2D;
2758 struct {
2759 void* dst;
2760 size_t pitch;
2761 int value;
2762 size_t width;
2763 size_t height;
2764 hipStream_t stream;
2765 } hipMemset2DAsync;
2766 struct {
2767 hipPitchedPtr pitchedDevPtr;
2768 int value;
2769 hipExtent extent;
2770 } hipMemset3D;
2771 struct {
2772 hipPitchedPtr pitchedDevPtr;
2773 int value;
2774 hipExtent extent;
2775 hipStream_t stream;
2776 } hipMemset3DAsync;
2777 struct {
2778 void* dst;
2779 int value;
2780 size_t sizeBytes;
2781 hipStream_t stream;
2782 } hipMemsetAsync;
2783 struct {
2784 hipDeviceptr_t dest;
2785 unsigned short value;
2786 size_t count;
2787 } hipMemsetD16;
2788 struct {
2789 hipDeviceptr_t dest;
2790 unsigned short value;
2791 size_t count;
2792 hipStream_t stream;
2793 } hipMemsetD16Async;
2794 struct {
2795 hipDeviceptr_t dest;
2796 int value;
2797 size_t count;
2798 } hipMemsetD32;
2799 struct {
2800 hipDeviceptr_t dst;
2801 int value;
2802 size_t count;
2803 hipStream_t stream;
2804 } hipMemsetD32Async;
2805 struct {
2806 hipDeviceptr_t dest;
2807 unsigned char value;
2808 size_t count;
2809 } hipMemsetD8;
2810 struct {
2811 hipDeviceptr_t dest;
2812 unsigned char value;
2813 size_t count;
2814 hipStream_t stream;
2815 } hipMemsetD8Async;
2816 struct {
2817 hipMipmappedArray_t* pHandle;
2818 hipMipmappedArray_t pHandle__val;
2819 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
2820 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
2821 unsigned int numMipmapLevels;
2822 } hipMipmappedArrayCreate;
2823 struct {
2824 hipMipmappedArray_t hMipmappedArray;
2825 } hipMipmappedArrayDestroy;
2826 struct {
2827 hipArray_t* pLevelArray;
2828 hipArray_t pLevelArray__val;
2829 hipMipmappedArray_t hMipMappedArray;
2830 unsigned int level;
2831 } hipMipmappedArrayGetLevel;
2832 struct {
2833 hipFunction_t* function;
2834 hipFunction_t function__val;
2835 hipModule_t module;
2836 const char* kname;
2837 char kname__val;
2838 } hipModuleGetFunction;
2839 struct {
2840 hipDeviceptr_t* dptr;
2841 hipDeviceptr_t dptr__val;
2842 size_t* bytes;
2843 size_t bytes__val;
2844 hipModule_t hmod;
2845 const char* name;
2846 char name__val;
2847 } hipModuleGetGlobal;
2848 struct {
2849 textureReference** texRef;
2850 textureReference* texRef__val;
2851 hipModule_t hmod;
2852 const char* name;
2853 char name__val;
2854 } hipModuleGetTexRef;
2855 struct {
2856 hipFunction_t f;
2857 unsigned int gridDimX;
2858 unsigned int gridDimY;
2859 unsigned int gridDimZ;
2860 unsigned int blockDimX;
2861 unsigned int blockDimY;
2862 unsigned int blockDimZ;
2863 unsigned int sharedMemBytes;
2864 hipStream_t stream;
2865 void** kernelParams;
2866 void* kernelParams__val;
2867 } hipModuleLaunchCooperativeKernel;
2868 struct {
2869 hipFunctionLaunchParams* launchParamsList;
2870 hipFunctionLaunchParams launchParamsList__val;
2871 unsigned int numDevices;
2872 unsigned int flags;
2873 } hipModuleLaunchCooperativeKernelMultiDevice;
2874 struct {
2875 hipFunction_t f;
2876 unsigned int gridDimX;
2877 unsigned int gridDimY;
2878 unsigned int gridDimZ;
2879 unsigned int blockDimX;
2880 unsigned int blockDimY;
2881 unsigned int blockDimZ;
2882 unsigned int sharedMemBytes;
2883 hipStream_t stream;
2884 void** kernelParams;
2885 void* kernelParams__val;
2886 void** extra;
2887 void* extra__val;
2888 } hipModuleLaunchKernel;
2889 struct {
2890 hipModule_t* module;
2891 hipModule_t module__val;
2892 const char* fname;
2893 char fname__val;
2894 } hipModuleLoad;
2895 struct {
2896 hipModule_t* module;
2897 hipModule_t module__val;
2898 const void* image;
2899 } hipModuleLoadData;
2900 struct {
2901 hipModule_t* module;
2902 hipModule_t module__val;
2903 const void* image;
2904 unsigned int numOptions;
2905 hipJitOption* options;
2906 hipJitOption options__val;
2907 void** optionsValues;
2908 void* optionsValues__val;
2909 } hipModuleLoadDataEx;
2910 struct {
2911 int* numBlocks;
2912 int numBlocks__val;
2913 hipFunction_t f;
2914 int blockSize;
2915 size_t dynSharedMemPerBlk;
2916 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
2917 struct {
2918 int* numBlocks;
2919 int numBlocks__val;
2920 hipFunction_t f;
2921 int blockSize;
2922 size_t dynSharedMemPerBlk;
2923 unsigned int flags;
2924 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
2925 struct {
2926 int* gridSize;
2927 int gridSize__val;
2928 int* blockSize;
2929 int blockSize__val;
2930 hipFunction_t f;
2931 size_t dynSharedMemPerBlk;
2932 int blockSizeLimit;
2933 } hipModuleOccupancyMaxPotentialBlockSize;
2934 struct {
2935 int* gridSize;
2936 int gridSize__val;
2937 int* blockSize;
2938 int blockSize__val;
2939 hipFunction_t f;
2940 size_t dynSharedMemPerBlk;
2941 int blockSizeLimit;
2942 unsigned int flags;
2943 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
2944 struct {
2945 hipModule_t module;
2946 } hipModuleUnload;
2947 struct {
2948 int* numBlocks;
2949 int numBlocks__val;
2950 const void* f;
2951 int blockSize;
2952 size_t dynamicSMemSize;
2953 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
2954 struct {
2955 int* numBlocks;
2956 int numBlocks__val;
2957 const void* f;
2958 int blockSize;
2959 size_t dynamicSMemSize;
2960 unsigned int flags;
2961 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
2962 struct {
2963 int* gridSize;
2964 int gridSize__val;
2965 int* blockSize;
2966 int blockSize__val;
2967 const void* f;
2968 size_t dynSharedMemPerBlk;
2969 int blockSizeLimit;
2970 } hipOccupancyMaxPotentialBlockSize;
2971 struct {
2972 void* data;
2973 hipPointer_attribute attribute;
2974 hipDeviceptr_t ptr;
2975 } hipPointerGetAttribute;
2976 struct {
2977 hipPointerAttribute_t* attributes;
2978 hipPointerAttribute_t attributes__val;
2979 const void* ptr;
2980 } hipPointerGetAttributes;
2981 struct {
2982 const void* value;
2983 hipPointer_attribute attribute;
2984 hipDeviceptr_t ptr;
2985 } hipPointerSetAttribute;
2986 struct {
2987 int* runtimeVersion;
2988 int runtimeVersion__val;
2989 } hipRuntimeGetVersion;
2990 struct {
2991 int deviceId;
2992 } hipSetDevice;
2993 struct {
2994 unsigned int flags;
2995 } hipSetDeviceFlags;
2996 struct {
2997 const void* arg;
2998 size_t size;
2999 size_t offset;
3000 } hipSetupArgument;
3001 struct {
3002 const hipExternalSemaphore_t* extSemArray;
3003 hipExternalSemaphore_t extSemArray__val;
3004 const hipExternalSemaphoreSignalParams* paramsArray;
3005 hipExternalSemaphoreSignalParams paramsArray__val;
3006 unsigned int numExtSems;
3007 hipStream_t stream;
3008 } hipSignalExternalSemaphoresAsync;
3009 struct {
3010 hipStream_t stream;
3011 hipStreamCallback_t callback;
3012 void* userData;
3013 unsigned int flags;
3014 } hipStreamAddCallback;
3015 struct {
3016 hipStream_t stream;
3017 void* dev_ptr;
3018 size_t length;
3019 unsigned int flags;
3020 } hipStreamAttachMemAsync;
3021 struct {
3022 hipStream_t stream;
3023 hipStreamCaptureMode mode;
3024 } hipStreamBeginCapture;
3025 struct {
3026 hipStream_t* stream;
3027 hipStream_t stream__val;
3028 } hipStreamCreate;
3029 struct {
3030 hipStream_t* stream;
3031 hipStream_t stream__val;
3032 unsigned int flags;
3033 } hipStreamCreateWithFlags;
3034 struct {
3035 hipStream_t* stream;
3036 hipStream_t stream__val;
3037 unsigned int flags;
3038 int priority;
3039 } hipStreamCreateWithPriority;
3040 struct {
3041 hipStream_t stream;
3042 } hipStreamDestroy;
3043 struct {
3044 hipStream_t stream;
3045 hipGraph_t* pGraph;
3046 hipGraph_t pGraph__val;
3047 } hipStreamEndCapture;
3048 struct {
3049 hipStream_t stream;
3050 hipStreamCaptureStatus* pCaptureStatus;
3051 hipStreamCaptureStatus pCaptureStatus__val;
3052 unsigned long long* pId;
3053 unsigned long long pId__val;
3054 } hipStreamGetCaptureInfo;
3055 struct {
3056 hipStream_t stream;
3057 hipStreamCaptureStatus* captureStatus_out;
3058 hipStreamCaptureStatus captureStatus_out__val;
3059 unsigned long long* id_out;
3060 unsigned long long id_out__val;
3061 hipGraph_t* graph_out;
3062 hipGraph_t graph_out__val;
3063 const hipGraphNode_t** dependencies_out;
3064 const hipGraphNode_t* dependencies_out__val;
3065 size_t* numDependencies_out;
3066 size_t numDependencies_out__val;
3067 } hipStreamGetCaptureInfo_v2;
3068 struct {
3069 hipStream_t stream;
3070 hipDevice_t* device;
3071 hipDevice_t device__val;
3072 } hipStreamGetDevice;
3073 struct {
3074 hipStream_t stream;
3075 unsigned int* flags;
3076 unsigned int flags__val;
3077 } hipStreamGetFlags;
3078 struct {
3079 hipStream_t stream;
3080 int* priority;
3081 int priority__val;
3082 } hipStreamGetPriority;
3083 struct {
3084 hipStream_t stream;
3085 hipStreamCaptureStatus* pCaptureStatus;
3086 hipStreamCaptureStatus pCaptureStatus__val;
3087 } hipStreamIsCapturing;
3088 struct {
3089 hipStream_t stream;
3090 } hipStreamQuery;
3091 struct {
3092 hipStream_t stream;
3093 } hipStreamSynchronize;
3094 struct {
3095 hipStream_t stream;
3096 hipGraphNode_t* dependencies;
3097 hipGraphNode_t dependencies__val;
3098 size_t numDependencies;
3099 unsigned int flags;
3100 } hipStreamUpdateCaptureDependencies;
3101 struct {
3102 hipStream_t stream;
3103 hipEvent_t event;
3104 unsigned int flags;
3105 } hipStreamWaitEvent;
3106 struct {
3107 hipStream_t stream;
3108 void* ptr;
3109 unsigned int value;
3110 unsigned int flags;
3111 unsigned int mask;
3112 } hipStreamWaitValue32;
3113 struct {
3114 hipStream_t stream;
3115 void* ptr;
3116 uint64_t value;
3117 unsigned int flags;
3118 uint64_t mask;
3119 } hipStreamWaitValue64;
3120 struct {
3121 hipStream_t stream;
3122 void* ptr;
3123 unsigned int value;
3124 unsigned int flags;
3125 } hipStreamWriteValue32;
3126 struct {
3127 hipStream_t stream;
3128 void* ptr;
3129 uint64_t value;
3130 unsigned int flags;
3131 } hipStreamWriteValue64;
3132 struct {
3133 hipDeviceptr_t* dev_ptr;
3134 hipDeviceptr_t dev_ptr__val;
3135 const textureReference* texRef;
3136 textureReference texRef__val;
3137 } hipTexRefGetAddress;
3138 struct {
3139 unsigned int* pFlags;
3140 unsigned int pFlags__val;
3141 const textureReference* texRef;
3142 textureReference texRef__val;
3143 } hipTexRefGetFlags;
3144 struct {
3145 hipArray_Format* pFormat;
3146 hipArray_Format pFormat__val;
3147 int* pNumChannels;
3148 int pNumChannels__val;
3149 const textureReference* texRef;
3150 textureReference texRef__val;
3151 } hipTexRefGetFormat;
3152 struct {
3153 int* pmaxAnsio;
3154 int pmaxAnsio__val;
3155 const textureReference* texRef;
3156 textureReference texRef__val;
3157 } hipTexRefGetMaxAnisotropy;
3158 struct {
3159 hipMipmappedArray_t* pArray;
3160 hipMipmappedArray_t pArray__val;
3161 const textureReference* texRef;
3162 textureReference texRef__val;
3163 } hipTexRefGetMipMappedArray;
3164 struct {
3165 float* pbias;
3166 float pbias__val;
3167 const textureReference* texRef;
3168 textureReference texRef__val;
3169 } hipTexRefGetMipmapLevelBias;
3170 struct {
3171 float* pminMipmapLevelClamp;
3172 float pminMipmapLevelClamp__val;
3173 float* pmaxMipmapLevelClamp;
3174 float pmaxMipmapLevelClamp__val;
3175 const textureReference* texRef;
3176 textureReference texRef__val;
3177 } hipTexRefGetMipmapLevelClamp;
3178 struct {
3179 size_t* ByteOffset;
3180 size_t ByteOffset__val;
3181 textureReference* texRef;
3182 textureReference texRef__val;
3183 hipDeviceptr_t dptr;
3184 size_t bytes;
3185 } hipTexRefSetAddress;
3186 struct {
3187 textureReference* texRef;
3188 textureReference texRef__val;
3189 const HIP_ARRAY_DESCRIPTOR* desc;
3190 HIP_ARRAY_DESCRIPTOR desc__val;
3191 hipDeviceptr_t dptr;
3192 size_t Pitch;
3193 } hipTexRefSetAddress2D;
3194 struct {
3195 textureReference* tex;
3196 textureReference tex__val;
3197 hipArray_const_t array;
3198 unsigned int flags;
3199 } hipTexRefSetArray;
3200 struct {
3201 textureReference* texRef;
3202 textureReference texRef__val;
3203 float* pBorderColor;
3204 float pBorderColor__val;
3205 } hipTexRefSetBorderColor;
3206 struct {
3207 textureReference* texRef;
3208 textureReference texRef__val;
3209 unsigned int Flags;
3210 } hipTexRefSetFlags;
3211 struct {
3212 textureReference* texRef;
3213 textureReference texRef__val;
3214 hipArray_Format fmt;
3215 int NumPackedComponents;
3216 } hipTexRefSetFormat;
3217 struct {
3218 textureReference* texRef;
3219 textureReference texRef__val;
3220 unsigned int maxAniso;
3221 } hipTexRefSetMaxAnisotropy;
3222 struct {
3223 textureReference* texRef;
3224 textureReference texRef__val;
3225 float bias;
3226 } hipTexRefSetMipmapLevelBias;
3227 struct {
3228 textureReference* texRef;
3229 textureReference texRef__val;
3230 float minMipMapLevelClamp;
3231 float maxMipMapLevelClamp;
3232 } hipTexRefSetMipmapLevelClamp;
3233 struct {
3234 textureReference* texRef;
3235 textureReference texRef__val;
3236 hipMipmappedArray* mipmappedArray;
3237 hipMipmappedArray mipmappedArray__val;
3238 unsigned int Flags;
3239 } hipTexRefSetMipmappedArray;
3240 struct {
3241 hipStreamCaptureMode* mode;
3242 hipStreamCaptureMode mode__val;
3243 } hipThreadExchangeStreamCaptureMode;
3244 struct {
3245 hipUserObject_t* object_out;
3246 hipUserObject_t object_out__val;
3247 void* ptr;
3248 hipHostFn_t destroy;
3249 unsigned int initialRefcount;
3250 unsigned int flags;
3251 } hipUserObjectCreate;
3252 struct {
3253 hipUserObject_t object;
3254 unsigned int count;
3255 } hipUserObjectRelease;
3256 struct {
3257 hipUserObject_t object;
3258 unsigned int count;
3259 } hipUserObjectRetain;
3260 struct {
3261 const hipExternalSemaphore_t* extSemArray;
3262 hipExternalSemaphore_t extSemArray__val;
3263 const hipExternalSemaphoreWaitParams* paramsArray;
3264 hipExternalSemaphoreWaitParams paramsArray__val;
3265 unsigned int numExtSems;
3266 hipStream_t stream;
3267 } hipWaitExternalSemaphoresAsync;
3268 } args;
3269 uint64_t *phase_data;
3271
3272// HIP API callbacks args data filling macros
3273// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
3274#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3275 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3276 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3277 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3278 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3279};
3280// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3281#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3282 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3283 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3284 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3285 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3286};
3287// hipArray3DCreate[('hipArray**', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
3288#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3289 cb_data.args.hipArray3DCreate.array = (hipArray**)array; \
3290 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3291};
3292// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray*', 'array')]
3293#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3294 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3295 cb_data.args.hipArray3DGetDescriptor.array = (hipArray*)array; \
3296};
3297// hipArrayCreate[('hipArray**', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
3298#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3299 cb_data.args.hipArrayCreate.pHandle = (hipArray**)array; \
3300 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3301};
3302// hipArrayDestroy[('hipArray*', 'array')]
3303#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3304 cb_data.args.hipArrayDestroy.array = (hipArray*)array; \
3305};
3306// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray*', 'array')]
3307#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3308 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3309 cb_data.args.hipArrayGetDescriptor.array = (hipArray*)array; \
3310};
3311// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray*', 'array')]
3312#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3313 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3314 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3315 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3316 cb_data.args.hipArrayGetInfo.array = (hipArray*)array; \
3317};
3318// hipChooseDevice[('int*', 'device'), ('const hipDeviceProp_t*', 'prop')]
3319#define INIT_hipChooseDevice_CB_ARGS_DATA(cb_data) { \
3320 cb_data.args.hipChooseDevice.device = (int*)device; \
3321 cb_data.args.hipChooseDevice.prop = (const hipDeviceProp_t*)properties; \
3322};
3323// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
3324#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3325 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3326 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3327 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3328 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3329};
3330// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
3331#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3332 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3333 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3334};
3335// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
3336#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3337 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3338 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3339 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3340};
3341// hipCtxDestroy[('hipCtx_t', 'ctx')]
3342#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3343 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3344};
3345// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
3346#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3347 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3348};
3349// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
3350#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3351 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3352 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3353};
3354// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
3355#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3356 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3357 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3358};
3359// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3360#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3361 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3362};
3363// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
3364#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3365 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3366};
3367// hipCtxGetDevice[('hipDevice_t*', 'device')]
3368#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3369 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3370};
3371// hipCtxGetFlags[('unsigned int*', 'flags')]
3372#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3373 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3374};
3375// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3376#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3377 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3378};
3379// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
3380#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3381 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3382};
3383// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
3384#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3385 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3386};
3387// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3388#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3389 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3390};
3391// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
3392#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3393 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3394};
3395// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3396#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3397 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3398};
3399// hipCtxSynchronize[]
3400#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3401};
3402// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
3403#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3404 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3405};
3406// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
3407#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3408 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3409};
3410// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
3411#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3412 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3413};
3414// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
3415#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3416 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3417 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3418 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3419};
3420// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
3421#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3422 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3423 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3424 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3425};
3426// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
3427#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3428 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3429};
3430// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
3431#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3432 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3433 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3434};
3435// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
3436#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3437 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3438 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3439};
3440// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
3441#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3442 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3443 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3444 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3445};
3446// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
3447#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3448 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3449 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3450};
3451// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
3452#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3453 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3454};
3455// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3456#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3457 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3458 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3459};
3460// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3461#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3462 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3463 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3464 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3465};
3466// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
3467#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3468 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3469 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3470};
3471// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
3472#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3473 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3474 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3475};
3476// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
3477#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3478 cb_data.args.hipDeviceGetName.name = (char*)name; \
3479 cb_data.args.hipDeviceGetName.len = (int)len; \
3480 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3481};
3482// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
3483#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3484 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3485 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3486 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3487 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3488};
3489// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
3490#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3491 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3492 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3493 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3494};
3495// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
3496#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3497 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3498};
3499// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
3500#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3501 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3502 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3503};
3504// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
3505#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3506 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3507 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3508};
3509// hipDeviceGraphMemTrim[('int', 'device')]
3510#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3511 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3512};
3513// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
3514#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3515 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3516 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3517 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3518};
3519// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
3520#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3521 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3522};
3523// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
3524#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3525 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3526};
3527// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
3528#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3529 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3530 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3531};
3532// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
3533#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3534 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3535 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3536};
3537// hipDeviceReset[]
3538#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3539};
3540// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
3541#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3542 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3543};
3544// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
3545#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3546 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3547 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3548 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3549};
3550// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
3551#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3552 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3553 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3554};
3555// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
3556#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3557 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3558 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3559};
3560// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
3561#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3562 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3563};
3564// hipDeviceSynchronize[]
3565#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3566};
3567// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
3568#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3569 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3570 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3571};
3572// hipDriverGetVersion[('int*', 'driverVersion')]
3573#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3574 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3575};
3576// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
3577#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3578 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3579};
3580// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
3581#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3582 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3583};
3584// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
3585#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3586 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3587 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3588};
3589// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
3590#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3591 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3592 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3593 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3594 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3595};
3596// hipEventCreate[('hipEvent_t*', 'event')]
3597#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3598 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3599};
3600// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
3601#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3602 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3603 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3604};
3605// hipEventDestroy[('hipEvent_t', 'event')]
3606#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3607 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3608};
3609// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
3610#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3611 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3612 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3613 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3614};
3615// hipEventQuery[('hipEvent_t', 'event')]
3616#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3617 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3618};
3619// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
3620#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3621 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3622 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3623};
3624// hipEventSynchronize[('hipEvent_t', 'event')]
3625#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3626 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3627};
3628// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
3629#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3630 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3631 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3632 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3633 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3634};
3635// 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')]
3636#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3638 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3639 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3640 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3641 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3642 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3643 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3644 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3645 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3646};
3647// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
3648#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3649 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3650 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3651 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3652};
3653// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
3654#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3655 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3656 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3657 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3658};
3659// 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')]
3660#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3661 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3662 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3663 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3664 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3665 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3666 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3667 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3668 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3669 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3670 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3671 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3672 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3673 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3674 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3675};
3676// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
3677#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3678 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3679 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3680 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3681};
3682// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
3683#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3684 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3685 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3686 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3687};
3688// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
3689#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3690 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3691 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3692 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3693};
3694// hipFree[('void*', 'ptr')]
3695#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
3696 cb_data.args.hipFree.ptr = (void*)ptr; \
3697};
3698// hipFreeArray[('hipArray*', 'array')]
3699#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
3700 cb_data.args.hipFreeArray.array = (hipArray*)array; \
3701};
3702// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
3703#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
3704 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
3705 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
3706};
3707// hipFreeHost[('void*', 'ptr')]
3708#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
3710};
3711// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
3712#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
3713 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
3714};
3715// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
3716#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
3717 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
3718 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
3719 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
3720};
3721// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
3722#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
3723 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
3724 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
3725};
3726// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
3727#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
3728 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
3729 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
3730 cb_data.args.hipFuncSetAttribute.value = (int)value; \
3731};
3732// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
3733#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3734 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
3735 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
3736};
3737// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
3738#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3739 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
3740 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3741};
3742// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
3743#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
3744 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
3745 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
3746 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
3747 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
3748};
3749// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
3750#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
3751 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
3752 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
3753};
3754// hipGetDevice[('int*', 'deviceId')]
3755#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
3756 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
3757};
3758// hipGetDeviceCount[('int*', 'count')]
3759#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
3760 cb_data.args.hipGetDeviceCount.count = (int*)count; \
3761};
3762// hipGetDeviceFlags[('unsigned int*', 'flags')]
3763#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
3764 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
3765};
3766// hipGetDeviceProperties[('hipDeviceProp_t*', 'props'), ('hipDevice_t', 'device')]
3767#define INIT_hipGetDeviceProperties_CB_ARGS_DATA(cb_data) { \
3768 cb_data.args.hipGetDeviceProperties.props = (hipDeviceProp_t*)props; \
3769 cb_data.args.hipGetDeviceProperties.device = (hipDevice_t)device; \
3770};
3771// hipGetErrorString[]
3772#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
3773};
3774// hipGetLastError[]
3775#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
3776};
3777// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
3778#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
3779 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
3780 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
3781 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
3782};
3783// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
3784#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
3785 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
3786 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
3787};
3788// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
3789#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
3790 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
3791 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
3792};
3793// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
3794#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
3795 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3796 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
3797 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3798 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
3799 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
3800};
3801// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
3802#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
3803 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
3804 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
3805 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
3806 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
3807};
3808// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
3809#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
3810 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3811 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
3812 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3813 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
3814};
3815// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
3816#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
3817 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3818 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
3819 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3820 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
3821 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
3822};
3823// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
3824#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
3825 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3826 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
3827 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3828 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
3829 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
3830};
3831// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
3832#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
3833 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3834 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
3835 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3836 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
3837 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
3838};
3839// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
3840#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
3841 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3842 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
3843 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3844 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
3845 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
3846};
3847// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
3848#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
3849 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3850 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
3851 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3852 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
3853 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
3854};
3855// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
3856#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
3857 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3858 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
3859 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3860 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
3861 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
3862};
3863// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
3864#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3865 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3866 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
3867 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3868 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
3869 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
3870};
3871// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
3872#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
3873 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3874 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
3875 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
3876 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
3877 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
3878 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
3879 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
3880 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
3881};
3882// 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')]
3883#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
3884 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3885 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
3886 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
3887 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
3888 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
3889 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
3890 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
3891 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
3892 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
3893};
3894// 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')]
3895#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
3896 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3897 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
3898 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
3899 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
3900 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
3901 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
3902 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
3903 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
3904 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
3905};
3906// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
3907#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3908 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3909 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
3910 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3911 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
3912 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
3913};
3914// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
3915#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
3916 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
3917 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
3918};
3919// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
3920#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
3921 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
3922 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
3923};
3924// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
3925#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
3926 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
3927 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
3928};
3929// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
3930#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
3931 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
3932 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
3933 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
3934};
3935// hipGraphDestroy[('hipGraph_t', 'graph')]
3936#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
3937 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
3938};
3939// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
3940#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
3941 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
3942};
3943// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
3944#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
3945 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
3946 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
3947};
3948// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
3949#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3950 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
3951 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
3952};
3953// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
3954#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
3955 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
3956 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
3957};
3958// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
3959#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3960 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
3961 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
3962};
3963// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
3964#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
3965 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3966 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
3967 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
3968};
3969// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
3970#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
3971 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
3972};
3973// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
3974#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3975 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
3976 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
3977 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
3978};
3979// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
3980#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3981 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
3982 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
3983 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
3984};
3985// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
3986#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
3987 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3988 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
3989 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
3990};
3991// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
3992#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
3993 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3994 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
3995 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
3996};
3997// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
3998#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3999 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4000 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4001 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4002};
4003// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4004#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4005 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4006 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4007 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4008 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4009 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4010 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4011};
4012// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4013#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4014 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4015 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4016 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4017 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4018 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4019 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4020 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4021};
4022// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4023#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4024 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4025 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4026 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4027 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4028 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4029 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4030 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4031};
4032// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4033#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4034 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4035 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4036 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4037};
4038// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
4039#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4040 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4041 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4042 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4043 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4044};
4045// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
4046#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4047 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4048 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4049 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4050 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4051};
4052// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
4053#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4054 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4055 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4056 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4057};
4058// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
4059#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4060 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4061 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4062 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4063};
4064// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
4065#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4066 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4067 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4068};
4069// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
4070#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4071 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4072 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4073};
4074// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
4075#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4076 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4077 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4078 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4079 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4080 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4081};
4082// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
4083#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4084 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4085 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4086 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4087};
4088// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
4089#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4090 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4091 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4092};
4093// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('hipKernelNodeAttrValue*', 'value')]
4094#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4095 cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
4096 cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
4097 cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
4098};
4099// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
4100#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4101 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4102 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4103};
4104// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('const hipKernelNodeAttrValue*', 'value')]
4105#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4106 cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
4107 cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
4108 cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
4109};
4110// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
4111#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4112 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4113 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4114};
4115// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4116#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4117 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4118 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4119};
4120// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
4121#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4122 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4123 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4124};
4125// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
4126#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4127 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4128 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4129};
4130// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
4131#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4132 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4133 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4134};
4135// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
4136#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4137 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4138 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4139};
4140// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4141#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4142 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4143 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4144 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4145 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4146 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4147};
4148// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4149#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4150 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4151 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4152 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4153 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4154 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4155 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4156};
4157// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4158#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4159 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4160 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4161 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4162 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4163 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4164 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4165};
4166// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
4167#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4168 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4169 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4170};
4171// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
4172#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4173 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4174 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4175};
4176// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
4177#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4178 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4179 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4180 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4181};
4182// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
4183#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4184 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4185 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4186 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4187};
4188// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
4189#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4190 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4191 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4192 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4193};
4194// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
4195#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4196 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4197 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4198 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4199};
4200// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
4201#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4202 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4203 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4204};
4205// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
4206#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4207 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4208 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4209 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4210};
4211// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
4212#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4213 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4214 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4215 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4216};
4217// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
4218#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4219 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4220 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4221 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4222 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4223};
4224// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
4225#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4226 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4227 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4228 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4229 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4230};
4231// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
4232#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4233 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4234 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4235};
4236// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
4237#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4238 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4239 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4240 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4241};
4242// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
4243#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4244 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4245 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4246 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4247 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4248};
4249// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4250#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4251 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4252 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4253 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4254};
4255// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
4256#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4257 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4258 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4259 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4260};
4261// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
4262#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4263 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4264 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4265 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4266 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4267};
4268// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
4269#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4270 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4271 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4272 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4273};
4274// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
4275#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4276 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4277};
4278// 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')]
4279#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4280 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4281 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4282 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4283 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4284 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4285 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4286 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4287 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4288 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4289 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4290 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4291 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4292 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4293};
4294// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4295#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4296 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4297 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4298 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4299};
4300// hipHostFree[('void*', 'ptr')]
4301#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4302 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4303};
4304// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
4305#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4306 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4307 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4308 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4309};
4310// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
4311#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4312 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4313 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4314};
4315// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4316#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4317 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4318 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4319 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4320};
4321// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
4322#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4323 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4324 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4325 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4326};
4327// hipHostUnregister[('void*', 'hostPtr')]
4328#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4329 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4330};
4331// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
4332#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4333 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4334 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4335};
4336// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
4337#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4338 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4339 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4340};
4341// hipInit[('unsigned int', 'flags')]
4342#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4343 cb_data.args.hipInit.flags = (unsigned int)flags; \
4344};
4345// hipIpcCloseMemHandle[('void*', 'devPtr')]
4346#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4347 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4348};
4349// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
4350#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4351 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4352 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4353};
4354// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
4355#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4356 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4357 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4358};
4359// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
4360#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4361 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4362 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4363};
4364// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
4365#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4366 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4367 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4368 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4369};
4370// hipLaunchByPtr[('const void*', 'hostFunction')]
4371#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4372 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4373};
4374// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4375#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4376 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4377 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4378 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4379 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4380 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4381 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4382};
4383// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
4384#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4385 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4386 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4387 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4388};
4389// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
4390#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4391 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4392 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4393 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4394};
4395// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
4396#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4397 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4398 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4399 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4400 cb_data.args.hipLaunchKernel.args = (void**)args; \
4401 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4402 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4403};
4404// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
4405#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4406 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4407 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4408};
4409// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
4410#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4411 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4412 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4413};
4414// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
4415#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4416 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4417 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4418 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4419 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4420};
4421// hipMallocArray[('hipArray**', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
4422#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4423 cb_data.args.hipMallocArray.array = (hipArray**)array; \
4424 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4425 cb_data.args.hipMallocArray.width = (size_t)width; \
4426 cb_data.args.hipMallocArray.height = (size_t)height; \
4427 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4428};
4429// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
4430#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4431 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4432 cb_data.args.hipMallocAsync.size = (size_t)size; \
4433 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4434};
4435// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
4436#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4437 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4438 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4439 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4440 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4441};
4442// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
4443#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4444 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4445 cb_data.args.hipMallocHost.size = (size_t)size; \
4446};
4447// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
4448#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4449 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4450 cb_data.args.hipMallocManaged.size = (size_t)size; \
4451 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4452};
4453// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
4454#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4455 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4456 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4457 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4458 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4459 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4460};
4461// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
4462#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4463 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4464 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4465 cb_data.args.hipMallocPitch.width = (size_t)width; \
4466 cb_data.args.hipMallocPitch.height = (size_t)height; \
4467};
4468// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
4469#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4470 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4471 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4472};
4473// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
4474#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4475 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4476 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4477 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4478 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4479 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4480};
4481// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
4482#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4483 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4484 cb_data.args.hipMemAdvise.count = (size_t)count; \
4485 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4486 cb_data.args.hipMemAdvise.device = (int)device; \
4487};
4488// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
4489#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4490 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4491 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4492};
4493// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
4494#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4495 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4496 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4497 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4498 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4499 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4500};
4501// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
4502#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4503 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4504 cb_data.args.hipMemCreate.size = (size_t)size; \
4505 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4506 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4507};
4508// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
4509#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4510 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4511 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4512 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4513 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4514};
4515// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
4516#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4517 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4518 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4519 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4520};
4521// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
4522#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4523 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4524 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4525 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4526};
4527// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
4528#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4529 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4530 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4531 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4532};
4533// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
4534#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4535 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4536 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4537};
4538// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
4539#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4540 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4541 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4542};
4543// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
4544#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4545 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4546 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4547 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4548};
4549// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
4550#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4551 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4552 cb_data.args.hipMemMap.size = (size_t)size; \
4553 cb_data.args.hipMemMap.offset = (size_t)offset; \
4554 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4555 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4556};
4557// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
4558#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4559 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4560 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4561 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4562};
4563// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
4564#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4565 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4566 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4567};
4568// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
4569#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4570 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4571};
4572// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
4573#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4574 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4575 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4576};
4577// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4578#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4579 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4580 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4581 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4582 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4583};
4584// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
4585#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4586 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4587 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4588 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4589};
4590// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4591#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4592 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4593 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4594 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4595};
4596// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
4597#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4598 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4599 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4600 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4601 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4602};
4603// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
4604#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4605 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4606 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4607 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4608};
4609// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
4610#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4611 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4612 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4613 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4614};
4615// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
4616#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4617 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4618 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
4619 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
4620};
4621// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
4622#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
4623 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
4624 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
4625};
4626// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
4627#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
4628 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
4629 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
4630 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
4631 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
4632};
4633// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
4634#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
4635 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
4636 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
4637};
4638// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
4639#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
4640 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
4641 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
4642 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
4643 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
4644 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
4645};
4646// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
4647#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
4648 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
4649 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
4650 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
4651 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
4652 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
4653 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
4654};
4655// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
4656#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
4657 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
4658};
4659// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
4660#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
4661 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4662 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
4663};
4664// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
4665#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
4666 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
4667 cb_data.args.hipMemSetAccess.size = (size_t)size; \
4668 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
4669 cb_data.args.hipMemSetAccess.count = (size_t)count; \
4670};
4671// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
4672#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
4673 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
4674 cb_data.args.hipMemUnmap.size = (size_t)size; \
4675};
4676// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
4677#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
4678 cb_data.args.hipMemcpy.dst = (void*)dst; \
4679 cb_data.args.hipMemcpy.src = (const void*)src; \
4680 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
4681 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
4682};
4683// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4684#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
4685 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
4686 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
4687 cb_data.args.hipMemcpy2D.src = (const void*)src; \
4688 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
4689 cb_data.args.hipMemcpy2D.width = (size_t)width; \
4690 cb_data.args.hipMemcpy2D.height = (size_t)height; \
4691 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
4692};
4693// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4694#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
4695 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
4696 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
4697 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
4698 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
4699 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
4700 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
4701 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
4702 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
4703};
4704// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4705#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
4706 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
4707 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
4708 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
4709 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
4710 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
4711 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
4712 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
4713 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
4714};
4715// 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')]
4716#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
4717 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
4718 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
4719 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
4720 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
4721 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
4722 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
4723 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
4724 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
4725 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
4726};
4727// hipMemcpy2DToArray[('hipArray*', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
4728#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
4729 cb_data.args.hipMemcpy2DToArray.dst = (hipArray*)dst; \
4730 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
4731 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
4732 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
4733 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
4734 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
4735 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
4736 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
4737};
4738// hipMemcpy2DToArrayAsync[('hipArray*', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4739#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
4740 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray*)dst; \
4741 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
4742 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
4743 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
4744 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
4745 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
4746 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
4747 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
4748 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
4749};
4750// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
4751#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
4752 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
4753};
4754// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
4755#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
4756 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
4757 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
4758};
4759// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4760#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
4761 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
4762 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
4763 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
4764 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
4765 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
4766};
4767// hipMemcpyAtoH[('void*', 'dst'), ('hipArray*', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
4768#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
4769 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
4770 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray*)srcArray; \
4771 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
4772 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
4773};
4774// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
4775#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
4776 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
4777 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
4778 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
4779};
4780// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4781#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
4782 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4783 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
4784 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
4785 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
4786};
4787// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
4788#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
4789 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
4790 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
4791 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
4792};
4793// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4794#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
4795 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
4796 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
4797 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
4798 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
4799};
4800// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4801#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
4802 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
4803 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
4804 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
4805 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
4806 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
4807 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
4808};
4809// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4810#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
4811 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
4812 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
4813 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
4814 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
4815 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
4816};
4817// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4818#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
4819 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
4820 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
4821 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
4822 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
4823 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
4824 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
4825};
4826// hipMemcpyHtoA[('hipArray*', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
4827#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
4828 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray*)dstArray; \
4829 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
4830 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
4831 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
4832};
4833// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
4834#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
4835 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
4836 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
4837 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
4838};
4839// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4840#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
4841 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4842 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
4843 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
4844 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
4845};
4846// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
4847#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
4848 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
4849};
4850// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
4851#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
4852 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
4853 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
4854};
4855// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
4856#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
4857 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
4858 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
4859 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
4860 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
4861 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
4862};
4863// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4864#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
4865 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
4866 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
4867 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
4868 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
4869 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
4870 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
4871};
4872// hipMemcpyToArray[('hipArray*', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
4873#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
4874 cb_data.args.hipMemcpyToArray.dst = (hipArray*)dst; \
4875 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
4876 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
4877 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
4878 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
4879 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
4880};
4881// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
4882#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
4883 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
4884 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
4885 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
4886 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
4887 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
4888};
4889// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4890#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
4891 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
4892 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
4893 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
4894 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
4895 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
4896 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
4897};
4898// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
4899#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
4900 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
4901 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
4902 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
4903 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
4904 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
4905};
4906// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
4907#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
4908 cb_data.args.hipMemset.dst = (void*)dst; \
4909 cb_data.args.hipMemset.value = (int)value; \
4910 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
4911};
4912// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
4913#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
4914 cb_data.args.hipMemset2D.dst = (void*)dst; \
4915 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
4916 cb_data.args.hipMemset2D.value = (int)value; \
4917 cb_data.args.hipMemset2D.width = (size_t)width; \
4918 cb_data.args.hipMemset2D.height = (size_t)height; \
4919};
4920// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
4921#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
4922 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
4923 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
4924 cb_data.args.hipMemset2DAsync.value = (int)value; \
4925 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
4926 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
4927 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
4928};
4929// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
4930#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
4931 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
4932 cb_data.args.hipMemset3D.value = (int)value; \
4933 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
4934};
4935// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
4936#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
4937 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
4938 cb_data.args.hipMemset3DAsync.value = (int)value; \
4939 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
4940 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
4941};
4942// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
4943#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
4944 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
4945 cb_data.args.hipMemsetAsync.value = (int)value; \
4946 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
4947 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
4948};
4949// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
4950#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
4951 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
4952 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
4953 cb_data.args.hipMemsetD16.count = (size_t)count; \
4954};
4955// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
4956#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
4957 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
4958 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
4959 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
4960 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
4961};
4962// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
4963#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
4964 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
4965 cb_data.args.hipMemsetD32.value = (int)value; \
4966 cb_data.args.hipMemsetD32.count = (size_t)count; \
4967};
4968// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
4969#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
4970 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
4971 cb_data.args.hipMemsetD32Async.value = (int)value; \
4972 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
4973 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
4974};
4975// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
4976#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
4977 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
4978 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
4979 cb_data.args.hipMemsetD8.count = (size_t)count; \
4980};
4981// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
4982#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
4983 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
4984 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
4985 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
4986 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
4987};
4988// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
4989#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
4990 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
4991 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
4992 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
4993};
4994// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
4995#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
4996 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
4997};
4998// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
4999#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5000 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5001 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5002 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5003};
5004// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
5005#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5006 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5007 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5008 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5009};
5010// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5011#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5012 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5013 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5014 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5015 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5016};
5017// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
5018#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5019 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5020 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5021 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5022};
5023// 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')]
5024#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5025 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5026 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5027 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5028 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5029 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5030 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5031 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5032 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5033 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5034 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5035};
5036// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
5037#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5038 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5039 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5040 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5041};
5042// 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')]
5043#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5044 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5045 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5046 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5047 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5048 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5049 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5050 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5051 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5052 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5053 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5054 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5055};
5056// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
5057#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5058 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5059 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5060};
5061// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
5062#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5063 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5064 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5065};
5066// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
5067#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5068 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5069 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5070 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5071 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5072 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5073};
5074// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
5075#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5076 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5077 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5078 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5079 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5080};
5081// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
5082#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5083 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5084 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5085 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5086 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5087 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5088};
5089// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5090#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5091 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5092 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5093 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5094 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5095 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5096};
5097// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
5098#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5099 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5100 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5101 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5102 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5103 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5104 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5105};
5106// hipModuleUnload[('hipModule_t', 'module')]
5107#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5108 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5109};
5110// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
5111#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5112 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5113 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5114 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5115 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5116};
5117// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
5118#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5119 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5120 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5121 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5122 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5123 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5124};
5125// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
5126#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5127 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5128 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5129 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5130 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5131 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5132};
5133// hipPeekAtLastError[]
5134#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5135};
5136// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5137#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5138 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5139 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5140 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5141};
5142// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
5143#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5144 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5145 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5146};
5147// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
5148#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5149 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5150 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5151 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5152};
5153// hipProfilerStart[]
5154#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5155};
5156// hipProfilerStop[]
5157#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5158};
5159// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
5160#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5161 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5162};
5163// hipSetDevice[('int', 'deviceId')]
5164#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5165 cb_data.args.hipSetDevice.deviceId = (int)device; \
5166};
5167// hipSetDeviceFlags[('unsigned int', 'flags')]
5168#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5169 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5170};
5171// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
5172#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5173 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5174 cb_data.args.hipSetupArgument.size = (size_t)size; \
5175 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5176};
5177// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5178#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5179 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5180 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5181 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5182 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5183};
5184// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
5185#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5186 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5187 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5188 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5189 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5190};
5191// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
5192#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5193 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5194 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5195 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5196 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5197};
5198// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
5199#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5200 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5201 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5202};
5203// hipStreamCreate[('hipStream_t*', 'stream')]
5204#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5205 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5206};
5207// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
5208#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5209 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5210 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5211};
5212// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
5213#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5214 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5215 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5216 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5217};
5218// hipStreamDestroy[('hipStream_t', 'stream')]
5219#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5220 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5221};
5222// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
5223#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5224 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5225 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5226};
5227// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
5228#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5229 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5230 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5231 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5232};
5233// 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')]
5234#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5235 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5236 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5237 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5238 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5239 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5240 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5241};
5242// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
5243#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5244 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5245 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5246};
5247// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
5248#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5249 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5250 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5251};
5252// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
5253#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5254 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5255 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5256};
5257// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
5258#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5260 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5261};
5262// hipStreamQuery[('hipStream_t', 'stream')]
5263#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5264 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5265};
5266// hipStreamSynchronize[('hipStream_t', 'stream')]
5267#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5268 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5269};
5270// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
5271#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5272 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5273 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5274 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5275 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5276};
5277// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
5278#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5279 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5280 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5281 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5282};
5283// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
5284#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5285 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5286 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5287 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5288 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5289 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5290};
5291// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
5292#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5293 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5294 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5295 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5296 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5297 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5298};
5299// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
5300#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5301 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5302 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5303 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5304 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5305};
5306// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
5307#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5308 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5309 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5310 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5311 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5312};
5313// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
5314#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5315 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5316 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5317};
5318// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
5319#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5320 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5321 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5322};
5323// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
5324#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5325 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5326 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5327 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5328};
5329// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
5330#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5331 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5332 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5333};
5334// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
5335#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5336};
5337// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
5338#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5339 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5340 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5341};
5342// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
5343#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5344 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5345 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5346 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5347};
5348// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
5349#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5350 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5351 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5352 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5353 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5354};
5355// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
5356#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5357 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5358 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5359 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5360 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5361};
5362// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
5363#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5364 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5365 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5366 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5367};
5368// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
5369#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5370 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5371 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5372};
5373// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
5374#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5375 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5376 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5377};
5378// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
5379#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5380 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5381 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5382 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5383};
5384// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
5385#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5386 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5387 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5388};
5389// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
5390#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5391 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5392 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5393};
5394// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
5395#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5396 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5397 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5398 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5399};
5400// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
5401#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5402 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5403 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5404 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5405};
5406// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
5407#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5408 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5409};
5410// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
5411#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5412 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5413 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5414 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5415 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5416 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5417};
5418// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5419#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5420 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5421 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5422};
5423// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
5424#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5425 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5426 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5427};
5428// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
5429#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5430 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5431 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5432 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5433 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5434};
5435#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5436
5437// Macros for non-public API primitives
5438// hipBindTexture()
5439#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5440// hipBindTexture2D()
5441#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5442// hipBindTextureToArray()
5443#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5444// hipBindTextureToMipmappedArray()
5445#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5446// hipCreateTextureObject()
5447#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5448// hipDestroyTextureObject()
5449#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5450// hipDeviceGetCount()
5451#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5452// hipGetTextureAlignmentOffset()
5453#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5454// hipGetTextureObjectResourceDesc()
5455#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5456// hipGetTextureObjectResourceViewDesc()
5457#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5458// hipGetTextureObjectTextureDesc()
5459#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5460// hipGetTextureReference()
5461#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5462// hipMemcpy2DArrayToArray()
5463#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
5464// hipMemcpyArrayToArray()
5465#define INIT_hipMemcpyArrayToArray_CB_ARGS_DATA(cb_data) {};
5466// hipMemcpyAtoA()
5467#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
5468// hipMemcpyAtoD()
5469#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
5470// hipMemcpyAtoHAsync()
5471#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
5472// hipMemcpyDtoA()
5473#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
5474// hipMemcpyFromArrayAsync()
5475#define INIT_hipMemcpyFromArrayAsync_CB_ARGS_DATA(cb_data) {};
5476// hipMemcpyHtoAAsync()
5477#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
5478// hipMemcpyToArrayAsync()
5479#define INIT_hipMemcpyToArrayAsync_CB_ARGS_DATA(cb_data) {};
5480// hipModuleLaunchKernelExt()
5481#define INIT_hipModuleLaunchKernelExt_CB_ARGS_DATA(cb_data) {};
5482// hipSetValidDevices()
5483#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
5484// hipTexObjectCreate()
5485#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5486// hipTexObjectDestroy()
5487#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5488// hipTexObjectGetResourceDesc()
5489#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5490// hipTexObjectGetResourceViewDesc()
5491#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5492// hipTexObjectGetTextureDesc()
5493#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5494// hipTexRefGetAddressMode()
5495#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5496// hipTexRefGetArray()
5497#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
5498// hipTexRefGetBorderColor()
5499#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
5500// hipTexRefGetFilterMode()
5501#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5502// hipTexRefGetMipmapFilterMode()
5503#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5504// hipTexRefGetMipmappedArray()
5505#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
5506// hipTexRefSetAddressMode()
5507#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5508// hipTexRefSetFilterMode()
5509#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5510// hipTexRefSetMipmapFilterMode()
5511#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5512// hipUnbindTexture()
5513#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5514
5515#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5516
5517#if HIP_PROF_HIP_API_STRING
5518// HIP API args filling helper
5519static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
5520 switch (id) {
5521// __hipPopCallConfiguration[('dim3*', 'gridDim'), ('dim3*', 'blockDim'), ('size_t*', 'sharedMem'), ('hipStream_t*', 'stream')]
5522 case HIP_API_ID___hipPopCallConfiguration:
5523 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5524 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5525 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5526 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5527 break;
5528// __hipPushCallConfiguration[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5529 case HIP_API_ID___hipPushCallConfiguration:
5530 break;
5531// hipArray3DCreate[('hipArray**', 'array'), ('const HIP_ARRAY3D_DESCRIPTOR*', 'pAllocateArray')]
5532 case HIP_API_ID_hipArray3DCreate:
5533 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5534 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5535 break;
5536// hipArray3DGetDescriptor[('HIP_ARRAY3D_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray*', 'array')]
5537 case HIP_API_ID_hipArray3DGetDescriptor:
5538 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5539 if (data->args.hipArray3DGetDescriptor.array) data->args.hipArray3DGetDescriptor.array__val = *(data->args.hipArray3DGetDescriptor.array);
5540 break;
5541// hipArrayCreate[('hipArray**', 'pHandle'), ('const HIP_ARRAY_DESCRIPTOR*', 'pAllocateArray')]
5542 case HIP_API_ID_hipArrayCreate:
5543 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5544 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5545 break;
5546// hipArrayDestroy[('hipArray*', 'array')]
5547 case HIP_API_ID_hipArrayDestroy:
5548 if (data->args.hipArrayDestroy.array) data->args.hipArrayDestroy.array__val = *(data->args.hipArrayDestroy.array);
5549 break;
5550// hipArrayGetDescriptor[('HIP_ARRAY_DESCRIPTOR*', 'pArrayDescriptor'), ('hipArray*', 'array')]
5551 case HIP_API_ID_hipArrayGetDescriptor:
5552 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5553 if (data->args.hipArrayGetDescriptor.array) data->args.hipArrayGetDescriptor.array__val = *(data->args.hipArrayGetDescriptor.array);
5554 break;
5555// hipArrayGetInfo[('hipChannelFormatDesc*', 'desc'), ('hipExtent*', 'extent'), ('unsigned int*', 'flags'), ('hipArray*', 'array')]
5556 case HIP_API_ID_hipArrayGetInfo:
5557 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5558 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5559 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5560 if (data->args.hipArrayGetInfo.array) data->args.hipArrayGetInfo.array__val = *(data->args.hipArrayGetInfo.array);
5561 break;
5562// hipChooseDevice[('int*', 'device'), ('const hipDeviceProp_t*', 'prop')]
5563 case HIP_API_ID_hipChooseDevice:
5564 if (data->args.hipChooseDevice.device) data->args.hipChooseDevice.device__val = *(data->args.hipChooseDevice.device);
5565 if (data->args.hipChooseDevice.prop) data->args.hipChooseDevice.prop__val = *(data->args.hipChooseDevice.prop);
5566 break;
5567// hipConfigureCall[('dim3', 'gridDim'), ('dim3', 'blockDim'), ('size_t', 'sharedMem'), ('hipStream_t', 'stream')]
5568 case HIP_API_ID_hipConfigureCall:
5569 break;
5570// hipCreateSurfaceObject[('hipSurfaceObject_t*', 'pSurfObject'), ('const hipResourceDesc*', 'pResDesc')]
5571 case HIP_API_ID_hipCreateSurfaceObject:
5572 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
5573 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
5574 break;
5575// hipCtxCreate[('hipCtx_t*', 'ctx'), ('unsigned int', 'flags'), ('hipDevice_t', 'device')]
5576 case HIP_API_ID_hipCtxCreate:
5577 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
5578 break;
5579// hipCtxDestroy[('hipCtx_t', 'ctx')]
5580 case HIP_API_ID_hipCtxDestroy:
5581 break;
5582// hipCtxDisablePeerAccess[('hipCtx_t', 'peerCtx')]
5583 case HIP_API_ID_hipCtxDisablePeerAccess:
5584 break;
5585// hipCtxEnablePeerAccess[('hipCtx_t', 'peerCtx'), ('unsigned int', 'flags')]
5586 case HIP_API_ID_hipCtxEnablePeerAccess:
5587 break;
5588// hipCtxGetApiVersion[('hipCtx_t', 'ctx'), ('int*', 'apiVersion')]
5589 case HIP_API_ID_hipCtxGetApiVersion:
5590 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
5591 break;
5592// hipCtxGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
5593 case HIP_API_ID_hipCtxGetCacheConfig:
5594 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
5595 break;
5596// hipCtxGetCurrent[('hipCtx_t*', 'ctx')]
5597 case HIP_API_ID_hipCtxGetCurrent:
5598 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
5599 break;
5600// hipCtxGetDevice[('hipDevice_t*', 'device')]
5601 case HIP_API_ID_hipCtxGetDevice:
5602 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
5603 break;
5604// hipCtxGetFlags[('unsigned int*', 'flags')]
5605 case HIP_API_ID_hipCtxGetFlags:
5606 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
5607 break;
5608// hipCtxGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
5609 case HIP_API_ID_hipCtxGetSharedMemConfig:
5610 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
5611 break;
5612// hipCtxPopCurrent[('hipCtx_t*', 'ctx')]
5613 case HIP_API_ID_hipCtxPopCurrent:
5614 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
5615 break;
5616// hipCtxPushCurrent[('hipCtx_t', 'ctx')]
5617 case HIP_API_ID_hipCtxPushCurrent:
5618 break;
5619// hipCtxSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
5620 case HIP_API_ID_hipCtxSetCacheConfig:
5621 break;
5622// hipCtxSetCurrent[('hipCtx_t', 'ctx')]
5623 case HIP_API_ID_hipCtxSetCurrent:
5624 break;
5625// hipCtxSetSharedMemConfig[('hipSharedMemConfig', 'config')]
5626 case HIP_API_ID_hipCtxSetSharedMemConfig:
5627 break;
5628// hipCtxSynchronize[]
5629 case HIP_API_ID_hipCtxSynchronize:
5630 break;
5631// hipDestroyExternalMemory[('hipExternalMemory_t', 'extMem')]
5632 case HIP_API_ID_hipDestroyExternalMemory:
5633 break;
5634// hipDestroyExternalSemaphore[('hipExternalSemaphore_t', 'extSem')]
5635 case HIP_API_ID_hipDestroyExternalSemaphore:
5636 break;
5637// hipDestroySurfaceObject[('hipSurfaceObject_t', 'surfaceObject')]
5638 case HIP_API_ID_hipDestroySurfaceObject:
5639 break;
5640// hipDeviceCanAccessPeer[('int*', 'canAccessPeer'), ('int', 'deviceId'), ('int', 'peerDeviceId')]
5641 case HIP_API_ID_hipDeviceCanAccessPeer:
5642 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
5643 break;
5644// hipDeviceComputeCapability[('int*', 'major'), ('int*', 'minor'), ('hipDevice_t', 'device')]
5645 case HIP_API_ID_hipDeviceComputeCapability:
5646 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
5647 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
5648 break;
5649// hipDeviceDisablePeerAccess[('int', 'peerDeviceId')]
5650 case HIP_API_ID_hipDeviceDisablePeerAccess:
5651 break;
5652// hipDeviceEnablePeerAccess[('int', 'peerDeviceId'), ('unsigned int', 'flags')]
5653 case HIP_API_ID_hipDeviceEnablePeerAccess:
5654 break;
5655// hipDeviceGet[('hipDevice_t*', 'device'), ('int', 'ordinal')]
5656 case HIP_API_ID_hipDeviceGet:
5657 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
5658 break;
5659// hipDeviceGetAttribute[('int*', 'pi'), ('hipDeviceAttribute_t', 'attr'), ('int', 'deviceId')]
5660 case HIP_API_ID_hipDeviceGetAttribute:
5661 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
5662 break;
5663// hipDeviceGetByPCIBusId[('int*', 'device'), ('const char*', 'pciBusId')]
5664 case HIP_API_ID_hipDeviceGetByPCIBusId:
5665 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
5666 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
5667 break;
5668// hipDeviceGetCacheConfig[('hipFuncCache_t*', 'cacheConfig')]
5669 case HIP_API_ID_hipDeviceGetCacheConfig:
5670 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
5671 break;
5672// hipDeviceGetDefaultMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
5673 case HIP_API_ID_hipDeviceGetDefaultMemPool:
5674 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
5675 break;
5676// hipDeviceGetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
5677 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
5678 break;
5679// hipDeviceGetLimit[('size_t*', 'pValue'), ('hipLimit_t', 'limit')]
5680 case HIP_API_ID_hipDeviceGetLimit:
5681 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
5682 break;
5683// hipDeviceGetMemPool[('hipMemPool_t*', 'mem_pool'), ('int', 'device')]
5684 case HIP_API_ID_hipDeviceGetMemPool:
5685 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
5686 break;
5687// hipDeviceGetName[('char*', 'name'), ('int', 'len'), ('hipDevice_t', 'device')]
5688 case HIP_API_ID_hipDeviceGetName:
5689 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
5690 break;
5691// hipDeviceGetP2PAttribute[('int*', 'value'), ('hipDeviceP2PAttr', 'attr'), ('int', 'srcDevice'), ('int', 'dstDevice')]
5692 case HIP_API_ID_hipDeviceGetP2PAttribute:
5693 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
5694 break;
5695// hipDeviceGetPCIBusId[('char*', 'pciBusId'), ('int', 'len'), ('int', 'device')]
5696 case HIP_API_ID_hipDeviceGetPCIBusId:
5697 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
5698 break;
5699// hipDeviceGetSharedMemConfig[('hipSharedMemConfig*', 'pConfig')]
5700 case HIP_API_ID_hipDeviceGetSharedMemConfig:
5701 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
5702 break;
5703// hipDeviceGetStreamPriorityRange[('int*', 'leastPriority'), ('int*', 'greatestPriority')]
5704 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
5705 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
5706 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
5707 break;
5708// hipDeviceGetUuid[('hipUUID*', 'uuid'), ('hipDevice_t', 'device')]
5709 case HIP_API_ID_hipDeviceGetUuid:
5710 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
5711 break;
5712// hipDeviceGraphMemTrim[('int', 'device')]
5713 case HIP_API_ID_hipDeviceGraphMemTrim:
5714 break;
5715// hipDevicePrimaryCtxGetState[('hipDevice_t', 'dev'), ('unsigned int*', 'flags'), ('int*', 'active')]
5716 case HIP_API_ID_hipDevicePrimaryCtxGetState:
5717 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
5718 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
5719 break;
5720// hipDevicePrimaryCtxRelease[('hipDevice_t', 'dev')]
5721 case HIP_API_ID_hipDevicePrimaryCtxRelease:
5722 break;
5723// hipDevicePrimaryCtxReset[('hipDevice_t', 'dev')]
5724 case HIP_API_ID_hipDevicePrimaryCtxReset:
5725 break;
5726// hipDevicePrimaryCtxRetain[('hipCtx_t*', 'pctx'), ('hipDevice_t', 'dev')]
5727 case HIP_API_ID_hipDevicePrimaryCtxRetain:
5728 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
5729 break;
5730// hipDevicePrimaryCtxSetFlags[('hipDevice_t', 'dev'), ('unsigned int', 'flags')]
5731 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
5732 break;
5733// hipDeviceReset[]
5734 case HIP_API_ID_hipDeviceReset:
5735 break;
5736// hipDeviceSetCacheConfig[('hipFuncCache_t', 'cacheConfig')]
5737 case HIP_API_ID_hipDeviceSetCacheConfig:
5738 break;
5739// hipDeviceSetGraphMemAttribute[('int', 'device'), ('hipGraphMemAttributeType', 'attr'), ('void*', 'value')]
5740 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
5741 break;
5742// hipDeviceSetLimit[('hipLimit_t', 'limit'), ('size_t', 'value')]
5743 case HIP_API_ID_hipDeviceSetLimit:
5744 break;
5745// hipDeviceSetMemPool[('int', 'device'), ('hipMemPool_t', 'mem_pool')]
5746 case HIP_API_ID_hipDeviceSetMemPool:
5747 break;
5748// hipDeviceSetSharedMemConfig[('hipSharedMemConfig', 'config')]
5749 case HIP_API_ID_hipDeviceSetSharedMemConfig:
5750 break;
5751// hipDeviceSynchronize[]
5752 case HIP_API_ID_hipDeviceSynchronize:
5753 break;
5754// hipDeviceTotalMem[('size_t*', 'bytes'), ('hipDevice_t', 'device')]
5755 case HIP_API_ID_hipDeviceTotalMem:
5756 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
5757 break;
5758// hipDriverGetVersion[('int*', 'driverVersion')]
5759 case HIP_API_ID_hipDriverGetVersion:
5760 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
5761 break;
5762// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
5763 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
5764 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
5765 break;
5766// hipDrvMemcpy3D[('const HIP_MEMCPY3D*', 'pCopy')]
5767 case HIP_API_ID_hipDrvMemcpy3D:
5768 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
5769 break;
5770// hipDrvMemcpy3DAsync[('const HIP_MEMCPY3D*', 'pCopy'), ('hipStream_t', 'stream')]
5771 case HIP_API_ID_hipDrvMemcpy3DAsync:
5772 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
5773 break;
5774// hipDrvPointerGetAttributes[('unsigned int', 'numAttributes'), ('hipPointer_attribute*', 'attributes'), ('void**', 'data'), ('hipDeviceptr_t', 'ptr')]
5775 case HIP_API_ID_hipDrvPointerGetAttributes:
5776 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
5777 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
5778 break;
5779// hipEventCreate[('hipEvent_t*', 'event')]
5780 case HIP_API_ID_hipEventCreate:
5781 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
5782 break;
5783// hipEventCreateWithFlags[('hipEvent_t*', 'event'), ('unsigned int', 'flags')]
5784 case HIP_API_ID_hipEventCreateWithFlags:
5785 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
5786 break;
5787// hipEventDestroy[('hipEvent_t', 'event')]
5788 case HIP_API_ID_hipEventDestroy:
5789 break;
5790// hipEventElapsedTime[('float*', 'ms'), ('hipEvent_t', 'start'), ('hipEvent_t', 'stop')]
5791 case HIP_API_ID_hipEventElapsedTime:
5792 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
5793 break;
5794// hipEventQuery[('hipEvent_t', 'event')]
5795 case HIP_API_ID_hipEventQuery:
5796 break;
5797// hipEventRecord[('hipEvent_t', 'event'), ('hipStream_t', 'stream')]
5798 case HIP_API_ID_hipEventRecord:
5799 break;
5800// hipEventSynchronize[('hipEvent_t', 'event')]
5801 case HIP_API_ID_hipEventSynchronize:
5802 break;
5803// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
5804 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
5805 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
5806 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
5807 break;
5808// 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')]
5809 case HIP_API_ID_hipExtLaunchKernel:
5810 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
5811 break;
5812// hipExtLaunchMultiKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
5813 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
5814 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
5815 break;
5816// hipExtMallocWithFlags[('void**', 'ptr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
5817 case HIP_API_ID_hipExtMallocWithFlags:
5818 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
5819 break;
5820// 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')]
5821 case HIP_API_ID_hipExtModuleLaunchKernel:
5822 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
5823 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
5824 break;
5825// hipExtStreamCreateWithCUMask[('hipStream_t*', 'stream'), ('unsigned int', 'cuMaskSize'), ('const unsigned int*', 'cuMask')]
5826 case HIP_API_ID_hipExtStreamCreateWithCUMask:
5827 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
5828 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
5829 break;
5830// hipExtStreamGetCUMask[('hipStream_t', 'stream'), ('unsigned int', 'cuMaskSize'), ('unsigned int*', 'cuMask')]
5831 case HIP_API_ID_hipExtStreamGetCUMask:
5832 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
5833 break;
5834// hipExternalMemoryGetMappedBuffer[('void**', 'devPtr'), ('hipExternalMemory_t', 'extMem'), ('const hipExternalMemoryBufferDesc*', 'bufferDesc')]
5835 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
5836 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
5837 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
5838 break;
5839// hipFree[('void*', 'ptr')]
5840 case HIP_API_ID_hipFree:
5841 break;
5842// hipFreeArray[('hipArray*', 'array')]
5843 case HIP_API_ID_hipFreeArray:
5844 if (data->args.hipFreeArray.array) data->args.hipFreeArray.array__val = *(data->args.hipFreeArray.array);
5845 break;
5846// hipFreeAsync[('void*', 'dev_ptr'), ('hipStream_t', 'stream')]
5847 case HIP_API_ID_hipFreeAsync:
5848 break;
5849// hipFreeHost[('void*', 'ptr')]
5850 case HIP_API_ID_hipFreeHost:
5851 break;
5852// hipFreeMipmappedArray[('hipMipmappedArray_t', 'mipmappedArray')]
5853 case HIP_API_ID_hipFreeMipmappedArray:
5854 break;
5855// hipFuncGetAttribute[('int*', 'value'), ('hipFunction_attribute', 'attrib'), ('hipFunction_t', 'hfunc')]
5856 case HIP_API_ID_hipFuncGetAttribute:
5857 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
5858 break;
5859// hipFuncGetAttributes[('hipFuncAttributes*', 'attr'), ('const void*', 'func')]
5860 case HIP_API_ID_hipFuncGetAttributes:
5861 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
5862 break;
5863// hipFuncSetAttribute[('const void*', 'func'), ('hipFuncAttribute', 'attr'), ('int', 'value')]
5864 case HIP_API_ID_hipFuncSetAttribute:
5865 break;
5866// hipFuncSetCacheConfig[('const void*', 'func'), ('hipFuncCache_t', 'config')]
5867 case HIP_API_ID_hipFuncSetCacheConfig:
5868 break;
5869// hipFuncSetSharedMemConfig[('const void*', 'func'), ('hipSharedMemConfig', 'config')]
5870 case HIP_API_ID_hipFuncSetSharedMemConfig:
5871 break;
5872// hipGLGetDevices[('unsigned int*', 'pHipDeviceCount'), ('int*', 'pHipDevices'), ('unsigned int', 'hipDeviceCount'), ('hipGLDeviceList', 'deviceList')]
5873 case HIP_API_ID_hipGLGetDevices:
5874 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
5875 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
5876 break;
5877// hipGetChannelDesc[('hipChannelFormatDesc*', 'desc'), ('hipArray_const_t', 'array')]
5878 case HIP_API_ID_hipGetChannelDesc:
5879 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
5880 break;
5881// hipGetDevice[('int*', 'deviceId')]
5882 case HIP_API_ID_hipGetDevice:
5883 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
5884 break;
5885// hipGetDeviceCount[('int*', 'count')]
5886 case HIP_API_ID_hipGetDeviceCount:
5887 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
5888 break;
5889// hipGetDeviceFlags[('unsigned int*', 'flags')]
5890 case HIP_API_ID_hipGetDeviceFlags:
5891 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
5892 break;
5893// hipGetDeviceProperties[('hipDeviceProp_t*', 'props'), ('hipDevice_t', 'device')]
5894 case HIP_API_ID_hipGetDeviceProperties:
5895 if (data->args.hipGetDeviceProperties.props) data->args.hipGetDeviceProperties.props__val = *(data->args.hipGetDeviceProperties.props);
5896 break;
5897// hipGetErrorString[]
5898 case HIP_API_ID_hipGetErrorString:
5899 break;
5900// hipGetLastError[]
5901 case HIP_API_ID_hipGetLastError:
5902 break;
5903// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
5904 case HIP_API_ID_hipGetMipmappedArrayLevel:
5905 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
5906 break;
5907// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
5908 case HIP_API_ID_hipGetSymbolAddress:
5909 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
5910 break;
5911// hipGetSymbolSize[('size_t*', 'size'), ('const void*', 'symbol')]
5912 case HIP_API_ID_hipGetSymbolSize:
5913 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
5914 break;
5915// hipGraphAddChildGraphNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraph_t', 'childGraph')]
5916 case HIP_API_ID_hipGraphAddChildGraphNode:
5917 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
5918 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
5919 break;
5920// hipGraphAddDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
5921 case HIP_API_ID_hipGraphAddDependencies:
5922 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
5923 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
5924 break;
5925// hipGraphAddEmptyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies')]
5926 case HIP_API_ID_hipGraphAddEmptyNode:
5927 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
5928 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
5929 break;
5930// hipGraphAddEventRecordNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
5931 case HIP_API_ID_hipGraphAddEventRecordNode:
5932 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
5933 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
5934 break;
5935// hipGraphAddEventWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipEvent_t', 'event')]
5936 case HIP_API_ID_hipGraphAddEventWaitNode:
5937 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
5938 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
5939 break;
5940// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
5941 case HIP_API_ID_hipGraphAddHostNode:
5942 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
5943 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
5944 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
5945 break;
5946// hipGraphAddKernelNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipKernelNodeParams*', 'pNodeParams')]
5947 case HIP_API_ID_hipGraphAddKernelNode:
5948 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
5949 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
5950 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
5951 break;
5952// hipGraphAddMemAllocNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipMemAllocNodeParams*', 'pNodeParams')]
5953 case HIP_API_ID_hipGraphAddMemAllocNode:
5954 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
5955 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
5956 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
5957 break;
5958// hipGraphAddMemFreeNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dev_ptr')]
5959 case HIP_API_ID_hipGraphAddMemFreeNode:
5960 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
5961 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
5962 break;
5963// hipGraphAddMemcpyNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemcpy3DParms*', 'pCopyParams')]
5964 case HIP_API_ID_hipGraphAddMemcpyNode:
5965 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
5966 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
5967 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
5968 break;
5969// hipGraphAddMemcpyNode1D[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
5970 case HIP_API_ID_hipGraphAddMemcpyNode1D:
5971 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
5972 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
5973 break;
5974// 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')]
5975 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
5976 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
5977 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
5978 break;
5979// 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')]
5980 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
5981 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
5982 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
5983 break;
5984// hipGraphAddMemsetNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipMemsetParams*', 'pMemsetParams')]
5985 case HIP_API_ID_hipGraphAddMemsetNode:
5986 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
5987 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
5988 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
5989 break;
5990// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
5991 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
5992 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
5993 break;
5994// hipGraphClone[('hipGraph_t*', 'pGraphClone'), ('hipGraph_t', 'originalGraph')]
5995 case HIP_API_ID_hipGraphClone:
5996 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
5997 break;
5998// hipGraphCreate[('hipGraph_t*', 'pGraph'), ('unsigned int', 'flags')]
5999 case HIP_API_ID_hipGraphCreate:
6000 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6001 break;
6002// hipGraphDebugDotPrint[('hipGraph_t', 'graph'), ('const char*', 'path'), ('unsigned int', 'flags')]
6003 case HIP_API_ID_hipGraphDebugDotPrint:
6004 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6005 break;
6006// hipGraphDestroy[('hipGraph_t', 'graph')]
6007 case HIP_API_ID_hipGraphDestroy:
6008 break;
6009// hipGraphDestroyNode[('hipGraphNode_t', 'node')]
6010 case HIP_API_ID_hipGraphDestroyNode:
6011 break;
6012// hipGraphEventRecordNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6013 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6014 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6015 break;
6016// hipGraphEventRecordNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6017 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6018 break;
6019// hipGraphEventWaitNodeGetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t*', 'event_out')]
6020 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6021 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6022 break;
6023// hipGraphEventWaitNodeSetEvent[('hipGraphNode_t', 'node'), ('hipEvent_t', 'event')]
6024 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6025 break;
6026// hipGraphExecChildGraphNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipGraph_t', 'childGraph')]
6027 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6028 break;
6029// hipGraphExecDestroy[('hipGraphExec_t', 'graphExec')]
6030 case HIP_API_ID_hipGraphExecDestroy:
6031 break;
6032// hipGraphExecEventRecordNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6033 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6034 break;
6035// hipGraphExecEventWaitNodeSetEvent[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('hipEvent_t', 'event')]
6036 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6037 break;
6038// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6039 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6040 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6041 break;
6042// hipGraphExecKernelNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6043 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6044 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6045 break;
6046// hipGraphExecMemcpyNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6047 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6048 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6049 break;
6050// hipGraphExecMemcpyNodeSetParams1D[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6051 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6052 break;
6053// hipGraphExecMemcpyNodeSetParamsFromSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6054 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6055 break;
6056// hipGraphExecMemcpyNodeSetParamsToSymbol[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6057 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6058 break;
6059// hipGraphExecMemsetNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6060 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6061 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6062 break;
6063// hipGraphExecUpdate[('hipGraphExec_t', 'hGraphExec'), ('hipGraph_t', 'hGraph'), ('hipGraphNode_t*', 'hErrorNode_out'), ('hipGraphExecUpdateResult*', 'updateResult_out')]
6064 case HIP_API_ID_hipGraphExecUpdate:
6065 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6066 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6067 break;
6068// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
6069 case HIP_API_ID_hipGraphGetEdges:
6070 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6071 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6072 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6073 break;
6074// hipGraphGetNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'nodes'), ('size_t*', 'numNodes')]
6075 case HIP_API_ID_hipGraphGetNodes:
6076 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6077 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6078 break;
6079// hipGraphGetRootNodes[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pRootNodes'), ('size_t*', 'pNumRootNodes')]
6080 case HIP_API_ID_hipGraphGetRootNodes:
6081 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6082 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6083 break;
6084// hipGraphHostNodeGetParams[('hipGraphNode_t', 'node'), ('hipHostNodeParams*', 'pNodeParams')]
6085 case HIP_API_ID_hipGraphHostNodeGetParams:
6086 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6087 break;
6088// hipGraphHostNodeSetParams[('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
6089 case HIP_API_ID_hipGraphHostNodeSetParams:
6090 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6091 break;
6092// hipGraphInstantiate[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'pErrorNode'), ('char*', 'pLogBuffer'), ('size_t', 'bufferSize')]
6093 case HIP_API_ID_hipGraphInstantiate:
6094 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6095 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6096 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6097 break;
6098// hipGraphInstantiateWithFlags[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('unsigned long long', 'flags')]
6099 case HIP_API_ID_hipGraphInstantiateWithFlags:
6100 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6101 break;
6102// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
6103 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6104 break;
6105// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('hipKernelNodeAttrValue*', 'value')]
6106 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6107 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6108 break;
6109// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
6110 case HIP_API_ID_hipGraphKernelNodeGetParams:
6111 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6112 break;
6113// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipKernelNodeAttrID', 'attr'), ('const hipKernelNodeAttrValue*', 'value')]
6114 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6115 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6116 break;
6117// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
6118 case HIP_API_ID_hipGraphKernelNodeSetParams:
6119 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6120 break;
6121// hipGraphLaunch[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6122 case HIP_API_ID_hipGraphLaunch:
6123 break;
6124// hipGraphMemAllocNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemAllocNodeParams*', 'pNodeParams')]
6125 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6126 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6127 break;
6128// hipGraphMemFreeNodeGetParams[('hipGraphNode_t', 'node'), ('void*', 'dev_ptr')]
6129 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6130 break;
6131// hipGraphMemcpyNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemcpy3DParms*', 'pNodeParams')]
6132 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6133 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6134 break;
6135// hipGraphMemcpyNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemcpy3DParms*', 'pNodeParams')]
6136 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6137 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6138 break;
6139// hipGraphMemcpyNodeSetParams1D[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6140 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6141 break;
6142// hipGraphMemcpyNodeSetParamsFromSymbol[('hipGraphNode_t', 'node'), ('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6143 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6144 break;
6145// hipGraphMemcpyNodeSetParamsToSymbol[('hipGraphNode_t', 'node'), ('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'count'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6146 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6147 break;
6148// hipGraphMemsetNodeGetParams[('hipGraphNode_t', 'node'), ('hipMemsetParams*', 'pNodeParams')]
6149 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6150 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6151 break;
6152// hipGraphMemsetNodeSetParams[('hipGraphNode_t', 'node'), ('const hipMemsetParams*', 'pNodeParams')]
6153 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6154 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6155 break;
6156// hipGraphNodeFindInClone[('hipGraphNode_t*', 'pNode'), ('hipGraphNode_t', 'originalNode'), ('hipGraph_t', 'clonedGraph')]
6157 case HIP_API_ID_hipGraphNodeFindInClone:
6158 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6159 break;
6160// hipGraphNodeGetDependencies[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependencies'), ('size_t*', 'pNumDependencies')]
6161 case HIP_API_ID_hipGraphNodeGetDependencies:
6162 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6163 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6164 break;
6165// hipGraphNodeGetDependentNodes[('hipGraphNode_t', 'node'), ('hipGraphNode_t*', 'pDependentNodes'), ('size_t*', 'pNumDependentNodes')]
6166 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6167 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6168 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6169 break;
6170// hipGraphNodeGetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int*', 'isEnabled')]
6171 case HIP_API_ID_hipGraphNodeGetEnabled:
6172 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6173 break;
6174// hipGraphNodeGetType[('hipGraphNode_t', 'node'), ('hipGraphNodeType*', 'pType')]
6175 case HIP_API_ID_hipGraphNodeGetType:
6176 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6177 break;
6178// hipGraphNodeSetEnabled[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('unsigned int', 'isEnabled')]
6179 case HIP_API_ID_hipGraphNodeSetEnabled:
6180 break;
6181// hipGraphReleaseUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6182 case HIP_API_ID_hipGraphReleaseUserObject:
6183 break;
6184// hipGraphRemoveDependencies[('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'from'), ('const hipGraphNode_t*', 'to'), ('size_t', 'numDependencies')]
6185 case HIP_API_ID_hipGraphRemoveDependencies:
6186 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6187 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6188 break;
6189// hipGraphRetainUserObject[('hipGraph_t', 'graph'), ('hipUserObject_t', 'object'), ('unsigned int', 'count'), ('unsigned int', 'flags')]
6190 case HIP_API_ID_hipGraphRetainUserObject:
6191 break;
6192// hipGraphUpload[('hipGraphExec_t', 'graphExec'), ('hipStream_t', 'stream')]
6193 case HIP_API_ID_hipGraphUpload:
6194 break;
6195// hipGraphicsGLRegisterBuffer[('hipGraphicsResource**', 'resource'), ('GLuint', 'buffer'), ('unsigned int', 'flags')]
6196 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6197 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6198 break;
6199// hipGraphicsGLRegisterImage[('hipGraphicsResource**', 'resource'), ('GLuint', 'image'), ('GLenum', 'target'), ('unsigned int', 'flags')]
6200 case HIP_API_ID_hipGraphicsGLRegisterImage:
6201 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6202 break;
6203// hipGraphicsMapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6204 case HIP_API_ID_hipGraphicsMapResources:
6205 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6206 break;
6207// hipGraphicsResourceGetMappedPointer[('void**', 'devPtr'), ('size_t*', 'size'), ('hipGraphicsResource_t', 'resource')]
6208 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6209 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6210 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6211 break;
6212// hipGraphicsSubResourceGetMappedArray[('hipArray_t*', 'array'), ('hipGraphicsResource_t', 'resource'), ('unsigned int', 'arrayIndex'), ('unsigned int', 'mipLevel')]
6213 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6214 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6215 break;
6216// hipGraphicsUnmapResources[('int', 'count'), ('hipGraphicsResource_t*', 'resources'), ('hipStream_t', 'stream')]
6217 case HIP_API_ID_hipGraphicsUnmapResources:
6218 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6219 break;
6220// hipGraphicsUnregisterResource[('hipGraphicsResource_t', 'resource')]
6221 case HIP_API_ID_hipGraphicsUnregisterResource:
6222 break;
6223// 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')]
6224 case HIP_API_ID_hipHccModuleLaunchKernel:
6225 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6226 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6227 break;
6228// hipHostAlloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6229 case HIP_API_ID_hipHostAlloc:
6230 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6231 break;
6232// hipHostFree[('void*', 'ptr')]
6233 case HIP_API_ID_hipHostFree:
6234 break;
6235// hipHostGetDevicePointer[('void**', 'devPtr'), ('void*', 'hstPtr'), ('unsigned int', 'flags')]
6236 case HIP_API_ID_hipHostGetDevicePointer:
6237 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6238 break;
6239// hipHostGetFlags[('unsigned int*', 'flagsPtr'), ('void*', 'hostPtr')]
6240 case HIP_API_ID_hipHostGetFlags:
6241 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6242 break;
6243// hipHostMalloc[('void**', 'ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6244 case HIP_API_ID_hipHostMalloc:
6245 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6246 break;
6247// hipHostRegister[('void*', 'hostPtr'), ('size_t', 'sizeBytes'), ('unsigned int', 'flags')]
6248 case HIP_API_ID_hipHostRegister:
6249 break;
6250// hipHostUnregister[('void*', 'hostPtr')]
6251 case HIP_API_ID_hipHostUnregister:
6252 break;
6253// hipImportExternalMemory[('hipExternalMemory_t*', 'extMem_out'), ('const hipExternalMemoryHandleDesc*', 'memHandleDesc')]
6254 case HIP_API_ID_hipImportExternalMemory:
6255 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6256 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6257 break;
6258// hipImportExternalSemaphore[('hipExternalSemaphore_t*', 'extSem_out'), ('const hipExternalSemaphoreHandleDesc*', 'semHandleDesc')]
6259 case HIP_API_ID_hipImportExternalSemaphore:
6260 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6261 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6262 break;
6263// hipInit[('unsigned int', 'flags')]
6264 case HIP_API_ID_hipInit:
6265 break;
6266// hipIpcCloseMemHandle[('void*', 'devPtr')]
6267 case HIP_API_ID_hipIpcCloseMemHandle:
6268 break;
6269// hipIpcGetEventHandle[('hipIpcEventHandle_t*', 'handle'), ('hipEvent_t', 'event')]
6270 case HIP_API_ID_hipIpcGetEventHandle:
6271 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6272 break;
6273// hipIpcGetMemHandle[('hipIpcMemHandle_t*', 'handle'), ('void*', 'devPtr')]
6274 case HIP_API_ID_hipIpcGetMemHandle:
6275 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6276 break;
6277// hipIpcOpenEventHandle[('hipEvent_t*', 'event'), ('hipIpcEventHandle_t', 'handle')]
6278 case HIP_API_ID_hipIpcOpenEventHandle:
6279 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6280 break;
6281// hipIpcOpenMemHandle[('void**', 'devPtr'), ('hipIpcMemHandle_t', 'handle'), ('unsigned int', 'flags')]
6282 case HIP_API_ID_hipIpcOpenMemHandle:
6283 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6284 break;
6285// hipLaunchByPtr[('const void*', 'hostFunction')]
6286 case HIP_API_ID_hipLaunchByPtr:
6287 break;
6288// hipLaunchCooperativeKernel[('const void*', 'f'), ('dim3', 'gridDim'), ('dim3', 'blockDimX'), ('void**', 'kernelParams'), ('unsigned int', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6289 case HIP_API_ID_hipLaunchCooperativeKernel:
6290 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6291 break;
6292// hipLaunchCooperativeKernelMultiDevice[('hipLaunchParams*', 'launchParamsList'), ('int', 'numDevices'), ('unsigned int', 'flags')]
6293 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6294 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6295 break;
6296// hipLaunchHostFunc[('hipStream_t', 'stream'), ('hipHostFn_t', 'fn'), ('void*', 'userData')]
6297 case HIP_API_ID_hipLaunchHostFunc:
6298 break;
6299// hipLaunchKernel[('const void*', 'function_address'), ('dim3', 'numBlocks'), ('dim3', 'dimBlocks'), ('void**', 'args'), ('size_t', 'sharedMemBytes'), ('hipStream_t', 'stream')]
6300 case HIP_API_ID_hipLaunchKernel:
6301 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6302 break;
6303// hipMalloc[('void**', 'ptr'), ('size_t', 'size')]
6304 case HIP_API_ID_hipMalloc:
6305 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6306 break;
6307// hipMalloc3D[('hipPitchedPtr*', 'pitchedDevPtr'), ('hipExtent', 'extent')]
6308 case HIP_API_ID_hipMalloc3D:
6309 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6310 break;
6311// hipMalloc3DArray[('hipArray_t*', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'flags')]
6312 case HIP_API_ID_hipMalloc3DArray:
6313 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6314 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6315 break;
6316// hipMallocArray[('hipArray**', 'array'), ('const hipChannelFormatDesc*', 'desc'), ('size_t', 'width'), ('size_t', 'height'), ('unsigned int', 'flags')]
6317 case HIP_API_ID_hipMallocArray:
6318 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6319 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6320 break;
6321// hipMallocAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipStream_t', 'stream')]
6322 case HIP_API_ID_hipMallocAsync:
6323 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6324 break;
6325// hipMallocFromPoolAsync[('void**', 'dev_ptr'), ('size_t', 'size'), ('hipMemPool_t', 'mem_pool'), ('hipStream_t', 'stream')]
6326 case HIP_API_ID_hipMallocFromPoolAsync:
6327 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6328 break;
6329// hipMallocHost[('void**', 'ptr'), ('size_t', 'size')]
6330 case HIP_API_ID_hipMallocHost:
6331 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6332 break;
6333// hipMallocManaged[('void**', 'dev_ptr'), ('size_t', 'size'), ('unsigned int', 'flags')]
6334 case HIP_API_ID_hipMallocManaged:
6335 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6336 break;
6337// hipMallocMipmappedArray[('hipMipmappedArray_t*', 'mipmappedArray'), ('const hipChannelFormatDesc*', 'desc'), ('hipExtent', 'extent'), ('unsigned int', 'numLevels'), ('unsigned int', 'flags')]
6338 case HIP_API_ID_hipMallocMipmappedArray:
6339 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6340 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6341 break;
6342// hipMallocPitch[('void**', 'ptr'), ('size_t*', 'pitch'), ('size_t', 'width'), ('size_t', 'height')]
6343 case HIP_API_ID_hipMallocPitch:
6344 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6345 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6346 break;
6347// hipMemAddressFree[('void*', 'devPtr'), ('size_t', 'size')]
6348 case HIP_API_ID_hipMemAddressFree:
6349 break;
6350// hipMemAddressReserve[('void**', 'ptr'), ('size_t', 'size'), ('size_t', 'alignment'), ('void*', 'addr'), ('unsigned long long', 'flags')]
6351 case HIP_API_ID_hipMemAddressReserve:
6352 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6353 break;
6354// hipMemAdvise[('const void*', 'dev_ptr'), ('size_t', 'count'), ('hipMemoryAdvise', 'advice'), ('int', 'device')]
6355 case HIP_API_ID_hipMemAdvise:
6356 break;
6357// hipMemAllocHost[('void**', 'ptr'), ('size_t', 'size')]
6358 case HIP_API_ID_hipMemAllocHost:
6359 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6360 break;
6361// hipMemAllocPitch[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'pitch'), ('size_t', 'widthInBytes'), ('size_t', 'height'), ('unsigned int', 'elementSizeBytes')]
6362 case HIP_API_ID_hipMemAllocPitch:
6363 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6364 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6365 break;
6366// hipMemCreate[('hipMemGenericAllocationHandle_t*', 'handle'), ('size_t', 'size'), ('const hipMemAllocationProp*', 'prop'), ('unsigned long long', 'flags')]
6367 case HIP_API_ID_hipMemCreate:
6368 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6369 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6370 break;
6371// hipMemExportToShareableHandle[('void*', 'shareableHandle'), ('hipMemGenericAllocationHandle_t', 'handle'), ('hipMemAllocationHandleType', 'handleType'), ('unsigned long long', 'flags')]
6372 case HIP_API_ID_hipMemExportToShareableHandle:
6373 break;
6374// hipMemGetAccess[('unsigned long long*', 'flags'), ('const hipMemLocation*', 'location'), ('void*', 'ptr')]
6375 case HIP_API_ID_hipMemGetAccess:
6376 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6377 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6378 break;
6379// hipMemGetAddressRange[('hipDeviceptr_t*', 'pbase'), ('size_t*', 'psize'), ('hipDeviceptr_t', 'dptr')]
6380 case HIP_API_ID_hipMemGetAddressRange:
6381 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6382 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6383 break;
6384// hipMemGetAllocationGranularity[('size_t*', 'granularity'), ('const hipMemAllocationProp*', 'prop'), ('hipMemAllocationGranularity_flags', 'option')]
6385 case HIP_API_ID_hipMemGetAllocationGranularity:
6386 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6387 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6388 break;
6389// hipMemGetAllocationPropertiesFromHandle[('hipMemAllocationProp*', 'prop'), ('hipMemGenericAllocationHandle_t', 'handle')]
6390 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6391 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6392 break;
6393// hipMemGetInfo[('size_t*', 'free'), ('size_t*', 'total')]
6394 case HIP_API_ID_hipMemGetInfo:
6395 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6396 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6397 break;
6398// hipMemImportFromShareableHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'osHandle'), ('hipMemAllocationHandleType', 'shHandleType')]
6399 case HIP_API_ID_hipMemImportFromShareableHandle:
6400 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6401 break;
6402// hipMemMap[('void*', 'ptr'), ('size_t', 'size'), ('size_t', 'offset'), ('hipMemGenericAllocationHandle_t', 'handle'), ('unsigned long long', 'flags')]
6403 case HIP_API_ID_hipMemMap:
6404 break;
6405// hipMemMapArrayAsync[('hipArrayMapInfo*', 'mapInfoList'), ('unsigned int', 'count'), ('hipStream_t', 'stream')]
6406 case HIP_API_ID_hipMemMapArrayAsync:
6407 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6408 break;
6409// hipMemPoolCreate[('hipMemPool_t*', 'mem_pool'), ('const hipMemPoolProps*', 'pool_props')]
6410 case HIP_API_ID_hipMemPoolCreate:
6411 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6412 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6413 break;
6414// hipMemPoolDestroy[('hipMemPool_t', 'mem_pool')]
6415 case HIP_API_ID_hipMemPoolDestroy:
6416 break;
6417// hipMemPoolExportPointer[('hipMemPoolPtrExportData*', 'export_data'), ('void*', 'dev_ptr')]
6418 case HIP_API_ID_hipMemPoolExportPointer:
6419 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6420 break;
6421// hipMemPoolExportToShareableHandle[('void*', 'shared_handle'), ('hipMemPool_t', 'mem_pool'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6422 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6423 break;
6424// hipMemPoolGetAccess[('hipMemAccessFlags*', 'flags'), ('hipMemPool_t', 'mem_pool'), ('hipMemLocation*', 'location')]
6425 case HIP_API_ID_hipMemPoolGetAccess:
6426 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6427 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6428 break;
6429// hipMemPoolGetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6430 case HIP_API_ID_hipMemPoolGetAttribute:
6431 break;
6432// hipMemPoolImportFromShareableHandle[('hipMemPool_t*', 'mem_pool'), ('void*', 'shared_handle'), ('hipMemAllocationHandleType', 'handle_type'), ('unsigned int', 'flags')]
6433 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6434 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6435 break;
6436// hipMemPoolImportPointer[('void**', 'dev_ptr'), ('hipMemPool_t', 'mem_pool'), ('hipMemPoolPtrExportData*', 'export_data')]
6437 case HIP_API_ID_hipMemPoolImportPointer:
6438 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6439 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6440 break;
6441// hipMemPoolSetAccess[('hipMemPool_t', 'mem_pool'), ('const hipMemAccessDesc*', 'desc_list'), ('size_t', 'count')]
6442 case HIP_API_ID_hipMemPoolSetAccess:
6443 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6444 break;
6445// hipMemPoolSetAttribute[('hipMemPool_t', 'mem_pool'), ('hipMemPoolAttr', 'attr'), ('void*', 'value')]
6446 case HIP_API_ID_hipMemPoolSetAttribute:
6447 break;
6448// hipMemPoolTrimTo[('hipMemPool_t', 'mem_pool'), ('size_t', 'min_bytes_to_hold')]
6449 case HIP_API_ID_hipMemPoolTrimTo:
6450 break;
6451// hipMemPrefetchAsync[('const void*', 'dev_ptr'), ('size_t', 'count'), ('int', 'device'), ('hipStream_t', 'stream')]
6452 case HIP_API_ID_hipMemPrefetchAsync:
6453 break;
6454// hipMemPtrGetInfo[('void*', 'ptr'), ('size_t*', 'size')]
6455 case HIP_API_ID_hipMemPtrGetInfo:
6456 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6457 break;
6458// hipMemRangeGetAttribute[('void*', 'data'), ('size_t', 'data_size'), ('hipMemRangeAttribute', 'attribute'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6459 case HIP_API_ID_hipMemRangeGetAttribute:
6460 break;
6461// hipMemRangeGetAttributes[('void**', 'data'), ('size_t*', 'data_sizes'), ('hipMemRangeAttribute*', 'attributes'), ('size_t', 'num_attributes'), ('const void*', 'dev_ptr'), ('size_t', 'count')]
6462 case HIP_API_ID_hipMemRangeGetAttributes:
6463 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6464 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6465 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6466 break;
6467// hipMemRelease[('hipMemGenericAllocationHandle_t', 'handle')]
6468 case HIP_API_ID_hipMemRelease:
6469 break;
6470// hipMemRetainAllocationHandle[('hipMemGenericAllocationHandle_t*', 'handle'), ('void*', 'addr')]
6471 case HIP_API_ID_hipMemRetainAllocationHandle:
6472 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6473 break;
6474// hipMemSetAccess[('void*', 'ptr'), ('size_t', 'size'), ('const hipMemAccessDesc*', 'desc'), ('size_t', 'count')]
6475 case HIP_API_ID_hipMemSetAccess:
6476 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6477 break;
6478// hipMemUnmap[('void*', 'ptr'), ('size_t', 'size')]
6479 case HIP_API_ID_hipMemUnmap:
6480 break;
6481// hipMemcpy[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind')]
6482 case HIP_API_ID_hipMemcpy:
6483 break;
6484// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6485 case HIP_API_ID_hipMemcpy2D:
6486 break;
6487// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6488 case HIP_API_ID_hipMemcpy2DAsync:
6489 break;
6490// hipMemcpy2DFromArray[('void*', 'dst'), ('size_t', 'dpitch'), ('hipArray_const_t', 'src'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6491 case HIP_API_ID_hipMemcpy2DFromArray:
6492 break;
6493// 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')]
6494 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
6495 break;
6496// hipMemcpy2DToArray[('hipArray*', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
6497 case HIP_API_ID_hipMemcpy2DToArray:
6498 if (data->args.hipMemcpy2DToArray.dst) data->args.hipMemcpy2DToArray.dst__val = *(data->args.hipMemcpy2DToArray.dst);
6499 break;
6500// hipMemcpy2DToArrayAsync[('hipArray*', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6501 case HIP_API_ID_hipMemcpy2DToArrayAsync:
6502 if (data->args.hipMemcpy2DToArrayAsync.dst) data->args.hipMemcpy2DToArrayAsync.dst__val = *(data->args.hipMemcpy2DToArrayAsync.dst);
6503 break;
6504// hipMemcpy3D[('const hipMemcpy3DParms*', 'p')]
6505 case HIP_API_ID_hipMemcpy3D:
6506 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
6507 break;
6508// hipMemcpy3DAsync[('const hipMemcpy3DParms*', 'p'), ('hipStream_t', 'stream')]
6509 case HIP_API_ID_hipMemcpy3DAsync:
6510 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
6511 break;
6512// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6513 case HIP_API_ID_hipMemcpyAsync:
6514 break;
6515// hipMemcpyAtoH[('void*', 'dst'), ('hipArray*', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
6516 case HIP_API_ID_hipMemcpyAtoH:
6517 if (data->args.hipMemcpyAtoH.srcArray) data->args.hipMemcpyAtoH.srcArray__val = *(data->args.hipMemcpyAtoH.srcArray);
6518 break;
6519// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
6520 case HIP_API_ID_hipMemcpyDtoD:
6521 break;
6522// hipMemcpyDtoDAsync[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6523 case HIP_API_ID_hipMemcpyDtoDAsync:
6524 break;
6525// hipMemcpyDtoH[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
6526 case HIP_API_ID_hipMemcpyDtoH:
6527 break;
6528// hipMemcpyDtoHAsync[('void*', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6529 case HIP_API_ID_hipMemcpyDtoHAsync:
6530 break;
6531// hipMemcpyFromArray[('void*', 'dst'), ('hipArray_const_t', 'srcArray'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6532 case HIP_API_ID_hipMemcpyFromArray:
6533 break;
6534// hipMemcpyFromSymbol[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6535 case HIP_API_ID_hipMemcpyFromSymbol:
6536 break;
6537// hipMemcpyFromSymbolAsync[('void*', 'dst'), ('const void*', 'symbol'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6538 case HIP_API_ID_hipMemcpyFromSymbolAsync:
6539 break;
6540// hipMemcpyHtoA[('hipArray*', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
6541 case HIP_API_ID_hipMemcpyHtoA:
6542 if (data->args.hipMemcpyHtoA.dstArray) data->args.hipMemcpyHtoA.dstArray__val = *(data->args.hipMemcpyHtoA.dstArray);
6543 break;
6544// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
6545 case HIP_API_ID_hipMemcpyHtoD:
6546 break;
6547// hipMemcpyHtoDAsync[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6548 case HIP_API_ID_hipMemcpyHtoDAsync:
6549 break;
6550// hipMemcpyParam2D[('const hip_Memcpy2D*', 'pCopy')]
6551 case HIP_API_ID_hipMemcpyParam2D:
6552 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
6553 break;
6554// hipMemcpyParam2DAsync[('const hip_Memcpy2D*', 'pCopy'), ('hipStream_t', 'stream')]
6555 case HIP_API_ID_hipMemcpyParam2DAsync:
6556 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
6557 break;
6558// hipMemcpyPeer[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDeviceId'), ('size_t', 'sizeBytes')]
6559 case HIP_API_ID_hipMemcpyPeer:
6560 break;
6561// hipMemcpyPeerAsync[('void*', 'dst'), ('int', 'dstDeviceId'), ('const void*', 'src'), ('int', 'srcDevice'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6562 case HIP_API_ID_hipMemcpyPeerAsync:
6563 break;
6564// hipMemcpyToArray[('hipArray*', 'dst'), ('size_t', 'wOffset'), ('size_t', 'hOffset'), ('const void*', 'src'), ('size_t', 'count'), ('hipMemcpyKind', 'kind')]
6565 case HIP_API_ID_hipMemcpyToArray:
6566 if (data->args.hipMemcpyToArray.dst) data->args.hipMemcpyToArray.dst__val = *(data->args.hipMemcpyToArray.dst);
6567 break;
6568// hipMemcpyToSymbol[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind')]
6569 case HIP_API_ID_hipMemcpyToSymbol:
6570 break;
6571// hipMemcpyToSymbolAsync[('const void*', 'symbol'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('size_t', 'offset'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6572 case HIP_API_ID_hipMemcpyToSymbolAsync:
6573 break;
6574// hipMemcpyWithStream[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
6575 case HIP_API_ID_hipMemcpyWithStream:
6576 break;
6577// hipMemset[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes')]
6578 case HIP_API_ID_hipMemset:
6579 break;
6580// hipMemset2D[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height')]
6581 case HIP_API_ID_hipMemset2D:
6582 break;
6583// hipMemset2DAsync[('void*', 'dst'), ('size_t', 'pitch'), ('int', 'value'), ('size_t', 'width'), ('size_t', 'height'), ('hipStream_t', 'stream')]
6584 case HIP_API_ID_hipMemset2DAsync:
6585 break;
6586// hipMemset3D[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent')]
6587 case HIP_API_ID_hipMemset3D:
6588 break;
6589// hipMemset3DAsync[('hipPitchedPtr', 'pitchedDevPtr'), ('int', 'value'), ('hipExtent', 'extent'), ('hipStream_t', 'stream')]
6590 case HIP_API_ID_hipMemset3DAsync:
6591 break;
6592// hipMemsetAsync[('void*', 'dst'), ('int', 'value'), ('size_t', 'sizeBytes'), ('hipStream_t', 'stream')]
6593 case HIP_API_ID_hipMemsetAsync:
6594 break;
6595// hipMemsetD16[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count')]
6596 case HIP_API_ID_hipMemsetD16:
6597 break;
6598// hipMemsetD16Async[('hipDeviceptr_t', 'dest'), ('unsigned short', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6599 case HIP_API_ID_hipMemsetD16Async:
6600 break;
6601// hipMemsetD32[('hipDeviceptr_t', 'dest'), ('int', 'value'), ('size_t', 'count')]
6602 case HIP_API_ID_hipMemsetD32:
6603 break;
6604// hipMemsetD32Async[('hipDeviceptr_t', 'dst'), ('int', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6605 case HIP_API_ID_hipMemsetD32Async:
6606 break;
6607// hipMemsetD8[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count')]
6608 case HIP_API_ID_hipMemsetD8:
6609 break;
6610// hipMemsetD8Async[('hipDeviceptr_t', 'dest'), ('unsigned char', 'value'), ('size_t', 'count'), ('hipStream_t', 'stream')]
6611 case HIP_API_ID_hipMemsetD8Async:
6612 break;
6613// hipMipmappedArrayCreate[('hipMipmappedArray_t*', 'pHandle'), ('HIP_ARRAY3D_DESCRIPTOR*', 'pMipmappedArrayDesc'), ('unsigned int', 'numMipmapLevels')]
6614 case HIP_API_ID_hipMipmappedArrayCreate:
6615 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
6616 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
6617 break;
6618// hipMipmappedArrayDestroy[('hipMipmappedArray_t', 'hMipmappedArray')]
6619 case HIP_API_ID_hipMipmappedArrayDestroy:
6620 break;
6621// hipMipmappedArrayGetLevel[('hipArray_t*', 'pLevelArray'), ('hipMipmappedArray_t', 'hMipMappedArray'), ('unsigned int', 'level')]
6622 case HIP_API_ID_hipMipmappedArrayGetLevel:
6623 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
6624 break;
6625// hipModuleGetFunction[('hipFunction_t*', 'function'), ('hipModule_t', 'module'), ('const char*', 'kname')]
6626 case HIP_API_ID_hipModuleGetFunction:
6627 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
6628 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
6629 break;
6630// hipModuleGetGlobal[('hipDeviceptr_t*', 'dptr'), ('size_t*', 'bytes'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
6631 case HIP_API_ID_hipModuleGetGlobal:
6632 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
6633 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
6634 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
6635 break;
6636// hipModuleGetTexRef[('textureReference**', 'texRef'), ('hipModule_t', 'hmod'), ('const char*', 'name')]
6637 case HIP_API_ID_hipModuleGetTexRef:
6638 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
6639 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
6640 break;
6641// 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')]
6642 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
6643 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
6644 break;
6645// hipModuleLaunchCooperativeKernelMultiDevice[('hipFunctionLaunchParams*', 'launchParamsList'), ('unsigned int', 'numDevices'), ('unsigned int', 'flags')]
6646 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
6647 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
6648 break;
6649// 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')]
6650 case HIP_API_ID_hipModuleLaunchKernel:
6651 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
6652 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
6653 break;
6654// hipModuleLoad[('hipModule_t*', 'module'), ('const char*', 'fname')]
6655 case HIP_API_ID_hipModuleLoad:
6656 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
6657 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
6658 break;
6659// hipModuleLoadData[('hipModule_t*', 'module'), ('const void*', 'image')]
6660 case HIP_API_ID_hipModuleLoadData:
6661 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
6662 break;
6663// hipModuleLoadDataEx[('hipModule_t*', 'module'), ('const void*', 'image'), ('unsigned int', 'numOptions'), ('hipJitOption*', 'options'), ('void**', 'optionsValues')]
6664 case HIP_API_ID_hipModuleLoadDataEx:
6665 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
6666 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
6667 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
6668 break;
6669// hipModuleOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk')]
6670 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
6671 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6672 break;
6673// hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('hipFunction_t', 'f'), ('int', 'blockSize'), ('size_t', 'dynSharedMemPerBlk'), ('unsigned int', 'flags')]
6674 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6675 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6676 break;
6677// hipModuleOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
6678 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
6679 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
6680 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
6681 break;
6682// hipModuleOccupancyMaxPotentialBlockSizeWithFlags[('int*', 'gridSize'), ('int*', 'blockSize'), ('hipFunction_t', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit'), ('unsigned int', 'flags')]
6683 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
6684 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
6685 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
6686 break;
6687// hipModuleUnload[('hipModule_t', 'module')]
6688 case HIP_API_ID_hipModuleUnload:
6689 break;
6690// hipOccupancyMaxActiveBlocksPerMultiprocessor[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize')]
6691 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
6692 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6693 break;
6694// hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags[('int*', 'numBlocks'), ('const void*', 'f'), ('int', 'blockSize'), ('size_t', 'dynamicSMemSize'), ('unsigned int', 'flags')]
6695 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6696 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6697 break;
6698// hipOccupancyMaxPotentialBlockSize[('int*', 'gridSize'), ('int*', 'blockSize'), ('const void*', 'f'), ('size_t', 'dynSharedMemPerBlk'), ('int', 'blockSizeLimit')]
6699 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
6700 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
6701 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
6702 break;
6703// hipPeekAtLastError[]
6704 case HIP_API_ID_hipPeekAtLastError:
6705 break;
6706// hipPointerGetAttribute[('void*', 'data'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
6707 case HIP_API_ID_hipPointerGetAttribute:
6708 break;
6709// hipPointerGetAttributes[('hipPointerAttribute_t*', 'attributes'), ('const void*', 'ptr')]
6710 case HIP_API_ID_hipPointerGetAttributes:
6711 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
6712 break;
6713// hipPointerSetAttribute[('const void*', 'value'), ('hipPointer_attribute', 'attribute'), ('hipDeviceptr_t', 'ptr')]
6714 case HIP_API_ID_hipPointerSetAttribute:
6715 break;
6716// hipProfilerStart[]
6717 case HIP_API_ID_hipProfilerStart:
6718 break;
6719// hipProfilerStop[]
6720 case HIP_API_ID_hipProfilerStop:
6721 break;
6722// hipRuntimeGetVersion[('int*', 'runtimeVersion')]
6723 case HIP_API_ID_hipRuntimeGetVersion:
6724 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
6725 break;
6726// hipSetDevice[('int', 'deviceId')]
6727 case HIP_API_ID_hipSetDevice:
6728 break;
6729// hipSetDeviceFlags[('unsigned int', 'flags')]
6730 case HIP_API_ID_hipSetDeviceFlags:
6731 break;
6732// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
6733 case HIP_API_ID_hipSetupArgument:
6734 break;
6735// hipSignalExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreSignalParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
6736 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
6737 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
6738 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
6739 break;
6740// hipStreamAddCallback[('hipStream_t', 'stream'), ('hipStreamCallback_t', 'callback'), ('void*', 'userData'), ('unsigned int', 'flags')]
6741 case HIP_API_ID_hipStreamAddCallback:
6742 break;
6743// hipStreamAttachMemAsync[('hipStream_t', 'stream'), ('void*', 'dev_ptr'), ('size_t', 'length'), ('unsigned int', 'flags')]
6744 case HIP_API_ID_hipStreamAttachMemAsync:
6745 break;
6746// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
6747 case HIP_API_ID_hipStreamBeginCapture:
6748 break;
6749// hipStreamCreate[('hipStream_t*', 'stream')]
6750 case HIP_API_ID_hipStreamCreate:
6751 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
6752 break;
6753// hipStreamCreateWithFlags[('hipStream_t*', 'stream'), ('unsigned int', 'flags')]
6754 case HIP_API_ID_hipStreamCreateWithFlags:
6755 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
6756 break;
6757// hipStreamCreateWithPriority[('hipStream_t*', 'stream'), ('unsigned int', 'flags'), ('int', 'priority')]
6758 case HIP_API_ID_hipStreamCreateWithPriority:
6759 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
6760 break;
6761// hipStreamDestroy[('hipStream_t', 'stream')]
6762 case HIP_API_ID_hipStreamDestroy:
6763 break;
6764// hipStreamEndCapture[('hipStream_t', 'stream'), ('hipGraph_t*', 'pGraph')]
6765 case HIP_API_ID_hipStreamEndCapture:
6766 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
6767 break;
6768// hipStreamGetCaptureInfo[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus'), ('unsigned long long*', 'pId')]
6769 case HIP_API_ID_hipStreamGetCaptureInfo:
6770 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
6771 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
6772 break;
6773// 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')]
6774 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
6775 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
6776 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
6777 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
6778 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
6779 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
6780 break;
6781// hipStreamGetDevice[('hipStream_t', 'stream'), ('hipDevice_t*', 'device')]
6782 case HIP_API_ID_hipStreamGetDevice:
6783 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
6784 break;
6785// hipStreamGetFlags[('hipStream_t', 'stream'), ('unsigned int*', 'flags')]
6786 case HIP_API_ID_hipStreamGetFlags:
6787 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
6788 break;
6789// hipStreamGetPriority[('hipStream_t', 'stream'), ('int*', 'priority')]
6790 case HIP_API_ID_hipStreamGetPriority:
6791 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
6792 break;
6793// hipStreamIsCapturing[('hipStream_t', 'stream'), ('hipStreamCaptureStatus*', 'pCaptureStatus')]
6794 case HIP_API_ID_hipStreamIsCapturing:
6795 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
6796 break;
6797// hipStreamQuery[('hipStream_t', 'stream')]
6798 case HIP_API_ID_hipStreamQuery:
6799 break;
6800// hipStreamSynchronize[('hipStream_t', 'stream')]
6801 case HIP_API_ID_hipStreamSynchronize:
6802 break;
6803// hipStreamUpdateCaptureDependencies[('hipStream_t', 'stream'), ('hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('unsigned int', 'flags')]
6804 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
6805 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
6806 break;
6807// hipStreamWaitEvent[('hipStream_t', 'stream'), ('hipEvent_t', 'event'), ('unsigned int', 'flags')]
6808 case HIP_API_ID_hipStreamWaitEvent:
6809 break;
6810// hipStreamWaitValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags'), ('unsigned int', 'mask')]
6811 case HIP_API_ID_hipStreamWaitValue32:
6812 break;
6813// hipStreamWaitValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags'), ('uint64_t', 'mask')]
6814 case HIP_API_ID_hipStreamWaitValue64:
6815 break;
6816// hipStreamWriteValue32[('hipStream_t', 'stream'), ('void*', 'ptr'), ('unsigned int', 'value'), ('unsigned int', 'flags')]
6817 case HIP_API_ID_hipStreamWriteValue32:
6818 break;
6819// hipStreamWriteValue64[('hipStream_t', 'stream'), ('void*', 'ptr'), ('uint64_t', 'value'), ('unsigned int', 'flags')]
6820 case HIP_API_ID_hipStreamWriteValue64:
6821 break;
6822// hipTexRefGetAddress[('hipDeviceptr_t*', 'dev_ptr'), ('const textureReference*', 'texRef')]
6823 case HIP_API_ID_hipTexRefGetAddress:
6824 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
6825 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
6826 break;
6827// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
6828 case HIP_API_ID_hipTexRefGetFlags:
6829 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
6830 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
6831 break;
6832// hipTexRefGetFormat[('hipArray_Format*', 'pFormat'), ('int*', 'pNumChannels'), ('const textureReference*', 'texRef')]
6833 case HIP_API_ID_hipTexRefGetFormat:
6834 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
6835 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
6836 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
6837 break;
6838// hipTexRefGetMaxAnisotropy[('int*', 'pmaxAnsio'), ('const textureReference*', 'texRef')]
6839 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
6840 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
6841 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
6842 break;
6843// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
6844 case HIP_API_ID_hipTexRefGetMipMappedArray:
6845 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
6846 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
6847 break;
6848// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
6849 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
6850 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
6851 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
6852 break;
6853// hipTexRefGetMipmapLevelClamp[('float*', 'pminMipmapLevelClamp'), ('float*', 'pmaxMipmapLevelClamp'), ('const textureReference*', 'texRef')]
6854 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
6855 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
6856 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
6857 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
6858 break;
6859// hipTexRefSetAddress[('size_t*', 'ByteOffset'), ('textureReference*', 'texRef'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'bytes')]
6860 case HIP_API_ID_hipTexRefSetAddress:
6861 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
6862 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
6863 break;
6864// hipTexRefSetAddress2D[('textureReference*', 'texRef'), ('const HIP_ARRAY_DESCRIPTOR*', 'desc'), ('hipDeviceptr_t', 'dptr'), ('size_t', 'Pitch')]
6865 case HIP_API_ID_hipTexRefSetAddress2D:
6866 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
6867 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
6868 break;
6869// hipTexRefSetArray[('textureReference*', 'tex'), ('hipArray_const_t', 'array'), ('unsigned int', 'flags')]
6870 case HIP_API_ID_hipTexRefSetArray:
6871 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
6872 break;
6873// hipTexRefSetBorderColor[('textureReference*', 'texRef'), ('float*', 'pBorderColor')]
6874 case HIP_API_ID_hipTexRefSetBorderColor:
6875 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
6876 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
6877 break;
6878// hipTexRefSetFlags[('textureReference*', 'texRef'), ('unsigned int', 'Flags')]
6879 case HIP_API_ID_hipTexRefSetFlags:
6880 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
6881 break;
6882// hipTexRefSetFormat[('textureReference*', 'texRef'), ('hipArray_Format', 'fmt'), ('int', 'NumPackedComponents')]
6883 case HIP_API_ID_hipTexRefSetFormat:
6884 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
6885 break;
6886// hipTexRefSetMaxAnisotropy[('textureReference*', 'texRef'), ('unsigned int', 'maxAniso')]
6887 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
6888 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
6889 break;
6890// hipTexRefSetMipmapLevelBias[('textureReference*', 'texRef'), ('float', 'bias')]
6891 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
6892 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
6893 break;
6894// hipTexRefSetMipmapLevelClamp[('textureReference*', 'texRef'), ('float', 'minMipMapLevelClamp'), ('float', 'maxMipMapLevelClamp')]
6895 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
6896 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
6897 break;
6898// hipTexRefSetMipmappedArray[('textureReference*', 'texRef'), ('hipMipmappedArray*', 'mipmappedArray'), ('unsigned int', 'Flags')]
6899 case HIP_API_ID_hipTexRefSetMipmappedArray:
6900 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
6901 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
6902 break;
6903// hipThreadExchangeStreamCaptureMode[('hipStreamCaptureMode*', 'mode')]
6904 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
6905 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
6906 break;
6907// hipUserObjectCreate[('hipUserObject_t*', 'object_out'), ('void*', 'ptr'), ('hipHostFn_t', 'destroy'), ('unsigned int', 'initialRefcount'), ('unsigned int', 'flags')]
6908 case HIP_API_ID_hipUserObjectCreate:
6909 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
6910 break;
6911// hipUserObjectRelease[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6912 case HIP_API_ID_hipUserObjectRelease:
6913 break;
6914// hipUserObjectRetain[('hipUserObject_t', 'object'), ('unsigned int', 'count')]
6915 case HIP_API_ID_hipUserObjectRetain:
6916 break;
6917// hipWaitExternalSemaphoresAsync[('const hipExternalSemaphore_t*', 'extSemArray'), ('const hipExternalSemaphoreWaitParams*', 'paramsArray'), ('unsigned int', 'numExtSems'), ('hipStream_t', 'stream')]
6918 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
6919 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
6920 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
6921 break;
6922 default: break;
6923 };
6924}
6925
6926#include <sstream>
6927#include <string>
6928// HIP API string method, method name and parameters
6929static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* data) {
6930 std::ostringstream oss;
6931 switch (id) {
6932 case HIP_API_ID___hipPopCallConfiguration:
6933 oss << "__hipPopCallConfiguration(";
6934 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss << "gridDim=NULL";
6935 else { oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
6936 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss << ", blockDim=NULL";
6937 else { oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
6938 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss << ", sharedMem=NULL";
6939 else { oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
6940 if (data->args.__hipPopCallConfiguration.stream == NULL) oss << ", stream=NULL";
6941 else { oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
6942 oss << ")";
6943 break;
6944 case HIP_API_ID___hipPushCallConfiguration:
6945 oss << "__hipPushCallConfiguration(";
6946 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
6947 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
6948 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
6949 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
6950 oss << ")";
6951 break;
6952 case HIP_API_ID_hipArray3DCreate:
6953 oss << "hipArray3DCreate(";
6954 if (data->args.hipArray3DCreate.array == NULL) oss << "array=NULL";
6955 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipArray3DCreate.array__val); }
6956 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
6957 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
6958 oss << ")";
6959 break;
6960 case HIP_API_ID_hipArray3DGetDescriptor:
6961 oss << "hipArray3DGetDescriptor(";
6962 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
6963 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
6964 if (data->args.hipArray3DGetDescriptor.array == NULL) oss << ", array=NULL";
6965 else { oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array__val); }
6966 oss << ")";
6967 break;
6968 case HIP_API_ID_hipArrayCreate:
6969 oss << "hipArrayCreate(";
6970 if (data->args.hipArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
6971 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipArrayCreate.pHandle__val); }
6972 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss << ", pAllocateArray=NULL";
6973 else { oss << ", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
6974 oss << ")";
6975 break;
6976 case HIP_API_ID_hipArrayDestroy:
6977 oss << "hipArrayDestroy(";
6978 if (data->args.hipArrayDestroy.array == NULL) oss << "array=NULL";
6979 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array__val); }
6980 oss << ")";
6981 break;
6982 case HIP_API_ID_hipArrayGetDescriptor:
6983 oss << "hipArrayGetDescriptor(";
6984 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss << "pArrayDescriptor=NULL";
6985 else { oss << "pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
6986 if (data->args.hipArrayGetDescriptor.array == NULL) oss << ", array=NULL";
6987 else { oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array__val); }
6988 oss << ")";
6989 break;
6990 case HIP_API_ID_hipArrayGetInfo:
6991 oss << "hipArrayGetInfo(";
6992 if (data->args.hipArrayGetInfo.desc == NULL) oss << "desc=NULL";
6993 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
6994 if (data->args.hipArrayGetInfo.extent == NULL) oss << ", extent=NULL";
6995 else { oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
6996 if (data->args.hipArrayGetInfo.flags == NULL) oss << ", flags=NULL";
6997 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
6998 if (data->args.hipArrayGetInfo.array == NULL) oss << ", array=NULL";
6999 else { oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array__val); }
7000 oss << ")";
7001 break;
7002 case HIP_API_ID_hipChooseDevice:
7003 oss << "hipChooseDevice(";
7004 if (data->args.hipChooseDevice.device == NULL) oss << "device=NULL";
7005 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDevice.device__val); }
7006 if (data->args.hipChooseDevice.prop == NULL) oss << ", prop=NULL";
7007 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDevice.prop__val); }
7008 oss << ")";
7009 break;
7010 case HIP_API_ID_hipConfigureCall:
7011 oss << "hipConfigureCall(";
7012 oss << "gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7013 oss << ", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7014 oss << ", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7015 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7016 oss << ")";
7017 break;
7018 case HIP_API_ID_hipCreateSurfaceObject:
7019 oss << "hipCreateSurfaceObject(";
7020 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss << "pSurfObject=NULL";
7021 else { oss << "pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7022 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss << ", pResDesc=NULL";
7023 else { oss << ", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7024 oss << ")";
7025 break;
7026 case HIP_API_ID_hipCtxCreate:
7027 oss << "hipCtxCreate(";
7028 if (data->args.hipCtxCreate.ctx == NULL) oss << "ctx=NULL";
7029 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7030 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7031 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7032 oss << ")";
7033 break;
7034 case HIP_API_ID_hipCtxDestroy:
7035 oss << "hipCtxDestroy(";
7036 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7037 oss << ")";
7038 break;
7039 case HIP_API_ID_hipCtxDisablePeerAccess:
7040 oss << "hipCtxDisablePeerAccess(";
7041 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7042 oss << ")";
7043 break;
7044 case HIP_API_ID_hipCtxEnablePeerAccess:
7045 oss << "hipCtxEnablePeerAccess(";
7046 oss << "peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7047 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7048 oss << ")";
7049 break;
7050 case HIP_API_ID_hipCtxGetApiVersion:
7051 oss << "hipCtxGetApiVersion(";
7052 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7053 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss << ", apiVersion=NULL";
7054 else { oss << ", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7055 oss << ")";
7056 break;
7057 case HIP_API_ID_hipCtxGetCacheConfig:
7058 oss << "hipCtxGetCacheConfig(";
7059 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7060 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7061 oss << ")";
7062 break;
7063 case HIP_API_ID_hipCtxGetCurrent:
7064 oss << "hipCtxGetCurrent(";
7065 if (data->args.hipCtxGetCurrent.ctx == NULL) oss << "ctx=NULL";
7066 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7067 oss << ")";
7068 break;
7069 case HIP_API_ID_hipCtxGetDevice:
7070 oss << "hipCtxGetDevice(";
7071 if (data->args.hipCtxGetDevice.device == NULL) oss << "device=NULL";
7072 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7073 oss << ")";
7074 break;
7075 case HIP_API_ID_hipCtxGetFlags:
7076 oss << "hipCtxGetFlags(";
7077 if (data->args.hipCtxGetFlags.flags == NULL) oss << "flags=NULL";
7078 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7079 oss << ")";
7080 break;
7081 case HIP_API_ID_hipCtxGetSharedMemConfig:
7082 oss << "hipCtxGetSharedMemConfig(";
7083 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7084 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7085 oss << ")";
7086 break;
7087 case HIP_API_ID_hipCtxPopCurrent:
7088 oss << "hipCtxPopCurrent(";
7089 if (data->args.hipCtxPopCurrent.ctx == NULL) oss << "ctx=NULL";
7090 else { oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7091 oss << ")";
7092 break;
7093 case HIP_API_ID_hipCtxPushCurrent:
7094 oss << "hipCtxPushCurrent(";
7095 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7096 oss << ")";
7097 break;
7098 case HIP_API_ID_hipCtxSetCacheConfig:
7099 oss << "hipCtxSetCacheConfig(";
7100 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7101 oss << ")";
7102 break;
7103 case HIP_API_ID_hipCtxSetCurrent:
7104 oss << "hipCtxSetCurrent(";
7105 oss << "ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7106 oss << ")";
7107 break;
7108 case HIP_API_ID_hipCtxSetSharedMemConfig:
7109 oss << "hipCtxSetSharedMemConfig(";
7110 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7111 oss << ")";
7112 break;
7113 case HIP_API_ID_hipCtxSynchronize:
7114 oss << "hipCtxSynchronize(";
7115 oss << ")";
7116 break;
7117 case HIP_API_ID_hipDestroyExternalMemory:
7118 oss << "hipDestroyExternalMemory(";
7119 oss << "extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7120 oss << ")";
7121 break;
7122 case HIP_API_ID_hipDestroyExternalSemaphore:
7123 oss << "hipDestroyExternalSemaphore(";
7124 oss << "extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7125 oss << ")";
7126 break;
7127 case HIP_API_ID_hipDestroySurfaceObject:
7128 oss << "hipDestroySurfaceObject(";
7129 oss << "surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7130 oss << ")";
7131 break;
7132 case HIP_API_ID_hipDeviceCanAccessPeer:
7133 oss << "hipDeviceCanAccessPeer(";
7134 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss << "canAccessPeer=NULL";
7135 else { oss << "canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7136 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7137 oss << ", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7138 oss << ")";
7139 break;
7140 case HIP_API_ID_hipDeviceComputeCapability:
7141 oss << "hipDeviceComputeCapability(";
7142 if (data->args.hipDeviceComputeCapability.major == NULL) oss << "major=NULL";
7143 else { oss << "major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7144 if (data->args.hipDeviceComputeCapability.minor == NULL) oss << ", minor=NULL";
7145 else { oss << ", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7146 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7147 oss << ")";
7148 break;
7149 case HIP_API_ID_hipDeviceDisablePeerAccess:
7150 oss << "hipDeviceDisablePeerAccess(";
7151 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7152 oss << ")";
7153 break;
7154 case HIP_API_ID_hipDeviceEnablePeerAccess:
7155 oss << "hipDeviceEnablePeerAccess(";
7156 oss << "peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7157 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7158 oss << ")";
7159 break;
7160 case HIP_API_ID_hipDeviceGet:
7161 oss << "hipDeviceGet(";
7162 if (data->args.hipDeviceGet.device == NULL) oss << "device=NULL";
7163 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7164 oss << ", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7165 oss << ")";
7166 break;
7167 case HIP_API_ID_hipDeviceGetAttribute:
7168 oss << "hipDeviceGetAttribute(";
7169 if (data->args.hipDeviceGetAttribute.pi == NULL) oss << "pi=NULL";
7170 else { oss << "pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7171 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7172 oss << ", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7173 oss << ")";
7174 break;
7175 case HIP_API_ID_hipDeviceGetByPCIBusId:
7176 oss << "hipDeviceGetByPCIBusId(";
7177 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss << "device=NULL";
7178 else { oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7179 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss << ", pciBusId=NULL";
7180 else { oss << ", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7181 oss << ")";
7182 break;
7183 case HIP_API_ID_hipDeviceGetCacheConfig:
7184 oss << "hipDeviceGetCacheConfig(";
7185 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss << "cacheConfig=NULL";
7186 else { oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7187 oss << ")";
7188 break;
7189 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7190 oss << "hipDeviceGetDefaultMemPool(";
7191 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7192 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7193 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7194 oss << ")";
7195 break;
7196 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7197 oss << "hipDeviceGetGraphMemAttribute(";
7198 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7199 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7200 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7201 oss << ")";
7202 break;
7203 case HIP_API_ID_hipDeviceGetLimit:
7204 oss << "hipDeviceGetLimit(";
7205 if (data->args.hipDeviceGetLimit.pValue == NULL) oss << "pValue=NULL";
7206 else { oss << "pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7207 oss << ", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7208 oss << ")";
7209 break;
7210 case HIP_API_ID_hipDeviceGetMemPool:
7211 oss << "hipDeviceGetMemPool(";
7212 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss << "mem_pool=NULL";
7213 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7214 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7215 oss << ")";
7216 break;
7217 case HIP_API_ID_hipDeviceGetName:
7218 oss << "hipDeviceGetName(";
7219 if (data->args.hipDeviceGetName.name == NULL) oss << "name=NULL";
7220 else { oss << "name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7221 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7222 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7223 oss << ")";
7224 break;
7225 case HIP_API_ID_hipDeviceGetP2PAttribute:
7226 oss << "hipDeviceGetP2PAttribute(";
7227 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss << "value=NULL";
7228 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7229 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7230 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7231 oss << ", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7232 oss << ")";
7233 break;
7234 case HIP_API_ID_hipDeviceGetPCIBusId:
7235 oss << "hipDeviceGetPCIBusId(";
7236 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss << "pciBusId=NULL";
7237 else { oss << "pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7238 oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7239 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7240 oss << ")";
7241 break;
7242 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7243 oss << "hipDeviceGetSharedMemConfig(";
7244 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss << "pConfig=NULL";
7245 else { oss << "pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7246 oss << ")";
7247 break;
7248 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7249 oss << "hipDeviceGetStreamPriorityRange(";
7250 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss << "leastPriority=NULL";
7251 else { oss << "leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7252 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss << ", greatestPriority=NULL";
7253 else { oss << ", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7254 oss << ")";
7255 break;
7256 case HIP_API_ID_hipDeviceGetUuid:
7257 oss << "hipDeviceGetUuid(";
7258 if (data->args.hipDeviceGetUuid.uuid == NULL) oss << "uuid=NULL";
7259 else { oss << "uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7260 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7261 oss << ")";
7262 break;
7263 case HIP_API_ID_hipDeviceGraphMemTrim:
7264 oss << "hipDeviceGraphMemTrim(";
7265 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7266 oss << ")";
7267 break;
7268 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7269 oss << "hipDevicePrimaryCtxGetState(";
7270 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7271 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss << ", flags=NULL";
7272 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7273 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss << ", active=NULL";
7274 else { oss << ", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7275 oss << ")";
7276 break;
7277 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7278 oss << "hipDevicePrimaryCtxRelease(";
7279 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7280 oss << ")";
7281 break;
7282 case HIP_API_ID_hipDevicePrimaryCtxReset:
7283 oss << "hipDevicePrimaryCtxReset(";
7284 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7285 oss << ")";
7286 break;
7287 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7288 oss << "hipDevicePrimaryCtxRetain(";
7289 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss << "pctx=NULL";
7290 else { oss << "pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7291 oss << ", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7292 oss << ")";
7293 break;
7294 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7295 oss << "hipDevicePrimaryCtxSetFlags(";
7296 oss << "dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7297 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7298 oss << ")";
7299 break;
7300 case HIP_API_ID_hipDeviceReset:
7301 oss << "hipDeviceReset(";
7302 oss << ")";
7303 break;
7304 case HIP_API_ID_hipDeviceSetCacheConfig:
7305 oss << "hipDeviceSetCacheConfig(";
7306 oss << "cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7307 oss << ")";
7308 break;
7309 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7310 oss << "hipDeviceSetGraphMemAttribute(";
7311 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7312 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7313 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7314 oss << ")";
7315 break;
7316 case HIP_API_ID_hipDeviceSetLimit:
7317 oss << "hipDeviceSetLimit(";
7318 oss << "limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7319 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7320 oss << ")";
7321 break;
7322 case HIP_API_ID_hipDeviceSetMemPool:
7323 oss << "hipDeviceSetMemPool(";
7324 oss << "device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7325 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7326 oss << ")";
7327 break;
7328 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7329 oss << "hipDeviceSetSharedMemConfig(";
7330 oss << "config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7331 oss << ")";
7332 break;
7333 case HIP_API_ID_hipDeviceSynchronize:
7334 oss << "hipDeviceSynchronize(";
7335 oss << ")";
7336 break;
7337 case HIP_API_ID_hipDeviceTotalMem:
7338 oss << "hipDeviceTotalMem(";
7339 if (data->args.hipDeviceTotalMem.bytes == NULL) oss << "bytes=NULL";
7340 else { oss << "bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7341 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7342 oss << ")";
7343 break;
7344 case HIP_API_ID_hipDriverGetVersion:
7345 oss << "hipDriverGetVersion(";
7346 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss << "driverVersion=NULL";
7347 else { oss << "driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7348 oss << ")";
7349 break;
7350 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7351 oss << "hipDrvMemcpy2DUnaligned(";
7352 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss << "pCopy=NULL";
7353 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7354 oss << ")";
7355 break;
7356 case HIP_API_ID_hipDrvMemcpy3D:
7357 oss << "hipDrvMemcpy3D(";
7358 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss << "pCopy=NULL";
7359 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7360 oss << ")";
7361 break;
7362 case HIP_API_ID_hipDrvMemcpy3DAsync:
7363 oss << "hipDrvMemcpy3DAsync(";
7364 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss << "pCopy=NULL";
7365 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7366 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7367 oss << ")";
7368 break;
7369 case HIP_API_ID_hipDrvPointerGetAttributes:
7370 oss << "hipDrvPointerGetAttributes(";
7371 oss << "numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7372 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss << ", attributes=NULL";
7373 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7374 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss << ", data=NULL";
7375 else { oss << ", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7376 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7377 oss << ")";
7378 break;
7379 case HIP_API_ID_hipEventCreate:
7380 oss << "hipEventCreate(";
7381 if (data->args.hipEventCreate.event == NULL) oss << "event=NULL";
7382 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7383 oss << ")";
7384 break;
7385 case HIP_API_ID_hipEventCreateWithFlags:
7386 oss << "hipEventCreateWithFlags(";
7387 if (data->args.hipEventCreateWithFlags.event == NULL) oss << "event=NULL";
7388 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7389 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7390 oss << ")";
7391 break;
7392 case HIP_API_ID_hipEventDestroy:
7393 oss << "hipEventDestroy(";
7394 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7395 oss << ")";
7396 break;
7397 case HIP_API_ID_hipEventElapsedTime:
7398 oss << "hipEventElapsedTime(";
7399 if (data->args.hipEventElapsedTime.ms == NULL) oss << "ms=NULL";
7400 else { oss << "ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7401 oss << ", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7402 oss << ", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7403 oss << ")";
7404 break;
7405 case HIP_API_ID_hipEventQuery:
7406 oss << "hipEventQuery(";
7407 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7408 oss << ")";
7409 break;
7410 case HIP_API_ID_hipEventRecord:
7411 oss << "hipEventRecord(";
7412 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7413 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7414 oss << ")";
7415 break;
7416 case HIP_API_ID_hipEventSynchronize:
7417 oss << "hipEventSynchronize(";
7418 oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7419 oss << ")";
7420 break;
7421 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7422 oss << "hipExtGetLinkTypeAndHopCount(";
7423 oss << "device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
7424 oss << ", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
7425 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss << ", linktype=NULL";
7426 else { oss << ", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
7427 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss << ", hopcount=NULL";
7428 else { oss << ", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
7429 oss << ")";
7430 break;
7431 case HIP_API_ID_hipExtLaunchKernel:
7432 oss << "hipExtLaunchKernel(";
7433 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
7434 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
7435 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
7436 if (data->args.hipExtLaunchKernel.args == NULL) oss << ", args=NULL";
7437 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
7438 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
7439 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
7440 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
7441 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
7442 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
7443 oss << ")";
7444 break;
7445 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
7446 oss << "hipExtLaunchMultiKernelMultiDevice(";
7447 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
7448 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
7449 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
7450 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
7451 oss << ")";
7452 break;
7453 case HIP_API_ID_hipExtMallocWithFlags:
7454 oss << "hipExtMallocWithFlags(";
7455 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss << "ptr=NULL";
7456 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
7457 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
7458 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
7459 oss << ")";
7460 break;
7461 case HIP_API_ID_hipExtModuleLaunchKernel:
7462 oss << "hipExtModuleLaunchKernel(";
7463 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
7464 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
7465 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
7466 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
7467 oss << ", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
7468 oss << ", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
7469 oss << ", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
7470 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
7471 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
7472 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
7473 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
7474 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
7475 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
7476 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
7477 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
7478 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
7479 oss << ")";
7480 break;
7481 case HIP_API_ID_hipExtStreamCreateWithCUMask:
7482 oss << "hipExtStreamCreateWithCUMask(";
7483 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss << "stream=NULL";
7484 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
7485 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
7486 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss << ", cuMask=NULL";
7487 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
7488 oss << ")";
7489 break;
7490 case HIP_API_ID_hipExtStreamGetCUMask:
7491 oss << "hipExtStreamGetCUMask(";
7492 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
7493 oss << ", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
7494 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss << ", cuMask=NULL";
7495 else { oss << ", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
7496 oss << ")";
7497 break;
7498 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
7499 oss << "hipExternalMemoryGetMappedBuffer(";
7500 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss << "devPtr=NULL";
7501 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
7502 oss << ", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
7503 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss << ", bufferDesc=NULL";
7504 else { oss << ", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
7505 oss << ")";
7506 break;
7507 case HIP_API_ID_hipFree:
7508 oss << "hipFree(";
7509 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
7510 oss << ")";
7511 break;
7512 case HIP_API_ID_hipFreeArray:
7513 oss << "hipFreeArray(";
7514 if (data->args.hipFreeArray.array == NULL) oss << "array=NULL";
7515 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array__val); }
7516 oss << ")";
7517 break;
7518 case HIP_API_ID_hipFreeAsync:
7519 oss << "hipFreeAsync(";
7520 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
7521 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
7522 oss << ")";
7523 break;
7524 case HIP_API_ID_hipFreeHost:
7525 oss << "hipFreeHost(";
7526 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
7527 oss << ")";
7528 break;
7529 case HIP_API_ID_hipFreeMipmappedArray:
7530 oss << "hipFreeMipmappedArray(";
7531 oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
7532 oss << ")";
7533 break;
7534 case HIP_API_ID_hipFuncGetAttribute:
7535 oss << "hipFuncGetAttribute(";
7536 if (data->args.hipFuncGetAttribute.value == NULL) oss << "value=NULL";
7537 else { oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
7538 oss << ", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
7539 oss << ", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
7540 oss << ")";
7541 break;
7542 case HIP_API_ID_hipFuncGetAttributes:
7543 oss << "hipFuncGetAttributes(";
7544 if (data->args.hipFuncGetAttributes.attr == NULL) oss << "attr=NULL";
7545 else { oss << "attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
7546 oss << ", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
7547 oss << ")";
7548 break;
7549 case HIP_API_ID_hipFuncSetAttribute:
7550 oss << "hipFuncSetAttribute(";
7551 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
7552 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
7553 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
7554 oss << ")";
7555 break;
7556 case HIP_API_ID_hipFuncSetCacheConfig:
7557 oss << "hipFuncSetCacheConfig(";
7558 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
7559 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
7560 oss << ")";
7561 break;
7562 case HIP_API_ID_hipFuncSetSharedMemConfig:
7563 oss << "hipFuncSetSharedMemConfig(";
7564 oss << "func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
7565 oss << ", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
7566 oss << ")";
7567 break;
7568 case HIP_API_ID_hipGLGetDevices:
7569 oss << "hipGLGetDevices(";
7570 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss << "pHipDeviceCount=NULL";
7571 else { oss << "pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
7572 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss << ", pHipDevices=NULL";
7573 else { oss << ", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
7574 oss << ", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
7575 oss << ", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
7576 oss << ")";
7577 break;
7578 case HIP_API_ID_hipGetChannelDesc:
7579 oss << "hipGetChannelDesc(";
7580 if (data->args.hipGetChannelDesc.desc == NULL) oss << "desc=NULL";
7581 else { oss << "desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
7582 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
7583 oss << ")";
7584 break;
7585 case HIP_API_ID_hipGetDevice:
7586 oss << "hipGetDevice(";
7587 if (data->args.hipGetDevice.deviceId == NULL) oss << "deviceId=NULL";
7588 else { oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
7589 oss << ")";
7590 break;
7591 case HIP_API_ID_hipGetDeviceCount:
7592 oss << "hipGetDeviceCount(";
7593 if (data->args.hipGetDeviceCount.count == NULL) oss << "count=NULL";
7594 else { oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
7595 oss << ")";
7596 break;
7597 case HIP_API_ID_hipGetDeviceFlags:
7598 oss << "hipGetDeviceFlags(";
7599 if (data->args.hipGetDeviceFlags.flags == NULL) oss << "flags=NULL";
7600 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
7601 oss << ")";
7602 break;
7603 case HIP_API_ID_hipGetDeviceProperties:
7604 oss << "hipGetDeviceProperties(";
7605 if (data->args.hipGetDeviceProperties.props == NULL) oss << "props=NULL";
7606 else { oss << "props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceProperties.props__val); }
7607 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceProperties.device);
7608 oss << ")";
7609 break;
7610 case HIP_API_ID_hipGetErrorString:
7611 oss << "hipGetErrorString(";
7612 oss << ")";
7613 break;
7614 case HIP_API_ID_hipGetLastError:
7615 oss << "hipGetLastError(";
7616 oss << ")";
7617 break;
7618 case HIP_API_ID_hipGetMipmappedArrayLevel:
7619 oss << "hipGetMipmappedArrayLevel(";
7620 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss << "levelArray=NULL";
7621 else { oss << "levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
7622 oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
7623 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
7624 oss << ")";
7625 break;
7626 case HIP_API_ID_hipGetSymbolAddress:
7627 oss << "hipGetSymbolAddress(";
7628 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss << "devPtr=NULL";
7629 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
7630 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
7631 oss << ")";
7632 break;
7633 case HIP_API_ID_hipGetSymbolSize:
7634 oss << "hipGetSymbolSize(";
7635 if (data->args.hipGetSymbolSize.size == NULL) oss << "size=NULL";
7636 else { oss << "size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
7637 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
7638 oss << ")";
7639 break;
7640 case HIP_API_ID_hipGraphAddChildGraphNode:
7641 oss << "hipGraphAddChildGraphNode(";
7642 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7643 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
7644 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
7645 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7646 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
7647 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
7648 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
7649 oss << ")";
7650 break;
7651 case HIP_API_ID_hipGraphAddDependencies:
7652 oss << "hipGraphAddDependencies(";
7653 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
7654 if (data->args.hipGraphAddDependencies.from == NULL) oss << ", from=NULL";
7655 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
7656 if (data->args.hipGraphAddDependencies.to == NULL) oss << ", to=NULL";
7657 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
7658 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
7659 oss << ")";
7660 break;
7661 case HIP_API_ID_hipGraphAddEmptyNode:
7662 oss << "hipGraphAddEmptyNode(";
7663 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7664 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
7665 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
7666 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7667 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
7668 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
7669 oss << ")";
7670 break;
7671 case HIP_API_ID_hipGraphAddEventRecordNode:
7672 oss << "hipGraphAddEventRecordNode(";
7673 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7674 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
7675 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
7676 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7677 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
7678 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
7679 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
7680 oss << ")";
7681 break;
7682 case HIP_API_ID_hipGraphAddEventWaitNode:
7683 oss << "hipGraphAddEventWaitNode(";
7684 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7685 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
7686 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
7687 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7688 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
7689 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
7690 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
7691 oss << ")";
7692 break;
7693 case HIP_API_ID_hipGraphAddHostNode:
7694 oss << "hipGraphAddHostNode(";
7695 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7696 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
7697 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
7698 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7699 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
7700 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
7701 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7702 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
7703 oss << ")";
7704 break;
7705 case HIP_API_ID_hipGraphAddKernelNode:
7706 oss << "hipGraphAddKernelNode(";
7707 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7708 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
7709 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
7710 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7711 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
7712 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
7713 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7714 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
7715 oss << ")";
7716 break;
7717 case HIP_API_ID_hipGraphAddMemAllocNode:
7718 oss << "hipGraphAddMemAllocNode(";
7719 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7720 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
7721 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
7722 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7723 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
7724 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
7725 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7726 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
7727 oss << ")";
7728 break;
7729 case HIP_API_ID_hipGraphAddMemFreeNode:
7730 oss << "hipGraphAddMemFreeNode(";
7731 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7732 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
7733 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
7734 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7735 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
7736 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
7737 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
7738 oss << ")";
7739 break;
7740 case HIP_API_ID_hipGraphAddMemcpyNode:
7741 oss << "hipGraphAddMemcpyNode(";
7742 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7743 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
7744 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
7745 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7746 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
7747 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
7748 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss << ", pCopyParams=NULL";
7749 else { oss << ", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
7750 oss << ")";
7751 break;
7752 case HIP_API_ID_hipGraphAddMemcpyNode1D:
7753 oss << "hipGraphAddMemcpyNode1D(";
7754 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss << "pGraphNode=NULL";
7755 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
7756 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
7757 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss << ", pDependencies=NULL";
7758 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
7759 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
7760 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
7761 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
7762 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
7763 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
7764 oss << ")";
7765 break;
7766 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
7767 oss << "hipGraphAddMemcpyNodeFromSymbol(";
7768 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
7769 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
7770 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
7771 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
7772 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
7773 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
7774 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
7775 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
7776 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
7777 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
7778 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
7779 oss << ")";
7780 break;
7781 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
7782 oss << "hipGraphAddMemcpyNodeToSymbol(";
7783 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss << "pGraphNode=NULL";
7784 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
7785 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
7786 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss << ", pDependencies=NULL";
7787 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
7788 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
7789 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
7790 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
7791 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
7792 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
7793 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
7794 oss << ")";
7795 break;
7796 case HIP_API_ID_hipGraphAddMemsetNode:
7797 oss << "hipGraphAddMemsetNode(";
7798 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
7799 else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
7800 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
7801 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss << ", pDependencies=NULL";
7802 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
7803 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
7804 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss << ", pMemsetParams=NULL";
7805 else { oss << ", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
7806 oss << ")";
7807 break;
7808 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
7809 oss << "hipGraphChildGraphNodeGetGraph(";
7810 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
7811 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss << ", pGraph=NULL";
7812 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
7813 oss << ")";
7814 break;
7815 case HIP_API_ID_hipGraphClone:
7816 oss << "hipGraphClone(";
7817 if (data->args.hipGraphClone.pGraphClone == NULL) oss << "pGraphClone=NULL";
7818 else { oss << "pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
7819 oss << ", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
7820 oss << ")";
7821 break;
7822 case HIP_API_ID_hipGraphCreate:
7823 oss << "hipGraphCreate(";
7824 if (data->args.hipGraphCreate.pGraph == NULL) oss << "pGraph=NULL";
7825 else { oss << "pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
7826 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
7827 oss << ")";
7828 break;
7829 case HIP_API_ID_hipGraphDebugDotPrint:
7830 oss << "hipGraphDebugDotPrint(";
7831 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
7832 if (data->args.hipGraphDebugDotPrint.path == NULL) oss << ", path=NULL";
7833 else { oss << ", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
7834 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
7835 oss << ")";
7836 break;
7837 case HIP_API_ID_hipGraphDestroy:
7838 oss << "hipGraphDestroy(";
7839 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
7840 oss << ")";
7841 break;
7842 case HIP_API_ID_hipGraphDestroyNode:
7843 oss << "hipGraphDestroyNode(";
7844 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
7845 oss << ")";
7846 break;
7847 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
7848 oss << "hipGraphEventRecordNodeGetEvent(";
7849 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
7850 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
7851 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
7852 oss << ")";
7853 break;
7854 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
7855 oss << "hipGraphEventRecordNodeSetEvent(";
7856 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
7857 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
7858 oss << ")";
7859 break;
7860 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
7861 oss << "hipGraphEventWaitNodeGetEvent(";
7862 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
7863 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss << ", event_out=NULL";
7864 else { oss << ", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
7865 oss << ")";
7866 break;
7867 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
7868 oss << "hipGraphEventWaitNodeSetEvent(";
7869 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
7870 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
7871 oss << ")";
7872 break;
7873 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
7874 oss << "hipGraphExecChildGraphNodeSetParams(";
7875 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
7876 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
7877 oss << ", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
7878 oss << ")";
7879 break;
7880 case HIP_API_ID_hipGraphExecDestroy:
7881 oss << "hipGraphExecDestroy(";
7882 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
7883 oss << ")";
7884 break;
7885 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
7886 oss << "hipGraphExecEventRecordNodeSetEvent(";
7887 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
7888 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
7889 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
7890 oss << ")";
7891 break;
7892 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
7893 oss << "hipGraphExecEventWaitNodeSetEvent(";
7894 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
7895 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
7896 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
7897 oss << ")";
7898 break;
7899 case HIP_API_ID_hipGraphExecHostNodeSetParams:
7900 oss << "hipGraphExecHostNodeSetParams(";
7901 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
7902 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
7903 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7904 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
7905 oss << ")";
7906 break;
7907 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
7908 oss << "hipGraphExecKernelNodeSetParams(";
7909 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
7910 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
7911 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7912 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
7913 oss << ")";
7914 break;
7915 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
7916 oss << "hipGraphExecMemcpyNodeSetParams(";
7917 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
7918 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
7919 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7920 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
7921 oss << ")";
7922 break;
7923 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
7924 oss << "hipGraphExecMemcpyNodeSetParams1D(";
7925 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
7926 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
7927 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
7928 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
7929 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
7930 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
7931 oss << ")";
7932 break;
7933 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
7934 oss << "hipGraphExecMemcpyNodeSetParamsFromSymbol(";
7935 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
7936 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
7937 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
7938 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
7939 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
7940 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
7941 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
7942 oss << ")";
7943 break;
7944 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
7945 oss << "hipGraphExecMemcpyNodeSetParamsToSymbol(";
7946 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
7947 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
7948 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
7949 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
7950 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
7951 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
7952 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
7953 oss << ")";
7954 break;
7955 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
7956 oss << "hipGraphExecMemsetNodeSetParams(";
7957 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
7958 oss << ", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
7959 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
7960 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
7961 oss << ")";
7962 break;
7963 case HIP_API_ID_hipGraphExecUpdate:
7964 oss << "hipGraphExecUpdate(";
7965 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
7966 oss << ", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
7967 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss << ", hErrorNode_out=NULL";
7968 else { oss << ", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
7969 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss << ", updateResult_out=NULL";
7970 else { oss << ", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
7971 oss << ")";
7972 break;
7973 case HIP_API_ID_hipGraphGetEdges:
7974 oss << "hipGraphGetEdges(";
7975 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
7976 if (data->args.hipGraphGetEdges.from == NULL) oss << ", from=NULL";
7977 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
7978 if (data->args.hipGraphGetEdges.to == NULL) oss << ", to=NULL";
7979 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
7980 if (data->args.hipGraphGetEdges.numEdges == NULL) oss << ", numEdges=NULL";
7981 else { oss << ", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
7982 oss << ")";
7983 break;
7984 case HIP_API_ID_hipGraphGetNodes:
7985 oss << "hipGraphGetNodes(";
7986 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
7987 if (data->args.hipGraphGetNodes.nodes == NULL) oss << ", nodes=NULL";
7988 else { oss << ", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
7989 if (data->args.hipGraphGetNodes.numNodes == NULL) oss << ", numNodes=NULL";
7990 else { oss << ", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
7991 oss << ")";
7992 break;
7993 case HIP_API_ID_hipGraphGetRootNodes:
7994 oss << "hipGraphGetRootNodes(";
7995 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
7996 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss << ", pRootNodes=NULL";
7997 else { oss << ", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
7998 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss << ", pNumRootNodes=NULL";
7999 else { oss << ", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8000 oss << ")";
8001 break;
8002 case HIP_API_ID_hipGraphHostNodeGetParams:
8003 oss << "hipGraphHostNodeGetParams(";
8004 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8005 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8006 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8007 oss << ")";
8008 break;
8009 case HIP_API_ID_hipGraphHostNodeSetParams:
8010 oss << "hipGraphHostNodeSetParams(";
8011 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8012 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8013 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8014 oss << ")";
8015 break;
8016 case HIP_API_ID_hipGraphInstantiate:
8017 oss << "hipGraphInstantiate(";
8018 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss << "pGraphExec=NULL";
8019 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8020 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8021 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss << ", pErrorNode=NULL";
8022 else { oss << ", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8023 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss << ", pLogBuffer=NULL";
8024 else { oss << ", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8025 oss << ", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8026 oss << ")";
8027 break;
8028 case HIP_API_ID_hipGraphInstantiateWithFlags:
8029 oss << "hipGraphInstantiateWithFlags(";
8030 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss << "pGraphExec=NULL";
8031 else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8032 oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8033 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8034 oss << ")";
8035 break;
8036 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8037 oss << "hipGraphKernelNodeCopyAttributes(";
8038 oss << "hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8039 oss << ", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8040 oss << ")";
8041 break;
8042 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8043 oss << "hipGraphKernelNodeGetAttribute(";
8044 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8045 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8046 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss << ", value=NULL";
8047 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8048 oss << ")";
8049 break;
8050 case HIP_API_ID_hipGraphKernelNodeGetParams:
8051 oss << "hipGraphKernelNodeGetParams(";
8052 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8053 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8054 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8055 oss << ")";
8056 break;
8057 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8058 oss << "hipGraphKernelNodeSetAttribute(";
8059 oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8060 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8061 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss << ", value=NULL";
8062 else { oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8063 oss << ")";
8064 break;
8065 case HIP_API_ID_hipGraphKernelNodeSetParams:
8066 oss << "hipGraphKernelNodeSetParams(";
8067 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8068 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8069 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8070 oss << ")";
8071 break;
8072 case HIP_API_ID_hipGraphLaunch:
8073 oss << "hipGraphLaunch(";
8074 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8075 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8076 oss << ")";
8077 break;
8078 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8079 oss << "hipGraphMemAllocNodeGetParams(";
8080 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8081 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8082 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8083 oss << ")";
8084 break;
8085 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8086 oss << "hipGraphMemFreeNodeGetParams(";
8087 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8088 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8089 oss << ")";
8090 break;
8091 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8092 oss << "hipGraphMemcpyNodeGetParams(";
8093 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8094 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8095 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8096 oss << ")";
8097 break;
8098 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8099 oss << "hipGraphMemcpyNodeSetParams(";
8100 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8101 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8102 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8103 oss << ")";
8104 break;
8105 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8106 oss << "hipGraphMemcpyNodeSetParams1D(";
8107 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8108 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8109 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8110 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8111 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8112 oss << ")";
8113 break;
8114 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8115 oss << "hipGraphMemcpyNodeSetParamsFromSymbol(";
8116 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8117 oss << ", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8118 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8119 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8120 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8121 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8122 oss << ")";
8123 break;
8124 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8125 oss << "hipGraphMemcpyNodeSetParamsToSymbol(";
8126 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8127 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8128 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8129 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8130 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8131 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8132 oss << ")";
8133 break;
8134 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8135 oss << "hipGraphMemsetNodeGetParams(";
8136 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8137 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8138 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8139 oss << ")";
8140 break;
8141 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8142 oss << "hipGraphMemsetNodeSetParams(";
8143 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8144 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss << ", pNodeParams=NULL";
8145 else { oss << ", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8146 oss << ")";
8147 break;
8148 case HIP_API_ID_hipGraphNodeFindInClone:
8149 oss << "hipGraphNodeFindInClone(";
8150 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss << "pNode=NULL";
8151 else { oss << "pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8152 oss << ", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8153 oss << ", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8154 oss << ")";
8155 break;
8156 case HIP_API_ID_hipGraphNodeGetDependencies:
8157 oss << "hipGraphNodeGetDependencies(";
8158 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8159 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss << ", pDependencies=NULL";
8160 else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8161 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss << ", pNumDependencies=NULL";
8162 else { oss << ", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8163 oss << ")";
8164 break;
8165 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8166 oss << "hipGraphNodeGetDependentNodes(";
8167 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8168 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss << ", pDependentNodes=NULL";
8169 else { oss << ", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8170 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss << ", pNumDependentNodes=NULL";
8171 else { oss << ", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8172 oss << ")";
8173 break;
8174 case HIP_API_ID_hipGraphNodeGetEnabled:
8175 oss << "hipGraphNodeGetEnabled(";
8176 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8177 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8178 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss << ", isEnabled=NULL";
8179 else { oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8180 oss << ")";
8181 break;
8182 case HIP_API_ID_hipGraphNodeGetType:
8183 oss << "hipGraphNodeGetType(";
8184 oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8185 if (data->args.hipGraphNodeGetType.pType == NULL) oss << ", pType=NULL";
8186 else { oss << ", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8187 oss << ")";
8188 break;
8189 case HIP_API_ID_hipGraphNodeSetEnabled:
8190 oss << "hipGraphNodeSetEnabled(";
8191 oss << "hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8192 oss << ", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8193 oss << ", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8194 oss << ")";
8195 break;
8196 case HIP_API_ID_hipGraphReleaseUserObject:
8197 oss << "hipGraphReleaseUserObject(";
8198 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8199 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8200 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8201 oss << ")";
8202 break;
8203 case HIP_API_ID_hipGraphRemoveDependencies:
8204 oss << "hipGraphRemoveDependencies(";
8205 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8206 if (data->args.hipGraphRemoveDependencies.from == NULL) oss << ", from=NULL";
8207 else { oss << ", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8208 if (data->args.hipGraphRemoveDependencies.to == NULL) oss << ", to=NULL";
8209 else { oss << ", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8210 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8211 oss << ")";
8212 break;
8213 case HIP_API_ID_hipGraphRetainUserObject:
8214 oss << "hipGraphRetainUserObject(";
8215 oss << "graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8216 oss << ", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8217 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8218 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8219 oss << ")";
8220 break;
8221 case HIP_API_ID_hipGraphUpload:
8222 oss << "hipGraphUpload(";
8223 oss << "graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8224 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8225 oss << ")";
8226 break;
8227 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8228 oss << "hipGraphicsGLRegisterBuffer(";
8229 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss << "resource=NULL";
8230 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8231 oss << ", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8232 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8233 oss << ")";
8234 break;
8235 case HIP_API_ID_hipGraphicsGLRegisterImage:
8236 oss << "hipGraphicsGLRegisterImage(";
8237 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss << "resource=NULL";
8238 else { oss << "resource="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8239 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8240 oss << ", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8241 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8242 oss << ")";
8243 break;
8244 case HIP_API_ID_hipGraphicsMapResources:
8245 oss << "hipGraphicsMapResources(";
8246 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8247 if (data->args.hipGraphicsMapResources.resources == NULL) oss << ", resources=NULL";
8248 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8249 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8250 oss << ")";
8251 break;
8252 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8253 oss << "hipGraphicsResourceGetMappedPointer(";
8254 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss << "devPtr=NULL";
8255 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8256 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss << ", size=NULL";
8257 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8258 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8259 oss << ")";
8260 break;
8261 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8262 oss << "hipGraphicsSubResourceGetMappedArray(";
8263 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss << "array=NULL";
8264 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8265 oss << ", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8266 oss << ", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8267 oss << ", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8268 oss << ")";
8269 break;
8270 case HIP_API_ID_hipGraphicsUnmapResources:
8271 oss << "hipGraphicsUnmapResources(";
8272 oss << "count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8273 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss << ", resources=NULL";
8274 else { oss << ", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8275 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8276 oss << ")";
8277 break;
8278 case HIP_API_ID_hipGraphicsUnregisterResource:
8279 oss << "hipGraphicsUnregisterResource(";
8280 oss << "resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8281 oss << ")";
8282 break;
8283 case HIP_API_ID_hipHccModuleLaunchKernel:
8284 oss << "hipHccModuleLaunchKernel(";
8285 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8286 oss << ", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8287 oss << ", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8288 oss << ", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8289 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8290 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8291 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8292 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8293 oss << ", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8294 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8295 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8296 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
8297 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8298 oss << ", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8299 oss << ", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
8300 oss << ")";
8301 break;
8302 case HIP_API_ID_hipHostAlloc:
8303 oss << "hipHostAlloc(";
8304 if (data->args.hipHostAlloc.ptr == NULL) oss << "ptr=NULL";
8305 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
8306 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
8307 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
8308 oss << ")";
8309 break;
8310 case HIP_API_ID_hipHostFree:
8311 oss << "hipHostFree(";
8312 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
8313 oss << ")";
8314 break;
8315 case HIP_API_ID_hipHostGetDevicePointer:
8316 oss << "hipHostGetDevicePointer(";
8317 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss << "devPtr=NULL";
8318 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
8319 oss << ", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
8320 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
8321 oss << ")";
8322 break;
8323 case HIP_API_ID_hipHostGetFlags:
8324 oss << "hipHostGetFlags(";
8325 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss << "flagsPtr=NULL";
8326 else { oss << "flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
8327 oss << ", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
8328 oss << ")";
8329 break;
8330 case HIP_API_ID_hipHostMalloc:
8331 oss << "hipHostMalloc(";
8332 if (data->args.hipHostMalloc.ptr == NULL) oss << "ptr=NULL";
8333 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
8334 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
8335 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
8336 oss << ")";
8337 break;
8338 case HIP_API_ID_hipHostRegister:
8339 oss << "hipHostRegister(";
8340 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
8341 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
8342 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
8343 oss << ")";
8344 break;
8345 case HIP_API_ID_hipHostUnregister:
8346 oss << "hipHostUnregister(";
8347 oss << "hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
8348 oss << ")";
8349 break;
8350 case HIP_API_ID_hipImportExternalMemory:
8351 oss << "hipImportExternalMemory(";
8352 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss << "extMem_out=NULL";
8353 else { oss << "extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
8354 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss << ", memHandleDesc=NULL";
8355 else { oss << ", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
8356 oss << ")";
8357 break;
8358 case HIP_API_ID_hipImportExternalSemaphore:
8359 oss << "hipImportExternalSemaphore(";
8360 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss << "extSem_out=NULL";
8361 else { oss << "extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
8362 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss << ", semHandleDesc=NULL";
8363 else { oss << ", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
8364 oss << ")";
8365 break;
8366 case HIP_API_ID_hipInit:
8367 oss << "hipInit(";
8368 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
8369 oss << ")";
8370 break;
8371 case HIP_API_ID_hipIpcCloseMemHandle:
8372 oss << "hipIpcCloseMemHandle(";
8373 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
8374 oss << ")";
8375 break;
8376 case HIP_API_ID_hipIpcGetEventHandle:
8377 oss << "hipIpcGetEventHandle(";
8378 if (data->args.hipIpcGetEventHandle.handle == NULL) oss << "handle=NULL";
8379 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
8380 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
8381 oss << ")";
8382 break;
8383 case HIP_API_ID_hipIpcGetMemHandle:
8384 oss << "hipIpcGetMemHandle(";
8385 if (data->args.hipIpcGetMemHandle.handle == NULL) oss << "handle=NULL";
8386 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
8387 oss << ", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
8388 oss << ")";
8389 break;
8390 case HIP_API_ID_hipIpcOpenEventHandle:
8391 oss << "hipIpcOpenEventHandle(";
8392 if (data->args.hipIpcOpenEventHandle.event == NULL) oss << "event=NULL";
8393 else { oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
8394 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
8395 oss << ")";
8396 break;
8397 case HIP_API_ID_hipIpcOpenMemHandle:
8398 oss << "hipIpcOpenMemHandle(";
8399 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss << "devPtr=NULL";
8400 else { oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
8401 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
8402 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
8403 oss << ")";
8404 break;
8405 case HIP_API_ID_hipLaunchByPtr:
8406 oss << "hipLaunchByPtr(";
8407 oss << "hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
8408 oss << ")";
8409 break;
8410 case HIP_API_ID_hipLaunchCooperativeKernel:
8411 oss << "hipLaunchCooperativeKernel(";
8412 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
8413 oss << ", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
8414 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
8415 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
8416 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
8417 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
8418 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
8419 oss << ")";
8420 break;
8421 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
8422 oss << "hipLaunchCooperativeKernelMultiDevice(";
8423 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
8424 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
8425 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
8426 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
8427 oss << ")";
8428 break;
8429 case HIP_API_ID_hipLaunchHostFunc:
8430 oss << "hipLaunchHostFunc(";
8431 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
8432 oss << ", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
8433 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
8434 oss << ")";
8435 break;
8436 case HIP_API_ID_hipLaunchKernel:
8437 oss << "hipLaunchKernel(";
8438 oss << "function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
8439 oss << ", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
8440 oss << ", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
8441 if (data->args.hipLaunchKernel.args == NULL) oss << ", args=NULL";
8442 else { oss << ", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
8443 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
8444 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
8445 oss << ")";
8446 break;
8447 case HIP_API_ID_hipMalloc:
8448 oss << "hipMalloc(";
8449 if (data->args.hipMalloc.ptr == NULL) oss << "ptr=NULL";
8450 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
8451 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
8452 oss << ")";
8453 break;
8454 case HIP_API_ID_hipMalloc3D:
8455 oss << "hipMalloc3D(";
8456 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss << "pitchedDevPtr=NULL";
8457 else { oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
8458 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
8459 oss << ")";
8460 break;
8461 case HIP_API_ID_hipMalloc3DArray:
8462 oss << "hipMalloc3DArray(";
8463 if (data->args.hipMalloc3DArray.array == NULL) oss << "array=NULL";
8464 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
8465 if (data->args.hipMalloc3DArray.desc == NULL) oss << ", desc=NULL";
8466 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
8467 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
8468 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
8469 oss << ")";
8470 break;
8471 case HIP_API_ID_hipMallocArray:
8472 oss << "hipMallocArray(";
8473 if (data->args.hipMallocArray.array == NULL) oss << "array=NULL";
8474 else { oss << "array="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipMallocArray.array__val); }
8475 if (data->args.hipMallocArray.desc == NULL) oss << ", desc=NULL";
8476 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
8477 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
8478 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
8479 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
8480 oss << ")";
8481 break;
8482 case HIP_API_ID_hipMallocAsync:
8483 oss << "hipMallocAsync(";
8484 if (data->args.hipMallocAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
8485 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
8486 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
8487 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
8488 oss << ")";
8489 break;
8490 case HIP_API_ID_hipMallocFromPoolAsync:
8491 oss << "hipMallocFromPoolAsync(";
8492 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss << "dev_ptr=NULL";
8493 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
8494 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
8495 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
8496 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
8497 oss << ")";
8498 break;
8499 case HIP_API_ID_hipMallocHost:
8500 oss << "hipMallocHost(";
8501 if (data->args.hipMallocHost.ptr == NULL) oss << "ptr=NULL";
8502 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
8503 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
8504 oss << ")";
8505 break;
8506 case HIP_API_ID_hipMallocManaged:
8507 oss << "hipMallocManaged(";
8508 if (data->args.hipMallocManaged.dev_ptr == NULL) oss << "dev_ptr=NULL";
8509 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
8510 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
8511 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
8512 oss << ")";
8513 break;
8514 case HIP_API_ID_hipMallocMipmappedArray:
8515 oss << "hipMallocMipmappedArray(";
8516 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss << "mipmappedArray=NULL";
8517 else { oss << "mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
8518 if (data->args.hipMallocMipmappedArray.desc == NULL) oss << ", desc=NULL";
8519 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
8520 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
8521 oss << ", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
8522 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
8523 oss << ")";
8524 break;
8525 case HIP_API_ID_hipMallocPitch:
8526 oss << "hipMallocPitch(";
8527 if (data->args.hipMallocPitch.ptr == NULL) oss << "ptr=NULL";
8528 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
8529 if (data->args.hipMallocPitch.pitch == NULL) oss << ", pitch=NULL";
8530 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
8531 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
8532 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
8533 oss << ")";
8534 break;
8535 case HIP_API_ID_hipMemAddressFree:
8536 oss << "hipMemAddressFree(";
8537 oss << "devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
8538 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
8539 oss << ")";
8540 break;
8541 case HIP_API_ID_hipMemAddressReserve:
8542 oss << "hipMemAddressReserve(";
8543 if (data->args.hipMemAddressReserve.ptr == NULL) oss << "ptr=NULL";
8544 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
8545 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
8546 oss << ", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
8547 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
8548 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
8549 oss << ")";
8550 break;
8551 case HIP_API_ID_hipMemAdvise:
8552 oss << "hipMemAdvise(";
8553 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
8554 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
8555 oss << ", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
8556 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
8557 oss << ")";
8558 break;
8559 case HIP_API_ID_hipMemAllocHost:
8560 oss << "hipMemAllocHost(";
8561 if (data->args.hipMemAllocHost.ptr == NULL) oss << "ptr=NULL";
8562 else { oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
8563 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
8564 oss << ")";
8565 break;
8566 case HIP_API_ID_hipMemAllocPitch:
8567 oss << "hipMemAllocPitch(";
8568 if (data->args.hipMemAllocPitch.dptr == NULL) oss << "dptr=NULL";
8569 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
8570 if (data->args.hipMemAllocPitch.pitch == NULL) oss << ", pitch=NULL";
8571 else { oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
8572 oss << ", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
8573 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
8574 oss << ", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
8575 oss << ")";
8576 break;
8577 case HIP_API_ID_hipMemCreate:
8578 oss << "hipMemCreate(";
8579 if (data->args.hipMemCreate.handle == NULL) oss << "handle=NULL";
8580 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
8581 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
8582 if (data->args.hipMemCreate.prop == NULL) oss << ", prop=NULL";
8583 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
8584 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
8585 oss << ")";
8586 break;
8587 case HIP_API_ID_hipMemExportToShareableHandle:
8588 oss << "hipMemExportToShareableHandle(";
8589 oss << "shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
8590 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
8591 oss << ", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
8592 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
8593 oss << ")";
8594 break;
8595 case HIP_API_ID_hipMemGetAccess:
8596 oss << "hipMemGetAccess(";
8597 if (data->args.hipMemGetAccess.flags == NULL) oss << "flags=NULL";
8598 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
8599 if (data->args.hipMemGetAccess.location == NULL) oss << ", location=NULL";
8600 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
8601 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
8602 oss << ")";
8603 break;
8604 case HIP_API_ID_hipMemGetAddressRange:
8605 oss << "hipMemGetAddressRange(";
8606 if (data->args.hipMemGetAddressRange.pbase == NULL) oss << "pbase=NULL";
8607 else { oss << "pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
8608 if (data->args.hipMemGetAddressRange.psize == NULL) oss << ", psize=NULL";
8609 else { oss << ", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
8610 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
8611 oss << ")";
8612 break;
8613 case HIP_API_ID_hipMemGetAllocationGranularity:
8614 oss << "hipMemGetAllocationGranularity(";
8615 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss << "granularity=NULL";
8616 else { oss << "granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
8617 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss << ", prop=NULL";
8618 else { oss << ", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
8619 oss << ", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
8620 oss << ")";
8621 break;
8622 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
8623 oss << "hipMemGetAllocationPropertiesFromHandle(";
8624 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss << "prop=NULL";
8625 else { oss << "prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
8626 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
8627 oss << ")";
8628 break;
8629 case HIP_API_ID_hipMemGetInfo:
8630 oss << "hipMemGetInfo(";
8631 if (data->args.hipMemGetInfo.free == NULL) oss << "free=NULL";
8632 else { oss << "free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
8633 if (data->args.hipMemGetInfo.total == NULL) oss << ", total=NULL";
8634 else { oss << ", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
8635 oss << ")";
8636 break;
8637 case HIP_API_ID_hipMemImportFromShareableHandle:
8638 oss << "hipMemImportFromShareableHandle(";
8639 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss << "handle=NULL";
8640 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
8641 oss << ", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
8642 oss << ", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
8643 oss << ")";
8644 break;
8645 case HIP_API_ID_hipMemMap:
8646 oss << "hipMemMap(";
8647 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
8648 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
8649 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
8650 oss << ", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
8651 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
8652 oss << ")";
8653 break;
8654 case HIP_API_ID_hipMemMapArrayAsync:
8655 oss << "hipMemMapArrayAsync(";
8656 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss << "mapInfoList=NULL";
8657 else { oss << "mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
8658 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
8659 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
8660 oss << ")";
8661 break;
8662 case HIP_API_ID_hipMemPoolCreate:
8663 oss << "hipMemPoolCreate(";
8664 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss << "mem_pool=NULL";
8665 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
8666 if (data->args.hipMemPoolCreate.pool_props == NULL) oss << ", pool_props=NULL";
8667 else { oss << ", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
8668 oss << ")";
8669 break;
8670 case HIP_API_ID_hipMemPoolDestroy:
8671 oss << "hipMemPoolDestroy(";
8672 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
8673 oss << ")";
8674 break;
8675 case HIP_API_ID_hipMemPoolExportPointer:
8676 oss << "hipMemPoolExportPointer(";
8677 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss << "export_data=NULL";
8678 else { oss << "export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
8679 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
8680 oss << ")";
8681 break;
8682 case HIP_API_ID_hipMemPoolExportToShareableHandle:
8683 oss << "hipMemPoolExportToShareableHandle(";
8684 oss << "shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
8685 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
8686 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
8687 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
8688 oss << ")";
8689 break;
8690 case HIP_API_ID_hipMemPoolGetAccess:
8691 oss << "hipMemPoolGetAccess(";
8692 if (data->args.hipMemPoolGetAccess.flags == NULL) oss << "flags=NULL";
8693 else { oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
8694 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
8695 if (data->args.hipMemPoolGetAccess.location == NULL) oss << ", location=NULL";
8696 else { oss << ", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
8697 oss << ")";
8698 break;
8699 case HIP_API_ID_hipMemPoolGetAttribute:
8700 oss << "hipMemPoolGetAttribute(";
8701 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
8702 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
8703 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
8704 oss << ")";
8705 break;
8706 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
8707 oss << "hipMemPoolImportFromShareableHandle(";
8708 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss << "mem_pool=NULL";
8709 else { oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
8710 oss << ", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
8711 oss << ", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
8712 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
8713 oss << ")";
8714 break;
8715 case HIP_API_ID_hipMemPoolImportPointer:
8716 oss << "hipMemPoolImportPointer(";
8717 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss << "dev_ptr=NULL";
8718 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
8719 oss << ", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
8720 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss << ", export_data=NULL";
8721 else { oss << ", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
8722 oss << ")";
8723 break;
8724 case HIP_API_ID_hipMemPoolSetAccess:
8725 oss << "hipMemPoolSetAccess(";
8726 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
8727 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss << ", desc_list=NULL";
8728 else { oss << ", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
8729 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
8730 oss << ")";
8731 break;
8732 case HIP_API_ID_hipMemPoolSetAttribute:
8733 oss << "hipMemPoolSetAttribute(";
8734 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
8735 oss << ", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
8736 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
8737 oss << ")";
8738 break;
8739 case HIP_API_ID_hipMemPoolTrimTo:
8740 oss << "hipMemPoolTrimTo(";
8741 oss << "mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
8742 oss << ", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
8743 oss << ")";
8744 break;
8745 case HIP_API_ID_hipMemPrefetchAsync:
8746 oss << "hipMemPrefetchAsync(";
8747 oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
8748 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
8749 oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
8750 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
8751 oss << ")";
8752 break;
8753 case HIP_API_ID_hipMemPtrGetInfo:
8754 oss << "hipMemPtrGetInfo(";
8755 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
8756 if (data->args.hipMemPtrGetInfo.size == NULL) oss << ", size=NULL";
8757 else { oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
8758 oss << ")";
8759 break;
8760 case HIP_API_ID_hipMemRangeGetAttribute:
8761 oss << "hipMemRangeGetAttribute(";
8762 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
8763 oss << ", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
8764 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
8765 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
8766 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
8767 oss << ")";
8768 break;
8769 case HIP_API_ID_hipMemRangeGetAttributes:
8770 oss << "hipMemRangeGetAttributes(";
8771 if (data->args.hipMemRangeGetAttributes.data == NULL) oss << "data=NULL";
8772 else { oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
8773 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss << ", data_sizes=NULL";
8774 else { oss << ", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
8775 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss << ", attributes=NULL";
8776 else { oss << ", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
8777 oss << ", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
8778 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
8779 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
8780 oss << ")";
8781 break;
8782 case HIP_API_ID_hipMemRelease:
8783 oss << "hipMemRelease(";
8784 oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
8785 oss << ")";
8786 break;
8787 case HIP_API_ID_hipMemRetainAllocationHandle:
8788 oss << "hipMemRetainAllocationHandle(";
8789 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss << "handle=NULL";
8790 else { oss << "handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
8791 oss << ", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
8792 oss << ")";
8793 break;
8794 case HIP_API_ID_hipMemSetAccess:
8795 oss << "hipMemSetAccess(";
8796 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
8797 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
8798 if (data->args.hipMemSetAccess.desc == NULL) oss << ", desc=NULL";
8799 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
8800 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
8801 oss << ")";
8802 break;
8803 case HIP_API_ID_hipMemUnmap:
8804 oss << "hipMemUnmap(";
8805 oss << "ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
8806 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
8807 oss << ")";
8808 break;
8809 case HIP_API_ID_hipMemcpy:
8810 oss << "hipMemcpy(";
8811 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
8812 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
8813 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
8814 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
8815 oss << ")";
8816 break;
8817 case HIP_API_ID_hipMemcpy2D:
8818 oss << "hipMemcpy2D(";
8819 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
8820 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
8821 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
8822 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
8823 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
8824 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
8825 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
8826 oss << ")";
8827 break;
8828 case HIP_API_ID_hipMemcpy2DAsync:
8829 oss << "hipMemcpy2DAsync(";
8830 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
8831 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
8832 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
8833 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
8834 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
8835 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
8836 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
8837 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
8838 oss << ")";
8839 break;
8840 case HIP_API_ID_hipMemcpy2DFromArray:
8841 oss << "hipMemcpy2DFromArray(";
8842 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
8843 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
8844 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
8845 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
8846 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
8847 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
8848 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
8849 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
8850 oss << ")";
8851 break;
8852 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
8853 oss << "hipMemcpy2DFromArrayAsync(";
8854 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
8855 oss << ", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
8856 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
8857 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
8858 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
8859 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
8860 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
8861 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
8862 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
8863 oss << ")";
8864 break;
8865 case HIP_API_ID_hipMemcpy2DToArray:
8866 oss << "hipMemcpy2DToArray(";
8867 if (data->args.hipMemcpy2DToArray.dst == NULL) oss << "dst=NULL";
8868 else { oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst__val); }
8869 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
8870 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
8871 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
8872 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
8873 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
8874 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
8875 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
8876 oss << ")";
8877 break;
8878 case HIP_API_ID_hipMemcpy2DToArrayAsync:
8879 oss << "hipMemcpy2DToArrayAsync(";
8880 if (data->args.hipMemcpy2DToArrayAsync.dst == NULL) oss << "dst=NULL";
8881 else { oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst__val); }
8882 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
8883 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
8884 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
8885 oss << ", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
8886 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
8887 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
8888 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
8889 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
8890 oss << ")";
8891 break;
8892 case HIP_API_ID_hipMemcpy3D:
8893 oss << "hipMemcpy3D(";
8894 if (data->args.hipMemcpy3D.p == NULL) oss << "p=NULL";
8895 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
8896 oss << ")";
8897 break;
8898 case HIP_API_ID_hipMemcpy3DAsync:
8899 oss << "hipMemcpy3DAsync(";
8900 if (data->args.hipMemcpy3DAsync.p == NULL) oss << "p=NULL";
8901 else { oss << "p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
8902 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
8903 oss << ")";
8904 break;
8905 case HIP_API_ID_hipMemcpyAsync:
8906 oss << "hipMemcpyAsync(";
8907 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
8908 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
8909 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
8910 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
8911 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
8912 oss << ")";
8913 break;
8914 case HIP_API_ID_hipMemcpyAtoH:
8915 oss << "hipMemcpyAtoH(";
8916 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
8917 if (data->args.hipMemcpyAtoH.srcArray == NULL) oss << ", srcArray=NULL";
8918 else { oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray__val); }
8919 oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
8920 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
8921 oss << ")";
8922 break;
8923 case HIP_API_ID_hipMemcpyDtoD:
8924 oss << "hipMemcpyDtoD(";
8925 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
8926 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
8927 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
8928 oss << ")";
8929 break;
8930 case HIP_API_ID_hipMemcpyDtoDAsync:
8931 oss << "hipMemcpyDtoDAsync(";
8932 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
8933 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
8934 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
8935 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
8936 oss << ")";
8937 break;
8938 case HIP_API_ID_hipMemcpyDtoH:
8939 oss << "hipMemcpyDtoH(";
8940 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
8941 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
8942 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
8943 oss << ")";
8944 break;
8945 case HIP_API_ID_hipMemcpyDtoHAsync:
8946 oss << "hipMemcpyDtoHAsync(";
8947 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
8948 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
8949 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
8950 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
8951 oss << ")";
8952 break;
8953 case HIP_API_ID_hipMemcpyFromArray:
8954 oss << "hipMemcpyFromArray(";
8955 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
8956 oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
8957 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
8958 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
8959 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
8960 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
8961 oss << ")";
8962 break;
8963 case HIP_API_ID_hipMemcpyFromSymbol:
8964 oss << "hipMemcpyFromSymbol(";
8965 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
8966 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
8967 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
8968 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
8969 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
8970 oss << ")";
8971 break;
8972 case HIP_API_ID_hipMemcpyFromSymbolAsync:
8973 oss << "hipMemcpyFromSymbolAsync(";
8974 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
8975 oss << ", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
8976 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
8977 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
8978 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
8979 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
8980 oss << ")";
8981 break;
8982 case HIP_API_ID_hipMemcpyHtoA:
8983 oss << "hipMemcpyHtoA(";
8984 if (data->args.hipMemcpyHtoA.dstArray == NULL) oss << "dstArray=NULL";
8985 else { oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray__val); }
8986 oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
8987 oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
8988 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
8989 oss << ")";
8990 break;
8991 case HIP_API_ID_hipMemcpyHtoD:
8992 oss << "hipMemcpyHtoD(";
8993 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
8994 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
8995 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
8996 oss << ")";
8997 break;
8998 case HIP_API_ID_hipMemcpyHtoDAsync:
8999 oss << "hipMemcpyHtoDAsync(";
9000 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9001 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9002 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9003 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9004 oss << ")";
9005 break;
9006 case HIP_API_ID_hipMemcpyParam2D:
9007 oss << "hipMemcpyParam2D(";
9008 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss << "pCopy=NULL";
9009 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9010 oss << ")";
9011 break;
9012 case HIP_API_ID_hipMemcpyParam2DAsync:
9013 oss << "hipMemcpyParam2DAsync(";
9014 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss << "pCopy=NULL";
9015 else { oss << "pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9016 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9017 oss << ")";
9018 break;
9019 case HIP_API_ID_hipMemcpyPeer:
9020 oss << "hipMemcpyPeer(";
9021 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9022 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9023 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9024 oss << ", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9025 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9026 oss << ")";
9027 break;
9028 case HIP_API_ID_hipMemcpyPeerAsync:
9029 oss << "hipMemcpyPeerAsync(";
9030 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9031 oss << ", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9032 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9033 oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9034 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9035 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9036 oss << ")";
9037 break;
9038 case HIP_API_ID_hipMemcpyToArray:
9039 oss << "hipMemcpyToArray(";
9040 if (data->args.hipMemcpyToArray.dst == NULL) oss << "dst=NULL";
9041 else { oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst__val); }
9042 oss << ", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9043 oss << ", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9044 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9045 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9046 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9047 oss << ")";
9048 break;
9049 case HIP_API_ID_hipMemcpyToSymbol:
9050 oss << "hipMemcpyToSymbol(";
9051 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9052 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9053 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9054 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9055 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9056 oss << ")";
9057 break;
9058 case HIP_API_ID_hipMemcpyToSymbolAsync:
9059 oss << "hipMemcpyToSymbolAsync(";
9060 oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9061 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9062 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9063 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9064 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9065 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9066 oss << ")";
9067 break;
9068 case HIP_API_ID_hipMemcpyWithStream:
9069 oss << "hipMemcpyWithStream(";
9070 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9071 oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9072 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9073 oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9074 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9075 oss << ")";
9076 break;
9077 case HIP_API_ID_hipMemset:
9078 oss << "hipMemset(";
9079 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9080 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9081 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9082 oss << ")";
9083 break;
9084 case HIP_API_ID_hipMemset2D:
9085 oss << "hipMemset2D(";
9086 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9087 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9088 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9089 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9090 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9091 oss << ")";
9092 break;
9093 case HIP_API_ID_hipMemset2DAsync:
9094 oss << "hipMemset2DAsync(";
9095 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9096 oss << ", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9097 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9098 oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9099 oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9100 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9101 oss << ")";
9102 break;
9103 case HIP_API_ID_hipMemset3D:
9104 oss << "hipMemset3D(";
9105 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9106 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9107 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9108 oss << ")";
9109 break;
9110 case HIP_API_ID_hipMemset3DAsync:
9111 oss << "hipMemset3DAsync(";
9112 oss << "pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9113 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9114 oss << ", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9115 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9116 oss << ")";
9117 break;
9118 case HIP_API_ID_hipMemsetAsync:
9119 oss << "hipMemsetAsync(";
9120 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9121 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9122 oss << ", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9123 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9124 oss << ")";
9125 break;
9126 case HIP_API_ID_hipMemsetD16:
9127 oss << "hipMemsetD16(";
9128 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9129 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9130 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9131 oss << ")";
9132 break;
9133 case HIP_API_ID_hipMemsetD16Async:
9134 oss << "hipMemsetD16Async(";
9135 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9136 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9137 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9138 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9139 oss << ")";
9140 break;
9141 case HIP_API_ID_hipMemsetD32:
9142 oss << "hipMemsetD32(";
9143 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9144 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9145 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9146 oss << ")";
9147 break;
9148 case HIP_API_ID_hipMemsetD32Async:
9149 oss << "hipMemsetD32Async(";
9150 oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9151 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9152 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9153 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9154 oss << ")";
9155 break;
9156 case HIP_API_ID_hipMemsetD8:
9157 oss << "hipMemsetD8(";
9158 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9159 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9160 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9161 oss << ")";
9162 break;
9163 case HIP_API_ID_hipMemsetD8Async:
9164 oss << "hipMemsetD8Async(";
9165 oss << "dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9166 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9167 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9168 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9169 oss << ")";
9170 break;
9171 case HIP_API_ID_hipMipmappedArrayCreate:
9172 oss << "hipMipmappedArrayCreate(";
9173 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss << "pHandle=NULL";
9174 else { oss << "pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9175 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss << ", pMipmappedArrayDesc=NULL";
9176 else { oss << ", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9177 oss << ", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9178 oss << ")";
9179 break;
9180 case HIP_API_ID_hipMipmappedArrayDestroy:
9181 oss << "hipMipmappedArrayDestroy(";
9182 oss << "hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9183 oss << ")";
9184 break;
9185 case HIP_API_ID_hipMipmappedArrayGetLevel:
9186 oss << "hipMipmappedArrayGetLevel(";
9187 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss << "pLevelArray=NULL";
9188 else { oss << "pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9189 oss << ", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9190 oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9191 oss << ")";
9192 break;
9193 case HIP_API_ID_hipModuleGetFunction:
9194 oss << "hipModuleGetFunction(";
9195 if (data->args.hipModuleGetFunction.function == NULL) oss << "function=NULL";
9196 else { oss << "function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9197 oss << ", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9198 if (data->args.hipModuleGetFunction.kname == NULL) oss << ", kname=NULL";
9199 else { oss << ", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9200 oss << ")";
9201 break;
9202 case HIP_API_ID_hipModuleGetGlobal:
9203 oss << "hipModuleGetGlobal(";
9204 if (data->args.hipModuleGetGlobal.dptr == NULL) oss << "dptr=NULL";
9205 else { oss << "dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9206 if (data->args.hipModuleGetGlobal.bytes == NULL) oss << ", bytes=NULL";
9207 else { oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9208 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9209 if (data->args.hipModuleGetGlobal.name == NULL) oss << ", name=NULL";
9210 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9211 oss << ")";
9212 break;
9213 case HIP_API_ID_hipModuleGetTexRef:
9214 oss << "hipModuleGetTexRef(";
9215 if (data->args.hipModuleGetTexRef.texRef == NULL) oss << "texRef=NULL";
9216 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipModuleGetTexRef.texRef__val); }
9217 oss << ", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9218 if (data->args.hipModuleGetTexRef.name == NULL) oss << ", name=NULL";
9219 else { oss << ", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9220 oss << ")";
9221 break;
9222 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9223 oss << "hipModuleLaunchCooperativeKernel(";
9224 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9225 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9226 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9227 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9228 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9229 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9230 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9231 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9232 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9233 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9234 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9235 oss << ")";
9236 break;
9237 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9238 oss << "hipModuleLaunchCooperativeKernelMultiDevice(";
9239 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss << "launchParamsList=NULL";
9240 else { oss << "launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9241 oss << ", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9242 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9243 oss << ")";
9244 break;
9245 case HIP_API_ID_hipModuleLaunchKernel:
9246 oss << "hipModuleLaunchKernel(";
9247 oss << "f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9248 oss << ", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
9249 oss << ", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
9250 oss << ", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
9251 oss << ", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
9252 oss << ", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
9253 oss << ", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
9254 oss << ", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
9255 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
9256 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss << ", kernelParams=NULL";
9257 else { oss << ", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
9258 if (data->args.hipModuleLaunchKernel.extra == NULL) oss << ", extra=NULL";
9259 else { oss << ", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
9260 oss << ")";
9261 break;
9262 case HIP_API_ID_hipModuleLoad:
9263 oss << "hipModuleLoad(";
9264 if (data->args.hipModuleLoad.module == NULL) oss << "module=NULL";
9265 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
9266 if (data->args.hipModuleLoad.fname == NULL) oss << ", fname=NULL";
9267 else { oss << ", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
9268 oss << ")";
9269 break;
9270 case HIP_API_ID_hipModuleLoadData:
9271 oss << "hipModuleLoadData(";
9272 if (data->args.hipModuleLoadData.module == NULL) oss << "module=NULL";
9273 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
9274 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
9275 oss << ")";
9276 break;
9277 case HIP_API_ID_hipModuleLoadDataEx:
9278 oss << "hipModuleLoadDataEx(";
9279 if (data->args.hipModuleLoadDataEx.module == NULL) oss << "module=NULL";
9280 else { oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
9281 oss << ", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
9282 oss << ", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
9283 if (data->args.hipModuleLoadDataEx.options == NULL) oss << ", options=NULL";
9284 else { oss << ", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
9285 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss << ", optionsValues=NULL";
9286 else { oss << ", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
9287 oss << ")";
9288 break;
9289 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
9290 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
9291 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
9292 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9293 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
9294 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9295 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
9296 oss << ")";
9297 break;
9298 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9299 oss << "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9300 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
9301 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9302 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9303 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9304 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
9305 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9306 oss << ")";
9307 break;
9308 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
9309 oss << "hipModuleOccupancyMaxPotentialBlockSize(";
9310 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
9311 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
9312 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
9313 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
9314 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
9315 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9316 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
9317 oss << ")";
9318 break;
9319 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
9320 oss << "hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
9321 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss << "gridSize=NULL";
9322 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
9323 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss << ", blockSize=NULL";
9324 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
9325 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
9326 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
9327 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
9328 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
9329 oss << ")";
9330 break;
9331 case HIP_API_ID_hipModuleUnload:
9332 oss << "hipModuleUnload(";
9333 oss << "module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
9334 oss << ")";
9335 break;
9336 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
9337 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessor(";
9338 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss << "numBlocks=NULL";
9339 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9340 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
9341 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9342 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
9343 oss << ")";
9344 break;
9345 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9346 oss << "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9347 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss << "numBlocks=NULL";
9348 else { oss << "numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9349 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9350 oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9351 oss << ", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
9352 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9353 oss << ")";
9354 break;
9355 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
9356 oss << "hipOccupancyMaxPotentialBlockSize(";
9357 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss << "gridSize=NULL";
9358 else { oss << "gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
9359 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss << ", blockSize=NULL";
9360 else { oss << ", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
9361 oss << ", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
9362 oss << ", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9363 oss << ", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
9364 oss << ")";
9365 break;
9366 case HIP_API_ID_hipPeekAtLastError:
9367 oss << "hipPeekAtLastError(";
9368 oss << ")";
9369 break;
9370 case HIP_API_ID_hipPointerGetAttribute:
9371 oss << "hipPointerGetAttribute(";
9372 oss << "data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
9373 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
9374 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
9375 oss << ")";
9376 break;
9377 case HIP_API_ID_hipPointerGetAttributes:
9378 oss << "hipPointerGetAttributes(";
9379 if (data->args.hipPointerGetAttributes.attributes == NULL) oss << "attributes=NULL";
9380 else { oss << "attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
9381 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
9382 oss << ")";
9383 break;
9384 case HIP_API_ID_hipPointerSetAttribute:
9385 oss << "hipPointerSetAttribute(";
9386 oss << "value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
9387 oss << ", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
9388 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
9389 oss << ")";
9390 break;
9391 case HIP_API_ID_hipProfilerStart:
9392 oss << "hipProfilerStart(";
9393 oss << ")";
9394 break;
9395 case HIP_API_ID_hipProfilerStop:
9396 oss << "hipProfilerStop(";
9397 oss << ")";
9398 break;
9399 case HIP_API_ID_hipRuntimeGetVersion:
9400 oss << "hipRuntimeGetVersion(";
9401 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss << "runtimeVersion=NULL";
9402 else { oss << "runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
9403 oss << ")";
9404 break;
9405 case HIP_API_ID_hipSetDevice:
9406 oss << "hipSetDevice(";
9407 oss << "deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
9408 oss << ")";
9409 break;
9410 case HIP_API_ID_hipSetDeviceFlags:
9411 oss << "hipSetDeviceFlags(";
9412 oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
9413 oss << ")";
9414 break;
9415 case HIP_API_ID_hipSetupArgument:
9416 oss << "hipSetupArgument(";
9417 oss << "arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
9418 oss << ", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
9419 oss << ", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
9420 oss << ")";
9421 break;
9422 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
9423 oss << "hipSignalExternalSemaphoresAsync(";
9424 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
9425 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
9426 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
9427 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
9428 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
9429 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
9430 oss << ")";
9431 break;
9432 case HIP_API_ID_hipStreamAddCallback:
9433 oss << "hipStreamAddCallback(";
9434 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
9435 oss << ", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
9436 oss << ", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
9437 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
9438 oss << ")";
9439 break;
9440 case HIP_API_ID_hipStreamAttachMemAsync:
9441 oss << "hipStreamAttachMemAsync(";
9442 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
9443 oss << ", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
9444 oss << ", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
9445 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
9446 oss << ")";
9447 break;
9448 case HIP_API_ID_hipStreamBeginCapture:
9449 oss << "hipStreamBeginCapture(";
9450 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
9451 oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
9452 oss << ")";
9453 break;
9454 case HIP_API_ID_hipStreamCreate:
9455 oss << "hipStreamCreate(";
9456 if (data->args.hipStreamCreate.stream == NULL) oss << "stream=NULL";
9457 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
9458 oss << ")";
9459 break;
9460 case HIP_API_ID_hipStreamCreateWithFlags:
9461 oss << "hipStreamCreateWithFlags(";
9462 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss << "stream=NULL";
9463 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
9464 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
9465 oss << ")";
9466 break;
9467 case HIP_API_ID_hipStreamCreateWithPriority:
9468 oss << "hipStreamCreateWithPriority(";
9469 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss << "stream=NULL";
9470 else { oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
9471 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
9472 oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
9473 oss << ")";
9474 break;
9475 case HIP_API_ID_hipStreamDestroy:
9476 oss << "hipStreamDestroy(";
9477 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
9478 oss << ")";
9479 break;
9480 case HIP_API_ID_hipStreamEndCapture:
9481 oss << "hipStreamEndCapture(";
9482 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
9483 if (data->args.hipStreamEndCapture.pGraph == NULL) oss << ", pGraph=NULL";
9484 else { oss << ", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
9485 oss << ")";
9486 break;
9487 case HIP_API_ID_hipStreamGetCaptureInfo:
9488 oss << "hipStreamGetCaptureInfo(";
9489 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
9490 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
9491 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
9492 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss << ", pId=NULL";
9493 else { oss << ", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
9494 oss << ")";
9495 break;
9496 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
9497 oss << "hipStreamGetCaptureInfo_v2(";
9498 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
9499 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss << ", captureStatus_out=NULL";
9500 else { oss << ", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
9501 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss << ", id_out=NULL";
9502 else { oss << ", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
9503 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss << ", graph_out=NULL";
9504 else { oss << ", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
9505 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss << ", dependencies_out=NULL";
9506 else { oss << ", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
9507 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss << ", numDependencies_out=NULL";
9508 else { oss << ", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
9509 oss << ")";
9510 break;
9511 case HIP_API_ID_hipStreamGetDevice:
9512 oss << "hipStreamGetDevice(";
9513 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
9514 if (data->args.hipStreamGetDevice.device == NULL) oss << ", device=NULL";
9515 else { oss << ", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
9516 oss << ")";
9517 break;
9518 case HIP_API_ID_hipStreamGetFlags:
9519 oss << "hipStreamGetFlags(";
9520 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
9521 if (data->args.hipStreamGetFlags.flags == NULL) oss << ", flags=NULL";
9522 else { oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
9523 oss << ")";
9524 break;
9525 case HIP_API_ID_hipStreamGetPriority:
9526 oss << "hipStreamGetPriority(";
9527 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
9528 if (data->args.hipStreamGetPriority.priority == NULL) oss << ", priority=NULL";
9529 else { oss << ", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
9530 oss << ")";
9531 break;
9532 case HIP_API_ID_hipStreamIsCapturing:
9533 oss << "hipStreamIsCapturing(";
9534 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
9535 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss << ", pCaptureStatus=NULL";
9536 else { oss << ", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
9537 oss << ")";
9538 break;
9539 case HIP_API_ID_hipStreamQuery:
9540 oss << "hipStreamQuery(";
9541 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
9542 oss << ")";
9543 break;
9544 case HIP_API_ID_hipStreamSynchronize:
9545 oss << "hipStreamSynchronize(";
9546 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
9547 oss << ")";
9548 break;
9549 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
9550 oss << "hipStreamUpdateCaptureDependencies(";
9551 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
9552 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss << ", dependencies=NULL";
9553 else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
9554 oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
9555 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
9556 oss << ")";
9557 break;
9558 case HIP_API_ID_hipStreamWaitEvent:
9559 oss << "hipStreamWaitEvent(";
9560 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
9561 oss << ", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
9562 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
9563 oss << ")";
9564 break;
9565 case HIP_API_ID_hipStreamWaitValue32:
9566 oss << "hipStreamWaitValue32(";
9567 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
9568 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
9569 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
9570 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
9571 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
9572 oss << ")";
9573 break;
9574 case HIP_API_ID_hipStreamWaitValue64:
9575 oss << "hipStreamWaitValue64(";
9576 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
9577 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
9578 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
9579 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
9580 oss << ", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
9581 oss << ")";
9582 break;
9583 case HIP_API_ID_hipStreamWriteValue32:
9584 oss << "hipStreamWriteValue32(";
9585 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
9586 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
9587 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
9588 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
9589 oss << ")";
9590 break;
9591 case HIP_API_ID_hipStreamWriteValue64:
9592 oss << "hipStreamWriteValue64(";
9593 oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
9594 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
9595 oss << ", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
9596 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
9597 oss << ")";
9598 break;
9599 case HIP_API_ID_hipTexRefGetAddress:
9600 oss << "hipTexRefGetAddress(";
9601 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss << "dev_ptr=NULL";
9602 else { oss << "dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
9603 if (data->args.hipTexRefGetAddress.texRef == NULL) oss << ", texRef=NULL";
9604 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
9605 oss << ")";
9606 break;
9607 case HIP_API_ID_hipTexRefGetFlags:
9608 oss << "hipTexRefGetFlags(";
9609 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss << "pFlags=NULL";
9610 else { oss << "pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
9611 if (data->args.hipTexRefGetFlags.texRef == NULL) oss << ", texRef=NULL";
9612 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
9613 oss << ")";
9614 break;
9615 case HIP_API_ID_hipTexRefGetFormat:
9616 oss << "hipTexRefGetFormat(";
9617 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss << "pFormat=NULL";
9618 else { oss << "pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
9619 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss << ", pNumChannels=NULL";
9620 else { oss << ", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
9621 if (data->args.hipTexRefGetFormat.texRef == NULL) oss << ", texRef=NULL";
9622 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
9623 oss << ")";
9624 break;
9625 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
9626 oss << "hipTexRefGetMaxAnisotropy(";
9627 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss << "pmaxAnsio=NULL";
9628 else { oss << "pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
9629 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss << ", texRef=NULL";
9630 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
9631 oss << ")";
9632 break;
9633 case HIP_API_ID_hipTexRefGetMipMappedArray:
9634 oss << "hipTexRefGetMipMappedArray(";
9635 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss << "pArray=NULL";
9636 else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
9637 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss << ", texRef=NULL";
9638 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
9639 oss << ")";
9640 break;
9641 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
9642 oss << "hipTexRefGetMipmapLevelBias(";
9643 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss << "pbias=NULL";
9644 else { oss << "pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
9645 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss << ", texRef=NULL";
9646 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
9647 oss << ")";
9648 break;
9649 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
9650 oss << "hipTexRefGetMipmapLevelClamp(";
9651 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss << "pminMipmapLevelClamp=NULL";
9652 else { oss << "pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
9653 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss << ", pmaxMipmapLevelClamp=NULL";
9654 else { oss << ", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
9655 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss << ", texRef=NULL";
9656 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
9657 oss << ")";
9658 break;
9659 case HIP_API_ID_hipTexRefSetAddress:
9660 oss << "hipTexRefSetAddress(";
9661 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss << "ByteOffset=NULL";
9662 else { oss << "ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
9663 if (data->args.hipTexRefSetAddress.texRef == NULL) oss << ", texRef=NULL";
9664 else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
9665 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
9666 oss << ", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
9667 oss << ")";
9668 break;
9669 case HIP_API_ID_hipTexRefSetAddress2D:
9670 oss << "hipTexRefSetAddress2D(";
9671 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss << "texRef=NULL";
9672 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
9673 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss << ", desc=NULL";
9674 else { oss << ", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
9675 oss << ", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
9676 oss << ", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
9677 oss << ")";
9678 break;
9679 case HIP_API_ID_hipTexRefSetArray:
9680 oss << "hipTexRefSetArray(";
9681 if (data->args.hipTexRefSetArray.tex == NULL) oss << "tex=NULL";
9682 else { oss << "tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
9683 oss << ", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
9684 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
9685 oss << ")";
9686 break;
9687 case HIP_API_ID_hipTexRefSetBorderColor:
9688 oss << "hipTexRefSetBorderColor(";
9689 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss << "texRef=NULL";
9690 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
9691 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss << ", pBorderColor=NULL";
9692 else { oss << ", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
9693 oss << ")";
9694 break;
9695 case HIP_API_ID_hipTexRefSetFlags:
9696 oss << "hipTexRefSetFlags(";
9697 if (data->args.hipTexRefSetFlags.texRef == NULL) oss << "texRef=NULL";
9698 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
9699 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
9700 oss << ")";
9701 break;
9702 case HIP_API_ID_hipTexRefSetFormat:
9703 oss << "hipTexRefSetFormat(";
9704 if (data->args.hipTexRefSetFormat.texRef == NULL) oss << "texRef=NULL";
9705 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
9706 oss << ", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
9707 oss << ", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
9708 oss << ")";
9709 break;
9710 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
9711 oss << "hipTexRefSetMaxAnisotropy(";
9712 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss << "texRef=NULL";
9713 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
9714 oss << ", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
9715 oss << ")";
9716 break;
9717 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
9718 oss << "hipTexRefSetMipmapLevelBias(";
9719 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss << "texRef=NULL";
9720 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
9721 oss << ", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
9722 oss << ")";
9723 break;
9724 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
9725 oss << "hipTexRefSetMipmapLevelClamp(";
9726 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss << "texRef=NULL";
9727 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
9728 oss << ", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
9729 oss << ", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
9730 oss << ")";
9731 break;
9732 case HIP_API_ID_hipTexRefSetMipmappedArray:
9733 oss << "hipTexRefSetMipmappedArray(";
9734 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss << "texRef=NULL";
9735 else { oss << "texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
9736 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss << ", mipmappedArray=NULL";
9737 else { oss << ", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
9738 oss << ", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
9739 oss << ")";
9740 break;
9741 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
9742 oss << "hipThreadExchangeStreamCaptureMode(";
9743 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss << "mode=NULL";
9744 else { oss << "mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
9745 oss << ")";
9746 break;
9747 case HIP_API_ID_hipUserObjectCreate:
9748 oss << "hipUserObjectCreate(";
9749 if (data->args.hipUserObjectCreate.object_out == NULL) oss << "object_out=NULL";
9750 else { oss << "object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
9751 oss << ", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
9752 oss << ", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
9753 oss << ", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
9754 oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
9755 oss << ")";
9756 break;
9757 case HIP_API_ID_hipUserObjectRelease:
9758 oss << "hipUserObjectRelease(";
9759 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
9760 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
9761 oss << ")";
9762 break;
9763 case HIP_API_ID_hipUserObjectRetain:
9764 oss << "hipUserObjectRetain(";
9765 oss << "object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
9766 oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
9767 oss << ")";
9768 break;
9769 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
9770 oss << "hipWaitExternalSemaphoresAsync(";
9771 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss << "extSemArray=NULL";
9772 else { oss << "extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
9773 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss << ", paramsArray=NULL";
9774 else { oss << ", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
9775 oss << ", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
9776 oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
9777 oss << ")";
9778 break;
9779 default: oss << "unknown";
9780 };
9781 return strdup(oss.str().c_str());
9782}
9783#endif // HIP_PROF_HIP_API_STRING
9784#endif // _HIP_PROF_STR_H
Definition hip_prof_str.h:1151