10#include <hip/hip_runtime_api.h>
11#include <hip/hip_deprecated.h>
12#include "amd_hip_gl_interop.h"
14#define HIP_API_ID_CONCAT_HELPER(a,b) a##b
15#define HIP_API_ID_CONCAT(a,b) HIP_API_ID_CONCAT_HELPER(a,b)
21 HIP_API_ID___hipPopCallConfiguration = 1,
22 HIP_API_ID___hipPushCallConfiguration = 2,
23 HIP_API_ID_hipArray3DCreate = 3,
24 HIP_API_ID_hipArrayCreate = 4,
25 HIP_API_ID_hipArrayDestroy = 5,
26 HIP_API_ID_hipChooseDeviceR0000 = 6,
27 HIP_API_ID_hipConfigureCall = 7,
28 HIP_API_ID_hipCtxCreate = 8,
29 HIP_API_ID_hipCtxDestroy = 9,
30 HIP_API_ID_hipCtxDisablePeerAccess = 10,
31 HIP_API_ID_hipCtxEnablePeerAccess = 11,
32 HIP_API_ID_hipCtxGetApiVersion = 12,
33 HIP_API_ID_hipCtxGetCacheConfig = 13,
34 HIP_API_ID_hipCtxGetCurrent = 14,
35 HIP_API_ID_hipCtxGetDevice = 15,
36 HIP_API_ID_hipCtxGetFlags = 16,
37 HIP_API_ID_hipCtxGetSharedMemConfig = 17,
38 HIP_API_ID_hipCtxPopCurrent = 18,
39 HIP_API_ID_hipCtxPushCurrent = 19,
40 HIP_API_ID_hipCtxSetCacheConfig = 20,
41 HIP_API_ID_hipCtxSetCurrent = 21,
42 HIP_API_ID_hipCtxSetSharedMemConfig = 22,
43 HIP_API_ID_hipCtxSynchronize = 23,
44 HIP_API_ID_hipDestroyExternalMemory = 24,
45 HIP_API_ID_hipDestroyExternalSemaphore = 25,
46 HIP_API_ID_hipDeviceCanAccessPeer = 26,
47 HIP_API_ID_hipDeviceComputeCapability = 27,
48 HIP_API_ID_hipDeviceDisablePeerAccess = 28,
49 HIP_API_ID_hipDeviceEnablePeerAccess = 29,
50 HIP_API_ID_hipDeviceGet = 30,
51 HIP_API_ID_hipDeviceGetAttribute = 31,
52 HIP_API_ID_hipDeviceGetByPCIBusId = 32,
53 HIP_API_ID_hipDeviceGetCacheConfig = 33,
54 HIP_API_ID_hipDeviceGetLimit = 34,
55 HIP_API_ID_hipDeviceGetName = 35,
56 HIP_API_ID_hipDeviceGetP2PAttribute = 36,
57 HIP_API_ID_hipDeviceGetPCIBusId = 37,
58 HIP_API_ID_hipDeviceGetSharedMemConfig = 38,
59 HIP_API_ID_hipDeviceGetStreamPriorityRange = 39,
60 HIP_API_ID_hipDevicePrimaryCtxGetState = 40,
61 HIP_API_ID_hipDevicePrimaryCtxRelease = 41,
62 HIP_API_ID_hipDevicePrimaryCtxReset = 42,
63 HIP_API_ID_hipDevicePrimaryCtxRetain = 43,
64 HIP_API_ID_hipDevicePrimaryCtxSetFlags = 44,
65 HIP_API_ID_hipDeviceReset = 45,
66 HIP_API_ID_hipDeviceSetCacheConfig = 46,
67 HIP_API_ID_hipDeviceSetSharedMemConfig = 47,
68 HIP_API_ID_hipDeviceSynchronize = 48,
69 HIP_API_ID_hipDeviceTotalMem = 49,
70 HIP_API_ID_RESERVED_50 = 50,
71 HIP_API_ID_hipDrvMemcpy2DUnaligned = 51,
72 HIP_API_ID_hipDrvMemcpy3D = 52,
73 HIP_API_ID_hipDrvMemcpy3DAsync = 53,
74 HIP_API_ID_hipEventCreate = 54,
75 HIP_API_ID_hipEventCreateWithFlags = 55,
76 HIP_API_ID_hipEventDestroy = 56,
77 HIP_API_ID_hipEventElapsedTime = 57,
78 HIP_API_ID_hipEventQuery = 58,
79 HIP_API_ID_hipEventRecord = 59,
80 HIP_API_ID_hipEventSynchronize = 60,
81 HIP_API_ID_hipExtGetLinkTypeAndHopCount = 61,
82 HIP_API_ID_hipExtLaunchKernel = 62,
83 HIP_API_ID_hipExtLaunchMultiKernelMultiDevice = 63,
84 HIP_API_ID_hipExtMallocWithFlags = 64,
85 HIP_API_ID_hipExtModuleLaunchKernel = 65,
86 HIP_API_ID_hipExtStreamCreateWithCUMask = 66,
87 HIP_API_ID_hipExtStreamGetCUMask = 67,
88 HIP_API_ID_hipExternalMemoryGetMappedBuffer = 68,
89 HIP_API_ID_hipFree = 69,
90 HIP_API_ID_hipFreeArray = 70,
91 HIP_API_ID_hipFreeHost = 71,
92 HIP_API_ID_hipFreeMipmappedArray = 72,
93 HIP_API_ID_hipFuncGetAttribute = 73,
94 HIP_API_ID_hipFuncGetAttributes = 74,
95 HIP_API_ID_hipFuncSetAttribute = 75,
96 HIP_API_ID_hipFuncSetCacheConfig = 76,
97 HIP_API_ID_hipFuncSetSharedMemConfig = 77,
98 HIP_API_ID_hipGetDevice = 78,
99 HIP_API_ID_hipGetDeviceCount = 79,
100 HIP_API_ID_hipGetDeviceFlags = 80,
101 HIP_API_ID_hipGetDevicePropertiesR0000 = 81,
102 HIP_API_ID_RESERVED_82 = 82,
103 HIP_API_ID_hipGetErrorString = 83,
104 HIP_API_ID_hipGetLastError = 84,
105 HIP_API_ID_hipGetMipmappedArrayLevel = 85,
106 HIP_API_ID_hipGetSymbolAddress = 86,
107 HIP_API_ID_hipGetSymbolSize = 87,
108 HIP_API_ID_hipHccModuleLaunchKernel = 88,
109 HIP_API_ID_hipHostAlloc = 89,
110 HIP_API_ID_hipHostFree = 90,
111 HIP_API_ID_hipHostGetDevicePointer = 91,
112 HIP_API_ID_hipHostGetFlags = 92,
113 HIP_API_ID_hipHostMalloc = 93,
114 HIP_API_ID_hipHostRegister = 94,
115 HIP_API_ID_hipHostUnregister = 95,
116 HIP_API_ID_hipImportExternalMemory = 96,
117 HIP_API_ID_hipImportExternalSemaphore = 97,
118 HIP_API_ID_hipInit = 98,
119 HIP_API_ID_hipIpcCloseMemHandle = 99,
120 HIP_API_ID_hipIpcGetEventHandle = 100,
121 HIP_API_ID_hipIpcGetMemHandle = 101,
122 HIP_API_ID_hipIpcOpenEventHandle = 102,
123 HIP_API_ID_hipIpcOpenMemHandle = 103,
124 HIP_API_ID_hipLaunchByPtr = 104,
125 HIP_API_ID_hipLaunchCooperativeKernel = 105,
126 HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 106,
127 HIP_API_ID_hipLaunchKernel = 107,
128 HIP_API_ID_hipMalloc = 108,
129 HIP_API_ID_hipMalloc3D = 109,
130 HIP_API_ID_hipMalloc3DArray = 110,
131 HIP_API_ID_hipMallocArray = 111,
132 HIP_API_ID_hipMallocHost = 112,
133 HIP_API_ID_hipMallocManaged = 113,
134 HIP_API_ID_hipMallocMipmappedArray = 114,
135 HIP_API_ID_hipMallocPitch = 115,
136 HIP_API_ID_hipMemAdvise = 116,
137 HIP_API_ID_hipMemAllocHost = 117,
138 HIP_API_ID_hipMemAllocPitch = 118,
139 HIP_API_ID_hipMemGetAddressRange = 119,
140 HIP_API_ID_hipMemGetInfo = 120,
141 HIP_API_ID_hipMemPrefetchAsync = 121,
142 HIP_API_ID_hipMemPtrGetInfo = 122,
143 HIP_API_ID_hipMemRangeGetAttribute = 123,
144 HIP_API_ID_hipMemRangeGetAttributes = 124,
145 HIP_API_ID_hipMemcpy = 125,
146 HIP_API_ID_hipMemcpy2D = 126,
147 HIP_API_ID_hipMemcpy2DAsync = 127,
148 HIP_API_ID_hipMemcpy2DFromArray = 128,
149 HIP_API_ID_hipMemcpy2DFromArrayAsync = 129,
150 HIP_API_ID_hipMemcpy2DToArray = 130,
151 HIP_API_ID_hipMemcpy2DToArrayAsync = 131,
152 HIP_API_ID_hipMemcpy3D = 132,
153 HIP_API_ID_hipMemcpy3DAsync = 133,
154 HIP_API_ID_hipMemcpyAsync = 134,
155 HIP_API_ID_hipMemcpyAtoH = 135,
156 HIP_API_ID_hipMemcpyDtoD = 136,
157 HIP_API_ID_hipMemcpyDtoDAsync = 137,
158 HIP_API_ID_hipMemcpyDtoH = 138,
159 HIP_API_ID_hipMemcpyDtoHAsync = 139,
160 HIP_API_ID_hipMemcpyFromArray = 140,
161 HIP_API_ID_hipMemcpyFromSymbol = 141,
162 HIP_API_ID_hipMemcpyFromSymbolAsync = 142,
163 HIP_API_ID_hipMemcpyHtoA = 143,
164 HIP_API_ID_hipMemcpyHtoD = 144,
165 HIP_API_ID_hipMemcpyHtoDAsync = 145,
166 HIP_API_ID_hipMemcpyParam2D = 146,
167 HIP_API_ID_hipMemcpyParam2DAsync = 147,
168 HIP_API_ID_hipMemcpyPeer = 148,
169 HIP_API_ID_hipMemcpyPeerAsync = 149,
170 HIP_API_ID_hipMemcpyToArray = 150,
171 HIP_API_ID_hipMemcpyToSymbol = 151,
172 HIP_API_ID_hipMemcpyToSymbolAsync = 152,
173 HIP_API_ID_hipMemcpyWithStream = 153,
174 HIP_API_ID_hipMemset = 154,
175 HIP_API_ID_hipMemset2D = 155,
176 HIP_API_ID_hipMemset2DAsync = 156,
177 HIP_API_ID_hipMemset3D = 157,
178 HIP_API_ID_hipMemset3DAsync = 158,
179 HIP_API_ID_hipMemsetAsync = 159,
180 HIP_API_ID_hipMemsetD16 = 160,
181 HIP_API_ID_hipMemsetD16Async = 161,
182 HIP_API_ID_hipMemsetD32 = 162,
183 HIP_API_ID_hipMemsetD32Async = 163,
184 HIP_API_ID_hipMemsetD8 = 164,
185 HIP_API_ID_hipMemsetD8Async = 165,
186 HIP_API_ID_hipModuleGetFunction = 166,
187 HIP_API_ID_hipModuleGetGlobal = 167,
188 HIP_API_ID_hipModuleGetTexRef = 168,
189 HIP_API_ID_hipModuleLaunchKernel = 169,
190 HIP_API_ID_hipModuleLoad = 170,
191 HIP_API_ID_hipModuleLoadData = 171,
192 HIP_API_ID_hipModuleLoadDataEx = 172,
193 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor = 173,
194 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 174,
195 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize = 175,
196 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags = 176,
197 HIP_API_ID_hipModuleUnload = 177,
198 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 178,
199 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 179,
200 HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 180,
201 HIP_API_ID_hipPeekAtLastError = 181,
202 HIP_API_ID_hipPointerGetAttributes = 182,
203 HIP_API_ID_hipProfilerStart = 183,
204 HIP_API_ID_hipProfilerStop = 184,
205 HIP_API_ID_RESERVED_185 = 185,
206 HIP_API_ID_hipSetDevice = 186,
207 HIP_API_ID_hipSetDeviceFlags = 187,
208 HIP_API_ID_hipSetupArgument = 188,
209 HIP_API_ID_hipSignalExternalSemaphoresAsync = 189,
210 HIP_API_ID_hipStreamAddCallback = 190,
211 HIP_API_ID_hipStreamAttachMemAsync = 191,
212 HIP_API_ID_hipStreamCreate = 192,
213 HIP_API_ID_hipStreamCreateWithFlags = 193,
214 HIP_API_ID_hipStreamCreateWithPriority = 194,
215 HIP_API_ID_hipStreamDestroy = 195,
216 HIP_API_ID_hipStreamGetFlags = 196,
217 HIP_API_ID_hipStreamGetPriority = 197,
218 HIP_API_ID_hipStreamQuery = 198,
219 HIP_API_ID_hipStreamSynchronize = 199,
220 HIP_API_ID_hipStreamWaitEvent = 200,
221 HIP_API_ID_hipStreamWaitValue32 = 201,
222 HIP_API_ID_hipStreamWaitValue64 = 202,
223 HIP_API_ID_hipStreamWriteValue32 = 203,
224 HIP_API_ID_hipStreamWriteValue64 = 204,
225 HIP_API_ID_hipWaitExternalSemaphoresAsync = 205,
226 HIP_API_ID_hipCreateSurfaceObject = 206,
227 HIP_API_ID_hipDestroySurfaceObject = 207,
228 HIP_API_ID_hipGraphAddKernelNode = 208,
229 HIP_API_ID_hipGraphAddMemcpyNode = 209,
230 HIP_API_ID_hipGraphAddMemsetNode = 210,
231 HIP_API_ID_hipGraphCreate = 211,
232 HIP_API_ID_hipGraphDestroy = 212,
233 HIP_API_ID_hipGraphExecDestroy = 213,
234 HIP_API_ID_hipGraphInstantiate = 214,
235 HIP_API_ID_hipGraphLaunch = 215,
236 HIP_API_ID_hipMipmappedArrayCreate = 216,
237 HIP_API_ID_hipMipmappedArrayDestroy = 217,
238 HIP_API_ID_hipMipmappedArrayGetLevel = 218,
239 HIP_API_ID_hipStreamBeginCapture = 219,
240 HIP_API_ID_hipStreamEndCapture = 220,
241 HIP_API_ID_hipTexRefGetAddress = 221,
242 HIP_API_ID_hipTexRefGetFlags = 222,
243 HIP_API_ID_hipTexRefGetFormat = 223,
244 HIP_API_ID_hipTexRefGetMaxAnisotropy = 224,
245 HIP_API_ID_hipTexRefGetMipMappedArray = 225,
246 HIP_API_ID_hipTexRefGetMipmapLevelBias = 226,
247 HIP_API_ID_hipTexRefGetMipmapLevelClamp = 227,
248 HIP_API_ID_hipTexRefSetAddress = 228,
249 HIP_API_ID_hipTexRefSetAddress2D = 229,
250 HIP_API_ID_hipTexRefSetBorderColor = 230,
251 HIP_API_ID_hipTexRefSetFormat = 231,
252 HIP_API_ID_hipTexRefSetMaxAnisotropy = 232,
253 HIP_API_ID_hipTexRefSetMipmapLevelClamp = 233,
254 HIP_API_ID_hipTexRefSetMipmappedArray = 234,
255 HIP_API_ID_hipGLGetDevices = 235,
256 HIP_API_ID_hipGraphAddDependencies = 236,
257 HIP_API_ID_hipGraphAddEmptyNode = 237,
258 HIP_API_ID_hipGraphExecKernelNodeSetParams = 238,
259 HIP_API_ID_hipGraphGetNodes = 239,
260 HIP_API_ID_hipGraphGetRootNodes = 240,
261 HIP_API_ID_hipGraphKernelNodeGetParams = 241,
262 HIP_API_ID_hipGraphKernelNodeSetParams = 242,
263 HIP_API_ID_hipGraphMemcpyNodeGetParams = 243,
264 HIP_API_ID_hipGraphMemcpyNodeSetParams = 244,
265 HIP_API_ID_hipGraphMemsetNodeGetParams = 245,
266 HIP_API_ID_hipGraphMemsetNodeSetParams = 246,
267 HIP_API_ID_hipGraphicsGLRegisterBuffer = 247,
268 HIP_API_ID_hipGraphicsMapResources = 248,
269 HIP_API_ID_hipGraphicsResourceGetMappedPointer = 249,
270 HIP_API_ID_hipGraphicsUnmapResources = 250,
271 HIP_API_ID_hipGraphicsUnregisterResource = 251,
272 HIP_API_ID_hipGraphAddChildGraphNode = 252,
273 HIP_API_ID_hipGraphAddEventRecordNode = 253,
274 HIP_API_ID_hipGraphAddEventWaitNode = 254,
275 HIP_API_ID_hipGraphAddHostNode = 255,
276 HIP_API_ID_hipGraphAddMemcpyNode1D = 256,
277 HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol = 257,
278 HIP_API_ID_hipGraphAddMemcpyNodeToSymbol = 258,
279 HIP_API_ID_hipGraphChildGraphNodeGetGraph = 259,
280 HIP_API_ID_hipGraphClone = 260,
281 HIP_API_ID_hipGraphDestroyNode = 261,
282 HIP_API_ID_hipGraphEventRecordNodeGetEvent = 262,
283 HIP_API_ID_hipGraphEventRecordNodeSetEvent = 263,
284 HIP_API_ID_hipGraphEventWaitNodeGetEvent = 264,
285 HIP_API_ID_hipGraphEventWaitNodeSetEvent = 265,
286 HIP_API_ID_hipGraphExecChildGraphNodeSetParams = 266,
287 HIP_API_ID_hipGraphExecEventRecordNodeSetEvent = 267,
288 HIP_API_ID_hipGraphExecEventWaitNodeSetEvent = 268,
289 HIP_API_ID_hipGraphExecHostNodeSetParams = 269,
290 HIP_API_ID_hipGraphExecMemcpyNodeSetParams = 270,
291 HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D = 271,
292 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol = 272,
293 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol = 273,
294 HIP_API_ID_hipGraphExecMemsetNodeSetParams = 274,
295 HIP_API_ID_hipGraphExecUpdate = 275,
296 HIP_API_ID_hipGraphGetEdges = 276,
297 HIP_API_ID_hipGraphHostNodeGetParams = 277,
298 HIP_API_ID_hipGraphHostNodeSetParams = 278,
299 HIP_API_ID_hipGraphInstantiateWithFlags = 279,
300 HIP_API_ID_hipGraphMemcpyNodeSetParams1D = 280,
301 HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol = 281,
302 HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol = 282,
303 HIP_API_ID_hipGraphNodeFindInClone = 283,
304 HIP_API_ID_hipGraphNodeGetDependencies = 284,
305 HIP_API_ID_hipGraphNodeGetDependentNodes = 285,
306 HIP_API_ID_hipGraphNodeGetType = 286,
307 HIP_API_ID_hipGraphRemoveDependencies = 287,
308 HIP_API_ID_hipStreamGetCaptureInfo = 288,
309 HIP_API_ID_hipStreamGetCaptureInfo_v2 = 289,
310 HIP_API_ID_hipStreamIsCapturing = 290,
311 HIP_API_ID_hipStreamUpdateCaptureDependencies = 291,
312 HIP_API_ID_hipDrvPointerGetAttributes = 292,
313 HIP_API_ID_hipGraphicsGLRegisterImage = 293,
314 HIP_API_ID_hipGraphicsSubResourceGetMappedArray = 294,
315 HIP_API_ID_hipPointerGetAttribute = 295,
316 HIP_API_ID_RESERVED_296 = 296,
317 HIP_API_ID_hipThreadExchangeStreamCaptureMode = 297,
318 HIP_API_ID_hipDeviceGetUuid = 298,
319 HIP_API_ID_hipGetChannelDesc = 299,
320 HIP_API_ID_hipGraphKernelNodeGetAttribute = 300,
321 HIP_API_ID_hipGraphKernelNodeSetAttribute = 301,
322 HIP_API_ID_hipLaunchHostFunc = 302,
323 HIP_API_ID_hipDeviceGetDefaultMemPool = 303,
324 HIP_API_ID_hipDeviceGetMemPool = 304,
325 HIP_API_ID_hipDeviceSetMemPool = 305,
326 HIP_API_ID_hipFreeAsync = 306,
327 HIP_API_ID_hipMallocAsync = 307,
328 HIP_API_ID_hipMallocFromPoolAsync = 308,
329 HIP_API_ID_hipMemPoolCreate = 309,
330 HIP_API_ID_hipMemPoolDestroy = 310,
331 HIP_API_ID_hipMemPoolExportPointer = 311,
332 HIP_API_ID_hipMemPoolExportToShareableHandle = 312,
333 HIP_API_ID_hipMemPoolGetAccess = 313,
334 HIP_API_ID_hipMemPoolGetAttribute = 314,
335 HIP_API_ID_hipMemPoolImportFromShareableHandle = 315,
336 HIP_API_ID_hipMemPoolImportPointer = 316,
337 HIP_API_ID_hipMemPoolSetAccess = 317,
338 HIP_API_ID_hipMemPoolSetAttribute = 318,
339 HIP_API_ID_hipMemPoolTrimTo = 319,
340 HIP_API_ID_hipMemAddressFree = 320,
341 HIP_API_ID_hipMemAddressReserve = 321,
342 HIP_API_ID_hipMemCreate = 322,
343 HIP_API_ID_hipMemExportToShareableHandle = 323,
344 HIP_API_ID_hipMemGetAccess = 324,
345 HIP_API_ID_hipMemGetAllocationGranularity = 325,
346 HIP_API_ID_hipMemGetAllocationPropertiesFromHandle = 326,
347 HIP_API_ID_hipMemImportFromShareableHandle = 327,
348 HIP_API_ID_hipMemMap = 328,
349 HIP_API_ID_hipMemMapArrayAsync = 329,
350 HIP_API_ID_hipMemRelease = 330,
351 HIP_API_ID_hipMemRetainAllocationHandle = 331,
352 HIP_API_ID_hipMemSetAccess = 332,
353 HIP_API_ID_hipMemUnmap = 333,
354 HIP_API_ID_hipDeviceSetGraphMemAttribute = 334,
355 HIP_API_ID_hipDeviceGetGraphMemAttribute = 335,
356 HIP_API_ID_hipDeviceGraphMemTrim = 336,
357 HIP_API_ID_hipDeviceSetLimit = 337,
358 HIP_API_ID_hipTexRefSetArray = 338,
359 HIP_API_ID_hipTexRefSetFlags = 339,
360 HIP_API_ID_hipTexRefSetMipmapLevelBias = 340,
361 HIP_API_ID_hipDriverGetVersion = 341,
362 HIP_API_ID_hipGraphUpload = 342,
363 HIP_API_ID_hipRuntimeGetVersion = 343,
364 HIP_API_ID_hipUserObjectCreate = 344,
365 HIP_API_ID_hipUserObjectRelease = 345,
366 HIP_API_ID_hipUserObjectRetain = 346,
367 HIP_API_ID_hipGraphRetainUserObject = 347,
368 HIP_API_ID_hipGraphReleaseUserObject = 348,
369 HIP_API_ID_hipGraphDebugDotPrint = 349,
370 HIP_API_ID_hipGraphKernelNodeCopyAttributes = 350,
371 HIP_API_ID_hipGraphNodeGetEnabled = 351,
372 HIP_API_ID_hipGraphNodeSetEnabled = 352,
373 HIP_API_ID_hipPointerSetAttribute = 353,
374 HIP_API_ID_hipGraphAddMemAllocNode = 354,
375 HIP_API_ID_hipGraphAddMemFreeNode = 355,
376 HIP_API_ID_hipGraphMemAllocNodeGetParams = 356,
377 HIP_API_ID_hipGraphMemFreeNodeGetParams = 357,
378 HIP_API_ID_hipModuleLaunchCooperativeKernel = 358,
379 HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice = 359,
380 HIP_API_ID_hipArray3DGetDescriptor = 360,
381 HIP_API_ID_hipArrayGetDescriptor = 361,
382 HIP_API_ID_hipArrayGetInfo = 362,
383 HIP_API_ID_hipStreamGetDevice = 363,
384 HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray = 364,
385 HIP_API_ID_hipChooseDeviceR0600 = 365,
386 HIP_API_ID_hipDrvGraphAddMemcpyNode = 366,
387 HIP_API_ID_hipDrvGraphAddMemsetNode = 367,
388 HIP_API_ID_hipDrvGraphMemcpyNodeGetParams = 368,
389 HIP_API_ID_hipDrvGraphMemcpyNodeSetParams = 369,
390 HIP_API_ID_hipGetDevicePropertiesR0600 = 370,
391 HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode = 371,
392 HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode = 372,
393 HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams = 373,
394 HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams = 374,
395 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams = 375,
396 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams = 376,
397 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams = 377,
398 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams = 378,
399 HIP_API_ID_hipExtGetLastError = 379,
400 HIP_API_ID_hipGraphAddNode = 380,
401 HIP_API_ID_hipGetProcAddress = 381,
402 HIP_API_ID_hipGraphExecGetFlags = 382,
403 HIP_API_ID_hipGraphExecNodeSetParams = 383,
404 HIP_API_ID_hipGraphInstantiateWithParams = 384,
405 HIP_API_ID_hipGraphNodeSetParams = 385,
406 HIP_API_ID_hipDrvGraphAddMemFreeNode = 386,
407 HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams = 387,
408 HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams = 388,
409 HIP_API_ID_hipTexRefGetArray = 389,
410 HIP_API_ID_hipTexRefGetBorderColor = 390,
411 HIP_API_ID_hipStreamBeginCaptureToGraph = 391,
412 HIP_API_ID_hipGetFuncBySymbol = 392,
413 HIP_API_ID_RESERVED_393 = 393,
414 HIP_API_ID_RESERVED_394 = 394,
415 HIP_API_ID_RESERVED_395 = 395,
416 HIP_API_ID_RESERVED_396 = 396,
417 HIP_API_ID_RESERVED_397 = 397,
418 HIP_API_ID_RESERVED_398 = 398,
419 HIP_API_ID_RESERVED_399 = 399,
420 HIP_API_ID_hipMemcpy2DArrayToArray = 400,
421 HIP_API_ID_hipMemcpyAtoA = 401,
422 HIP_API_ID_hipMemcpyAtoD = 402,
423 HIP_API_ID_hipMemcpyAtoHAsync = 403,
424 HIP_API_ID_hipMemcpyDtoA = 404,
425 HIP_API_ID_hipMemcpyHtoAAsync = 405,
426 HIP_API_ID_hipSetValidDevices = 406,
427 HIP_API_ID_LAST = 406,
429 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
430 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
432 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
433 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
434 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
435 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
436 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
437 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
438 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
439 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
440 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
441 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
442 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
443 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
444 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
445 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
446 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
447 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
448 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
449 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
450 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
451 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
452 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
453 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
454 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
455 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
458#undef HIP_API_ID_CONCAT_HELPER
459#undef HIP_API_ID_CONCAT
462static inline const char* hip_api_name(
const uint32_t
id) {
464 case HIP_API_ID___hipPopCallConfiguration:
return "__hipPopCallConfiguration";
465 case HIP_API_ID___hipPushCallConfiguration:
return "__hipPushCallConfiguration";
466 case HIP_API_ID_hipArray3DCreate:
return "hipArray3DCreate";
467 case HIP_API_ID_hipArray3DGetDescriptor:
return "hipArray3DGetDescriptor";
468 case HIP_API_ID_hipArrayCreate:
return "hipArrayCreate";
469 case HIP_API_ID_hipArrayDestroy:
return "hipArrayDestroy";
470 case HIP_API_ID_hipArrayGetDescriptor:
return "hipArrayGetDescriptor";
471 case HIP_API_ID_hipArrayGetInfo:
return "hipArrayGetInfo";
472 case HIP_API_ID_hipChooseDeviceR0000:
return "hipChooseDeviceR0000";
473 case HIP_API_ID_hipChooseDeviceR0600:
return "hipChooseDeviceR0600";
474 case HIP_API_ID_hipConfigureCall:
return "hipConfigureCall";
475 case HIP_API_ID_hipCreateSurfaceObject:
return "hipCreateSurfaceObject";
476 case HIP_API_ID_hipCtxCreate:
return "hipCtxCreate";
477 case HIP_API_ID_hipCtxDestroy:
return "hipCtxDestroy";
478 case HIP_API_ID_hipCtxDisablePeerAccess:
return "hipCtxDisablePeerAccess";
479 case HIP_API_ID_hipCtxEnablePeerAccess:
return "hipCtxEnablePeerAccess";
480 case HIP_API_ID_hipCtxGetApiVersion:
return "hipCtxGetApiVersion";
481 case HIP_API_ID_hipCtxGetCacheConfig:
return "hipCtxGetCacheConfig";
482 case HIP_API_ID_hipCtxGetCurrent:
return "hipCtxGetCurrent";
483 case HIP_API_ID_hipCtxGetDevice:
return "hipCtxGetDevice";
484 case HIP_API_ID_hipCtxGetFlags:
return "hipCtxGetFlags";
485 case HIP_API_ID_hipCtxGetSharedMemConfig:
return "hipCtxGetSharedMemConfig";
486 case HIP_API_ID_hipCtxPopCurrent:
return "hipCtxPopCurrent";
487 case HIP_API_ID_hipCtxPushCurrent:
return "hipCtxPushCurrent";
488 case HIP_API_ID_hipCtxSetCacheConfig:
return "hipCtxSetCacheConfig";
489 case HIP_API_ID_hipCtxSetCurrent:
return "hipCtxSetCurrent";
490 case HIP_API_ID_hipCtxSetSharedMemConfig:
return "hipCtxSetSharedMemConfig";
491 case HIP_API_ID_hipCtxSynchronize:
return "hipCtxSynchronize";
492 case HIP_API_ID_hipDestroyExternalMemory:
return "hipDestroyExternalMemory";
493 case HIP_API_ID_hipDestroyExternalSemaphore:
return "hipDestroyExternalSemaphore";
494 case HIP_API_ID_hipDestroySurfaceObject:
return "hipDestroySurfaceObject";
495 case HIP_API_ID_hipDeviceCanAccessPeer:
return "hipDeviceCanAccessPeer";
496 case HIP_API_ID_hipDeviceComputeCapability:
return "hipDeviceComputeCapability";
497 case HIP_API_ID_hipDeviceDisablePeerAccess:
return "hipDeviceDisablePeerAccess";
498 case HIP_API_ID_hipDeviceEnablePeerAccess:
return "hipDeviceEnablePeerAccess";
499 case HIP_API_ID_hipDeviceGet:
return "hipDeviceGet";
500 case HIP_API_ID_hipDeviceGetAttribute:
return "hipDeviceGetAttribute";
501 case HIP_API_ID_hipDeviceGetByPCIBusId:
return "hipDeviceGetByPCIBusId";
502 case HIP_API_ID_hipDeviceGetCacheConfig:
return "hipDeviceGetCacheConfig";
503 case HIP_API_ID_hipDeviceGetDefaultMemPool:
return "hipDeviceGetDefaultMemPool";
504 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
return "hipDeviceGetGraphMemAttribute";
505 case HIP_API_ID_hipDeviceGetLimit:
return "hipDeviceGetLimit";
506 case HIP_API_ID_hipDeviceGetMemPool:
return "hipDeviceGetMemPool";
507 case HIP_API_ID_hipDeviceGetName:
return "hipDeviceGetName";
508 case HIP_API_ID_hipDeviceGetP2PAttribute:
return "hipDeviceGetP2PAttribute";
509 case HIP_API_ID_hipDeviceGetPCIBusId:
return "hipDeviceGetPCIBusId";
510 case HIP_API_ID_hipDeviceGetSharedMemConfig:
return "hipDeviceGetSharedMemConfig";
511 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
return "hipDeviceGetStreamPriorityRange";
512 case HIP_API_ID_hipDeviceGetUuid:
return "hipDeviceGetUuid";
513 case HIP_API_ID_hipDeviceGraphMemTrim:
return "hipDeviceGraphMemTrim";
514 case HIP_API_ID_hipDevicePrimaryCtxGetState:
return "hipDevicePrimaryCtxGetState";
515 case HIP_API_ID_hipDevicePrimaryCtxRelease:
return "hipDevicePrimaryCtxRelease";
516 case HIP_API_ID_hipDevicePrimaryCtxReset:
return "hipDevicePrimaryCtxReset";
517 case HIP_API_ID_hipDevicePrimaryCtxRetain:
return "hipDevicePrimaryCtxRetain";
518 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
return "hipDevicePrimaryCtxSetFlags";
519 case HIP_API_ID_hipDeviceReset:
return "hipDeviceReset";
520 case HIP_API_ID_hipDeviceSetCacheConfig:
return "hipDeviceSetCacheConfig";
521 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
return "hipDeviceSetGraphMemAttribute";
522 case HIP_API_ID_hipDeviceSetLimit:
return "hipDeviceSetLimit";
523 case HIP_API_ID_hipDeviceSetMemPool:
return "hipDeviceSetMemPool";
524 case HIP_API_ID_hipDeviceSetSharedMemConfig:
return "hipDeviceSetSharedMemConfig";
525 case HIP_API_ID_hipDeviceSynchronize:
return "hipDeviceSynchronize";
526 case HIP_API_ID_hipDeviceTotalMem:
return "hipDeviceTotalMem";
527 case HIP_API_ID_hipDriverGetVersion:
return "hipDriverGetVersion";
528 case HIP_API_ID_hipDrvGraphAddMemFreeNode:
return "hipDrvGraphAddMemFreeNode";
529 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
return "hipDrvGraphAddMemcpyNode";
530 case HIP_API_ID_hipDrvGraphAddMemsetNode:
return "hipDrvGraphAddMemsetNode";
531 case HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams:
return "hipDrvGraphExecMemcpyNodeSetParams";
532 case HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams:
return "hipDrvGraphExecMemsetNodeSetParams";
533 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
return "hipDrvGraphMemcpyNodeGetParams";
534 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
return "hipDrvGraphMemcpyNodeSetParams";
535 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
return "hipDrvMemcpy2DUnaligned";
536 case HIP_API_ID_hipDrvMemcpy3D:
return "hipDrvMemcpy3D";
537 case HIP_API_ID_hipDrvMemcpy3DAsync:
return "hipDrvMemcpy3DAsync";
538 case HIP_API_ID_hipDrvPointerGetAttributes:
return "hipDrvPointerGetAttributes";
539 case HIP_API_ID_hipEventCreate:
return "hipEventCreate";
540 case HIP_API_ID_hipEventCreateWithFlags:
return "hipEventCreateWithFlags";
541 case HIP_API_ID_hipEventDestroy:
return "hipEventDestroy";
542 case HIP_API_ID_hipEventElapsedTime:
return "hipEventElapsedTime";
543 case HIP_API_ID_hipEventQuery:
return "hipEventQuery";
544 case HIP_API_ID_hipEventRecord:
return "hipEventRecord";
545 case HIP_API_ID_hipEventSynchronize:
return "hipEventSynchronize";
546 case HIP_API_ID_hipExtGetLastError:
return "hipExtGetLastError";
547 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
return "hipExtGetLinkTypeAndHopCount";
548 case HIP_API_ID_hipExtLaunchKernel:
return "hipExtLaunchKernel";
549 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
return "hipExtLaunchMultiKernelMultiDevice";
550 case HIP_API_ID_hipExtMallocWithFlags:
return "hipExtMallocWithFlags";
551 case HIP_API_ID_hipExtModuleLaunchKernel:
return "hipExtModuleLaunchKernel";
552 case HIP_API_ID_hipExtStreamCreateWithCUMask:
return "hipExtStreamCreateWithCUMask";
553 case HIP_API_ID_hipExtStreamGetCUMask:
return "hipExtStreamGetCUMask";
554 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
return "hipExternalMemoryGetMappedBuffer";
555 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
return "hipExternalMemoryGetMappedMipmappedArray";
556 case HIP_API_ID_hipFree:
return "hipFree";
557 case HIP_API_ID_hipFreeArray:
return "hipFreeArray";
558 case HIP_API_ID_hipFreeAsync:
return "hipFreeAsync";
559 case HIP_API_ID_hipFreeHost:
return "hipFreeHost";
560 case HIP_API_ID_hipFreeMipmappedArray:
return "hipFreeMipmappedArray";
561 case HIP_API_ID_hipFuncGetAttribute:
return "hipFuncGetAttribute";
562 case HIP_API_ID_hipFuncGetAttributes:
return "hipFuncGetAttributes";
563 case HIP_API_ID_hipFuncSetAttribute:
return "hipFuncSetAttribute";
564 case HIP_API_ID_hipFuncSetCacheConfig:
return "hipFuncSetCacheConfig";
565 case HIP_API_ID_hipFuncSetSharedMemConfig:
return "hipFuncSetSharedMemConfig";
566 case HIP_API_ID_hipGLGetDevices:
return "hipGLGetDevices";
567 case HIP_API_ID_hipGetChannelDesc:
return "hipGetChannelDesc";
568 case HIP_API_ID_hipGetDevice:
return "hipGetDevice";
569 case HIP_API_ID_hipGetDeviceCount:
return "hipGetDeviceCount";
570 case HIP_API_ID_hipGetDeviceFlags:
return "hipGetDeviceFlags";
571 case HIP_API_ID_hipGetDevicePropertiesR0000:
return "hipGetDevicePropertiesR0000";
572 case HIP_API_ID_hipGetDevicePropertiesR0600:
return "hipGetDevicePropertiesR0600";
573 case HIP_API_ID_hipGetErrorString:
return "hipGetErrorString";
574 case HIP_API_ID_hipGetFuncBySymbol:
return "hipGetFuncBySymbol";
575 case HIP_API_ID_hipGetLastError:
return "hipGetLastError";
576 case HIP_API_ID_hipGetMipmappedArrayLevel:
return "hipGetMipmappedArrayLevel";
577 case HIP_API_ID_hipGetProcAddress:
return "hipGetProcAddress";
578 case HIP_API_ID_hipGetSymbolAddress:
return "hipGetSymbolAddress";
579 case HIP_API_ID_hipGetSymbolSize:
return "hipGetSymbolSize";
580 case HIP_API_ID_hipGraphAddChildGraphNode:
return "hipGraphAddChildGraphNode";
581 case HIP_API_ID_hipGraphAddDependencies:
return "hipGraphAddDependencies";
582 case HIP_API_ID_hipGraphAddEmptyNode:
return "hipGraphAddEmptyNode";
583 case HIP_API_ID_hipGraphAddEventRecordNode:
return "hipGraphAddEventRecordNode";
584 case HIP_API_ID_hipGraphAddEventWaitNode:
return "hipGraphAddEventWaitNode";
585 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
return "hipGraphAddExternalSemaphoresSignalNode";
586 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
return "hipGraphAddExternalSemaphoresWaitNode";
587 case HIP_API_ID_hipGraphAddHostNode:
return "hipGraphAddHostNode";
588 case HIP_API_ID_hipGraphAddKernelNode:
return "hipGraphAddKernelNode";
589 case HIP_API_ID_hipGraphAddMemAllocNode:
return "hipGraphAddMemAllocNode";
590 case HIP_API_ID_hipGraphAddMemFreeNode:
return "hipGraphAddMemFreeNode";
591 case HIP_API_ID_hipGraphAddMemcpyNode:
return "hipGraphAddMemcpyNode";
592 case HIP_API_ID_hipGraphAddMemcpyNode1D:
return "hipGraphAddMemcpyNode1D";
593 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
return "hipGraphAddMemcpyNodeFromSymbol";
594 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
return "hipGraphAddMemcpyNodeToSymbol";
595 case HIP_API_ID_hipGraphAddMemsetNode:
return "hipGraphAddMemsetNode";
596 case HIP_API_ID_hipGraphAddNode:
return "hipGraphAddNode";
597 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
return "hipGraphChildGraphNodeGetGraph";
598 case HIP_API_ID_hipGraphClone:
return "hipGraphClone";
599 case HIP_API_ID_hipGraphCreate:
return "hipGraphCreate";
600 case HIP_API_ID_hipGraphDebugDotPrint:
return "hipGraphDebugDotPrint";
601 case HIP_API_ID_hipGraphDestroy:
return "hipGraphDestroy";
602 case HIP_API_ID_hipGraphDestroyNode:
return "hipGraphDestroyNode";
603 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
return "hipGraphEventRecordNodeGetEvent";
604 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
return "hipGraphEventRecordNodeSetEvent";
605 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
return "hipGraphEventWaitNodeGetEvent";
606 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
return "hipGraphEventWaitNodeSetEvent";
607 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
return "hipGraphExecChildGraphNodeSetParams";
608 case HIP_API_ID_hipGraphExecDestroy:
return "hipGraphExecDestroy";
609 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
return "hipGraphExecEventRecordNodeSetEvent";
610 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
return "hipGraphExecEventWaitNodeSetEvent";
611 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
612 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
613 case HIP_API_ID_hipGraphExecGetFlags:
return "hipGraphExecGetFlags";
614 case HIP_API_ID_hipGraphExecHostNodeSetParams:
return "hipGraphExecHostNodeSetParams";
615 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
return "hipGraphExecKernelNodeSetParams";
616 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
return "hipGraphExecMemcpyNodeSetParams";
617 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
return "hipGraphExecMemcpyNodeSetParams1D";
618 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
619 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
return "hipGraphExecMemcpyNodeSetParamsToSymbol";
620 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
return "hipGraphExecMemsetNodeSetParams";
621 case HIP_API_ID_hipGraphExecNodeSetParams:
return "hipGraphExecNodeSetParams";
622 case HIP_API_ID_hipGraphExecUpdate:
return "hipGraphExecUpdate";
623 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
return "hipGraphExternalSemaphoresSignalNodeGetParams";
624 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
return "hipGraphExternalSemaphoresSignalNodeSetParams";
625 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
return "hipGraphExternalSemaphoresWaitNodeGetParams";
626 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
return "hipGraphExternalSemaphoresWaitNodeSetParams";
627 case HIP_API_ID_hipGraphGetEdges:
return "hipGraphGetEdges";
628 case HIP_API_ID_hipGraphGetNodes:
return "hipGraphGetNodes";
629 case HIP_API_ID_hipGraphGetRootNodes:
return "hipGraphGetRootNodes";
630 case HIP_API_ID_hipGraphHostNodeGetParams:
return "hipGraphHostNodeGetParams";
631 case HIP_API_ID_hipGraphHostNodeSetParams:
return "hipGraphHostNodeSetParams";
632 case HIP_API_ID_hipGraphInstantiate:
return "hipGraphInstantiate";
633 case HIP_API_ID_hipGraphInstantiateWithFlags:
return "hipGraphInstantiateWithFlags";
634 case HIP_API_ID_hipGraphInstantiateWithParams:
return "hipGraphInstantiateWithParams";
635 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
return "hipGraphKernelNodeCopyAttributes";
636 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
return "hipGraphKernelNodeGetAttribute";
637 case HIP_API_ID_hipGraphKernelNodeGetParams:
return "hipGraphKernelNodeGetParams";
638 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
return "hipGraphKernelNodeSetAttribute";
639 case HIP_API_ID_hipGraphKernelNodeSetParams:
return "hipGraphKernelNodeSetParams";
640 case HIP_API_ID_hipGraphLaunch:
return "hipGraphLaunch";
641 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
return "hipGraphMemAllocNodeGetParams";
642 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
return "hipGraphMemFreeNodeGetParams";
643 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
return "hipGraphMemcpyNodeGetParams";
644 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
return "hipGraphMemcpyNodeSetParams";
645 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
return "hipGraphMemcpyNodeSetParams1D";
646 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
return "hipGraphMemcpyNodeSetParamsFromSymbol";
647 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
return "hipGraphMemcpyNodeSetParamsToSymbol";
648 case HIP_API_ID_hipGraphMemsetNodeGetParams:
return "hipGraphMemsetNodeGetParams";
649 case HIP_API_ID_hipGraphMemsetNodeSetParams:
return "hipGraphMemsetNodeSetParams";
650 case HIP_API_ID_hipGraphNodeFindInClone:
return "hipGraphNodeFindInClone";
651 case HIP_API_ID_hipGraphNodeGetDependencies:
return "hipGraphNodeGetDependencies";
652 case HIP_API_ID_hipGraphNodeGetDependentNodes:
return "hipGraphNodeGetDependentNodes";
653 case HIP_API_ID_hipGraphNodeGetEnabled:
return "hipGraphNodeGetEnabled";
654 case HIP_API_ID_hipGraphNodeGetType:
return "hipGraphNodeGetType";
655 case HIP_API_ID_hipGraphNodeSetEnabled:
return "hipGraphNodeSetEnabled";
656 case HIP_API_ID_hipGraphNodeSetParams:
return "hipGraphNodeSetParams";
657 case HIP_API_ID_hipGraphReleaseUserObject:
return "hipGraphReleaseUserObject";
658 case HIP_API_ID_hipGraphRemoveDependencies:
return "hipGraphRemoveDependencies";
659 case HIP_API_ID_hipGraphRetainUserObject:
return "hipGraphRetainUserObject";
660 case HIP_API_ID_hipGraphUpload:
return "hipGraphUpload";
661 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
return "hipGraphicsGLRegisterBuffer";
662 case HIP_API_ID_hipGraphicsGLRegisterImage:
return "hipGraphicsGLRegisterImage";
663 case HIP_API_ID_hipGraphicsMapResources:
return "hipGraphicsMapResources";
664 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
return "hipGraphicsResourceGetMappedPointer";
665 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
return "hipGraphicsSubResourceGetMappedArray";
666 case HIP_API_ID_hipGraphicsUnmapResources:
return "hipGraphicsUnmapResources";
667 case HIP_API_ID_hipGraphicsUnregisterResource:
return "hipGraphicsUnregisterResource";
668 case HIP_API_ID_hipHccModuleLaunchKernel:
return "hipHccModuleLaunchKernel";
669 case HIP_API_ID_hipHostAlloc:
return "hipHostAlloc";
670 case HIP_API_ID_hipHostFree:
return "hipHostFree";
671 case HIP_API_ID_hipHostGetDevicePointer:
return "hipHostGetDevicePointer";
672 case HIP_API_ID_hipHostGetFlags:
return "hipHostGetFlags";
673 case HIP_API_ID_hipHostMalloc:
return "hipHostMalloc";
674 case HIP_API_ID_hipHostRegister:
return "hipHostRegister";
675 case HIP_API_ID_hipHostUnregister:
return "hipHostUnregister";
676 case HIP_API_ID_hipImportExternalMemory:
return "hipImportExternalMemory";
677 case HIP_API_ID_hipImportExternalSemaphore:
return "hipImportExternalSemaphore";
678 case HIP_API_ID_hipInit:
return "hipInit";
679 case HIP_API_ID_hipIpcCloseMemHandle:
return "hipIpcCloseMemHandle";
680 case HIP_API_ID_hipIpcGetEventHandle:
return "hipIpcGetEventHandle";
681 case HIP_API_ID_hipIpcGetMemHandle:
return "hipIpcGetMemHandle";
682 case HIP_API_ID_hipIpcOpenEventHandle:
return "hipIpcOpenEventHandle";
683 case HIP_API_ID_hipIpcOpenMemHandle:
return "hipIpcOpenMemHandle";
684 case HIP_API_ID_hipLaunchByPtr:
return "hipLaunchByPtr";
685 case HIP_API_ID_hipLaunchCooperativeKernel:
return "hipLaunchCooperativeKernel";
686 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
return "hipLaunchCooperativeKernelMultiDevice";
687 case HIP_API_ID_hipLaunchHostFunc:
return "hipLaunchHostFunc";
688 case HIP_API_ID_hipLaunchKernel:
return "hipLaunchKernel";
689 case HIP_API_ID_hipMalloc:
return "hipMalloc";
690 case HIP_API_ID_hipMalloc3D:
return "hipMalloc3D";
691 case HIP_API_ID_hipMalloc3DArray:
return "hipMalloc3DArray";
692 case HIP_API_ID_hipMallocArray:
return "hipMallocArray";
693 case HIP_API_ID_hipMallocAsync:
return "hipMallocAsync";
694 case HIP_API_ID_hipMallocFromPoolAsync:
return "hipMallocFromPoolAsync";
695 case HIP_API_ID_hipMallocHost:
return "hipMallocHost";
696 case HIP_API_ID_hipMallocManaged:
return "hipMallocManaged";
697 case HIP_API_ID_hipMallocMipmappedArray:
return "hipMallocMipmappedArray";
698 case HIP_API_ID_hipMallocPitch:
return "hipMallocPitch";
699 case HIP_API_ID_hipMemAddressFree:
return "hipMemAddressFree";
700 case HIP_API_ID_hipMemAddressReserve:
return "hipMemAddressReserve";
701 case HIP_API_ID_hipMemAdvise:
return "hipMemAdvise";
702 case HIP_API_ID_hipMemAllocHost:
return "hipMemAllocHost";
703 case HIP_API_ID_hipMemAllocPitch:
return "hipMemAllocPitch";
704 case HIP_API_ID_hipMemCreate:
return "hipMemCreate";
705 case HIP_API_ID_hipMemExportToShareableHandle:
return "hipMemExportToShareableHandle";
706 case HIP_API_ID_hipMemGetAccess:
return "hipMemGetAccess";
707 case HIP_API_ID_hipMemGetAddressRange:
return "hipMemGetAddressRange";
708 case HIP_API_ID_hipMemGetAllocationGranularity:
return "hipMemGetAllocationGranularity";
709 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
return "hipMemGetAllocationPropertiesFromHandle";
710 case HIP_API_ID_hipMemGetInfo:
return "hipMemGetInfo";
711 case HIP_API_ID_hipMemImportFromShareableHandle:
return "hipMemImportFromShareableHandle";
712 case HIP_API_ID_hipMemMap:
return "hipMemMap";
713 case HIP_API_ID_hipMemMapArrayAsync:
return "hipMemMapArrayAsync";
714 case HIP_API_ID_hipMemPoolCreate:
return "hipMemPoolCreate";
715 case HIP_API_ID_hipMemPoolDestroy:
return "hipMemPoolDestroy";
716 case HIP_API_ID_hipMemPoolExportPointer:
return "hipMemPoolExportPointer";
717 case HIP_API_ID_hipMemPoolExportToShareableHandle:
return "hipMemPoolExportToShareableHandle";
718 case HIP_API_ID_hipMemPoolGetAccess:
return "hipMemPoolGetAccess";
719 case HIP_API_ID_hipMemPoolGetAttribute:
return "hipMemPoolGetAttribute";
720 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
return "hipMemPoolImportFromShareableHandle";
721 case HIP_API_ID_hipMemPoolImportPointer:
return "hipMemPoolImportPointer";
722 case HIP_API_ID_hipMemPoolSetAccess:
return "hipMemPoolSetAccess";
723 case HIP_API_ID_hipMemPoolSetAttribute:
return "hipMemPoolSetAttribute";
724 case HIP_API_ID_hipMemPoolTrimTo:
return "hipMemPoolTrimTo";
725 case HIP_API_ID_hipMemPrefetchAsync:
return "hipMemPrefetchAsync";
726 case HIP_API_ID_hipMemPtrGetInfo:
return "hipMemPtrGetInfo";
727 case HIP_API_ID_hipMemRangeGetAttribute:
return "hipMemRangeGetAttribute";
728 case HIP_API_ID_hipMemRangeGetAttributes:
return "hipMemRangeGetAttributes";
729 case HIP_API_ID_hipMemRelease:
return "hipMemRelease";
730 case HIP_API_ID_hipMemRetainAllocationHandle:
return "hipMemRetainAllocationHandle";
731 case HIP_API_ID_hipMemSetAccess:
return "hipMemSetAccess";
732 case HIP_API_ID_hipMemUnmap:
return "hipMemUnmap";
733 case HIP_API_ID_hipMemcpy:
return "hipMemcpy";
734 case HIP_API_ID_hipMemcpy2D:
return "hipMemcpy2D";
735 case HIP_API_ID_hipMemcpy2DArrayToArray:
return "hipMemcpy2DArrayToArray";
736 case HIP_API_ID_hipMemcpy2DAsync:
return "hipMemcpy2DAsync";
737 case HIP_API_ID_hipMemcpy2DFromArray:
return "hipMemcpy2DFromArray";
738 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
return "hipMemcpy2DFromArrayAsync";
739 case HIP_API_ID_hipMemcpy2DToArray:
return "hipMemcpy2DToArray";
740 case HIP_API_ID_hipMemcpy2DToArrayAsync:
return "hipMemcpy2DToArrayAsync";
741 case HIP_API_ID_hipMemcpy3D:
return "hipMemcpy3D";
742 case HIP_API_ID_hipMemcpy3DAsync:
return "hipMemcpy3DAsync";
743 case HIP_API_ID_hipMemcpyAsync:
return "hipMemcpyAsync";
744 case HIP_API_ID_hipMemcpyAtoA:
return "hipMemcpyAtoA";
745 case HIP_API_ID_hipMemcpyAtoD:
return "hipMemcpyAtoD";
746 case HIP_API_ID_hipMemcpyAtoH:
return "hipMemcpyAtoH";
747 case HIP_API_ID_hipMemcpyAtoHAsync:
return "hipMemcpyAtoHAsync";
748 case HIP_API_ID_hipMemcpyDtoA:
return "hipMemcpyDtoA";
749 case HIP_API_ID_hipMemcpyDtoD:
return "hipMemcpyDtoD";
750 case HIP_API_ID_hipMemcpyDtoDAsync:
return "hipMemcpyDtoDAsync";
751 case HIP_API_ID_hipMemcpyDtoH:
return "hipMemcpyDtoH";
752 case HIP_API_ID_hipMemcpyDtoHAsync:
return "hipMemcpyDtoHAsync";
753 case HIP_API_ID_hipMemcpyFromArray:
return "hipMemcpyFromArray";
754 case HIP_API_ID_hipMemcpyFromSymbol:
return "hipMemcpyFromSymbol";
755 case HIP_API_ID_hipMemcpyFromSymbolAsync:
return "hipMemcpyFromSymbolAsync";
756 case HIP_API_ID_hipMemcpyHtoA:
return "hipMemcpyHtoA";
757 case HIP_API_ID_hipMemcpyHtoAAsync:
return "hipMemcpyHtoAAsync";
758 case HIP_API_ID_hipMemcpyHtoD:
return "hipMemcpyHtoD";
759 case HIP_API_ID_hipMemcpyHtoDAsync:
return "hipMemcpyHtoDAsync";
760 case HIP_API_ID_hipMemcpyParam2D:
return "hipMemcpyParam2D";
761 case HIP_API_ID_hipMemcpyParam2DAsync:
return "hipMemcpyParam2DAsync";
762 case HIP_API_ID_hipMemcpyPeer:
return "hipMemcpyPeer";
763 case HIP_API_ID_hipMemcpyPeerAsync:
return "hipMemcpyPeerAsync";
764 case HIP_API_ID_hipMemcpyToArray:
return "hipMemcpyToArray";
765 case HIP_API_ID_hipMemcpyToSymbol:
return "hipMemcpyToSymbol";
766 case HIP_API_ID_hipMemcpyToSymbolAsync:
return "hipMemcpyToSymbolAsync";
767 case HIP_API_ID_hipMemcpyWithStream:
return "hipMemcpyWithStream";
768 case HIP_API_ID_hipMemset:
return "hipMemset";
769 case HIP_API_ID_hipMemset2D:
return "hipMemset2D";
770 case HIP_API_ID_hipMemset2DAsync:
return "hipMemset2DAsync";
771 case HIP_API_ID_hipMemset3D:
return "hipMemset3D";
772 case HIP_API_ID_hipMemset3DAsync:
return "hipMemset3DAsync";
773 case HIP_API_ID_hipMemsetAsync:
return "hipMemsetAsync";
774 case HIP_API_ID_hipMemsetD16:
return "hipMemsetD16";
775 case HIP_API_ID_hipMemsetD16Async:
return "hipMemsetD16Async";
776 case HIP_API_ID_hipMemsetD32:
return "hipMemsetD32";
777 case HIP_API_ID_hipMemsetD32Async:
return "hipMemsetD32Async";
778 case HIP_API_ID_hipMemsetD8:
return "hipMemsetD8";
779 case HIP_API_ID_hipMemsetD8Async:
return "hipMemsetD8Async";
780 case HIP_API_ID_hipMipmappedArrayCreate:
return "hipMipmappedArrayCreate";
781 case HIP_API_ID_hipMipmappedArrayDestroy:
return "hipMipmappedArrayDestroy";
782 case HIP_API_ID_hipMipmappedArrayGetLevel:
return "hipMipmappedArrayGetLevel";
783 case HIP_API_ID_hipModuleGetFunction:
return "hipModuleGetFunction";
784 case HIP_API_ID_hipModuleGetGlobal:
return "hipModuleGetGlobal";
785 case HIP_API_ID_hipModuleGetTexRef:
return "hipModuleGetTexRef";
786 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
return "hipModuleLaunchCooperativeKernel";
787 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
return "hipModuleLaunchCooperativeKernelMultiDevice";
788 case HIP_API_ID_hipModuleLaunchKernel:
return "hipModuleLaunchKernel";
789 case HIP_API_ID_hipModuleLoad:
return "hipModuleLoad";
790 case HIP_API_ID_hipModuleLoadData:
return "hipModuleLoadData";
791 case HIP_API_ID_hipModuleLoadDataEx:
return "hipModuleLoadDataEx";
792 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
793 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
794 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
return "hipModuleOccupancyMaxPotentialBlockSize";
795 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
796 case HIP_API_ID_hipModuleUnload:
return "hipModuleUnload";
797 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
798 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
799 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
return "hipOccupancyMaxPotentialBlockSize";
800 case HIP_API_ID_hipPeekAtLastError:
return "hipPeekAtLastError";
801 case HIP_API_ID_hipPointerGetAttribute:
return "hipPointerGetAttribute";
802 case HIP_API_ID_hipPointerGetAttributes:
return "hipPointerGetAttributes";
803 case HIP_API_ID_hipPointerSetAttribute:
return "hipPointerSetAttribute";
804 case HIP_API_ID_hipProfilerStart:
return "hipProfilerStart";
805 case HIP_API_ID_hipProfilerStop:
return "hipProfilerStop";
806 case HIP_API_ID_hipRuntimeGetVersion:
return "hipRuntimeGetVersion";
807 case HIP_API_ID_hipSetDevice:
return "hipSetDevice";
808 case HIP_API_ID_hipSetDeviceFlags:
return "hipSetDeviceFlags";
809 case HIP_API_ID_hipSetValidDevices:
return "hipSetValidDevices";
810 case HIP_API_ID_hipSetupArgument:
return "hipSetupArgument";
811 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
return "hipSignalExternalSemaphoresAsync";
812 case HIP_API_ID_hipStreamAddCallback:
return "hipStreamAddCallback";
813 case HIP_API_ID_hipStreamAttachMemAsync:
return "hipStreamAttachMemAsync";
814 case HIP_API_ID_hipStreamBeginCapture:
return "hipStreamBeginCapture";
815 case HIP_API_ID_hipStreamBeginCaptureToGraph:
return "hipStreamBeginCaptureToGraph";
816 case HIP_API_ID_hipStreamCreate:
return "hipStreamCreate";
817 case HIP_API_ID_hipStreamCreateWithFlags:
return "hipStreamCreateWithFlags";
818 case HIP_API_ID_hipStreamCreateWithPriority:
return "hipStreamCreateWithPriority";
819 case HIP_API_ID_hipStreamDestroy:
return "hipStreamDestroy";
820 case HIP_API_ID_hipStreamEndCapture:
return "hipStreamEndCapture";
821 case HIP_API_ID_hipStreamGetCaptureInfo:
return "hipStreamGetCaptureInfo";
822 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
return "hipStreamGetCaptureInfo_v2";
823 case HIP_API_ID_hipStreamGetDevice:
return "hipStreamGetDevice";
824 case HIP_API_ID_hipStreamGetFlags:
return "hipStreamGetFlags";
825 case HIP_API_ID_hipStreamGetPriority:
return "hipStreamGetPriority";
826 case HIP_API_ID_hipStreamIsCapturing:
return "hipStreamIsCapturing";
827 case HIP_API_ID_hipStreamQuery:
return "hipStreamQuery";
828 case HIP_API_ID_hipStreamSynchronize:
return "hipStreamSynchronize";
829 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
return "hipStreamUpdateCaptureDependencies";
830 case HIP_API_ID_hipStreamWaitEvent:
return "hipStreamWaitEvent";
831 case HIP_API_ID_hipStreamWaitValue32:
return "hipStreamWaitValue32";
832 case HIP_API_ID_hipStreamWaitValue64:
return "hipStreamWaitValue64";
833 case HIP_API_ID_hipStreamWriteValue32:
return "hipStreamWriteValue32";
834 case HIP_API_ID_hipStreamWriteValue64:
return "hipStreamWriteValue64";
835 case HIP_API_ID_hipTexRefGetAddress:
return "hipTexRefGetAddress";
836 case HIP_API_ID_hipTexRefGetArray:
return "hipTexRefGetArray";
837 case HIP_API_ID_hipTexRefGetBorderColor:
return "hipTexRefGetBorderColor";
838 case HIP_API_ID_hipTexRefGetFlags:
return "hipTexRefGetFlags";
839 case HIP_API_ID_hipTexRefGetFormat:
return "hipTexRefGetFormat";
840 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
return "hipTexRefGetMaxAnisotropy";
841 case HIP_API_ID_hipTexRefGetMipMappedArray:
return "hipTexRefGetMipMappedArray";
842 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
return "hipTexRefGetMipmapLevelBias";
843 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
return "hipTexRefGetMipmapLevelClamp";
844 case HIP_API_ID_hipTexRefSetAddress:
return "hipTexRefSetAddress";
845 case HIP_API_ID_hipTexRefSetAddress2D:
return "hipTexRefSetAddress2D";
846 case HIP_API_ID_hipTexRefSetArray:
return "hipTexRefSetArray";
847 case HIP_API_ID_hipTexRefSetBorderColor:
return "hipTexRefSetBorderColor";
848 case HIP_API_ID_hipTexRefSetFlags:
return "hipTexRefSetFlags";
849 case HIP_API_ID_hipTexRefSetFormat:
return "hipTexRefSetFormat";
850 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
return "hipTexRefSetMaxAnisotropy";
851 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
return "hipTexRefSetMipmapLevelBias";
852 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
return "hipTexRefSetMipmapLevelClamp";
853 case HIP_API_ID_hipTexRefSetMipmappedArray:
return "hipTexRefSetMipmappedArray";
854 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
return "hipThreadExchangeStreamCaptureMode";
855 case HIP_API_ID_hipUserObjectCreate:
return "hipUserObjectCreate";
856 case HIP_API_ID_hipUserObjectRelease:
return "hipUserObjectRelease";
857 case HIP_API_ID_hipUserObjectRetain:
return "hipUserObjectRetain";
858 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
return "hipWaitExternalSemaphoresAsync";
865static inline uint32_t hipApiIdByName(
const char* name) {
866 if (strcmp(
"__hipPopCallConfiguration", name) == 0)
return HIP_API_ID___hipPopCallConfiguration;
867 if (strcmp(
"__hipPushCallConfiguration", name) == 0)
return HIP_API_ID___hipPushCallConfiguration;
868 if (strcmp(
"hipArray3DCreate", name) == 0)
return HIP_API_ID_hipArray3DCreate;
869 if (strcmp(
"hipArray3DGetDescriptor", name) == 0)
return HIP_API_ID_hipArray3DGetDescriptor;
870 if (strcmp(
"hipArrayCreate", name) == 0)
return HIP_API_ID_hipArrayCreate;
871 if (strcmp(
"hipArrayDestroy", name) == 0)
return HIP_API_ID_hipArrayDestroy;
872 if (strcmp(
"hipArrayGetDescriptor", name) == 0)
return HIP_API_ID_hipArrayGetDescriptor;
873 if (strcmp(
"hipArrayGetInfo", name) == 0)
return HIP_API_ID_hipArrayGetInfo;
874 if (strcmp(
"hipChooseDeviceR0000", name) == 0)
return HIP_API_ID_hipChooseDeviceR0000;
875 if (strcmp(
"hipChooseDeviceR0600", name) == 0)
return HIP_API_ID_hipChooseDeviceR0600;
876 if (strcmp(
"hipConfigureCall", name) == 0)
return HIP_API_ID_hipConfigureCall;
877 if (strcmp(
"hipCreateSurfaceObject", name) == 0)
return HIP_API_ID_hipCreateSurfaceObject;
878 if (strcmp(
"hipCtxCreate", name) == 0)
return HIP_API_ID_hipCtxCreate;
879 if (strcmp(
"hipCtxDestroy", name) == 0)
return HIP_API_ID_hipCtxDestroy;
880 if (strcmp(
"hipCtxDisablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxDisablePeerAccess;
881 if (strcmp(
"hipCtxEnablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxEnablePeerAccess;
882 if (strcmp(
"hipCtxGetApiVersion", name) == 0)
return HIP_API_ID_hipCtxGetApiVersion;
883 if (strcmp(
"hipCtxGetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxGetCacheConfig;
884 if (strcmp(
"hipCtxGetCurrent", name) == 0)
return HIP_API_ID_hipCtxGetCurrent;
885 if (strcmp(
"hipCtxGetDevice", name) == 0)
return HIP_API_ID_hipCtxGetDevice;
886 if (strcmp(
"hipCtxGetFlags", name) == 0)
return HIP_API_ID_hipCtxGetFlags;
887 if (strcmp(
"hipCtxGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxGetSharedMemConfig;
888 if (strcmp(
"hipCtxPopCurrent", name) == 0)
return HIP_API_ID_hipCtxPopCurrent;
889 if (strcmp(
"hipCtxPushCurrent", name) == 0)
return HIP_API_ID_hipCtxPushCurrent;
890 if (strcmp(
"hipCtxSetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxSetCacheConfig;
891 if (strcmp(
"hipCtxSetCurrent", name) == 0)
return HIP_API_ID_hipCtxSetCurrent;
892 if (strcmp(
"hipCtxSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxSetSharedMemConfig;
893 if (strcmp(
"hipCtxSynchronize", name) == 0)
return HIP_API_ID_hipCtxSynchronize;
894 if (strcmp(
"hipDestroyExternalMemory", name) == 0)
return HIP_API_ID_hipDestroyExternalMemory;
895 if (strcmp(
"hipDestroyExternalSemaphore", name) == 0)
return HIP_API_ID_hipDestroyExternalSemaphore;
896 if (strcmp(
"hipDestroySurfaceObject", name) == 0)
return HIP_API_ID_hipDestroySurfaceObject;
897 if (strcmp(
"hipDeviceCanAccessPeer", name) == 0)
return HIP_API_ID_hipDeviceCanAccessPeer;
898 if (strcmp(
"hipDeviceComputeCapability", name) == 0)
return HIP_API_ID_hipDeviceComputeCapability;
899 if (strcmp(
"hipDeviceDisablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceDisablePeerAccess;
900 if (strcmp(
"hipDeviceEnablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceEnablePeerAccess;
901 if (strcmp(
"hipDeviceGet", name) == 0)
return HIP_API_ID_hipDeviceGet;
902 if (strcmp(
"hipDeviceGetAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetAttribute;
903 if (strcmp(
"hipDeviceGetByPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetByPCIBusId;
904 if (strcmp(
"hipDeviceGetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceGetCacheConfig;
905 if (strcmp(
"hipDeviceGetDefaultMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetDefaultMemPool;
906 if (strcmp(
"hipDeviceGetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetGraphMemAttribute;
907 if (strcmp(
"hipDeviceGetLimit", name) == 0)
return HIP_API_ID_hipDeviceGetLimit;
908 if (strcmp(
"hipDeviceGetMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetMemPool;
909 if (strcmp(
"hipDeviceGetName", name) == 0)
return HIP_API_ID_hipDeviceGetName;
910 if (strcmp(
"hipDeviceGetP2PAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetP2PAttribute;
911 if (strcmp(
"hipDeviceGetPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetPCIBusId;
912 if (strcmp(
"hipDeviceGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceGetSharedMemConfig;
913 if (strcmp(
"hipDeviceGetStreamPriorityRange", name) == 0)
return HIP_API_ID_hipDeviceGetStreamPriorityRange;
914 if (strcmp(
"hipDeviceGetUuid", name) == 0)
return HIP_API_ID_hipDeviceGetUuid;
915 if (strcmp(
"hipDeviceGraphMemTrim", name) == 0)
return HIP_API_ID_hipDeviceGraphMemTrim;
916 if (strcmp(
"hipDevicePrimaryCtxGetState", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxGetState;
917 if (strcmp(
"hipDevicePrimaryCtxRelease", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRelease;
918 if (strcmp(
"hipDevicePrimaryCtxReset", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxReset;
919 if (strcmp(
"hipDevicePrimaryCtxRetain", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRetain;
920 if (strcmp(
"hipDevicePrimaryCtxSetFlags", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
921 if (strcmp(
"hipDeviceReset", name) == 0)
return HIP_API_ID_hipDeviceReset;
922 if (strcmp(
"hipDeviceSetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceSetCacheConfig;
923 if (strcmp(
"hipDeviceSetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceSetGraphMemAttribute;
924 if (strcmp(
"hipDeviceSetLimit", name) == 0)
return HIP_API_ID_hipDeviceSetLimit;
925 if (strcmp(
"hipDeviceSetMemPool", name) == 0)
return HIP_API_ID_hipDeviceSetMemPool;
926 if (strcmp(
"hipDeviceSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceSetSharedMemConfig;
927 if (strcmp(
"hipDeviceSynchronize", name) == 0)
return HIP_API_ID_hipDeviceSynchronize;
928 if (strcmp(
"hipDeviceTotalMem", name) == 0)
return HIP_API_ID_hipDeviceTotalMem;
929 if (strcmp(
"hipDriverGetVersion", name) == 0)
return HIP_API_ID_hipDriverGetVersion;
930 if (strcmp(
"hipDrvGraphAddMemFreeNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemFreeNode;
931 if (strcmp(
"hipDrvGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemcpyNode;
932 if (strcmp(
"hipDrvGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemsetNode;
933 if (strcmp(
"hipDrvGraphExecMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams;
934 if (strcmp(
"hipDrvGraphExecMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams;
935 if (strcmp(
"hipDrvGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
936 if (strcmp(
"hipDrvGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
937 if (strcmp(
"hipDrvMemcpy2DUnaligned", name) == 0)
return HIP_API_ID_hipDrvMemcpy2DUnaligned;
938 if (strcmp(
"hipDrvMemcpy3D", name) == 0)
return HIP_API_ID_hipDrvMemcpy3D;
939 if (strcmp(
"hipDrvMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipDrvMemcpy3DAsync;
940 if (strcmp(
"hipDrvPointerGetAttributes", name) == 0)
return HIP_API_ID_hipDrvPointerGetAttributes;
941 if (strcmp(
"hipEventCreate", name) == 0)
return HIP_API_ID_hipEventCreate;
942 if (strcmp(
"hipEventCreateWithFlags", name) == 0)
return HIP_API_ID_hipEventCreateWithFlags;
943 if (strcmp(
"hipEventDestroy", name) == 0)
return HIP_API_ID_hipEventDestroy;
944 if (strcmp(
"hipEventElapsedTime", name) == 0)
return HIP_API_ID_hipEventElapsedTime;
945 if (strcmp(
"hipEventQuery", name) == 0)
return HIP_API_ID_hipEventQuery;
946 if (strcmp(
"hipEventRecord", name) == 0)
return HIP_API_ID_hipEventRecord;
947 if (strcmp(
"hipEventSynchronize", name) == 0)
return HIP_API_ID_hipEventSynchronize;
948 if (strcmp(
"hipExtGetLastError", name) == 0)
return HIP_API_ID_hipExtGetLastError;
949 if (strcmp(
"hipExtGetLinkTypeAndHopCount", name) == 0)
return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
950 if (strcmp(
"hipExtLaunchKernel", name) == 0)
return HIP_API_ID_hipExtLaunchKernel;
951 if (strcmp(
"hipExtLaunchMultiKernelMultiDevice", name) == 0)
return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
952 if (strcmp(
"hipExtMallocWithFlags", name) == 0)
return HIP_API_ID_hipExtMallocWithFlags;
953 if (strcmp(
"hipExtModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipExtModuleLaunchKernel;
954 if (strcmp(
"hipExtStreamCreateWithCUMask", name) == 0)
return HIP_API_ID_hipExtStreamCreateWithCUMask;
955 if (strcmp(
"hipExtStreamGetCUMask", name) == 0)
return HIP_API_ID_hipExtStreamGetCUMask;
956 if (strcmp(
"hipExternalMemoryGetMappedBuffer", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
957 if (strcmp(
"hipExternalMemoryGetMappedMipmappedArray", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
958 if (strcmp(
"hipFree", name) == 0)
return HIP_API_ID_hipFree;
959 if (strcmp(
"hipFreeArray", name) == 0)
return HIP_API_ID_hipFreeArray;
960 if (strcmp(
"hipFreeAsync", name) == 0)
return HIP_API_ID_hipFreeAsync;
961 if (strcmp(
"hipFreeHost", name) == 0)
return HIP_API_ID_hipFreeHost;
962 if (strcmp(
"hipFreeMipmappedArray", name) == 0)
return HIP_API_ID_hipFreeMipmappedArray;
963 if (strcmp(
"hipFuncGetAttribute", name) == 0)
return HIP_API_ID_hipFuncGetAttribute;
964 if (strcmp(
"hipFuncGetAttributes", name) == 0)
return HIP_API_ID_hipFuncGetAttributes;
965 if (strcmp(
"hipFuncSetAttribute", name) == 0)
return HIP_API_ID_hipFuncSetAttribute;
966 if (strcmp(
"hipFuncSetCacheConfig", name) == 0)
return HIP_API_ID_hipFuncSetCacheConfig;
967 if (strcmp(
"hipFuncSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipFuncSetSharedMemConfig;
968 if (strcmp(
"hipGLGetDevices", name) == 0)
return HIP_API_ID_hipGLGetDevices;
969 if (strcmp(
"hipGetChannelDesc", name) == 0)
return HIP_API_ID_hipGetChannelDesc;
970 if (strcmp(
"hipGetDevice", name) == 0)
return HIP_API_ID_hipGetDevice;
971 if (strcmp(
"hipGetDeviceCount", name) == 0)
return HIP_API_ID_hipGetDeviceCount;
972 if (strcmp(
"hipGetDeviceFlags", name) == 0)
return HIP_API_ID_hipGetDeviceFlags;
973 if (strcmp(
"hipGetDevicePropertiesR0000", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0000;
974 if (strcmp(
"hipGetDevicePropertiesR0600", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0600;
975 if (strcmp(
"hipGetErrorString", name) == 0)
return HIP_API_ID_hipGetErrorString;
976 if (strcmp(
"hipGetFuncBySymbol", name) == 0)
return HIP_API_ID_hipGetFuncBySymbol;
977 if (strcmp(
"hipGetLastError", name) == 0)
return HIP_API_ID_hipGetLastError;
978 if (strcmp(
"hipGetMipmappedArrayLevel", name) == 0)
return HIP_API_ID_hipGetMipmappedArrayLevel;
979 if (strcmp(
"hipGetProcAddress", name) == 0)
return HIP_API_ID_hipGetProcAddress;
980 if (strcmp(
"hipGetSymbolAddress", name) == 0)
return HIP_API_ID_hipGetSymbolAddress;
981 if (strcmp(
"hipGetSymbolSize", name) == 0)
return HIP_API_ID_hipGetSymbolSize;
982 if (strcmp(
"hipGraphAddChildGraphNode", name) == 0)
return HIP_API_ID_hipGraphAddChildGraphNode;
983 if (strcmp(
"hipGraphAddDependencies", name) == 0)
return HIP_API_ID_hipGraphAddDependencies;
984 if (strcmp(
"hipGraphAddEmptyNode", name) == 0)
return HIP_API_ID_hipGraphAddEmptyNode;
985 if (strcmp(
"hipGraphAddEventRecordNode", name) == 0)
return HIP_API_ID_hipGraphAddEventRecordNode;
986 if (strcmp(
"hipGraphAddEventWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddEventWaitNode;
987 if (strcmp(
"hipGraphAddExternalSemaphoresSignalNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
988 if (strcmp(
"hipGraphAddExternalSemaphoresWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
989 if (strcmp(
"hipGraphAddHostNode", name) == 0)
return HIP_API_ID_hipGraphAddHostNode;
990 if (strcmp(
"hipGraphAddKernelNode", name) == 0)
return HIP_API_ID_hipGraphAddKernelNode;
991 if (strcmp(
"hipGraphAddMemAllocNode", name) == 0)
return HIP_API_ID_hipGraphAddMemAllocNode;
992 if (strcmp(
"hipGraphAddMemFreeNode", name) == 0)
return HIP_API_ID_hipGraphAddMemFreeNode;
993 if (strcmp(
"hipGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode;
994 if (strcmp(
"hipGraphAddMemcpyNode1D", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode1D;
995 if (strcmp(
"hipGraphAddMemcpyNodeFromSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
996 if (strcmp(
"hipGraphAddMemcpyNodeToSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
997 if (strcmp(
"hipGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipGraphAddMemsetNode;
998 if (strcmp(
"hipGraphAddNode", name) == 0)
return HIP_API_ID_hipGraphAddNode;
999 if (strcmp(
"hipGraphChildGraphNodeGetGraph", name) == 0)
return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
1000 if (strcmp(
"hipGraphClone", name) == 0)
return HIP_API_ID_hipGraphClone;
1001 if (strcmp(
"hipGraphCreate", name) == 0)
return HIP_API_ID_hipGraphCreate;
1002 if (strcmp(
"hipGraphDebugDotPrint", name) == 0)
return HIP_API_ID_hipGraphDebugDotPrint;
1003 if (strcmp(
"hipGraphDestroy", name) == 0)
return HIP_API_ID_hipGraphDestroy;
1004 if (strcmp(
"hipGraphDestroyNode", name) == 0)
return HIP_API_ID_hipGraphDestroyNode;
1005 if (strcmp(
"hipGraphEventRecordNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
1006 if (strcmp(
"hipGraphEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
1007 if (strcmp(
"hipGraphEventWaitNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
1008 if (strcmp(
"hipGraphEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
1009 if (strcmp(
"hipGraphExecChildGraphNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
1010 if (strcmp(
"hipGraphExecDestroy", name) == 0)
return HIP_API_ID_hipGraphExecDestroy;
1011 if (strcmp(
"hipGraphExecEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
1012 if (strcmp(
"hipGraphExecEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
1013 if (strcmp(
"hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
1014 if (strcmp(
"hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
1015 if (strcmp(
"hipGraphExecGetFlags", name) == 0)
return HIP_API_ID_hipGraphExecGetFlags;
1016 if (strcmp(
"hipGraphExecHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecHostNodeSetParams;
1017 if (strcmp(
"hipGraphExecKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecKernelNodeSetParams;
1018 if (strcmp(
"hipGraphExecMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
1019 if (strcmp(
"hipGraphExecMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
1020 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
1021 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
1022 if (strcmp(
"hipGraphExecMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
1023 if (strcmp(
"hipGraphExecNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecNodeSetParams;
1024 if (strcmp(
"hipGraphExecUpdate", name) == 0)
return HIP_API_ID_hipGraphExecUpdate;
1025 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
1026 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
1027 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
1028 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
1029 if (strcmp(
"hipGraphGetEdges", name) == 0)
return HIP_API_ID_hipGraphGetEdges;
1030 if (strcmp(
"hipGraphGetNodes", name) == 0)
return HIP_API_ID_hipGraphGetNodes;
1031 if (strcmp(
"hipGraphGetRootNodes", name) == 0)
return HIP_API_ID_hipGraphGetRootNodes;
1032 if (strcmp(
"hipGraphHostNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeGetParams;
1033 if (strcmp(
"hipGraphHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeSetParams;
1034 if (strcmp(
"hipGraphInstantiate", name) == 0)
return HIP_API_ID_hipGraphInstantiate;
1035 if (strcmp(
"hipGraphInstantiateWithFlags", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithFlags;
1036 if (strcmp(
"hipGraphInstantiateWithParams", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithParams;
1037 if (strcmp(
"hipGraphKernelNodeCopyAttributes", name) == 0)
return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
1038 if (strcmp(
"hipGraphKernelNodeGetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetAttribute;
1039 if (strcmp(
"hipGraphKernelNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetParams;
1040 if (strcmp(
"hipGraphKernelNodeSetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetAttribute;
1041 if (strcmp(
"hipGraphKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetParams;
1042 if (strcmp(
"hipGraphLaunch", name) == 0)
return HIP_API_ID_hipGraphLaunch;
1043 if (strcmp(
"hipGraphMemAllocNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemAllocNodeGetParams;
1044 if (strcmp(
"hipGraphMemFreeNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemFreeNodeGetParams;
1045 if (strcmp(
"hipGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeGetParams;
1046 if (strcmp(
"hipGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams;
1047 if (strcmp(
"hipGraphMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
1048 if (strcmp(
"hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1049 if (strcmp(
"hipGraphMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1050 if (strcmp(
"hipGraphMemsetNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeGetParams;
1051 if (strcmp(
"hipGraphMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeSetParams;
1052 if (strcmp(
"hipGraphNodeFindInClone", name) == 0)
return HIP_API_ID_hipGraphNodeFindInClone;
1053 if (strcmp(
"hipGraphNodeGetDependencies", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependencies;
1054 if (strcmp(
"hipGraphNodeGetDependentNodes", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependentNodes;
1055 if (strcmp(
"hipGraphNodeGetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeGetEnabled;
1056 if (strcmp(
"hipGraphNodeGetType", name) == 0)
return HIP_API_ID_hipGraphNodeGetType;
1057 if (strcmp(
"hipGraphNodeSetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeSetEnabled;
1058 if (strcmp(
"hipGraphNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphNodeSetParams;
1059 if (strcmp(
"hipGraphReleaseUserObject", name) == 0)
return HIP_API_ID_hipGraphReleaseUserObject;
1060 if (strcmp(
"hipGraphRemoveDependencies", name) == 0)
return HIP_API_ID_hipGraphRemoveDependencies;
1061 if (strcmp(
"hipGraphRetainUserObject", name) == 0)
return HIP_API_ID_hipGraphRetainUserObject;
1062 if (strcmp(
"hipGraphUpload", name) == 0)
return HIP_API_ID_hipGraphUpload;
1063 if (strcmp(
"hipGraphicsGLRegisterBuffer", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1064 if (strcmp(
"hipGraphicsGLRegisterImage", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterImage;
1065 if (strcmp(
"hipGraphicsMapResources", name) == 0)
return HIP_API_ID_hipGraphicsMapResources;
1066 if (strcmp(
"hipGraphicsResourceGetMappedPointer", name) == 0)
return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1067 if (strcmp(
"hipGraphicsSubResourceGetMappedArray", name) == 0)
return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1068 if (strcmp(
"hipGraphicsUnmapResources", name) == 0)
return HIP_API_ID_hipGraphicsUnmapResources;
1069 if (strcmp(
"hipGraphicsUnregisterResource", name) == 0)
return HIP_API_ID_hipGraphicsUnregisterResource;
1070 if (strcmp(
"hipHccModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipHccModuleLaunchKernel;
1071 if (strcmp(
"hipHostAlloc", name) == 0)
return HIP_API_ID_hipHostAlloc;
1072 if (strcmp(
"hipHostFree", name) == 0)
return HIP_API_ID_hipHostFree;
1073 if (strcmp(
"hipHostGetDevicePointer", name) == 0)
return HIP_API_ID_hipHostGetDevicePointer;
1074 if (strcmp(
"hipHostGetFlags", name) == 0)
return HIP_API_ID_hipHostGetFlags;
1075 if (strcmp(
"hipHostMalloc", name) == 0)
return HIP_API_ID_hipHostMalloc;
1076 if (strcmp(
"hipHostRegister", name) == 0)
return HIP_API_ID_hipHostRegister;
1077 if (strcmp(
"hipHostUnregister", name) == 0)
return HIP_API_ID_hipHostUnregister;
1078 if (strcmp(
"hipImportExternalMemory", name) == 0)
return HIP_API_ID_hipImportExternalMemory;
1079 if (strcmp(
"hipImportExternalSemaphore", name) == 0)
return HIP_API_ID_hipImportExternalSemaphore;
1080 if (strcmp(
"hipInit", name) == 0)
return HIP_API_ID_hipInit;
1081 if (strcmp(
"hipIpcCloseMemHandle", name) == 0)
return HIP_API_ID_hipIpcCloseMemHandle;
1082 if (strcmp(
"hipIpcGetEventHandle", name) == 0)
return HIP_API_ID_hipIpcGetEventHandle;
1083 if (strcmp(
"hipIpcGetMemHandle", name) == 0)
return HIP_API_ID_hipIpcGetMemHandle;
1084 if (strcmp(
"hipIpcOpenEventHandle", name) == 0)
return HIP_API_ID_hipIpcOpenEventHandle;
1085 if (strcmp(
"hipIpcOpenMemHandle", name) == 0)
return HIP_API_ID_hipIpcOpenMemHandle;
1086 if (strcmp(
"hipLaunchByPtr", name) == 0)
return HIP_API_ID_hipLaunchByPtr;
1087 if (strcmp(
"hipLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernel;
1088 if (strcmp(
"hipLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1089 if (strcmp(
"hipLaunchHostFunc", name) == 0)
return HIP_API_ID_hipLaunchHostFunc;
1090 if (strcmp(
"hipLaunchKernel", name) == 0)
return HIP_API_ID_hipLaunchKernel;
1091 if (strcmp(
"hipMalloc", name) == 0)
return HIP_API_ID_hipMalloc;
1092 if (strcmp(
"hipMalloc3D", name) == 0)
return HIP_API_ID_hipMalloc3D;
1093 if (strcmp(
"hipMalloc3DArray", name) == 0)
return HIP_API_ID_hipMalloc3DArray;
1094 if (strcmp(
"hipMallocArray", name) == 0)
return HIP_API_ID_hipMallocArray;
1095 if (strcmp(
"hipMallocAsync", name) == 0)
return HIP_API_ID_hipMallocAsync;
1096 if (strcmp(
"hipMallocFromPoolAsync", name) == 0)
return HIP_API_ID_hipMallocFromPoolAsync;
1097 if (strcmp(
"hipMallocHost", name) == 0)
return HIP_API_ID_hipMallocHost;
1098 if (strcmp(
"hipMallocManaged", name) == 0)
return HIP_API_ID_hipMallocManaged;
1099 if (strcmp(
"hipMallocMipmappedArray", name) == 0)
return HIP_API_ID_hipMallocMipmappedArray;
1100 if (strcmp(
"hipMallocPitch", name) == 0)
return HIP_API_ID_hipMallocPitch;
1101 if (strcmp(
"hipMemAddressFree", name) == 0)
return HIP_API_ID_hipMemAddressFree;
1102 if (strcmp(
"hipMemAddressReserve", name) == 0)
return HIP_API_ID_hipMemAddressReserve;
1103 if (strcmp(
"hipMemAdvise", name) == 0)
return HIP_API_ID_hipMemAdvise;
1104 if (strcmp(
"hipMemAllocHost", name) == 0)
return HIP_API_ID_hipMemAllocHost;
1105 if (strcmp(
"hipMemAllocPitch", name) == 0)
return HIP_API_ID_hipMemAllocPitch;
1106 if (strcmp(
"hipMemCreate", name) == 0)
return HIP_API_ID_hipMemCreate;
1107 if (strcmp(
"hipMemExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemExportToShareableHandle;
1108 if (strcmp(
"hipMemGetAccess", name) == 0)
return HIP_API_ID_hipMemGetAccess;
1109 if (strcmp(
"hipMemGetAddressRange", name) == 0)
return HIP_API_ID_hipMemGetAddressRange;
1110 if (strcmp(
"hipMemGetAllocationGranularity", name) == 0)
return HIP_API_ID_hipMemGetAllocationGranularity;
1111 if (strcmp(
"hipMemGetAllocationPropertiesFromHandle", name) == 0)
return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1112 if (strcmp(
"hipMemGetInfo", name) == 0)
return HIP_API_ID_hipMemGetInfo;
1113 if (strcmp(
"hipMemImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemImportFromShareableHandle;
1114 if (strcmp(
"hipMemMap", name) == 0)
return HIP_API_ID_hipMemMap;
1115 if (strcmp(
"hipMemMapArrayAsync", name) == 0)
return HIP_API_ID_hipMemMapArrayAsync;
1116 if (strcmp(
"hipMemPoolCreate", name) == 0)
return HIP_API_ID_hipMemPoolCreate;
1117 if (strcmp(
"hipMemPoolDestroy", name) == 0)
return HIP_API_ID_hipMemPoolDestroy;
1118 if (strcmp(
"hipMemPoolExportPointer", name) == 0)
return HIP_API_ID_hipMemPoolExportPointer;
1119 if (strcmp(
"hipMemPoolExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolExportToShareableHandle;
1120 if (strcmp(
"hipMemPoolGetAccess", name) == 0)
return HIP_API_ID_hipMemPoolGetAccess;
1121 if (strcmp(
"hipMemPoolGetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolGetAttribute;
1122 if (strcmp(
"hipMemPoolImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1123 if (strcmp(
"hipMemPoolImportPointer", name) == 0)
return HIP_API_ID_hipMemPoolImportPointer;
1124 if (strcmp(
"hipMemPoolSetAccess", name) == 0)
return HIP_API_ID_hipMemPoolSetAccess;
1125 if (strcmp(
"hipMemPoolSetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolSetAttribute;
1126 if (strcmp(
"hipMemPoolTrimTo", name) == 0)
return HIP_API_ID_hipMemPoolTrimTo;
1127 if (strcmp(
"hipMemPrefetchAsync", name) == 0)
return HIP_API_ID_hipMemPrefetchAsync;
1128 if (strcmp(
"hipMemPtrGetInfo", name) == 0)
return HIP_API_ID_hipMemPtrGetInfo;
1129 if (strcmp(
"hipMemRangeGetAttribute", name) == 0)
return HIP_API_ID_hipMemRangeGetAttribute;
1130 if (strcmp(
"hipMemRangeGetAttributes", name) == 0)
return HIP_API_ID_hipMemRangeGetAttributes;
1131 if (strcmp(
"hipMemRelease", name) == 0)
return HIP_API_ID_hipMemRelease;
1132 if (strcmp(
"hipMemRetainAllocationHandle", name) == 0)
return HIP_API_ID_hipMemRetainAllocationHandle;
1133 if (strcmp(
"hipMemSetAccess", name) == 0)
return HIP_API_ID_hipMemSetAccess;
1134 if (strcmp(
"hipMemUnmap", name) == 0)
return HIP_API_ID_hipMemUnmap;
1135 if (strcmp(
"hipMemcpy", name) == 0)
return HIP_API_ID_hipMemcpy;
1136 if (strcmp(
"hipMemcpy2D", name) == 0)
return HIP_API_ID_hipMemcpy2D;
1137 if (strcmp(
"hipMemcpy2DArrayToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DArrayToArray;
1138 if (strcmp(
"hipMemcpy2DAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DAsync;
1139 if (strcmp(
"hipMemcpy2DFromArray", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArray;
1140 if (strcmp(
"hipMemcpy2DFromArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1141 if (strcmp(
"hipMemcpy2DToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DToArray;
1142 if (strcmp(
"hipMemcpy2DToArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DToArrayAsync;
1143 if (strcmp(
"hipMemcpy3D", name) == 0)
return HIP_API_ID_hipMemcpy3D;
1144 if (strcmp(
"hipMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipMemcpy3DAsync;
1145 if (strcmp(
"hipMemcpyAsync", name) == 0)
return HIP_API_ID_hipMemcpyAsync;
1146 if (strcmp(
"hipMemcpyAtoA", name) == 0)
return HIP_API_ID_hipMemcpyAtoA;
1147 if (strcmp(
"hipMemcpyAtoD", name) == 0)
return HIP_API_ID_hipMemcpyAtoD;
1148 if (strcmp(
"hipMemcpyAtoH", name) == 0)
return HIP_API_ID_hipMemcpyAtoH;
1149 if (strcmp(
"hipMemcpyAtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyAtoHAsync;
1150 if (strcmp(
"hipMemcpyDtoA", name) == 0)
return HIP_API_ID_hipMemcpyDtoA;
1151 if (strcmp(
"hipMemcpyDtoD", name) == 0)
return HIP_API_ID_hipMemcpyDtoD;
1152 if (strcmp(
"hipMemcpyDtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoDAsync;
1153 if (strcmp(
"hipMemcpyDtoH", name) == 0)
return HIP_API_ID_hipMemcpyDtoH;
1154 if (strcmp(
"hipMemcpyDtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoHAsync;
1155 if (strcmp(
"hipMemcpyFromArray", name) == 0)
return HIP_API_ID_hipMemcpyFromArray;
1156 if (strcmp(
"hipMemcpyFromSymbol", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbol;
1157 if (strcmp(
"hipMemcpyFromSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbolAsync;
1158 if (strcmp(
"hipMemcpyHtoA", name) == 0)
return HIP_API_ID_hipMemcpyHtoA;
1159 if (strcmp(
"hipMemcpyHtoAAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoAAsync;
1160 if (strcmp(
"hipMemcpyHtoD", name) == 0)
return HIP_API_ID_hipMemcpyHtoD;
1161 if (strcmp(
"hipMemcpyHtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoDAsync;
1162 if (strcmp(
"hipMemcpyParam2D", name) == 0)
return HIP_API_ID_hipMemcpyParam2D;
1163 if (strcmp(
"hipMemcpyParam2DAsync", name) == 0)
return HIP_API_ID_hipMemcpyParam2DAsync;
1164 if (strcmp(
"hipMemcpyPeer", name) == 0)
return HIP_API_ID_hipMemcpyPeer;
1165 if (strcmp(
"hipMemcpyPeerAsync", name) == 0)
return HIP_API_ID_hipMemcpyPeerAsync;
1166 if (strcmp(
"hipMemcpyToArray", name) == 0)
return HIP_API_ID_hipMemcpyToArray;
1167 if (strcmp(
"hipMemcpyToSymbol", name) == 0)
return HIP_API_ID_hipMemcpyToSymbol;
1168 if (strcmp(
"hipMemcpyToSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyToSymbolAsync;
1169 if (strcmp(
"hipMemcpyWithStream", name) == 0)
return HIP_API_ID_hipMemcpyWithStream;
1170 if (strcmp(
"hipMemset", name) == 0)
return HIP_API_ID_hipMemset;
1171 if (strcmp(
"hipMemset2D", name) == 0)
return HIP_API_ID_hipMemset2D;
1172 if (strcmp(
"hipMemset2DAsync", name) == 0)
return HIP_API_ID_hipMemset2DAsync;
1173 if (strcmp(
"hipMemset3D", name) == 0)
return HIP_API_ID_hipMemset3D;
1174 if (strcmp(
"hipMemset3DAsync", name) == 0)
return HIP_API_ID_hipMemset3DAsync;
1175 if (strcmp(
"hipMemsetAsync", name) == 0)
return HIP_API_ID_hipMemsetAsync;
1176 if (strcmp(
"hipMemsetD16", name) == 0)
return HIP_API_ID_hipMemsetD16;
1177 if (strcmp(
"hipMemsetD16Async", name) == 0)
return HIP_API_ID_hipMemsetD16Async;
1178 if (strcmp(
"hipMemsetD32", name) == 0)
return HIP_API_ID_hipMemsetD32;
1179 if (strcmp(
"hipMemsetD32Async", name) == 0)
return HIP_API_ID_hipMemsetD32Async;
1180 if (strcmp(
"hipMemsetD8", name) == 0)
return HIP_API_ID_hipMemsetD8;
1181 if (strcmp(
"hipMemsetD8Async", name) == 0)
return HIP_API_ID_hipMemsetD8Async;
1182 if (strcmp(
"hipMipmappedArrayCreate", name) == 0)
return HIP_API_ID_hipMipmappedArrayCreate;
1183 if (strcmp(
"hipMipmappedArrayDestroy", name) == 0)
return HIP_API_ID_hipMipmappedArrayDestroy;
1184 if (strcmp(
"hipMipmappedArrayGetLevel", name) == 0)
return HIP_API_ID_hipMipmappedArrayGetLevel;
1185 if (strcmp(
"hipModuleGetFunction", name) == 0)
return HIP_API_ID_hipModuleGetFunction;
1186 if (strcmp(
"hipModuleGetGlobal", name) == 0)
return HIP_API_ID_hipModuleGetGlobal;
1187 if (strcmp(
"hipModuleGetTexRef", name) == 0)
return HIP_API_ID_hipModuleGetTexRef;
1188 if (strcmp(
"hipModuleLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1189 if (strcmp(
"hipModuleLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1190 if (strcmp(
"hipModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchKernel;
1191 if (strcmp(
"hipModuleLoad", name) == 0)
return HIP_API_ID_hipModuleLoad;
1192 if (strcmp(
"hipModuleLoadData", name) == 0)
return HIP_API_ID_hipModuleLoadData;
1193 if (strcmp(
"hipModuleLoadDataEx", name) == 0)
return HIP_API_ID_hipModuleLoadDataEx;
1194 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1195 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1196 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1197 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1198 if (strcmp(
"hipModuleUnload", name) == 0)
return HIP_API_ID_hipModuleUnload;
1199 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1200 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1201 if (strcmp(
"hipOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1202 if (strcmp(
"hipPeekAtLastError", name) == 0)
return HIP_API_ID_hipPeekAtLastError;
1203 if (strcmp(
"hipPointerGetAttribute", name) == 0)
return HIP_API_ID_hipPointerGetAttribute;
1204 if (strcmp(
"hipPointerGetAttributes", name) == 0)
return HIP_API_ID_hipPointerGetAttributes;
1205 if (strcmp(
"hipPointerSetAttribute", name) == 0)
return HIP_API_ID_hipPointerSetAttribute;
1206 if (strcmp(
"hipProfilerStart", name) == 0)
return HIP_API_ID_hipProfilerStart;
1207 if (strcmp(
"hipProfilerStop", name) == 0)
return HIP_API_ID_hipProfilerStop;
1208 if (strcmp(
"hipRuntimeGetVersion", name) == 0)
return HIP_API_ID_hipRuntimeGetVersion;
1209 if (strcmp(
"hipSetDevice", name) == 0)
return HIP_API_ID_hipSetDevice;
1210 if (strcmp(
"hipSetDeviceFlags", name) == 0)
return HIP_API_ID_hipSetDeviceFlags;
1211 if (strcmp(
"hipSetValidDevices", name) == 0)
return HIP_API_ID_hipSetValidDevices;
1212 if (strcmp(
"hipSetupArgument", name) == 0)
return HIP_API_ID_hipSetupArgument;
1213 if (strcmp(
"hipSignalExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1214 if (strcmp(
"hipStreamAddCallback", name) == 0)
return HIP_API_ID_hipStreamAddCallback;
1215 if (strcmp(
"hipStreamAttachMemAsync", name) == 0)
return HIP_API_ID_hipStreamAttachMemAsync;
1216 if (strcmp(
"hipStreamBeginCapture", name) == 0)
return HIP_API_ID_hipStreamBeginCapture;
1217 if (strcmp(
"hipStreamBeginCaptureToGraph", name) == 0)
return HIP_API_ID_hipStreamBeginCaptureToGraph;
1218 if (strcmp(
"hipStreamCreate", name) == 0)
return HIP_API_ID_hipStreamCreate;
1219 if (strcmp(
"hipStreamCreateWithFlags", name) == 0)
return HIP_API_ID_hipStreamCreateWithFlags;
1220 if (strcmp(
"hipStreamCreateWithPriority", name) == 0)
return HIP_API_ID_hipStreamCreateWithPriority;
1221 if (strcmp(
"hipStreamDestroy", name) == 0)
return HIP_API_ID_hipStreamDestroy;
1222 if (strcmp(
"hipStreamEndCapture", name) == 0)
return HIP_API_ID_hipStreamEndCapture;
1223 if (strcmp(
"hipStreamGetCaptureInfo", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo;
1224 if (strcmp(
"hipStreamGetCaptureInfo_v2", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1225 if (strcmp(
"hipStreamGetDevice", name) == 0)
return HIP_API_ID_hipStreamGetDevice;
1226 if (strcmp(
"hipStreamGetFlags", name) == 0)
return HIP_API_ID_hipStreamGetFlags;
1227 if (strcmp(
"hipStreamGetPriority", name) == 0)
return HIP_API_ID_hipStreamGetPriority;
1228 if (strcmp(
"hipStreamIsCapturing", name) == 0)
return HIP_API_ID_hipStreamIsCapturing;
1229 if (strcmp(
"hipStreamQuery", name) == 0)
return HIP_API_ID_hipStreamQuery;
1230 if (strcmp(
"hipStreamSynchronize", name) == 0)
return HIP_API_ID_hipStreamSynchronize;
1231 if (strcmp(
"hipStreamUpdateCaptureDependencies", name) == 0)
return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1232 if (strcmp(
"hipStreamWaitEvent", name) == 0)
return HIP_API_ID_hipStreamWaitEvent;
1233 if (strcmp(
"hipStreamWaitValue32", name) == 0)
return HIP_API_ID_hipStreamWaitValue32;
1234 if (strcmp(
"hipStreamWaitValue64", name) == 0)
return HIP_API_ID_hipStreamWaitValue64;
1235 if (strcmp(
"hipStreamWriteValue32", name) == 0)
return HIP_API_ID_hipStreamWriteValue32;
1236 if (strcmp(
"hipStreamWriteValue64", name) == 0)
return HIP_API_ID_hipStreamWriteValue64;
1237 if (strcmp(
"hipTexRefGetAddress", name) == 0)
return HIP_API_ID_hipTexRefGetAddress;
1238 if (strcmp(
"hipTexRefGetArray", name) == 0)
return HIP_API_ID_hipTexRefGetArray;
1239 if (strcmp(
"hipTexRefGetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefGetBorderColor;
1240 if (strcmp(
"hipTexRefGetFlags", name) == 0)
return HIP_API_ID_hipTexRefGetFlags;
1241 if (strcmp(
"hipTexRefGetFormat", name) == 0)
return HIP_API_ID_hipTexRefGetFormat;
1242 if (strcmp(
"hipTexRefGetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1243 if (strcmp(
"hipTexRefGetMipMappedArray", name) == 0)
return HIP_API_ID_hipTexRefGetMipMappedArray;
1244 if (strcmp(
"hipTexRefGetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1245 if (strcmp(
"hipTexRefGetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1246 if (strcmp(
"hipTexRefSetAddress", name) == 0)
return HIP_API_ID_hipTexRefSetAddress;
1247 if (strcmp(
"hipTexRefSetAddress2D", name) == 0)
return HIP_API_ID_hipTexRefSetAddress2D;
1248 if (strcmp(
"hipTexRefSetArray", name) == 0)
return HIP_API_ID_hipTexRefSetArray;
1249 if (strcmp(
"hipTexRefSetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefSetBorderColor;
1250 if (strcmp(
"hipTexRefSetFlags", name) == 0)
return HIP_API_ID_hipTexRefSetFlags;
1251 if (strcmp(
"hipTexRefSetFormat", name) == 0)
return HIP_API_ID_hipTexRefSetFormat;
1252 if (strcmp(
"hipTexRefSetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1253 if (strcmp(
"hipTexRefSetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1254 if (strcmp(
"hipTexRefSetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1255 if (strcmp(
"hipTexRefSetMipmappedArray", name) == 0)
return HIP_API_ID_hipTexRefSetMipmappedArray;
1256 if (strcmp(
"hipThreadExchangeStreamCaptureMode", name) == 0)
return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1257 if (strcmp(
"hipUserObjectCreate", name) == 0)
return HIP_API_ID_hipUserObjectCreate;
1258 if (strcmp(
"hipUserObjectRelease", name) == 0)
return HIP_API_ID_hipUserObjectRelease;
1259 if (strcmp(
"hipUserObjectRetain", name) == 0)
return HIP_API_ID_hipUserObjectRetain;
1260 if (strcmp(
"hipWaitExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1261 return HIP_API_ID_NONE;
1266 uint64_t correlation_id;
1275 size_t sharedMem__val;
1276 hipStream_t* stream;
1277 hipStream_t stream__val;
1278 } __hipPopCallConfiguration;
1284 } __hipPushCallConfiguration;
1287 hipArray_t array__val;
1288 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1289 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1292 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1293 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1295 } hipArray3DGetDescriptor;
1297 hipArray_t* pHandle;
1298 hipArray_t pHandle__val;
1299 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1300 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1306 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1307 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1309 } hipArrayGetDescriptor;
1311 hipChannelFormatDesc* desc;
1312 hipChannelFormatDesc desc__val;
1314 hipExtent extent__val;
1315 unsigned int* flags;
1316 unsigned int flags__val;
1322 const hipDeviceProp_tR0000* prop;
1323 hipDeviceProp_tR0000 prop__val;
1324 } hipChooseDeviceR0000;
1328 const hipDeviceProp_tR0600* prop;
1329 hipDeviceProp_tR0600 prop__val;
1330 } hipChooseDeviceR0600;
1338 hipSurfaceObject_t* pSurfObject;
1339 hipSurfaceObject_t pSurfObject__val;
1340 const hipResourceDesc* pResDesc;
1341 hipResourceDesc pResDesc__val;
1342 } hipCreateSurfaceObject;
1354 } hipCtxDisablePeerAccess;
1358 } hipCtxEnablePeerAccess;
1362 int apiVersion__val;
1363 } hipCtxGetApiVersion;
1365 hipFuncCache_t* cacheConfig;
1366 hipFuncCache_t cacheConfig__val;
1367 } hipCtxGetCacheConfig;
1373 hipDevice_t* device;
1374 hipDevice_t device__val;
1377 unsigned int* flags;
1378 unsigned int flags__val;
1381 hipSharedMemConfig* pConfig;
1382 hipSharedMemConfig pConfig__val;
1383 } hipCtxGetSharedMemConfig;
1390 } hipCtxPushCurrent;
1392 hipFuncCache_t cacheConfig;
1393 } hipCtxSetCacheConfig;
1398 hipSharedMemConfig config;
1399 } hipCtxSetSharedMemConfig;
1401 hipExternalMemory_t extMem;
1402 } hipDestroyExternalMemory;
1404 hipExternalSemaphore_t extSem;
1405 } hipDestroyExternalSemaphore;
1407 hipSurfaceObject_t surfaceObject;
1408 } hipDestroySurfaceObject;
1411 int canAccessPeer__val;
1414 } hipDeviceCanAccessPeer;
1421 } hipDeviceComputeCapability;
1424 } hipDeviceDisablePeerAccess;
1428 } hipDeviceEnablePeerAccess;
1430 hipDevice_t* device;
1431 hipDevice_t device__val;
1437 hipDeviceAttribute_t attr;
1439 } hipDeviceGetAttribute;
1443 const char* pciBusId;
1445 } hipDeviceGetByPCIBusId;
1447 hipFuncCache_t* cacheConfig;
1448 hipFuncCache_t cacheConfig__val;
1449 } hipDeviceGetCacheConfig;
1451 hipMemPool_t* mem_pool;
1452 hipMemPool_t mem_pool__val;
1454 } hipDeviceGetDefaultMemPool;
1457 hipGraphMemAttributeType attr;
1459 } hipDeviceGetGraphMemAttribute;
1463 enum hipLimit_t limit;
1464 } hipDeviceGetLimit;
1466 hipMemPool_t* mem_pool;
1467 hipMemPool_t mem_pool__val;
1469 } hipDeviceGetMemPool;
1479 hipDeviceP2PAttr attr;
1482 } hipDeviceGetP2PAttribute;
1488 } hipDeviceGetPCIBusId;
1490 hipSharedMemConfig* pConfig;
1491 hipSharedMemConfig pConfig__val;
1492 } hipDeviceGetSharedMemConfig;
1495 int leastPriority__val;
1496 int* greatestPriority;
1497 int greatestPriority__val;
1498 } hipDeviceGetStreamPriorityRange;
1506 } hipDeviceGraphMemTrim;
1509 unsigned int* flags;
1510 unsigned int flags__val;
1513 } hipDevicePrimaryCtxGetState;
1516 } hipDevicePrimaryCtxRelease;
1519 } hipDevicePrimaryCtxReset;
1524 } hipDevicePrimaryCtxRetain;
1528 } hipDevicePrimaryCtxSetFlags;
1530 hipFuncCache_t cacheConfig;
1531 } hipDeviceSetCacheConfig;
1534 hipGraphMemAttributeType attr;
1536 } hipDeviceSetGraphMemAttribute;
1538 enum hipLimit_t limit;
1540 } hipDeviceSetLimit;
1543 hipMemPool_t mem_pool;
1544 } hipDeviceSetMemPool;
1546 hipSharedMemConfig config;
1547 } hipDeviceSetSharedMemConfig;
1552 } hipDeviceTotalMem;
1555 int driverVersion__val;
1556 } hipDriverGetVersion;
1558 hipGraphNode_t* phGraphNode;
1559 hipGraphNode_t phGraphNode__val;
1561 const hipGraphNode_t* dependencies;
1562 hipGraphNode_t dependencies__val;
1563 size_t numDependencies;
1564 hipDeviceptr_t dptr;
1565 } hipDrvGraphAddMemFreeNode;
1567 hipGraphNode_t* phGraphNode;
1568 hipGraphNode_t phGraphNode__val;
1570 const hipGraphNode_t* dependencies;
1571 hipGraphNode_t dependencies__val;
1572 size_t numDependencies;
1573 const HIP_MEMCPY3D* copyParams;
1574 HIP_MEMCPY3D copyParams__val;
1576 } hipDrvGraphAddMemcpyNode;
1578 hipGraphNode_t* phGraphNode;
1579 hipGraphNode_t phGraphNode__val;
1581 const hipGraphNode_t* dependencies;
1582 hipGraphNode_t dependencies__val;
1583 size_t numDependencies;
1584 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1585 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1587 } hipDrvGraphAddMemsetNode;
1589 hipGraphExec_t hGraphExec;
1590 hipGraphNode_t hNode;
1591 const HIP_MEMCPY3D* copyParams;
1592 HIP_MEMCPY3D copyParams__val;
1594 } hipDrvGraphExecMemcpyNodeSetParams;
1596 hipGraphExec_t hGraphExec;
1597 hipGraphNode_t hNode;
1598 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1599 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1601 } hipDrvGraphExecMemsetNodeSetParams;
1603 hipGraphNode_t hNode;
1604 HIP_MEMCPY3D* nodeParams;
1605 HIP_MEMCPY3D nodeParams__val;
1606 } hipDrvGraphMemcpyNodeGetParams;
1608 hipGraphNode_t hNode;
1609 const HIP_MEMCPY3D* nodeParams;
1610 HIP_MEMCPY3D nodeParams__val;
1611 } hipDrvGraphMemcpyNodeSetParams;
1613 const hip_Memcpy2D* pCopy;
1614 hip_Memcpy2D pCopy__val;
1615 } hipDrvMemcpy2DUnaligned;
1617 const HIP_MEMCPY3D* pCopy;
1618 HIP_MEMCPY3D pCopy__val;
1621 const HIP_MEMCPY3D* pCopy;
1622 HIP_MEMCPY3D pCopy__val;
1624 } hipDrvMemcpy3DAsync;
1626 unsigned int numAttributes;
1627 hipPointer_attribute* attributes;
1628 hipPointer_attribute attributes__val;
1632 } hipDrvPointerGetAttributes;
1635 hipEvent_t event__val;
1639 hipEvent_t event__val;
1641 } hipEventCreateWithFlags;
1650 } hipEventElapsedTime;
1660 } hipEventSynchronize;
1664 unsigned int* linktype;
1665 unsigned int linktype__val;
1666 unsigned int* hopcount;
1667 unsigned int hopcount__val;
1668 } hipExtGetLinkTypeAndHopCount;
1670 const void* function_address;
1675 size_t sharedMemBytes;
1677 hipEvent_t startEvent;
1678 hipEvent_t stopEvent;
1680 } hipExtLaunchKernel;
1682 hipLaunchParams* launchParamsList;
1683 hipLaunchParams launchParamsList__val;
1686 } hipExtLaunchMultiKernelMultiDevice;
1692 } hipExtMallocWithFlags;
1695 unsigned int globalWorkSizeX;
1696 unsigned int globalWorkSizeY;
1697 unsigned int globalWorkSizeZ;
1698 unsigned int localWorkSizeX;
1699 unsigned int localWorkSizeY;
1700 unsigned int localWorkSizeZ;
1701 size_t sharedMemBytes;
1702 hipStream_t hStream;
1703 void** kernelParams;
1704 void* kernelParams__val;
1707 hipEvent_t startEvent;
1708 hipEvent_t stopEvent;
1710 } hipExtModuleLaunchKernel;
1712 hipStream_t* stream;
1713 hipStream_t stream__val;
1714 unsigned int cuMaskSize;
1715 const unsigned int* cuMask;
1716 unsigned int cuMask__val;
1717 } hipExtStreamCreateWithCUMask;
1720 unsigned int cuMaskSize;
1721 unsigned int* cuMask;
1722 unsigned int cuMask__val;
1723 } hipExtStreamGetCUMask;
1727 hipExternalMemory_t extMem;
1728 const hipExternalMemoryBufferDesc* bufferDesc;
1729 hipExternalMemoryBufferDesc bufferDesc__val;
1730 } hipExternalMemoryGetMappedBuffer;
1732 hipMipmappedArray_t* mipmap;
1733 hipMipmappedArray_t mipmap__val;
1734 hipExternalMemory_t extMem;
1735 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1736 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1737 } hipExternalMemoryGetMappedMipmappedArray;
1752 hipMipmappedArray_t mipmappedArray;
1753 } hipFreeMipmappedArray;
1757 hipFunction_attribute attrib;
1758 hipFunction_t hfunc;
1759 } hipFuncGetAttribute;
1761 hipFuncAttributes* attr;
1762 hipFuncAttributes attr__val;
1764 } hipFuncGetAttributes;
1767 hipFuncAttribute attr;
1769 } hipFuncSetAttribute;
1772 hipFuncCache_t config;
1773 } hipFuncSetCacheConfig;
1776 hipSharedMemConfig config;
1777 } hipFuncSetSharedMemConfig;
1779 unsigned int* pHipDeviceCount;
1780 unsigned int pHipDeviceCount__val;
1782 int pHipDevices__val;
1783 unsigned int hipDeviceCount;
1787 hipChannelFormatDesc* desc;
1788 hipChannelFormatDesc desc__val;
1789 hipArray_const_t array;
1790 } hipGetChannelDesc;
1798 } hipGetDeviceCount;
1800 unsigned int* flags;
1801 unsigned int flags__val;
1802 } hipGetDeviceFlags;
1804 hipDeviceProp_tR0000* prop;
1805 hipDeviceProp_tR0000 prop__val;
1807 } hipGetDevicePropertiesR0000;
1809 hipDeviceProp_tR0600* prop;
1810 hipDeviceProp_tR0600 prop__val;
1812 } hipGetDevicePropertiesR0600;
1814 hipFunction_t* functionPtr;
1815 hipFunction_t functionPtr__val;
1816 const void* symbolPtr;
1817 } hipGetFuncBySymbol;
1819 hipArray_t* levelArray;
1820 hipArray_t levelArray__val;
1821 hipMipmappedArray_const_t mipmappedArray;
1823 } hipGetMipmappedArrayLevel;
1831 hipDriverProcAddressQueryResult* symbolStatus;
1832 hipDriverProcAddressQueryResult symbolStatus__val;
1833 } hipGetProcAddress;
1838 } hipGetSymbolAddress;
1845 hipGraphNode_t* pGraphNode;
1846 hipGraphNode_t pGraphNode__val;
1848 const hipGraphNode_t* pDependencies;
1849 hipGraphNode_t pDependencies__val;
1850 size_t numDependencies;
1851 hipGraph_t childGraph;
1852 } hipGraphAddChildGraphNode;
1855 const hipGraphNode_t* from;
1856 hipGraphNode_t from__val;
1857 const hipGraphNode_t* to;
1858 hipGraphNode_t to__val;
1859 size_t numDependencies;
1860 } hipGraphAddDependencies;
1862 hipGraphNode_t* pGraphNode;
1863 hipGraphNode_t pGraphNode__val;
1865 const hipGraphNode_t* pDependencies;
1866 hipGraphNode_t pDependencies__val;
1867 size_t numDependencies;
1868 } hipGraphAddEmptyNode;
1870 hipGraphNode_t* pGraphNode;
1871 hipGraphNode_t pGraphNode__val;
1873 const hipGraphNode_t* pDependencies;
1874 hipGraphNode_t pDependencies__val;
1875 size_t numDependencies;
1877 } hipGraphAddEventRecordNode;
1879 hipGraphNode_t* pGraphNode;
1880 hipGraphNode_t pGraphNode__val;
1882 const hipGraphNode_t* pDependencies;
1883 hipGraphNode_t pDependencies__val;
1884 size_t numDependencies;
1886 } hipGraphAddEventWaitNode;
1888 hipGraphNode_t* pGraphNode;
1889 hipGraphNode_t pGraphNode__val;
1891 const hipGraphNode_t* pDependencies;
1892 hipGraphNode_t pDependencies__val;
1893 size_t numDependencies;
1894 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1895 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1896 } hipGraphAddExternalSemaphoresSignalNode;
1898 hipGraphNode_t* pGraphNode;
1899 hipGraphNode_t pGraphNode__val;
1901 const hipGraphNode_t* pDependencies;
1902 hipGraphNode_t pDependencies__val;
1903 size_t numDependencies;
1904 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1905 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1906 } hipGraphAddExternalSemaphoresWaitNode;
1908 hipGraphNode_t* pGraphNode;
1909 hipGraphNode_t pGraphNode__val;
1911 const hipGraphNode_t* pDependencies;
1912 hipGraphNode_t pDependencies__val;
1913 size_t numDependencies;
1914 const hipHostNodeParams* pNodeParams;
1915 hipHostNodeParams pNodeParams__val;
1916 } hipGraphAddHostNode;
1918 hipGraphNode_t* pGraphNode;
1919 hipGraphNode_t pGraphNode__val;
1921 const hipGraphNode_t* pDependencies;
1922 hipGraphNode_t pDependencies__val;
1923 size_t numDependencies;
1924 const hipKernelNodeParams* pNodeParams;
1925 hipKernelNodeParams pNodeParams__val;
1926 } hipGraphAddKernelNode;
1928 hipGraphNode_t* pGraphNode;
1929 hipGraphNode_t pGraphNode__val;
1931 const hipGraphNode_t* pDependencies;
1932 hipGraphNode_t pDependencies__val;
1933 size_t numDependencies;
1934 hipMemAllocNodeParams* pNodeParams;
1935 hipMemAllocNodeParams pNodeParams__val;
1936 } hipGraphAddMemAllocNode;
1938 hipGraphNode_t* pGraphNode;
1939 hipGraphNode_t pGraphNode__val;
1941 const hipGraphNode_t* pDependencies;
1942 hipGraphNode_t pDependencies__val;
1943 size_t numDependencies;
1945 } hipGraphAddMemFreeNode;
1947 hipGraphNode_t* pGraphNode;
1948 hipGraphNode_t pGraphNode__val;
1950 const hipGraphNode_t* pDependencies;
1951 hipGraphNode_t pDependencies__val;
1952 size_t numDependencies;
1953 const hipMemcpy3DParms* pCopyParams;
1954 hipMemcpy3DParms pCopyParams__val;
1955 } hipGraphAddMemcpyNode;
1957 hipGraphNode_t* pGraphNode;
1958 hipGraphNode_t pGraphNode__val;
1960 const hipGraphNode_t* pDependencies;
1961 hipGraphNode_t pDependencies__val;
1962 size_t numDependencies;
1967 } hipGraphAddMemcpyNode1D;
1969 hipGraphNode_t* pGraphNode;
1970 hipGraphNode_t pGraphNode__val;
1972 const hipGraphNode_t* pDependencies;
1973 hipGraphNode_t pDependencies__val;
1974 size_t numDependencies;
1980 } hipGraphAddMemcpyNodeFromSymbol;
1982 hipGraphNode_t* pGraphNode;
1983 hipGraphNode_t pGraphNode__val;
1985 const hipGraphNode_t* pDependencies;
1986 hipGraphNode_t pDependencies__val;
1987 size_t numDependencies;
1993 } hipGraphAddMemcpyNodeToSymbol;
1995 hipGraphNode_t* pGraphNode;
1996 hipGraphNode_t pGraphNode__val;
1998 const hipGraphNode_t* pDependencies;
1999 hipGraphNode_t pDependencies__val;
2000 size_t numDependencies;
2001 const hipMemsetParams* pMemsetParams;
2002 hipMemsetParams pMemsetParams__val;
2003 } hipGraphAddMemsetNode;
2005 hipGraphNode_t* pGraphNode;
2006 hipGraphNode_t pGraphNode__val;
2008 const hipGraphNode_t* pDependencies;
2009 hipGraphNode_t pDependencies__val;
2010 size_t numDependencies;
2011 hipGraphNodeParams* nodeParams;
2012 hipGraphNodeParams nodeParams__val;
2015 hipGraphNode_t node;
2017 hipGraph_t pGraph__val;
2018 } hipGraphChildGraphNodeGetGraph;
2020 hipGraph_t* pGraphClone;
2021 hipGraph_t pGraphClone__val;
2022 hipGraph_t originalGraph;
2026 hipGraph_t pGraph__val;
2034 } hipGraphDebugDotPrint;
2039 hipGraphNode_t node;
2040 } hipGraphDestroyNode;
2042 hipGraphNode_t node;
2043 hipEvent_t* event_out;
2044 hipEvent_t event_out__val;
2045 } hipGraphEventRecordNodeGetEvent;
2047 hipGraphNode_t node;
2049 } hipGraphEventRecordNodeSetEvent;
2051 hipGraphNode_t node;
2052 hipEvent_t* event_out;
2053 hipEvent_t event_out__val;
2054 } hipGraphEventWaitNodeGetEvent;
2056 hipGraphNode_t node;
2058 } hipGraphEventWaitNodeSetEvent;
2060 hipGraphExec_t hGraphExec;
2061 hipGraphNode_t node;
2062 hipGraph_t childGraph;
2063 } hipGraphExecChildGraphNodeSetParams;
2065 hipGraphExec_t graphExec;
2066 } hipGraphExecDestroy;
2068 hipGraphExec_t hGraphExec;
2069 hipGraphNode_t hNode;
2071 } hipGraphExecEventRecordNodeSetEvent;
2073 hipGraphExec_t hGraphExec;
2074 hipGraphNode_t hNode;
2076 } hipGraphExecEventWaitNodeSetEvent;
2078 hipGraphExec_t hGraphExec;
2079 hipGraphNode_t hNode;
2080 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2081 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2082 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
2084 hipGraphExec_t hGraphExec;
2085 hipGraphNode_t hNode;
2086 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2087 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2088 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
2090 hipGraphExec_t graphExec;
2091 unsigned long long* flags;
2092 unsigned long long flags__val;
2093 } hipGraphExecGetFlags;
2095 hipGraphExec_t hGraphExec;
2096 hipGraphNode_t node;
2097 const hipHostNodeParams* pNodeParams;
2098 hipHostNodeParams pNodeParams__val;
2099 } hipGraphExecHostNodeSetParams;
2101 hipGraphExec_t hGraphExec;
2102 hipGraphNode_t node;
2103 const hipKernelNodeParams* pNodeParams;
2104 hipKernelNodeParams pNodeParams__val;
2105 } hipGraphExecKernelNodeSetParams;
2107 hipGraphExec_t hGraphExec;
2108 hipGraphNode_t node;
2109 hipMemcpy3DParms* pNodeParams;
2110 hipMemcpy3DParms pNodeParams__val;
2111 } hipGraphExecMemcpyNodeSetParams;
2113 hipGraphExec_t hGraphExec;
2114 hipGraphNode_t node;
2119 } hipGraphExecMemcpyNodeSetParams1D;
2121 hipGraphExec_t hGraphExec;
2122 hipGraphNode_t node;
2128 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2130 hipGraphExec_t hGraphExec;
2131 hipGraphNode_t node;
2137 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2139 hipGraphExec_t hGraphExec;
2140 hipGraphNode_t node;
2141 const hipMemsetParams* pNodeParams;
2142 hipMemsetParams pNodeParams__val;
2143 } hipGraphExecMemsetNodeSetParams;
2145 hipGraphExec_t graphExec;
2146 hipGraphNode_t node;
2147 hipGraphNodeParams* nodeParams;
2148 hipGraphNodeParams nodeParams__val;
2149 } hipGraphExecNodeSetParams;
2151 hipGraphExec_t hGraphExec;
2153 hipGraphNode_t* hErrorNode_out;
2154 hipGraphNode_t hErrorNode_out__val;
2155 hipGraphExecUpdateResult* updateResult_out;
2156 hipGraphExecUpdateResult updateResult_out__val;
2157 } hipGraphExecUpdate;
2159 hipGraphNode_t hNode;
2160 hipExternalSemaphoreSignalNodeParams* params_out;
2161 hipExternalSemaphoreSignalNodeParams params_out__val;
2162 } hipGraphExternalSemaphoresSignalNodeGetParams;
2164 hipGraphNode_t hNode;
2165 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2166 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2167 } hipGraphExternalSemaphoresSignalNodeSetParams;
2169 hipGraphNode_t hNode;
2170 hipExternalSemaphoreWaitNodeParams* params_out;
2171 hipExternalSemaphoreWaitNodeParams params_out__val;
2172 } hipGraphExternalSemaphoresWaitNodeGetParams;
2174 hipGraphNode_t hNode;
2175 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2176 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2177 } hipGraphExternalSemaphoresWaitNodeSetParams;
2180 hipGraphNode_t* from;
2181 hipGraphNode_t from__val;
2183 hipGraphNode_t to__val;
2185 size_t numEdges__val;
2189 hipGraphNode_t* nodes;
2190 hipGraphNode_t nodes__val;
2192 size_t numNodes__val;
2196 hipGraphNode_t* pRootNodes;
2197 hipGraphNode_t pRootNodes__val;
2198 size_t* pNumRootNodes;
2199 size_t pNumRootNodes__val;
2200 } hipGraphGetRootNodes;
2202 hipGraphNode_t node;
2203 hipHostNodeParams* pNodeParams;
2204 hipHostNodeParams pNodeParams__val;
2205 } hipGraphHostNodeGetParams;
2207 hipGraphNode_t node;
2208 const hipHostNodeParams* pNodeParams;
2209 hipHostNodeParams pNodeParams__val;
2210 } hipGraphHostNodeSetParams;
2212 hipGraphExec_t* pGraphExec;
2213 hipGraphExec_t pGraphExec__val;
2215 hipGraphNode_t* pErrorNode;
2216 hipGraphNode_t pErrorNode__val;
2218 char pLogBuffer__val;
2220 } hipGraphInstantiate;
2222 hipGraphExec_t* pGraphExec;
2223 hipGraphExec_t pGraphExec__val;
2225 unsigned long long flags;
2226 } hipGraphInstantiateWithFlags;
2228 hipGraphExec_t* pGraphExec;
2229 hipGraphExec_t pGraphExec__val;
2231 hipGraphInstantiateParams* instantiateParams;
2232 hipGraphInstantiateParams instantiateParams__val;
2233 } hipGraphInstantiateWithParams;
2235 hipGraphNode_t hSrc;
2236 hipGraphNode_t hDst;
2237 } hipGraphKernelNodeCopyAttributes;
2239 hipGraphNode_t hNode;
2240 hipLaunchAttributeID attr;
2241 hipLaunchAttributeValue* value;
2242 hipLaunchAttributeValue value__val;
2243 } hipGraphKernelNodeGetAttribute;
2245 hipGraphNode_t node;
2246 hipKernelNodeParams* pNodeParams;
2247 hipKernelNodeParams pNodeParams__val;
2248 } hipGraphKernelNodeGetParams;
2250 hipGraphNode_t hNode;
2251 hipLaunchAttributeID attr;
2252 const hipLaunchAttributeValue* value;
2253 hipLaunchAttributeValue value__val;
2254 } hipGraphKernelNodeSetAttribute;
2256 hipGraphNode_t node;
2257 const hipKernelNodeParams* pNodeParams;
2258 hipKernelNodeParams pNodeParams__val;
2259 } hipGraphKernelNodeSetParams;
2261 hipGraphExec_t graphExec;
2265 hipGraphNode_t node;
2266 hipMemAllocNodeParams* pNodeParams;
2267 hipMemAllocNodeParams pNodeParams__val;
2268 } hipGraphMemAllocNodeGetParams;
2270 hipGraphNode_t node;
2272 } hipGraphMemFreeNodeGetParams;
2274 hipGraphNode_t node;
2275 hipMemcpy3DParms* pNodeParams;
2276 hipMemcpy3DParms pNodeParams__val;
2277 } hipGraphMemcpyNodeGetParams;
2279 hipGraphNode_t node;
2280 const hipMemcpy3DParms* pNodeParams;
2281 hipMemcpy3DParms pNodeParams__val;
2282 } hipGraphMemcpyNodeSetParams;
2284 hipGraphNode_t node;
2289 } hipGraphMemcpyNodeSetParams1D;
2291 hipGraphNode_t node;
2297 } hipGraphMemcpyNodeSetParamsFromSymbol;
2299 hipGraphNode_t node;
2305 } hipGraphMemcpyNodeSetParamsToSymbol;
2307 hipGraphNode_t node;
2308 hipMemsetParams* pNodeParams;
2309 hipMemsetParams pNodeParams__val;
2310 } hipGraphMemsetNodeGetParams;
2312 hipGraphNode_t node;
2313 const hipMemsetParams* pNodeParams;
2314 hipMemsetParams pNodeParams__val;
2315 } hipGraphMemsetNodeSetParams;
2317 hipGraphNode_t* pNode;
2318 hipGraphNode_t pNode__val;
2319 hipGraphNode_t originalNode;
2320 hipGraph_t clonedGraph;
2321 } hipGraphNodeFindInClone;
2323 hipGraphNode_t node;
2324 hipGraphNode_t* pDependencies;
2325 hipGraphNode_t pDependencies__val;
2326 size_t* pNumDependencies;
2327 size_t pNumDependencies__val;
2328 } hipGraphNodeGetDependencies;
2330 hipGraphNode_t node;
2331 hipGraphNode_t* pDependentNodes;
2332 hipGraphNode_t pDependentNodes__val;
2333 size_t* pNumDependentNodes;
2334 size_t pNumDependentNodes__val;
2335 } hipGraphNodeGetDependentNodes;
2337 hipGraphExec_t hGraphExec;
2338 hipGraphNode_t hNode;
2339 unsigned int* isEnabled;
2340 unsigned int isEnabled__val;
2341 } hipGraphNodeGetEnabled;
2343 hipGraphNode_t node;
2344 hipGraphNodeType* pType;
2345 hipGraphNodeType pType__val;
2346 } hipGraphNodeGetType;
2348 hipGraphExec_t hGraphExec;
2349 hipGraphNode_t hNode;
2350 unsigned int isEnabled;
2351 } hipGraphNodeSetEnabled;
2353 hipGraphNode_t node;
2354 hipGraphNodeParams* nodeParams;
2355 hipGraphNodeParams nodeParams__val;
2356 } hipGraphNodeSetParams;
2359 hipUserObject_t object;
2361 } hipGraphReleaseUserObject;
2364 const hipGraphNode_t* from;
2365 hipGraphNode_t from__val;
2366 const hipGraphNode_t* to;
2367 hipGraphNode_t to__val;
2368 size_t numDependencies;
2369 } hipGraphRemoveDependencies;
2372 hipUserObject_t object;
2375 } hipGraphRetainUserObject;
2377 hipGraphExec_t graphExec;
2381 hipGraphicsResource** resource;
2382 hipGraphicsResource* resource__val;
2385 } hipGraphicsGLRegisterBuffer;
2387 hipGraphicsResource** resource;
2388 hipGraphicsResource* resource__val;
2392 } hipGraphicsGLRegisterImage;
2395 hipGraphicsResource_t* resources;
2396 hipGraphicsResource_t resources__val;
2398 } hipGraphicsMapResources;
2404 hipGraphicsResource_t resource;
2405 } hipGraphicsResourceGetMappedPointer;
2408 hipArray_t array__val;
2409 hipGraphicsResource_t resource;
2410 unsigned int arrayIndex;
2411 unsigned int mipLevel;
2412 } hipGraphicsSubResourceGetMappedArray;
2415 hipGraphicsResource_t* resources;
2416 hipGraphicsResource_t resources__val;
2418 } hipGraphicsUnmapResources;
2420 hipGraphicsResource_t resource;
2421 } hipGraphicsUnregisterResource;
2424 unsigned int globalWorkSizeX;
2425 unsigned int globalWorkSizeY;
2426 unsigned int globalWorkSizeZ;
2427 unsigned int blockDimX;
2428 unsigned int blockDimY;
2429 unsigned int blockDimZ;
2430 size_t sharedMemBytes;
2431 hipStream_t hStream;
2432 void** kernelParams;
2433 void* kernelParams__val;
2436 hipEvent_t startEvent;
2437 hipEvent_t stopEvent;
2438 } hipHccModuleLaunchKernel;
2453 } hipHostGetDevicePointer;
2455 unsigned int* flagsPtr;
2456 unsigned int flagsPtr__val;
2472 } hipHostUnregister;
2474 hipExternalMemory_t* extMem_out;
2475 hipExternalMemory_t extMem_out__val;
2476 const hipExternalMemoryHandleDesc* memHandleDesc;
2477 hipExternalMemoryHandleDesc memHandleDesc__val;
2478 } hipImportExternalMemory;
2480 hipExternalSemaphore_t* extSem_out;
2481 hipExternalSemaphore_t extSem_out__val;
2482 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2483 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2484 } hipImportExternalSemaphore;
2490 } hipIpcCloseMemHandle;
2492 hipIpcEventHandle_t* handle;
2493 hipIpcEventHandle_t handle__val;
2495 } hipIpcGetEventHandle;
2497 hipIpcMemHandle_t* handle;
2498 hipIpcMemHandle_t handle__val;
2500 } hipIpcGetMemHandle;
2503 hipEvent_t event__val;
2504 hipIpcEventHandle_t handle;
2505 } hipIpcOpenEventHandle;
2509 hipIpcMemHandle_t handle;
2511 } hipIpcOpenMemHandle;
2513 const void* hostFunction;
2519 void** kernelParams;
2520 void* kernelParams__val;
2521 unsigned int sharedMemBytes;
2523 } hipLaunchCooperativeKernel;
2525 hipLaunchParams* launchParamsList;
2526 hipLaunchParams launchParamsList__val;
2529 } hipLaunchCooperativeKernelMultiDevice;
2534 } hipLaunchHostFunc;
2536 const void* function_address;
2541 size_t sharedMemBytes;
2550 hipPitchedPtr* pitchedDevPtr;
2551 hipPitchedPtr pitchedDevPtr__val;
2556 hipArray_t array__val;
2557 const hipChannelFormatDesc* desc;
2558 hipChannelFormatDesc desc__val;
2564 hipArray_t array__val;
2565 const hipChannelFormatDesc* desc;
2566 hipChannelFormatDesc desc__val;
2581 hipMemPool_t mem_pool;
2583 } hipMallocFromPoolAsync;
2596 hipMipmappedArray_t* mipmappedArray;
2597 hipMipmappedArray_t mipmappedArray__val;
2598 const hipChannelFormatDesc* desc;
2599 hipChannelFormatDesc desc__val;
2601 unsigned int numLevels;
2603 } hipMallocMipmappedArray;
2615 } hipMemAddressFree;
2622 unsigned long long flags;
2623 } hipMemAddressReserve;
2625 const void* dev_ptr;
2627 hipMemoryAdvise advice;
2636 hipDeviceptr_t* dptr;
2637 hipDeviceptr_t dptr__val;
2640 size_t widthInBytes;
2642 unsigned int elementSizeBytes;
2645 hipMemGenericAllocationHandle_t* handle;
2646 hipMemGenericAllocationHandle_t handle__val;
2648 const hipMemAllocationProp* prop;
2649 hipMemAllocationProp prop__val;
2650 unsigned long long flags;
2653 void* shareableHandle;
2654 hipMemGenericAllocationHandle_t handle;
2655 hipMemAllocationHandleType handleType;
2656 unsigned long long flags;
2657 } hipMemExportToShareableHandle;
2659 unsigned long long* flags;
2660 unsigned long long flags__val;
2661 const hipMemLocation* location;
2662 hipMemLocation location__val;
2666 hipDeviceptr_t* pbase;
2667 hipDeviceptr_t pbase__val;
2670 hipDeviceptr_t dptr;
2671 } hipMemGetAddressRange;
2673 size_t* granularity;
2674 size_t granularity__val;
2675 const hipMemAllocationProp* prop;
2676 hipMemAllocationProp prop__val;
2677 hipMemAllocationGranularity_flags option;
2678 } hipMemGetAllocationGranularity;
2680 hipMemAllocationProp* prop;
2681 hipMemAllocationProp prop__val;
2682 hipMemGenericAllocationHandle_t handle;
2683 } hipMemGetAllocationPropertiesFromHandle;
2691 hipMemGenericAllocationHandle_t* handle;
2692 hipMemGenericAllocationHandle_t handle__val;
2694 hipMemAllocationHandleType shHandleType;
2695 } hipMemImportFromShareableHandle;
2700 hipMemGenericAllocationHandle_t handle;
2701 unsigned long long flags;
2704 hipArrayMapInfo* mapInfoList;
2705 hipArrayMapInfo mapInfoList__val;
2708 } hipMemMapArrayAsync;
2710 hipMemPool_t* mem_pool;
2711 hipMemPool_t mem_pool__val;
2712 const hipMemPoolProps* pool_props;
2713 hipMemPoolProps pool_props__val;
2716 hipMemPool_t mem_pool;
2717 } hipMemPoolDestroy;
2719 hipMemPoolPtrExportData* export_data;
2720 hipMemPoolPtrExportData export_data__val;
2722 } hipMemPoolExportPointer;
2724 void* shared_handle;
2725 hipMemPool_t mem_pool;
2726 hipMemAllocationHandleType handle_type;
2728 } hipMemPoolExportToShareableHandle;
2730 hipMemAccessFlags* flags;
2731 hipMemAccessFlags flags__val;
2732 hipMemPool_t mem_pool;
2733 hipMemLocation* location;
2734 hipMemLocation location__val;
2735 } hipMemPoolGetAccess;
2737 hipMemPool_t mem_pool;
2738 hipMemPoolAttr attr;
2740 } hipMemPoolGetAttribute;
2742 hipMemPool_t* mem_pool;
2743 hipMemPool_t mem_pool__val;
2744 void* shared_handle;
2745 hipMemAllocationHandleType handle_type;
2747 } hipMemPoolImportFromShareableHandle;
2751 hipMemPool_t mem_pool;
2752 hipMemPoolPtrExportData* export_data;
2753 hipMemPoolPtrExportData export_data__val;
2754 } hipMemPoolImportPointer;
2756 hipMemPool_t mem_pool;
2757 const hipMemAccessDesc* desc_list;
2758 hipMemAccessDesc desc_list__val;
2760 } hipMemPoolSetAccess;
2762 hipMemPool_t mem_pool;
2763 hipMemPoolAttr attr;
2765 } hipMemPoolSetAttribute;
2767 hipMemPool_t mem_pool;
2768 size_t min_bytes_to_hold;
2771 const void* dev_ptr;
2775 } hipMemPrefetchAsync;
2784 hipMemRangeAttribute attribute;
2785 const void* dev_ptr;
2787 } hipMemRangeGetAttribute;
2792 size_t data_sizes__val;
2793 hipMemRangeAttribute* attributes;
2794 hipMemRangeAttribute attributes__val;
2795 size_t num_attributes;
2796 const void* dev_ptr;
2798 } hipMemRangeGetAttributes;
2800 hipMemGenericAllocationHandle_t handle;
2803 hipMemGenericAllocationHandle_t* handle;
2804 hipMemGenericAllocationHandle_t handle__val;
2806 } hipMemRetainAllocationHandle;
2810 const hipMemAccessDesc* desc;
2811 hipMemAccessDesc desc__val;
2837 hipArray_const_t src;
2843 } hipMemcpy2DArrayToArray;
2857 hipArray_const_t src;
2863 } hipMemcpy2DFromArray;
2867 hipArray_const_t src;
2874 } hipMemcpy2DFromArrayAsync;
2884 } hipMemcpy2DToArray;
2895 } hipMemcpy2DToArrayAsync;
2897 const hipMemcpy3DParms* p;
2898 hipMemcpy3DParms p__val;
2901 const hipMemcpy3DParms* p;
2902 hipMemcpy3DParms p__val;
2913 hipArray_t dstArray;
2915 hipArray_t srcArray;
2920 hipDeviceptr_t dstDevice;
2921 hipArray_t srcArray;
2927 hipArray_t srcArray;
2933 hipArray_t srcArray;
2937 } hipMemcpyAtoHAsync;
2939 hipArray_t dstArray;
2941 hipDeviceptr_t srcDevice;
2954 } hipMemcpyDtoDAsync;
2965 } hipMemcpyDtoHAsync;
2968 hipArray_const_t srcArray;
2973 } hipMemcpyFromArray;
2980 } hipMemcpyFromSymbol;
2988 } hipMemcpyFromSymbolAsync;
2990 hipArray_t dstArray;
2992 const void* srcHost;
2996 hipArray_t dstArray;
2998 const void* srcHost;
3001 } hipMemcpyHtoAAsync;
3012 } hipMemcpyHtoDAsync;
3014 const hip_Memcpy2D* pCopy;
3015 hip_Memcpy2D pCopy__val;
3018 const hip_Memcpy2D* pCopy;
3019 hip_Memcpy2D pCopy__val;
3021 } hipMemcpyParam2DAsync;
3036 } hipMemcpyPeerAsync;
3051 } hipMemcpyToSymbol;
3059 } hipMemcpyToSymbolAsync;
3066 } hipMemcpyWithStream;
3088 hipPitchedPtr pitchedDevPtr;
3093 hipPitchedPtr pitchedDevPtr;
3105 hipDeviceptr_t dest;
3106 unsigned short value;
3110 hipDeviceptr_t dest;
3111 unsigned short value;
3114 } hipMemsetD16Async;
3116 hipDeviceptr_t dest;
3125 } hipMemsetD32Async;
3127 hipDeviceptr_t dest;
3128 unsigned char value;
3132 hipDeviceptr_t dest;
3133 unsigned char value;
3138 hipMipmappedArray_t* pHandle;
3139 hipMipmappedArray_t pHandle__val;
3140 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
3141 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
3142 unsigned int numMipmapLevels;
3143 } hipMipmappedArrayCreate;
3145 hipMipmappedArray_t hMipmappedArray;
3146 } hipMipmappedArrayDestroy;
3148 hipArray_t* pLevelArray;
3149 hipArray_t pLevelArray__val;
3150 hipMipmappedArray_t hMipMappedArray;
3152 } hipMipmappedArrayGetLevel;
3154 hipFunction_t* function;
3155 hipFunction_t function__val;
3159 } hipModuleGetFunction;
3161 hipDeviceptr_t* dptr;
3162 hipDeviceptr_t dptr__val;
3168 } hipModuleGetGlobal;
3170 textureReference** texRef;
3171 textureReference* texRef__val;
3175 } hipModuleGetTexRef;
3178 unsigned int gridDimX;
3179 unsigned int gridDimY;
3180 unsigned int gridDimZ;
3181 unsigned int blockDimX;
3182 unsigned int blockDimY;
3183 unsigned int blockDimZ;
3184 unsigned int sharedMemBytes;
3186 void** kernelParams;
3187 void* kernelParams__val;
3188 } hipModuleLaunchCooperativeKernel;
3190 hipFunctionLaunchParams* launchParamsList;
3191 hipFunctionLaunchParams launchParamsList__val;
3192 unsigned int numDevices;
3194 } hipModuleLaunchCooperativeKernelMultiDevice;
3197 unsigned int gridDimX;
3198 unsigned int gridDimY;
3199 unsigned int gridDimZ;
3200 unsigned int blockDimX;
3201 unsigned int blockDimY;
3202 unsigned int blockDimZ;
3203 unsigned int sharedMemBytes;
3205 void** kernelParams;
3206 void* kernelParams__val;
3209 } hipModuleLaunchKernel;
3211 hipModule_t* module;
3212 hipModule_t module__val;
3217 hipModule_t* module;
3218 hipModule_t module__val;
3220 } hipModuleLoadData;
3222 hipModule_t* module;
3223 hipModule_t module__val;
3225 unsigned int numOptions;
3226 hipJitOption* options;
3227 hipJitOption options__val;
3228 void** optionsValues;
3229 void* optionsValues__val;
3230 } hipModuleLoadDataEx;
3236 size_t dynSharedMemPerBlk;
3237 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3243 size_t dynSharedMemPerBlk;
3245 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3252 size_t dynSharedMemPerBlk;
3254 } hipModuleOccupancyMaxPotentialBlockSize;
3261 size_t dynSharedMemPerBlk;
3264 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3273 size_t dynamicSMemSize;
3274 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3280 size_t dynamicSMemSize;
3282 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3289 size_t dynSharedMemPerBlk;
3291 } hipOccupancyMaxPotentialBlockSize;
3294 hipPointer_attribute attribute;
3296 } hipPointerGetAttribute;
3298 hipPointerAttribute_t* attributes;
3299 hipPointerAttribute_t attributes__val;
3301 } hipPointerGetAttributes;
3304 hipPointer_attribute attribute;
3306 } hipPointerSetAttribute;
3308 int* runtimeVersion;
3309 int runtimeVersion__val;
3310 } hipRuntimeGetVersion;
3316 } hipSetDeviceFlags;
3319 int device_arr__val;
3321 } hipSetValidDevices;
3328 const hipExternalSemaphore_t* extSemArray;
3329 hipExternalSemaphore_t extSemArray__val;
3330 const hipExternalSemaphoreSignalParams* paramsArray;
3331 hipExternalSemaphoreSignalParams paramsArray__val;
3332 unsigned int numExtSems;
3334 } hipSignalExternalSemaphoresAsync;
3337 hipStreamCallback_t callback;
3340 } hipStreamAddCallback;
3346 } hipStreamAttachMemAsync;
3349 hipStreamCaptureMode mode;
3350 } hipStreamBeginCapture;
3354 const hipGraphNode_t* dependencies;
3355 hipGraphNode_t dependencies__val;
3356 const hipGraphEdgeData* dependencyData;
3357 hipGraphEdgeData dependencyData__val;
3358 size_t numDependencies;
3359 hipStreamCaptureMode mode;
3360 } hipStreamBeginCaptureToGraph;
3362 hipStream_t* stream;
3363 hipStream_t stream__val;
3366 hipStream_t* stream;
3367 hipStream_t stream__val;
3369 } hipStreamCreateWithFlags;
3371 hipStream_t* stream;
3372 hipStream_t stream__val;
3375 } hipStreamCreateWithPriority;
3382 hipGraph_t pGraph__val;
3383 } hipStreamEndCapture;
3386 hipStreamCaptureStatus* pCaptureStatus;
3387 hipStreamCaptureStatus pCaptureStatus__val;
3388 unsigned long long* pId;
3389 unsigned long long pId__val;
3390 } hipStreamGetCaptureInfo;
3393 hipStreamCaptureStatus* captureStatus_out;
3394 hipStreamCaptureStatus captureStatus_out__val;
3395 unsigned long long* id_out;
3396 unsigned long long id_out__val;
3397 hipGraph_t* graph_out;
3398 hipGraph_t graph_out__val;
3399 const hipGraphNode_t** dependencies_out;
3400 const hipGraphNode_t* dependencies_out__val;
3401 size_t* numDependencies_out;
3402 size_t numDependencies_out__val;
3403 } hipStreamGetCaptureInfo_v2;
3406 hipDevice_t* device;
3407 hipDevice_t device__val;
3408 } hipStreamGetDevice;
3411 unsigned int* flags;
3412 unsigned int flags__val;
3413 } hipStreamGetFlags;
3418 } hipStreamGetPriority;
3421 hipStreamCaptureStatus* pCaptureStatus;
3422 hipStreamCaptureStatus pCaptureStatus__val;
3423 } hipStreamIsCapturing;
3429 } hipStreamSynchronize;
3432 hipGraphNode_t* dependencies;
3433 hipGraphNode_t dependencies__val;
3434 size_t numDependencies;
3436 } hipStreamUpdateCaptureDependencies;
3441 } hipStreamWaitEvent;
3448 } hipStreamWaitValue32;
3455 } hipStreamWaitValue64;
3461 } hipStreamWriteValue32;
3467 } hipStreamWriteValue64;
3469 hipDeviceptr_t* dev_ptr;
3470 hipDeviceptr_t dev_ptr__val;
3471 const textureReference* texRef;
3472 textureReference texRef__val;
3473 } hipTexRefGetAddress;
3476 hipArray_t pArray__val;
3477 const textureReference* texRef;
3478 textureReference texRef__val;
3479 } hipTexRefGetArray;
3481 float* pBorderColor;
3482 float pBorderColor__val;
3483 const textureReference* texRef;
3484 textureReference texRef__val;
3485 } hipTexRefGetBorderColor;
3487 unsigned int* pFlags;
3488 unsigned int pFlags__val;
3489 const textureReference* texRef;
3490 textureReference texRef__val;
3491 } hipTexRefGetFlags;
3493 hipArray_Format* pFormat;
3494 hipArray_Format pFormat__val;
3496 int pNumChannels__val;
3497 const textureReference* texRef;
3498 textureReference texRef__val;
3499 } hipTexRefGetFormat;
3503 const textureReference* texRef;
3504 textureReference texRef__val;
3505 } hipTexRefGetMaxAnisotropy;
3507 hipMipmappedArray_t* pArray;
3508 hipMipmappedArray_t pArray__val;
3509 const textureReference* texRef;
3510 textureReference texRef__val;
3511 } hipTexRefGetMipMappedArray;
3515 const textureReference* texRef;
3516 textureReference texRef__val;
3517 } hipTexRefGetMipmapLevelBias;
3519 float* pminMipmapLevelClamp;
3520 float pminMipmapLevelClamp__val;
3521 float* pmaxMipmapLevelClamp;
3522 float pmaxMipmapLevelClamp__val;
3523 const textureReference* texRef;
3524 textureReference texRef__val;
3525 } hipTexRefGetMipmapLevelClamp;
3528 size_t ByteOffset__val;
3529 textureReference* texRef;
3530 textureReference texRef__val;
3531 hipDeviceptr_t dptr;
3533 } hipTexRefSetAddress;
3535 textureReference* texRef;
3536 textureReference texRef__val;
3537 const HIP_ARRAY_DESCRIPTOR* desc;
3538 HIP_ARRAY_DESCRIPTOR desc__val;
3539 hipDeviceptr_t dptr;
3541 } hipTexRefSetAddress2D;
3543 textureReference* tex;
3544 textureReference tex__val;
3545 hipArray_const_t array;
3547 } hipTexRefSetArray;
3549 textureReference* texRef;
3550 textureReference texRef__val;
3551 float* pBorderColor;
3552 float pBorderColor__val;
3553 } hipTexRefSetBorderColor;
3555 textureReference* texRef;
3556 textureReference texRef__val;
3558 } hipTexRefSetFlags;
3560 textureReference* texRef;
3561 textureReference texRef__val;
3562 hipArray_Format fmt;
3563 int NumPackedComponents;
3564 } hipTexRefSetFormat;
3566 textureReference* texRef;
3567 textureReference texRef__val;
3568 unsigned int maxAniso;
3569 } hipTexRefSetMaxAnisotropy;
3571 textureReference* texRef;
3572 textureReference texRef__val;
3574 } hipTexRefSetMipmapLevelBias;
3576 textureReference* texRef;
3577 textureReference texRef__val;
3578 float minMipMapLevelClamp;
3579 float maxMipMapLevelClamp;
3580 } hipTexRefSetMipmapLevelClamp;
3582 textureReference* texRef;
3583 textureReference texRef__val;
3584 hipMipmappedArray* mipmappedArray;
3585 hipMipmappedArray mipmappedArray__val;
3587 } hipTexRefSetMipmappedArray;
3589 hipStreamCaptureMode* mode;
3590 hipStreamCaptureMode mode__val;
3591 } hipThreadExchangeStreamCaptureMode;
3593 hipUserObject_t* object_out;
3594 hipUserObject_t object_out__val;
3596 hipHostFn_t destroy;
3597 unsigned int initialRefcount;
3599 } hipUserObjectCreate;
3601 hipUserObject_t object;
3603 } hipUserObjectRelease;
3605 hipUserObject_t object;
3607 } hipUserObjectRetain;
3609 const hipExternalSemaphore_t* extSemArray;
3610 hipExternalSemaphore_t extSemArray__val;
3611 const hipExternalSemaphoreWaitParams* paramsArray;
3612 hipExternalSemaphoreWaitParams paramsArray__val;
3613 unsigned int numExtSems;
3615 } hipWaitExternalSemaphoresAsync;
3617 uint64_t *phase_data;
3622#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3623 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3624 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3625 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3626 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3629#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3630 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3631 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3632 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3633 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3636#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3638 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3641#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3642 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3643 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3646#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3647 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3648 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3651#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3652 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3655#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3656 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3657 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3660#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3661 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3662 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3663 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3664 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3667#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3668 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3669 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3672#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3673 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3674 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3677#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3678 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3679 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3680 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3681 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3684#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3685 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3686 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3689#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3690 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3691 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3692 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3695#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3696 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3699#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3700 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3703#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3704 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3705 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3708#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3710 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3713#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3714 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3717#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3718 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3721#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3722 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3725#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3726 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3729#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3730 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3733#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3734 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3737#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3738 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3741#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3742 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3745#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3746 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3749#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3750 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3753#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3756#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3757 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3760#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3761 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3764#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3765 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3768#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3769 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3770 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3771 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3774#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3775 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3776 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3777 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3780#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3781 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3784#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3785 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3786 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3789#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3790 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3791 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3794#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3795 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3796 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3797 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3800#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3801 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3802 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3805#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3806 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3809#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3810 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3811 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3814#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3815 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3816 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3817 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3820#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3821 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3822 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3825#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3826 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3827 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3830#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3831 cb_data.args.hipDeviceGetName.name = (char*)name; \
3832 cb_data.args.hipDeviceGetName.len = (int)len; \
3833 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3836#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3837 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3838 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3839 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3840 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3843#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3844 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3845 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3846 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3849#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3850 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3853#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3854 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3855 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3858#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3859 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3860 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3863#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3864 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3867#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3868 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3869 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3870 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3873#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3874 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3877#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3878 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3881#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3882 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3883 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3886#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3887 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3888 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3891#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3894#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3895 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3898#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3899 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3900 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3901 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3904#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3905 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3906 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3909#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3910 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3911 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3914#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3915 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3918#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3921#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3922 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3923 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3926#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3927 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3930#define INIT_hipDrvGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
3931 cb_data.args.hipDrvGraphAddMemFreeNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3932 cb_data.args.hipDrvGraphAddMemFreeNode.hGraph = (hipGraph_t)hGraph; \
3933 cb_data.args.hipDrvGraphAddMemFreeNode.dependencies = (const hipGraphNode_t*)dependencies; \
3934 cb_data.args.hipDrvGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
3935 cb_data.args.hipDrvGraphAddMemFreeNode.dptr = (hipDeviceptr_t)dptr; \
3938#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3939 cb_data.args.hipDrvGraphAddMemcpyNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3940 cb_data.args.hipDrvGraphAddMemcpyNode.hGraph = (hipGraph_t)hGraph; \
3941 cb_data.args.hipDrvGraphAddMemcpyNode.dependencies = (const hipGraphNode_t*)dependencies; \
3942 cb_data.args.hipDrvGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
3943 cb_data.args.hipDrvGraphAddMemcpyNode.copyParams = (const HIP_MEMCPY3D*)copyParams; \
3944 cb_data.args.hipDrvGraphAddMemcpyNode.ctx = (hipCtx_t)ctx; \
3947#define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3948 cb_data.args.hipDrvGraphAddMemsetNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3949 cb_data.args.hipDrvGraphAddMemsetNode.hGraph = (hipGraph_t)hGraph; \
3950 cb_data.args.hipDrvGraphAddMemsetNode.dependencies = (const hipGraphNode_t*)dependencies; \
3951 cb_data.args.hipDrvGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
3952 cb_data.args.hipDrvGraphAddMemsetNode.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
3953 cb_data.args.hipDrvGraphAddMemsetNode.ctx = (hipCtx_t)ctx; \
3956#define INIT_hipDrvGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3957 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3958 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.hNode = (hipGraphNode_t)hNode; \
3959 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.copyParams = (const HIP_MEMCPY3D*)copyParams; \
3960 cb_data.args.hipDrvGraphExecMemcpyNodeSetParams.ctx = (hipCtx_t)ctx; \
3963#define INIT_hipDrvGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
3964 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3965 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.hNode = (hipGraphNode_t)hNode; \
3966 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
3967 cb_data.args.hipDrvGraphExecMemsetNodeSetParams.ctx = (hipCtx_t)ctx; \
3970#define INIT_hipDrvGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
3973#define INIT_hipDrvGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3976#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3977 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3980#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3981 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3984#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3985 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3986 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3989#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3990 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3991 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3992 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3993 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3996#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3997 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
4000#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
4001 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
4002 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
4005#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
4006 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
4009#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
4010 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
4011 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
4012 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
4015#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
4016 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
4019#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
4020 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
4021 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
4024#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
4025 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
4028#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
4031#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
4032 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
4033 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
4034 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
4035 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
4038#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
4039 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
4040 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
4041 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
4042 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
4043 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4044 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
4045 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4046 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4047 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
4050#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4051 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4052 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
4053 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
4056#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
4057 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
4058 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
4059 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
4062#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4063 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
4064 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4065 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4066 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4067 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
4068 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
4069 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
4070 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4071 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4072 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4073 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
4074 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4075 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4076 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
4079#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
4080 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
4081 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
4082 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
4085#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
4086 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
4087 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
4088 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
4091#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
4092 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
4093 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
4094 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
4097#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
4098 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
4099 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
4100 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
4103#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
4104 cb_data.args.hipFree.ptr = (void*)ptr; \
4107#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
4108 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
4111#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
4112 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
4113 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
4116#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
4117 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
4120#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
4121 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
4124#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
4125 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
4126 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
4127 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
4130#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
4131 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
4132 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
4135#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
4136 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
4137 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
4138 cb_data.args.hipFuncSetAttribute.value = (int)value; \
4141#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
4142 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
4143 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
4146#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
4147 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
4148 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
4151#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
4152 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
4153 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
4154 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
4155 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
4158#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
4159 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
4160 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
4163#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
4164 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
4167#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
4168 cb_data.args.hipGetDeviceCount.count = (int*)count; \
4171#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
4172 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
4175#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
4176 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
4177 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
4180#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
4181 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
4182 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
4185#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
4188#define INIT_hipGetFuncBySymbol_CB_ARGS_DATA(cb_data) { \
4189 cb_data.args.hipGetFuncBySymbol.functionPtr = (hipFunction_t*)functionPtr; \
4190 cb_data.args.hipGetFuncBySymbol.symbolPtr = (const void*)symbolPtr; \
4193#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
4196#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
4197 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
4198 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
4199 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
4202#define INIT_hipGetProcAddress_CB_ARGS_DATA(cb_data) { \
4203 cb_data.args.hipGetProcAddress.symbol = (symbol) ? strdup(symbol) : NULL; \
4204 cb_data.args.hipGetProcAddress.pfn = (void**)pfn; \
4205 cb_data.args.hipGetProcAddress.hipVersion = (int)hipVersion; \
4206 cb_data.args.hipGetProcAddress.flags = (uint64_t)flags; \
4207 cb_data.args.hipGetProcAddress.symbolStatus = (hipDriverProcAddressQueryResult*)symbolStatus; \
4210#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
4211 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
4212 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
4215#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
4216 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
4217 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
4220#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
4221 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4222 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
4223 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4224 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
4225 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
4228#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
4229 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
4230 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
4231 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
4232 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
4235#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
4236 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4237 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
4238 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4239 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
4242#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
4243 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4244 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
4245 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4246 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
4247 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
4250#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
4251 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4252 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
4253 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4254 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
4255 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
4258#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
4259 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4260 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.graph = (hipGraph_t)graph; \
4261 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4262 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.numDependencies = (size_t)numDependencies; \
4263 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4266#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4267 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4268 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.graph = (hipGraph_t)graph; \
4269 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4270 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.numDependencies = (size_t)numDependencies; \
4271 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4274#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4275 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4276 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4277 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4278 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4279 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4282#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4283 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4284 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4285 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4286 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4287 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4290#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4291 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4292 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4293 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4294 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4295 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4298#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4299 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4300 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4301 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4302 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4303 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4306#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4307 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4308 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4309 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4310 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4311 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4314#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4315 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4316 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4317 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4318 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4319 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4320 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4321 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4322 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4325#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4326 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4327 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4328 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4329 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4330 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4331 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4332 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4333 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4334 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4337#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4338 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4339 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4340 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4341 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4342 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4343 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4344 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4345 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4346 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4349#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4350 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4351 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4352 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4353 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4354 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4357#define INIT_hipGraphAddNode_CB_ARGS_DATA(cb_data) { \
4358 cb_data.args.hipGraphAddNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4359 cb_data.args.hipGraphAddNode.graph = (hipGraph_t)graph; \
4360 cb_data.args.hipGraphAddNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4361 cb_data.args.hipGraphAddNode.numDependencies = (size_t)numDependencies; \
4362 cb_data.args.hipGraphAddNode.nodeParams = (hipGraphNodeParams*)nodeParams; \
4365#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4366 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4367 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4370#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4371 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4372 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4375#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4376 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4377 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4380#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4381 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4382 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4383 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4386#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4387 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4390#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4391 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4394#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4395 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4396 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4399#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4400 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4401 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4404#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4405 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4406 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4409#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4410 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4411 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4414#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4415 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4416 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4417 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4420#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4421 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4424#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4425 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4426 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4427 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4430#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4431 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4432 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4433 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4436#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4437 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4438 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4439 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4442#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4443 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4444 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4445 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4448#define INIT_hipGraphExecGetFlags_CB_ARGS_DATA(cb_data) { \
4451#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4452 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4453 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4454 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4457#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4458 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4459 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4460 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4463#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4464 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4465 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4466 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4469#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4470 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4471 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4472 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4473 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4474 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4475 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4478#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4479 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4480 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4481 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4482 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4483 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4484 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4485 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4488#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4489 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4490 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4491 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4492 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4493 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4494 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4495 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4498#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4499 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4500 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4501 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4504#define INIT_hipGraphExecNodeSetParams_CB_ARGS_DATA(cb_data) { \
4507#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4508 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4509 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4510 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4511 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4514#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4515 cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4516 cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out = (hipExternalSemaphoreSignalNodeParams*)params_out; \
4519#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4520 cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4521 cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4524#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4525 cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4526 cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out = (hipExternalSemaphoreWaitNodeParams*)params_out; \
4529#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4530 cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4531 cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4534#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4535 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4536 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4537 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4538 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4541#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4542 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4543 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4544 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4547#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4548 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4549 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4550 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4553#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4554 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4555 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4558#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4559 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4560 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4563#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4564 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4565 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4566 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4567 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4568 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4571#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4572 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4573 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4574 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4577#define INIT_hipGraphInstantiateWithParams_CB_ARGS_DATA(cb_data) { \
4578 cb_data.args.hipGraphInstantiateWithParams.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4579 cb_data.args.hipGraphInstantiateWithParams.graph = (hipGraph_t)graph; \
4580 cb_data.args.hipGraphInstantiateWithParams.instantiateParams = (hipGraphInstantiateParams*)instantiateParams; \
4583#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4584 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4585 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4588#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4591#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4592 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4593 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4596#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4599#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4600 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4601 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4604#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4605 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4606 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4609#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4610 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4611 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4614#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4615 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4616 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4619#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4620 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4621 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4624#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4625 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4626 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4629#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4630 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4631 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4632 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4633 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4634 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4637#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4638 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4639 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4640 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4641 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4642 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4643 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4646#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4647 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4648 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4649 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4650 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4651 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4652 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4655#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4656 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4657 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4660#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4661 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4662 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4665#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4666 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4667 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4668 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4671#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4672 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4673 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4674 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4677#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4678 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4679 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4680 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4683#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4684 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4685 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4686 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4689#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4690 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4691 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4694#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4695 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4696 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4697 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4700#define INIT_hipGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4703#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4704 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4705 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4706 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4709#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4710 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4711 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4712 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4713 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4716#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4717 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4718 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4719 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4720 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4723#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4724 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4725 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4728#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4729 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4730 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4731 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4734#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4735 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4736 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4737 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4738 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4741#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4742 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4743 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4744 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4747#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4748 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4749 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4750 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4753#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4754 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4755 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4756 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4757 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4760#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4761 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4762 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4763 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4766#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4767 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4770#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4771 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4772 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4773 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4774 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4775 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4776 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4777 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4778 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4779 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4780 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4781 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4782 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4783 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4786#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4787 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4788 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4789 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4792#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4793 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4796#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4797 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4798 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4799 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4802#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4803 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4804 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4807#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4808 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4809 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4810 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4813#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4814 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4815 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4816 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4819#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4820 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4823#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4824 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4825 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4828#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4829 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4830 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4833#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4834 cb_data.args.hipInit.flags = (unsigned int)flags; \
4837#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4838 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4841#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4842 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4843 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4846#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4847 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4848 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4851#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4852 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4853 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4856#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4857 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4858 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4859 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4862#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4863 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4866#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4867 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4868 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4869 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4870 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4871 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4872 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4875#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4876 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4877 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4878 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4881#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4882 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4883 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4884 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4887#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4888 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4889 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4890 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4891 cb_data.args.hipLaunchKernel.args = (void**)args; \
4892 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4893 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4896#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4897 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4898 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4901#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4902 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4903 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4906#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4907 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4908 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4909 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4910 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4913#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4914 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4915 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4916 cb_data.args.hipMallocArray.width = (size_t)width; \
4917 cb_data.args.hipMallocArray.height = (size_t)height; \
4918 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4921#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4922 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4923 cb_data.args.hipMallocAsync.size = (size_t)size; \
4924 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4927#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4928 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4929 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4930 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4931 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4934#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4935 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4936 cb_data.args.hipMallocHost.size = (size_t)size; \
4939#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4940 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4941 cb_data.args.hipMallocManaged.size = (size_t)size; \
4942 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4945#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4946 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4947 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4948 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4949 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4950 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4953#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4954 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4955 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4956 cb_data.args.hipMallocPitch.width = (size_t)width; \
4957 cb_data.args.hipMallocPitch.height = (size_t)height; \
4960#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4961 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4962 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4965#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4966 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4967 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4968 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4969 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4970 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4973#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4974 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4975 cb_data.args.hipMemAdvise.count = (size_t)count; \
4976 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4977 cb_data.args.hipMemAdvise.device = (int)device; \
4980#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4981 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4982 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4985#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4986 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4987 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4988 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4989 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4990 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4993#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4994 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4995 cb_data.args.hipMemCreate.size = (size_t)size; \
4996 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4997 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
5000#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
5001 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
5002 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
5003 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
5004 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
5007#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
5008 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
5009 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
5010 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
5013#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
5014 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
5015 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
5016 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
5019#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
5020 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
5021 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
5022 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
5025#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
5026 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
5027 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
5030#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
5031 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
5032 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
5035#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
5036 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
5037 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
5038 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
5041#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
5042 cb_data.args.hipMemMap.ptr = (void*)ptr; \
5043 cb_data.args.hipMemMap.size = (size_t)size; \
5044 cb_data.args.hipMemMap.offset = (size_t)offset; \
5045 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
5046 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
5049#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
5050 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
5051 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
5052 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
5055#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
5056 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
5057 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
5060#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
5061 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
5064#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
5065 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
5066 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
5069#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
5070 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
5071 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
5072 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
5073 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
5076#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
5077 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
5078 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
5079 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
5082#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
5083 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
5084 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
5085 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
5088#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
5089 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
5090 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
5091 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
5092 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
5095#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
5096 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
5097 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
5098 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
5101#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
5102 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
5103 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
5104 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
5107#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
5108 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
5109 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
5110 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
5113#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
5114 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
5115 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
5118#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
5119 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
5120 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
5121 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
5122 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
5125#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
5126 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
5127 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
5130#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
5131 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
5132 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
5133 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
5134 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
5135 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
5138#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
5139 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
5140 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
5141 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
5142 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
5143 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
5144 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
5147#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
5148 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
5151#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
5152 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
5153 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
5156#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
5157 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
5158 cb_data.args.hipMemSetAccess.size = (size_t)size; \
5159 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
5160 cb_data.args.hipMemSetAccess.count = (size_t)count; \
5163#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
5164 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
5165 cb_data.args.hipMemUnmap.size = (size_t)size; \
5168#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
5169 cb_data.args.hipMemcpy.dst = (void*)dst; \
5170 cb_data.args.hipMemcpy.src = (const void*)src; \
5171 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
5172 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
5175#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
5176 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
5177 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
5178 cb_data.args.hipMemcpy2D.src = (const void*)src; \
5179 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
5180 cb_data.args.hipMemcpy2D.width = (size_t)width; \
5181 cb_data.args.hipMemcpy2D.height = (size_t)height; \
5182 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
5185#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) { \
5186 cb_data.args.hipMemcpy2DArrayToArray.dst = (hipArray_t)dst; \
5187 cb_data.args.hipMemcpy2DArrayToArray.wOffsetDst = (size_t)wOffsetDst; \
5188 cb_data.args.hipMemcpy2DArrayToArray.hOffsetDst = (size_t)hOffsetDst; \
5189 cb_data.args.hipMemcpy2DArrayToArray.src = (hipArray_const_t)src; \
5190 cb_data.args.hipMemcpy2DArrayToArray.wOffsetSrc = (size_t)wOffsetSrc; \
5191 cb_data.args.hipMemcpy2DArrayToArray.hOffsetSrc = (size_t)hOffsetSrc; \
5192 cb_data.args.hipMemcpy2DArrayToArray.width = (size_t)width; \
5193 cb_data.args.hipMemcpy2DArrayToArray.height = (size_t)height; \
5194 cb_data.args.hipMemcpy2DArrayToArray.kind = (hipMemcpyKind)kind; \
5197#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
5198 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
5199 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
5200 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
5201 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
5202 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
5203 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
5204 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
5205 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
5208#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
5209 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
5210 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
5211 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
5212 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
5213 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
5214 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
5215 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
5216 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
5219#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
5220 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
5221 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
5222 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
5223 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
5224 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
5225 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
5226 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
5227 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
5228 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
5231#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
5232 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
5233 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
5234 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
5235 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
5236 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
5237 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
5238 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
5239 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
5242#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
5243 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
5244 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
5245 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
5246 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
5247 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
5248 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
5249 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
5250 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
5251 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
5254#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
5255 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
5258#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
5260 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
5263#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
5264 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
5265 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
5266 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
5267 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
5268 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
5271#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) { \
5272 cb_data.args.hipMemcpyAtoA.dstArray = (hipArray_t)dstArray; \
5273 cb_data.args.hipMemcpyAtoA.dstOffset = (size_t)dstOffset; \
5274 cb_data.args.hipMemcpyAtoA.srcArray = (hipArray_t)srcArray; \
5275 cb_data.args.hipMemcpyAtoA.srcOffset = (size_t)srcOffset; \
5276 cb_data.args.hipMemcpyAtoA.ByteCount = (size_t)ByteCount; \
5279#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) { \
5280 cb_data.args.hipMemcpyAtoD.dstDevice = (hipDeviceptr_t)dstDevice; \
5281 cb_data.args.hipMemcpyAtoD.srcArray = (hipArray_t)srcArray; \
5282 cb_data.args.hipMemcpyAtoD.srcOffset = (size_t)srcOffset; \
5283 cb_data.args.hipMemcpyAtoD.ByteCount = (size_t)ByteCount; \
5286#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
5287 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
5288 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
5289 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
5290 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
5293#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) { \
5294 cb_data.args.hipMemcpyAtoHAsync.dstHost = (void*)dstHost; \
5295 cb_data.args.hipMemcpyAtoHAsync.srcArray = (hipArray_t)srcArray; \
5296 cb_data.args.hipMemcpyAtoHAsync.srcOffset = (size_t)srcOffset; \
5297 cb_data.args.hipMemcpyAtoHAsync.ByteCount = (size_t)ByteCount; \
5298 cb_data.args.hipMemcpyAtoHAsync.stream = (hipStream_t)stream; \
5301#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) { \
5302 cb_data.args.hipMemcpyDtoA.dstArray = (hipArray_t)dstArray; \
5303 cb_data.args.hipMemcpyDtoA.dstOffset = (size_t)dstOffset; \
5304 cb_data.args.hipMemcpyDtoA.srcDevice = (hipDeviceptr_t)srcDevice; \
5305 cb_data.args.hipMemcpyDtoA.ByteCount = (size_t)ByteCount; \
5308#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
5309 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
5310 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
5311 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
5314#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
5315 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5316 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
5317 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
5318 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
5321#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
5322 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
5323 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
5324 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
5327#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
5328 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
5329 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
5330 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
5331 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
5334#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
5335 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
5336 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
5337 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
5338 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
5339 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
5340 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
5343#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
5344 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
5345 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5346 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5347 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5348 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5351#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5352 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5353 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5354 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5355 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5356 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5357 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5360#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5361 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5362 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5363 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5364 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5367#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) { \
5368 cb_data.args.hipMemcpyHtoAAsync.dstArray = (hipArray_t)dstArray; \
5369 cb_data.args.hipMemcpyHtoAAsync.dstOffset = (size_t)dstOffset; \
5370 cb_data.args.hipMemcpyHtoAAsync.srcHost = (const void*)srcHost; \
5371 cb_data.args.hipMemcpyHtoAAsync.ByteCount = (size_t)ByteCount; \
5372 cb_data.args.hipMemcpyHtoAAsync.stream = (hipStream_t)stream; \
5375#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5376 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5377 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5378 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5381#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5382 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5383 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5384 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5385 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5388#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5389 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5392#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5393 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5394 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5397#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5398 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5399 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5400 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5401 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5402 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5405#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5406 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5407 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5408 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5409 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5410 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5411 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5414#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5415 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5416 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5417 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5418 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5419 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5420 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5423#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5424 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5425 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5426 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5427 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5428 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5431#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5432 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5433 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5434 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5435 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5436 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5437 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5440#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5441 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5442 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5443 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5444 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5445 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5448#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5449 cb_data.args.hipMemset.dst = (void*)dst; \
5450 cb_data.args.hipMemset.value = (int)value; \
5451 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5454#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5455 cb_data.args.hipMemset2D.dst = (void*)dst; \
5456 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5457 cb_data.args.hipMemset2D.value = (int)value; \
5458 cb_data.args.hipMemset2D.width = (size_t)width; \
5459 cb_data.args.hipMemset2D.height = (size_t)height; \
5462#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5463 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5464 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5465 cb_data.args.hipMemset2DAsync.value = (int)value; \
5466 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5467 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5468 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5471#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5472 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5473 cb_data.args.hipMemset3D.value = (int)value; \
5474 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5477#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5478 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5479 cb_data.args.hipMemset3DAsync.value = (int)value; \
5480 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5481 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5484#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5485 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5486 cb_data.args.hipMemsetAsync.value = (int)value; \
5487 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5488 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5491#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5492 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5493 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5494 cb_data.args.hipMemsetD16.count = (size_t)count; \
5497#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5498 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5499 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5500 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5501 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5504#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5505 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5506 cb_data.args.hipMemsetD32.value = (int)value; \
5507 cb_data.args.hipMemsetD32.count = (size_t)count; \
5510#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5511 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5512 cb_data.args.hipMemsetD32Async.value = (int)value; \
5513 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5514 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5517#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5518 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5519 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5520 cb_data.args.hipMemsetD8.count = (size_t)count; \
5523#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5524 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5525 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5526 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5527 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5530#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5531 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5532 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5533 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5536#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5537 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5540#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5541 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5542 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5543 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5546#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5547 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5548 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5549 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5552#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5553 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5554 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5555 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5556 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5559#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5560 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5561 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5562 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5565#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5566 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5567 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5568 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5569 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5570 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5571 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5572 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5573 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5574 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5575 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5578#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5579 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5580 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5581 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5584#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5585 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5586 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5587 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5588 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5589 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5590 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5591 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5592 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5593 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5594 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5595 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5598#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5599 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5600 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5603#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5604 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5605 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5608#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5609 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5610 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5611 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5612 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5613 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5616#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5617 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5618 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5619 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5620 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5623#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5624 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5625 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5626 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5627 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5628 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5631#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5632 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5633 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5634 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5635 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5636 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5639#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5640 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5641 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5642 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5643 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5644 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5645 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5648#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5649 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5652#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5653 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5654 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5655 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5656 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5659#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5660 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5661 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5662 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5663 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5664 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5667#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5668 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5669 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5670 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5671 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5672 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5675#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5678#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5679 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5680 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5681 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5684#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5685 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5686 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5689#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5690 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5691 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5692 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5695#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5698#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5701#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5702 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5705#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5706 cb_data.args.hipSetDevice.deviceId = (int)device; \
5709#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5710 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5713#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) { \
5714 cb_data.args.hipSetValidDevices.device_arr = (int*)device_arr; \
5715 cb_data.args.hipSetValidDevices.len = (int)len; \
5718#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5719 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5720 cb_data.args.hipSetupArgument.size = (size_t)size; \
5721 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5724#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5725 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5726 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5727 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5728 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5731#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5732 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5733 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5734 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5735 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5738#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5739 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5740 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5741 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5742 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5745#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5746 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5747 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5750#define INIT_hipStreamBeginCaptureToGraph_CB_ARGS_DATA(cb_data) { \
5751 cb_data.args.hipStreamBeginCaptureToGraph.stream = (hipStream_t)stream; \
5752 cb_data.args.hipStreamBeginCaptureToGraph.graph = (hipGraph_t)graph; \
5753 cb_data.args.hipStreamBeginCaptureToGraph.dependencies = (const hipGraphNode_t*)dependencies; \
5754 cb_data.args.hipStreamBeginCaptureToGraph.dependencyData = (const hipGraphEdgeData*)dependencyData; \
5755 cb_data.args.hipStreamBeginCaptureToGraph.numDependencies = (size_t)numDependencies; \
5756 cb_data.args.hipStreamBeginCaptureToGraph.mode = (hipStreamCaptureMode)mode; \
5759#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5760 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5763#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5764 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5765 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5768#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5769 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5770 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5771 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5774#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5775 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5778#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5779 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5780 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5783#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5784 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5785 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5786 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5789#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5790 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5791 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5792 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5793 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5794 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5795 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5798#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5799 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5800 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5803#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5804 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5805 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5808#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5809 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5810 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5813#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5814 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5815 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5818#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5819 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5822#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5823 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5826#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5827 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5828 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5829 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5830 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5833#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5834 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5835 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5836 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5839#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5840 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5841 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5842 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5843 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5844 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5847#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5848 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5849 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5850 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5851 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5852 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5855#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5856 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5857 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5858 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5859 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5862#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5863 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5864 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5865 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5866 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5869#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5870 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5871 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5874#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) { \
5875 cb_data.args.hipTexRefGetArray.pArray = (hipArray_t*)pArray; \
5876 cb_data.args.hipTexRefGetArray.texRef = (const textureReference*)texRef; \
5879#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) { \
5880 cb_data.args.hipTexRefGetBorderColor.pBorderColor = (float*)pBorderColor; \
5881 cb_data.args.hipTexRefGetBorderColor.texRef = (const textureReference*)texRef; \
5884#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5885 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5886 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5889#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5890 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5891 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5892 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5895#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5896 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5897 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5900#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5901 cb_data.args.hipTexRefGetMipMappedArray.pArray = (hipMipmappedArray_t*)pArray; \
5902 cb_data.args.hipTexRefGetMipMappedArray.texRef = (const textureReference*)texRef; \
5905#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5906 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5907 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5910#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5911 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5912 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5913 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5916#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5917 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5918 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5919 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5920 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5923#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5924 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5925 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5926 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5927 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5930#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5931 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5932 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5933 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5936#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5937 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5938 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5941#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5942 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5943 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5946#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5947 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5948 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5949 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5952#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5953 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5954 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5957#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5958 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5959 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5962#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5963 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5964 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5965 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5968#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5969 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5970 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5971 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5974#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5975 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5978#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5979 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5980 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5981 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5982 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5983 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5986#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5987 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5988 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5991#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5992 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5993 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5996#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5997 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5998 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5999 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
6000 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
6002#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
6006#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
6008#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
6010#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
6012#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
6014#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
6016#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
6018#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
6020#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
6022#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
6024#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
6026#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
6028#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
6030#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
6032#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
6034#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
6036#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
6038#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
6040#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
6042#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
6044#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
6046#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
6048#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
6050#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
6052#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
6054#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
6056#if HIP_PROF_HIP_API_STRING
6058static inline void hipApiArgsInit(hip_api_id_t
id, hip_api_data_t* data) {
6061 case HIP_API_ID___hipPopCallConfiguration:
6062 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
6063 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
6064 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
6065 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
6068 case HIP_API_ID___hipPushCallConfiguration:
6071 case HIP_API_ID_hipArray3DCreate:
6072 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
6073 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
6076 case HIP_API_ID_hipArray3DGetDescriptor:
6077 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
6080 case HIP_API_ID_hipArrayCreate:
6081 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
6082 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
6085 case HIP_API_ID_hipArrayDestroy:
6088 case HIP_API_ID_hipArrayGetDescriptor:
6089 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
6092 case HIP_API_ID_hipArrayGetInfo:
6093 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
6094 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
6095 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
6098 case HIP_API_ID_hipChooseDeviceR0000:
6099 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
6100 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
6103 case HIP_API_ID_hipChooseDeviceR0600:
6104 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
6105 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
6108 case HIP_API_ID_hipConfigureCall:
6111 case HIP_API_ID_hipCreateSurfaceObject:
6112 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
6113 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
6116 case HIP_API_ID_hipCtxCreate:
6117 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
6120 case HIP_API_ID_hipCtxDestroy:
6123 case HIP_API_ID_hipCtxDisablePeerAccess:
6126 case HIP_API_ID_hipCtxEnablePeerAccess:
6129 case HIP_API_ID_hipCtxGetApiVersion:
6130 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
6133 case HIP_API_ID_hipCtxGetCacheConfig:
6134 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
6137 case HIP_API_ID_hipCtxGetCurrent:
6138 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
6141 case HIP_API_ID_hipCtxGetDevice:
6142 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
6145 case HIP_API_ID_hipCtxGetFlags:
6146 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
6149 case HIP_API_ID_hipCtxGetSharedMemConfig:
6150 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
6153 case HIP_API_ID_hipCtxPopCurrent:
6154 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
6157 case HIP_API_ID_hipCtxPushCurrent:
6160 case HIP_API_ID_hipCtxSetCacheConfig:
6163 case HIP_API_ID_hipCtxSetCurrent:
6166 case HIP_API_ID_hipCtxSetSharedMemConfig:
6169 case HIP_API_ID_hipCtxSynchronize:
6172 case HIP_API_ID_hipDestroyExternalMemory:
6175 case HIP_API_ID_hipDestroyExternalSemaphore:
6178 case HIP_API_ID_hipDestroySurfaceObject:
6181 case HIP_API_ID_hipDeviceCanAccessPeer:
6182 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
6185 case HIP_API_ID_hipDeviceComputeCapability:
6186 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
6187 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
6190 case HIP_API_ID_hipDeviceDisablePeerAccess:
6193 case HIP_API_ID_hipDeviceEnablePeerAccess:
6196 case HIP_API_ID_hipDeviceGet:
6197 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
6200 case HIP_API_ID_hipDeviceGetAttribute:
6201 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
6204 case HIP_API_ID_hipDeviceGetByPCIBusId:
6205 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
6206 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
6209 case HIP_API_ID_hipDeviceGetCacheConfig:
6210 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
6213 case HIP_API_ID_hipDeviceGetDefaultMemPool:
6214 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
6217 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
6220 case HIP_API_ID_hipDeviceGetLimit:
6221 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
6224 case HIP_API_ID_hipDeviceGetMemPool:
6225 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
6228 case HIP_API_ID_hipDeviceGetName:
6229 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
6232 case HIP_API_ID_hipDeviceGetP2PAttribute:
6233 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
6236 case HIP_API_ID_hipDeviceGetPCIBusId:
6237 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
6240 case HIP_API_ID_hipDeviceGetSharedMemConfig:
6241 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
6244 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
6245 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
6246 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
6249 case HIP_API_ID_hipDeviceGetUuid:
6250 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
6253 case HIP_API_ID_hipDeviceGraphMemTrim:
6256 case HIP_API_ID_hipDevicePrimaryCtxGetState:
6257 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
6258 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
6261 case HIP_API_ID_hipDevicePrimaryCtxRelease:
6264 case HIP_API_ID_hipDevicePrimaryCtxReset:
6267 case HIP_API_ID_hipDevicePrimaryCtxRetain:
6268 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
6271 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
6274 case HIP_API_ID_hipDeviceReset:
6277 case HIP_API_ID_hipDeviceSetCacheConfig:
6280 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
6283 case HIP_API_ID_hipDeviceSetLimit:
6286 case HIP_API_ID_hipDeviceSetMemPool:
6289 case HIP_API_ID_hipDeviceSetSharedMemConfig:
6292 case HIP_API_ID_hipDeviceSynchronize:
6295 case HIP_API_ID_hipDeviceTotalMem:
6296 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
6299 case HIP_API_ID_hipDriverGetVersion:
6300 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
6303 case HIP_API_ID_hipDrvGraphAddMemFreeNode:
6304 if (data->args.hipDrvGraphAddMemFreeNode.phGraphNode) data->args.hipDrvGraphAddMemFreeNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemFreeNode.phGraphNode);
6305 if (data->args.hipDrvGraphAddMemFreeNode.dependencies) data->args.hipDrvGraphAddMemFreeNode.dependencies__val = *(data->args.hipDrvGraphAddMemFreeNode.dependencies);
6308 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
6309 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
6310 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
6311 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
6314 case HIP_API_ID_hipDrvGraphAddMemsetNode:
6315 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode) data->args.hipDrvGraphAddMemsetNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemsetNode.phGraphNode);
6316 if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
6317 if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
6320 case HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams:
6321 if (data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams) data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams__val = *(data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams);
6324 case HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams:
6325 if (data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams) data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams__val = *(data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams);
6328 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
6329 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
6332 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
6333 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
6336 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
6337 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
6340 case HIP_API_ID_hipDrvMemcpy3D:
6341 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
6344 case HIP_API_ID_hipDrvMemcpy3DAsync:
6345 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
6348 case HIP_API_ID_hipDrvPointerGetAttributes:
6349 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
6350 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
6353 case HIP_API_ID_hipEventCreate:
6354 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
6357 case HIP_API_ID_hipEventCreateWithFlags:
6358 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
6361 case HIP_API_ID_hipEventDestroy:
6364 case HIP_API_ID_hipEventElapsedTime:
6365 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
6368 case HIP_API_ID_hipEventQuery:
6371 case HIP_API_ID_hipEventRecord:
6374 case HIP_API_ID_hipEventSynchronize:
6377 case HIP_API_ID_hipExtGetLastError:
6380 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6381 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6382 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6385 case HIP_API_ID_hipExtLaunchKernel:
6386 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6389 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6390 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6393 case HIP_API_ID_hipExtMallocWithFlags:
6394 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6397 case HIP_API_ID_hipExtModuleLaunchKernel:
6398 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6399 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6402 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6403 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6404 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6407 case HIP_API_ID_hipExtStreamGetCUMask:
6408 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6411 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6412 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6413 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6416 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6417 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6418 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6421 case HIP_API_ID_hipFree:
6424 case HIP_API_ID_hipFreeArray:
6427 case HIP_API_ID_hipFreeAsync:
6430 case HIP_API_ID_hipFreeHost:
6433 case HIP_API_ID_hipFreeMipmappedArray:
6436 case HIP_API_ID_hipFuncGetAttribute:
6437 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6440 case HIP_API_ID_hipFuncGetAttributes:
6441 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6444 case HIP_API_ID_hipFuncSetAttribute:
6447 case HIP_API_ID_hipFuncSetCacheConfig:
6450 case HIP_API_ID_hipFuncSetSharedMemConfig:
6453 case HIP_API_ID_hipGLGetDevices:
6454 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6455 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6458 case HIP_API_ID_hipGetChannelDesc:
6459 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6462 case HIP_API_ID_hipGetDevice:
6463 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6466 case HIP_API_ID_hipGetDeviceCount:
6467 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6470 case HIP_API_ID_hipGetDeviceFlags:
6471 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6474 case HIP_API_ID_hipGetDevicePropertiesR0000:
6475 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6478 case HIP_API_ID_hipGetDevicePropertiesR0600:
6479 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6482 case HIP_API_ID_hipGetErrorString:
6485 case HIP_API_ID_hipGetFuncBySymbol:
6486 if (data->args.hipGetFuncBySymbol.functionPtr) data->args.hipGetFuncBySymbol.functionPtr__val = *(data->args.hipGetFuncBySymbol.functionPtr);
6489 case HIP_API_ID_hipGetLastError:
6492 case HIP_API_ID_hipGetMipmappedArrayLevel:
6493 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6496 case HIP_API_ID_hipGetProcAddress:
6497 if (data->args.hipGetProcAddress.symbol) data->args.hipGetProcAddress.symbol__val = *(data->args.hipGetProcAddress.symbol);
6498 if (data->args.hipGetProcAddress.pfn) data->args.hipGetProcAddress.pfn__val = *(data->args.hipGetProcAddress.pfn);
6499 if (data->args.hipGetProcAddress.symbolStatus) data->args.hipGetProcAddress.symbolStatus__val = *(data->args.hipGetProcAddress.symbolStatus);
6502 case HIP_API_ID_hipGetSymbolAddress:
6503 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6506 case HIP_API_ID_hipGetSymbolSize:
6507 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6510 case HIP_API_ID_hipGraphAddChildGraphNode:
6511 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6512 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6515 case HIP_API_ID_hipGraphAddDependencies:
6516 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6517 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6520 case HIP_API_ID_hipGraphAddEmptyNode:
6521 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6522 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6525 case HIP_API_ID_hipGraphAddEventRecordNode:
6526 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6527 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6530 case HIP_API_ID_hipGraphAddEventWaitNode:
6531 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6532 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6535 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6536 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6537 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6538 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6541 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6542 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6543 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6544 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6547 case HIP_API_ID_hipGraphAddHostNode:
6548 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6549 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6550 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6553 case HIP_API_ID_hipGraphAddKernelNode:
6554 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6555 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6556 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6559 case HIP_API_ID_hipGraphAddMemAllocNode:
6560 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6561 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6562 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6565 case HIP_API_ID_hipGraphAddMemFreeNode:
6566 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6567 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6570 case HIP_API_ID_hipGraphAddMemcpyNode:
6571 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6572 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6573 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6576 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6577 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6578 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6581 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6582 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6583 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6586 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6587 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6588 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6591 case HIP_API_ID_hipGraphAddMemsetNode:
6592 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6593 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6594 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6597 case HIP_API_ID_hipGraphAddNode:
6598 if (data->args.hipGraphAddNode.pGraphNode) data->args.hipGraphAddNode.pGraphNode__val = *(data->args.hipGraphAddNode.pGraphNode);
6599 if (data->args.hipGraphAddNode.pDependencies) data->args.hipGraphAddNode.pDependencies__val = *(data->args.hipGraphAddNode.pDependencies);
6600 if (data->args.hipGraphAddNode.nodeParams) data->args.hipGraphAddNode.nodeParams__val = *(data->args.hipGraphAddNode.nodeParams);
6603 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6604 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6607 case HIP_API_ID_hipGraphClone:
6608 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6611 case HIP_API_ID_hipGraphCreate:
6612 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6615 case HIP_API_ID_hipGraphDebugDotPrint:
6616 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6619 case HIP_API_ID_hipGraphDestroy:
6622 case HIP_API_ID_hipGraphDestroyNode:
6625 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6626 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6629 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6632 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6633 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6636 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6639 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6642 case HIP_API_ID_hipGraphExecDestroy:
6645 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6648 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6651 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6652 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6655 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6656 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6659 case HIP_API_ID_hipGraphExecGetFlags:
6660 if (data->args.hipGraphExecGetFlags.flags) data->args.hipGraphExecGetFlags.flags__val = *(data->args.hipGraphExecGetFlags.flags);
6663 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6664 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6667 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6668 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6671 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6672 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6675 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6678 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6681 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6684 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6685 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6688 case HIP_API_ID_hipGraphExecNodeSetParams:
6689 if (data->args.hipGraphExecNodeSetParams.nodeParams) data->args.hipGraphExecNodeSetParams.nodeParams__val = *(data->args.hipGraphExecNodeSetParams.nodeParams);
6692 case HIP_API_ID_hipGraphExecUpdate:
6693 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6694 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6697 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6698 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6701 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6702 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6705 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6706 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6709 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6710 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6713 case HIP_API_ID_hipGraphGetEdges:
6714 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6715 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6716 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6719 case HIP_API_ID_hipGraphGetNodes:
6720 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6721 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6724 case HIP_API_ID_hipGraphGetRootNodes:
6725 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6726 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6729 case HIP_API_ID_hipGraphHostNodeGetParams:
6730 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6733 case HIP_API_ID_hipGraphHostNodeSetParams:
6734 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6737 case HIP_API_ID_hipGraphInstantiate:
6738 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6739 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6740 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6743 case HIP_API_ID_hipGraphInstantiateWithFlags:
6744 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6747 case HIP_API_ID_hipGraphInstantiateWithParams:
6748 if (data->args.hipGraphInstantiateWithParams.pGraphExec) data->args.hipGraphInstantiateWithParams.pGraphExec__val = *(data->args.hipGraphInstantiateWithParams.pGraphExec);
6749 if (data->args.hipGraphInstantiateWithParams.instantiateParams) data->args.hipGraphInstantiateWithParams.instantiateParams__val = *(data->args.hipGraphInstantiateWithParams.instantiateParams);
6752 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6755 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6756 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6759 case HIP_API_ID_hipGraphKernelNodeGetParams:
6760 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6763 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6764 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6767 case HIP_API_ID_hipGraphKernelNodeSetParams:
6768 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6771 case HIP_API_ID_hipGraphLaunch:
6774 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6775 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6778 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6781 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6782 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6785 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6786 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6789 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6792 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6795 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6798 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6799 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6802 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6803 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6806 case HIP_API_ID_hipGraphNodeFindInClone:
6807 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6810 case HIP_API_ID_hipGraphNodeGetDependencies:
6811 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6812 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6815 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6816 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6817 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6820 case HIP_API_ID_hipGraphNodeGetEnabled:
6821 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6824 case HIP_API_ID_hipGraphNodeGetType:
6825 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6828 case HIP_API_ID_hipGraphNodeSetEnabled:
6831 case HIP_API_ID_hipGraphNodeSetParams:
6832 if (data->args.hipGraphNodeSetParams.nodeParams) data->args.hipGraphNodeSetParams.nodeParams__val = *(data->args.hipGraphNodeSetParams.nodeParams);
6835 case HIP_API_ID_hipGraphReleaseUserObject:
6838 case HIP_API_ID_hipGraphRemoveDependencies:
6839 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6840 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6843 case HIP_API_ID_hipGraphRetainUserObject:
6846 case HIP_API_ID_hipGraphUpload:
6849 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6850 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6853 case HIP_API_ID_hipGraphicsGLRegisterImage:
6854 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6857 case HIP_API_ID_hipGraphicsMapResources:
6858 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6861 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6862 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6863 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6866 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6867 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6870 case HIP_API_ID_hipGraphicsUnmapResources:
6871 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6874 case HIP_API_ID_hipGraphicsUnregisterResource:
6877 case HIP_API_ID_hipHccModuleLaunchKernel:
6878 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6879 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6882 case HIP_API_ID_hipHostAlloc:
6883 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6886 case HIP_API_ID_hipHostFree:
6889 case HIP_API_ID_hipHostGetDevicePointer:
6890 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6893 case HIP_API_ID_hipHostGetFlags:
6894 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6897 case HIP_API_ID_hipHostMalloc:
6898 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6901 case HIP_API_ID_hipHostRegister:
6904 case HIP_API_ID_hipHostUnregister:
6907 case HIP_API_ID_hipImportExternalMemory:
6908 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6909 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6912 case HIP_API_ID_hipImportExternalSemaphore:
6913 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6914 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6917 case HIP_API_ID_hipInit:
6920 case HIP_API_ID_hipIpcCloseMemHandle:
6923 case HIP_API_ID_hipIpcGetEventHandle:
6924 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6927 case HIP_API_ID_hipIpcGetMemHandle:
6928 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6931 case HIP_API_ID_hipIpcOpenEventHandle:
6932 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6935 case HIP_API_ID_hipIpcOpenMemHandle:
6936 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6939 case HIP_API_ID_hipLaunchByPtr:
6942 case HIP_API_ID_hipLaunchCooperativeKernel:
6943 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6946 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6947 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6950 case HIP_API_ID_hipLaunchHostFunc:
6953 case HIP_API_ID_hipLaunchKernel:
6954 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6957 case HIP_API_ID_hipMalloc:
6958 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6961 case HIP_API_ID_hipMalloc3D:
6962 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6965 case HIP_API_ID_hipMalloc3DArray:
6966 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6967 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6970 case HIP_API_ID_hipMallocArray:
6971 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6972 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6975 case HIP_API_ID_hipMallocAsync:
6976 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6979 case HIP_API_ID_hipMallocFromPoolAsync:
6980 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6983 case HIP_API_ID_hipMallocHost:
6984 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6987 case HIP_API_ID_hipMallocManaged:
6988 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6991 case HIP_API_ID_hipMallocMipmappedArray:
6992 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6993 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6996 case HIP_API_ID_hipMallocPitch:
6997 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6998 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
7001 case HIP_API_ID_hipMemAddressFree:
7004 case HIP_API_ID_hipMemAddressReserve:
7005 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
7008 case HIP_API_ID_hipMemAdvise:
7011 case HIP_API_ID_hipMemAllocHost:
7012 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
7015 case HIP_API_ID_hipMemAllocPitch:
7016 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
7017 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
7020 case HIP_API_ID_hipMemCreate:
7021 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
7022 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
7025 case HIP_API_ID_hipMemExportToShareableHandle:
7028 case HIP_API_ID_hipMemGetAccess:
7029 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
7030 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
7033 case HIP_API_ID_hipMemGetAddressRange:
7034 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
7035 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
7038 case HIP_API_ID_hipMemGetAllocationGranularity:
7039 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
7040 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
7043 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
7044 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
7047 case HIP_API_ID_hipMemGetInfo:
7048 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
7049 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
7052 case HIP_API_ID_hipMemImportFromShareableHandle:
7053 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
7056 case HIP_API_ID_hipMemMap:
7059 case HIP_API_ID_hipMemMapArrayAsync:
7060 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
7063 case HIP_API_ID_hipMemPoolCreate:
7064 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
7065 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
7068 case HIP_API_ID_hipMemPoolDestroy:
7071 case HIP_API_ID_hipMemPoolExportPointer:
7072 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
7075 case HIP_API_ID_hipMemPoolExportToShareableHandle:
7078 case HIP_API_ID_hipMemPoolGetAccess:
7079 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
7080 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
7083 case HIP_API_ID_hipMemPoolGetAttribute:
7086 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
7087 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
7090 case HIP_API_ID_hipMemPoolImportPointer:
7091 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
7092 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
7095 case HIP_API_ID_hipMemPoolSetAccess:
7096 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
7099 case HIP_API_ID_hipMemPoolSetAttribute:
7102 case HIP_API_ID_hipMemPoolTrimTo:
7105 case HIP_API_ID_hipMemPrefetchAsync:
7108 case HIP_API_ID_hipMemPtrGetInfo:
7109 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
7112 case HIP_API_ID_hipMemRangeGetAttribute:
7115 case HIP_API_ID_hipMemRangeGetAttributes:
7116 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
7117 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
7118 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
7121 case HIP_API_ID_hipMemRelease:
7124 case HIP_API_ID_hipMemRetainAllocationHandle:
7125 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
7128 case HIP_API_ID_hipMemSetAccess:
7129 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
7132 case HIP_API_ID_hipMemUnmap:
7135 case HIP_API_ID_hipMemcpy:
7138 case HIP_API_ID_hipMemcpy2D:
7141 case HIP_API_ID_hipMemcpy2DArrayToArray:
7144 case HIP_API_ID_hipMemcpy2DAsync:
7147 case HIP_API_ID_hipMemcpy2DFromArray:
7150 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
7153 case HIP_API_ID_hipMemcpy2DToArray:
7156 case HIP_API_ID_hipMemcpy2DToArrayAsync:
7159 case HIP_API_ID_hipMemcpy3D:
7160 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
7163 case HIP_API_ID_hipMemcpy3DAsync:
7164 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
7167 case HIP_API_ID_hipMemcpyAsync:
7170 case HIP_API_ID_hipMemcpyAtoA:
7173 case HIP_API_ID_hipMemcpyAtoD:
7176 case HIP_API_ID_hipMemcpyAtoH:
7179 case HIP_API_ID_hipMemcpyAtoHAsync:
7182 case HIP_API_ID_hipMemcpyDtoA:
7185 case HIP_API_ID_hipMemcpyDtoD:
7188 case HIP_API_ID_hipMemcpyDtoDAsync:
7191 case HIP_API_ID_hipMemcpyDtoH:
7194 case HIP_API_ID_hipMemcpyDtoHAsync:
7197 case HIP_API_ID_hipMemcpyFromArray:
7200 case HIP_API_ID_hipMemcpyFromSymbol:
7203 case HIP_API_ID_hipMemcpyFromSymbolAsync:
7206 case HIP_API_ID_hipMemcpyHtoA:
7209 case HIP_API_ID_hipMemcpyHtoAAsync:
7212 case HIP_API_ID_hipMemcpyHtoD:
7215 case HIP_API_ID_hipMemcpyHtoDAsync:
7218 case HIP_API_ID_hipMemcpyParam2D:
7219 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
7222 case HIP_API_ID_hipMemcpyParam2DAsync:
7223 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
7226 case HIP_API_ID_hipMemcpyPeer:
7229 case HIP_API_ID_hipMemcpyPeerAsync:
7232 case HIP_API_ID_hipMemcpyToArray:
7235 case HIP_API_ID_hipMemcpyToSymbol:
7238 case HIP_API_ID_hipMemcpyToSymbolAsync:
7241 case HIP_API_ID_hipMemcpyWithStream:
7244 case HIP_API_ID_hipMemset:
7247 case HIP_API_ID_hipMemset2D:
7250 case HIP_API_ID_hipMemset2DAsync:
7253 case HIP_API_ID_hipMemset3D:
7256 case HIP_API_ID_hipMemset3DAsync:
7259 case HIP_API_ID_hipMemsetAsync:
7262 case HIP_API_ID_hipMemsetD16:
7265 case HIP_API_ID_hipMemsetD16Async:
7268 case HIP_API_ID_hipMemsetD32:
7271 case HIP_API_ID_hipMemsetD32Async:
7274 case HIP_API_ID_hipMemsetD8:
7277 case HIP_API_ID_hipMemsetD8Async:
7280 case HIP_API_ID_hipMipmappedArrayCreate:
7281 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
7282 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
7285 case HIP_API_ID_hipMipmappedArrayDestroy:
7288 case HIP_API_ID_hipMipmappedArrayGetLevel:
7289 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
7292 case HIP_API_ID_hipModuleGetFunction:
7293 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
7294 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
7297 case HIP_API_ID_hipModuleGetGlobal:
7298 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
7299 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
7300 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
7303 case HIP_API_ID_hipModuleGetTexRef:
7304 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
7305 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
7308 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
7309 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
7312 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
7313 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
7316 case HIP_API_ID_hipModuleLaunchKernel:
7317 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
7318 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
7321 case HIP_API_ID_hipModuleLoad:
7322 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
7323 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
7326 case HIP_API_ID_hipModuleLoadData:
7327 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
7330 case HIP_API_ID_hipModuleLoadDataEx:
7331 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
7332 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
7333 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
7336 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
7337 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7340 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7341 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7344 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
7345 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
7346 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
7349 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
7350 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
7351 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
7354 case HIP_API_ID_hipModuleUnload:
7357 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
7358 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7361 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7362 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7365 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
7366 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
7367 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
7370 case HIP_API_ID_hipPeekAtLastError:
7373 case HIP_API_ID_hipPointerGetAttribute:
7376 case HIP_API_ID_hipPointerGetAttributes:
7377 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
7380 case HIP_API_ID_hipPointerSetAttribute:
7383 case HIP_API_ID_hipProfilerStart:
7386 case HIP_API_ID_hipProfilerStop:
7389 case HIP_API_ID_hipRuntimeGetVersion:
7390 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
7393 case HIP_API_ID_hipSetDevice:
7396 case HIP_API_ID_hipSetDeviceFlags:
7399 case HIP_API_ID_hipSetValidDevices:
7400 if (data->args.hipSetValidDevices.device_arr) data->args.hipSetValidDevices.device_arr__val = *(data->args.hipSetValidDevices.device_arr);
7403 case HIP_API_ID_hipSetupArgument:
7406 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
7407 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
7408 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
7411 case HIP_API_ID_hipStreamAddCallback:
7414 case HIP_API_ID_hipStreamAttachMemAsync:
7417 case HIP_API_ID_hipStreamBeginCapture:
7420 case HIP_API_ID_hipStreamBeginCaptureToGraph:
7421 if (data->args.hipStreamBeginCaptureToGraph.dependencies) data->args.hipStreamBeginCaptureToGraph.dependencies__val = *(data->args.hipStreamBeginCaptureToGraph.dependencies);
7422 if (data->args.hipStreamBeginCaptureToGraph.dependencyData) data->args.hipStreamBeginCaptureToGraph.dependencyData__val = *(data->args.hipStreamBeginCaptureToGraph.dependencyData);
7425 case HIP_API_ID_hipStreamCreate:
7426 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
7429 case HIP_API_ID_hipStreamCreateWithFlags:
7430 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
7433 case HIP_API_ID_hipStreamCreateWithPriority:
7434 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
7437 case HIP_API_ID_hipStreamDestroy:
7440 case HIP_API_ID_hipStreamEndCapture:
7441 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7444 case HIP_API_ID_hipStreamGetCaptureInfo:
7445 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7446 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7449 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7450 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7451 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7452 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7453 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7454 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7457 case HIP_API_ID_hipStreamGetDevice:
7458 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7461 case HIP_API_ID_hipStreamGetFlags:
7462 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7465 case HIP_API_ID_hipStreamGetPriority:
7466 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7469 case HIP_API_ID_hipStreamIsCapturing:
7470 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7473 case HIP_API_ID_hipStreamQuery:
7476 case HIP_API_ID_hipStreamSynchronize:
7479 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7480 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7483 case HIP_API_ID_hipStreamWaitEvent:
7486 case HIP_API_ID_hipStreamWaitValue32:
7489 case HIP_API_ID_hipStreamWaitValue64:
7492 case HIP_API_ID_hipStreamWriteValue32:
7495 case HIP_API_ID_hipStreamWriteValue64:
7498 case HIP_API_ID_hipTexRefGetAddress:
7499 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7500 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7503 case HIP_API_ID_hipTexRefGetArray:
7504 if (data->args.hipTexRefGetArray.pArray) data->args.hipTexRefGetArray.pArray__val = *(data->args.hipTexRefGetArray.pArray);
7505 if (data->args.hipTexRefGetArray.texRef) data->args.hipTexRefGetArray.texRef__val = *(data->args.hipTexRefGetArray.texRef);
7508 case HIP_API_ID_hipTexRefGetBorderColor:
7509 if (data->args.hipTexRefGetBorderColor.pBorderColor) data->args.hipTexRefGetBorderColor.pBorderColor__val = *(data->args.hipTexRefGetBorderColor.pBorderColor);
7510 if (data->args.hipTexRefGetBorderColor.texRef) data->args.hipTexRefGetBorderColor.texRef__val = *(data->args.hipTexRefGetBorderColor.texRef);
7513 case HIP_API_ID_hipTexRefGetFlags:
7514 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7515 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7518 case HIP_API_ID_hipTexRefGetFormat:
7519 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7520 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7521 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7524 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7525 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7526 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7529 case HIP_API_ID_hipTexRefGetMipMappedArray:
7530 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7531 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7534 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7535 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7536 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7539 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7540 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7541 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7542 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7545 case HIP_API_ID_hipTexRefSetAddress:
7546 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7547 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7550 case HIP_API_ID_hipTexRefSetAddress2D:
7551 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7552 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7555 case HIP_API_ID_hipTexRefSetArray:
7556 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7559 case HIP_API_ID_hipTexRefSetBorderColor:
7560 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7561 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7564 case HIP_API_ID_hipTexRefSetFlags:
7565 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7568 case HIP_API_ID_hipTexRefSetFormat:
7569 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7572 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7573 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7576 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7577 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7580 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7581 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7584 case HIP_API_ID_hipTexRefSetMipmappedArray:
7585 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7586 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7589 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7590 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7593 case HIP_API_ID_hipUserObjectCreate:
7594 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7597 case HIP_API_ID_hipUserObjectRelease:
7600 case HIP_API_ID_hipUserObjectRetain:
7603 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7604 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7605 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7614static inline const char* hipApiString(hip_api_id_t
id,
const hip_api_data_t* data) {
7615 std::ostringstream oss;
7617 case HIP_API_ID___hipPopCallConfiguration:
7618 oss <<
"__hipPopCallConfiguration(";
7619 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss <<
"gridDim=NULL";
7620 else { oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7621 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss <<
", blockDim=NULL";
7622 else { oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7623 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss <<
", sharedMem=NULL";
7624 else { oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7625 if (data->args.__hipPopCallConfiguration.stream == NULL) oss <<
", stream=NULL";
7626 else { oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7629 case HIP_API_ID___hipPushCallConfiguration:
7630 oss <<
"__hipPushCallConfiguration(";
7631 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7632 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7633 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7634 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7637 case HIP_API_ID_hipArray3DCreate:
7638 oss <<
"hipArray3DCreate(";
7639 if (data->args.hipArray3DCreate.array == NULL) oss <<
"array=NULL";
7640 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.array__val); }
7641 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7642 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7645 case HIP_API_ID_hipArray3DGetDescriptor:
7646 oss <<
"hipArray3DGetDescriptor(";
7647 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7648 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7649 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7652 case HIP_API_ID_hipArrayCreate:
7653 oss <<
"hipArrayCreate(";
7654 if (data->args.hipArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
7655 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pHandle__val); }
7656 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7657 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7660 case HIP_API_ID_hipArrayDestroy:
7661 oss <<
"hipArrayDestroy(";
7662 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7665 case HIP_API_ID_hipArrayGetDescriptor:
7666 oss <<
"hipArrayGetDescriptor(";
7667 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7668 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7669 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7672 case HIP_API_ID_hipArrayGetInfo:
7673 oss <<
"hipArrayGetInfo(";
7674 if (data->args.hipArrayGetInfo.desc == NULL) oss <<
"desc=NULL";
7675 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7676 if (data->args.hipArrayGetInfo.extent == NULL) oss <<
", extent=NULL";
7677 else { oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7678 if (data->args.hipArrayGetInfo.flags == NULL) oss <<
", flags=NULL";
7679 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7680 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7683 case HIP_API_ID_hipChooseDeviceR0000:
7684 oss <<
"hipChooseDeviceR0000(";
7685 if (data->args.hipChooseDeviceR0000.device == NULL) oss <<
"device=NULL";
7686 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7687 if (data->args.hipChooseDeviceR0000.prop == NULL) oss <<
", prop=NULL";
7688 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7691 case HIP_API_ID_hipChooseDeviceR0600:
7692 oss <<
"hipChooseDeviceR0600(";
7693 if (data->args.hipChooseDeviceR0600.device == NULL) oss <<
"device=NULL";
7694 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7695 if (data->args.hipChooseDeviceR0600.prop == NULL) oss <<
", prop=NULL";
7696 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7699 case HIP_API_ID_hipConfigureCall:
7700 oss <<
"hipConfigureCall(";
7701 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7702 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7703 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7704 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7707 case HIP_API_ID_hipCreateSurfaceObject:
7708 oss <<
"hipCreateSurfaceObject(";
7709 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss <<
"pSurfObject=NULL";
7710 else { oss <<
"pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7711 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss <<
", pResDesc=NULL";
7712 else { oss <<
", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7715 case HIP_API_ID_hipCtxCreate:
7716 oss <<
"hipCtxCreate(";
7717 if (data->args.hipCtxCreate.ctx == NULL) oss <<
"ctx=NULL";
7718 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7719 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7720 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7723 case HIP_API_ID_hipCtxDestroy:
7724 oss <<
"hipCtxDestroy(";
7725 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7728 case HIP_API_ID_hipCtxDisablePeerAccess:
7729 oss <<
"hipCtxDisablePeerAccess(";
7730 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7733 case HIP_API_ID_hipCtxEnablePeerAccess:
7734 oss <<
"hipCtxEnablePeerAccess(";
7735 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7736 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7739 case HIP_API_ID_hipCtxGetApiVersion:
7740 oss <<
"hipCtxGetApiVersion(";
7741 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7742 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss <<
", apiVersion=NULL";
7743 else { oss <<
", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7746 case HIP_API_ID_hipCtxGetCacheConfig:
7747 oss <<
"hipCtxGetCacheConfig(";
7748 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7749 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7752 case HIP_API_ID_hipCtxGetCurrent:
7753 oss <<
"hipCtxGetCurrent(";
7754 if (data->args.hipCtxGetCurrent.ctx == NULL) oss <<
"ctx=NULL";
7755 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7758 case HIP_API_ID_hipCtxGetDevice:
7759 oss <<
"hipCtxGetDevice(";
7760 if (data->args.hipCtxGetDevice.device == NULL) oss <<
"device=NULL";
7761 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7764 case HIP_API_ID_hipCtxGetFlags:
7765 oss <<
"hipCtxGetFlags(";
7766 if (data->args.hipCtxGetFlags.flags == NULL) oss <<
"flags=NULL";
7767 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7770 case HIP_API_ID_hipCtxGetSharedMemConfig:
7771 oss <<
"hipCtxGetSharedMemConfig(";
7772 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7773 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7776 case HIP_API_ID_hipCtxPopCurrent:
7777 oss <<
"hipCtxPopCurrent(";
7778 if (data->args.hipCtxPopCurrent.ctx == NULL) oss <<
"ctx=NULL";
7779 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7782 case HIP_API_ID_hipCtxPushCurrent:
7783 oss <<
"hipCtxPushCurrent(";
7784 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7787 case HIP_API_ID_hipCtxSetCacheConfig:
7788 oss <<
"hipCtxSetCacheConfig(";
7789 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7792 case HIP_API_ID_hipCtxSetCurrent:
7793 oss <<
"hipCtxSetCurrent(";
7794 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7797 case HIP_API_ID_hipCtxSetSharedMemConfig:
7798 oss <<
"hipCtxSetSharedMemConfig(";
7799 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7802 case HIP_API_ID_hipCtxSynchronize:
7803 oss <<
"hipCtxSynchronize(";
7806 case HIP_API_ID_hipDestroyExternalMemory:
7807 oss <<
"hipDestroyExternalMemory(";
7808 oss <<
"extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7811 case HIP_API_ID_hipDestroyExternalSemaphore:
7812 oss <<
"hipDestroyExternalSemaphore(";
7813 oss <<
"extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7816 case HIP_API_ID_hipDestroySurfaceObject:
7817 oss <<
"hipDestroySurfaceObject(";
7818 oss <<
"surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7821 case HIP_API_ID_hipDeviceCanAccessPeer:
7822 oss <<
"hipDeviceCanAccessPeer(";
7823 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss <<
"canAccessPeer=NULL";
7824 else { oss <<
"canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7825 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7826 oss <<
", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7829 case HIP_API_ID_hipDeviceComputeCapability:
7830 oss <<
"hipDeviceComputeCapability(";
7831 if (data->args.hipDeviceComputeCapability.major == NULL) oss <<
"major=NULL";
7832 else { oss <<
"major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7833 if (data->args.hipDeviceComputeCapability.minor == NULL) oss <<
", minor=NULL";
7834 else { oss <<
", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7835 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7838 case HIP_API_ID_hipDeviceDisablePeerAccess:
7839 oss <<
"hipDeviceDisablePeerAccess(";
7840 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7843 case HIP_API_ID_hipDeviceEnablePeerAccess:
7844 oss <<
"hipDeviceEnablePeerAccess(";
7845 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7846 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7849 case HIP_API_ID_hipDeviceGet:
7850 oss <<
"hipDeviceGet(";
7851 if (data->args.hipDeviceGet.device == NULL) oss <<
"device=NULL";
7852 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7853 oss <<
", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7856 case HIP_API_ID_hipDeviceGetAttribute:
7857 oss <<
"hipDeviceGetAttribute(";
7858 if (data->args.hipDeviceGetAttribute.pi == NULL) oss <<
"pi=NULL";
7859 else { oss <<
"pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7860 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7861 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7864 case HIP_API_ID_hipDeviceGetByPCIBusId:
7865 oss <<
"hipDeviceGetByPCIBusId(";
7866 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss <<
"device=NULL";
7867 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7868 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss <<
", pciBusId=NULL";
7869 else { oss <<
", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7872 case HIP_API_ID_hipDeviceGetCacheConfig:
7873 oss <<
"hipDeviceGetCacheConfig(";
7874 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7875 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7878 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7879 oss <<
"hipDeviceGetDefaultMemPool(";
7880 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7881 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7882 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7885 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7886 oss <<
"hipDeviceGetGraphMemAttribute(";
7887 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7888 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7889 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7892 case HIP_API_ID_hipDeviceGetLimit:
7893 oss <<
"hipDeviceGetLimit(";
7894 if (data->args.hipDeviceGetLimit.pValue == NULL) oss <<
"pValue=NULL";
7895 else { oss <<
"pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7896 oss <<
", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7899 case HIP_API_ID_hipDeviceGetMemPool:
7900 oss <<
"hipDeviceGetMemPool(";
7901 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7902 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7903 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7906 case HIP_API_ID_hipDeviceGetName:
7907 oss <<
"hipDeviceGetName(";
7908 if (data->args.hipDeviceGetName.name == NULL) oss <<
"name=NULL";
7909 else { oss <<
"name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7910 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7911 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7914 case HIP_API_ID_hipDeviceGetP2PAttribute:
7915 oss <<
"hipDeviceGetP2PAttribute(";
7916 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss <<
"value=NULL";
7917 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7918 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7919 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7920 oss <<
", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7923 case HIP_API_ID_hipDeviceGetPCIBusId:
7924 oss <<
"hipDeviceGetPCIBusId(";
7925 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss <<
"pciBusId=NULL";
7926 else { oss <<
"pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7927 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7928 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7931 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7932 oss <<
"hipDeviceGetSharedMemConfig(";
7933 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7934 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7937 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7938 oss <<
"hipDeviceGetStreamPriorityRange(";
7939 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss <<
"leastPriority=NULL";
7940 else { oss <<
"leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7941 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss <<
", greatestPriority=NULL";
7942 else { oss <<
", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7945 case HIP_API_ID_hipDeviceGetUuid:
7946 oss <<
"hipDeviceGetUuid(";
7947 if (data->args.hipDeviceGetUuid.uuid == NULL) oss <<
"uuid=NULL";
7948 else { oss <<
"uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7949 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7952 case HIP_API_ID_hipDeviceGraphMemTrim:
7953 oss <<
"hipDeviceGraphMemTrim(";
7954 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7957 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7958 oss <<
"hipDevicePrimaryCtxGetState(";
7959 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7960 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss <<
", flags=NULL";
7961 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7962 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss <<
", active=NULL";
7963 else { oss <<
", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7966 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7967 oss <<
"hipDevicePrimaryCtxRelease(";
7968 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7971 case HIP_API_ID_hipDevicePrimaryCtxReset:
7972 oss <<
"hipDevicePrimaryCtxReset(";
7973 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7976 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7977 oss <<
"hipDevicePrimaryCtxRetain(";
7978 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss <<
"pctx=NULL";
7979 else { oss <<
"pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7980 oss <<
", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7983 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7984 oss <<
"hipDevicePrimaryCtxSetFlags(";
7985 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7986 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7989 case HIP_API_ID_hipDeviceReset:
7990 oss <<
"hipDeviceReset(";
7993 case HIP_API_ID_hipDeviceSetCacheConfig:
7994 oss <<
"hipDeviceSetCacheConfig(";
7995 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7998 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7999 oss <<
"hipDeviceSetGraphMemAttribute(";
8000 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
8001 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
8002 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
8005 case HIP_API_ID_hipDeviceSetLimit:
8006 oss <<
"hipDeviceSetLimit(";
8007 oss <<
"limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
8008 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
8011 case HIP_API_ID_hipDeviceSetMemPool:
8012 oss <<
"hipDeviceSetMemPool(";
8013 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
8014 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
8017 case HIP_API_ID_hipDeviceSetSharedMemConfig:
8018 oss <<
"hipDeviceSetSharedMemConfig(";
8019 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
8022 case HIP_API_ID_hipDeviceSynchronize:
8023 oss <<
"hipDeviceSynchronize(";
8026 case HIP_API_ID_hipDeviceTotalMem:
8027 oss <<
"hipDeviceTotalMem(";
8028 if (data->args.hipDeviceTotalMem.bytes == NULL) oss <<
"bytes=NULL";
8029 else { oss <<
"bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
8030 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
8033 case HIP_API_ID_hipDriverGetVersion:
8034 oss <<
"hipDriverGetVersion(";
8035 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss <<
"driverVersion=NULL";
8036 else { oss <<
"driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
8039 case HIP_API_ID_hipDrvGraphAddMemFreeNode:
8040 oss <<
"hipDrvGraphAddMemFreeNode(";
8041 if (data->args.hipDrvGraphAddMemFreeNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
8042 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.phGraphNode__val); }
8043 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.hGraph);
8044 if (data->args.hipDrvGraphAddMemFreeNode.dependencies == NULL) oss <<
", dependencies=NULL";
8045 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.dependencies__val); }
8046 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.numDependencies);
8047 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemFreeNode.dptr);
8050 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
8051 oss <<
"hipDrvGraphAddMemcpyNode(";
8052 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
8053 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
8054 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
8055 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss <<
", dependencies=NULL";
8056 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
8057 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
8058 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss <<
", copyParams=NULL";
8059 else { oss <<
", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
8060 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
8063 case HIP_API_ID_hipDrvGraphAddMemsetNode:
8064 oss <<
"hipDrvGraphAddMemsetNode(";
8065 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
8066 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.phGraphNode__val); }
8067 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.hGraph);
8068 if (data->args.hipDrvGraphAddMemsetNode.dependencies == NULL) oss <<
", dependencies=NULL";
8069 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.dependencies__val); }
8070 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.numDependencies);
8071 if (data->args.hipDrvGraphAddMemsetNode.memsetParams == NULL) oss <<
", memsetParams=NULL";
8072 else { oss <<
", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.memsetParams__val); }
8073 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
8076 case HIP_API_ID_hipDrvGraphExecMemcpyNodeSetParams:
8077 oss <<
"hipDrvGraphExecMemcpyNodeSetParams(";
8078 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.hGraphExec);
8079 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.hNode);
8080 if (data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams == NULL) oss <<
", copyParams=NULL";
8081 else { oss <<
", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.copyParams__val); }
8082 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemcpyNodeSetParams.ctx);
8085 case HIP_API_ID_hipDrvGraphExecMemsetNodeSetParams:
8086 oss <<
"hipDrvGraphExecMemsetNodeSetParams(";
8087 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.hGraphExec);
8088 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.hNode);
8089 if (data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams == NULL) oss <<
", memsetParams=NULL";
8090 else { oss <<
", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.memsetParams__val); }
8091 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphExecMemsetNodeSetParams.ctx);
8094 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
8095 oss <<
"hipDrvGraphMemcpyNodeGetParams(";
8096 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
8097 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8098 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
8101 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
8102 oss <<
"hipDrvGraphMemcpyNodeSetParams(";
8103 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
8104 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8105 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
8108 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
8109 oss <<
"hipDrvMemcpy2DUnaligned(";
8110 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss <<
"pCopy=NULL";
8111 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
8114 case HIP_API_ID_hipDrvMemcpy3D:
8115 oss <<
"hipDrvMemcpy3D(";
8116 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss <<
"pCopy=NULL";
8117 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
8120 case HIP_API_ID_hipDrvMemcpy3DAsync:
8121 oss <<
"hipDrvMemcpy3DAsync(";
8122 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
8123 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
8124 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
8127 case HIP_API_ID_hipDrvPointerGetAttributes:
8128 oss <<
"hipDrvPointerGetAttributes(";
8129 oss <<
"numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
8130 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
8131 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
8132 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss <<
", data=NULL";
8133 else { oss <<
", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
8134 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
8137 case HIP_API_ID_hipEventCreate:
8138 oss <<
"hipEventCreate(";
8139 if (data->args.hipEventCreate.event == NULL) oss <<
"event=NULL";
8140 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
8143 case HIP_API_ID_hipEventCreateWithFlags:
8144 oss <<
"hipEventCreateWithFlags(";
8145 if (data->args.hipEventCreateWithFlags.event == NULL) oss <<
"event=NULL";
8146 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
8147 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
8150 case HIP_API_ID_hipEventDestroy:
8151 oss <<
"hipEventDestroy(";
8152 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
8155 case HIP_API_ID_hipEventElapsedTime:
8156 oss <<
"hipEventElapsedTime(";
8157 if (data->args.hipEventElapsedTime.ms == NULL) oss <<
"ms=NULL";
8158 else { oss <<
"ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
8159 oss <<
", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
8160 oss <<
", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
8163 case HIP_API_ID_hipEventQuery:
8164 oss <<
"hipEventQuery(";
8165 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
8168 case HIP_API_ID_hipEventRecord:
8169 oss <<
"hipEventRecord(";
8170 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
8171 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
8174 case HIP_API_ID_hipEventSynchronize:
8175 oss <<
"hipEventSynchronize(";
8176 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
8179 case HIP_API_ID_hipExtGetLastError:
8180 oss <<
"hipExtGetLastError(";
8183 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
8184 oss <<
"hipExtGetLinkTypeAndHopCount(";
8185 oss <<
"device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
8186 oss <<
", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
8187 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss <<
", linktype=NULL";
8188 else { oss <<
", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
8189 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss <<
", hopcount=NULL";
8190 else { oss <<
", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
8193 case HIP_API_ID_hipExtLaunchKernel:
8194 oss <<
"hipExtLaunchKernel(";
8195 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
8196 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
8197 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
8198 if (data->args.hipExtLaunchKernel.args == NULL) oss <<
", args=NULL";
8199 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
8200 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
8201 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
8202 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
8203 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
8204 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
8207 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
8208 oss <<
"hipExtLaunchMultiKernelMultiDevice(";
8209 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
8210 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
8211 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
8212 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
8215 case HIP_API_ID_hipExtMallocWithFlags:
8216 oss <<
"hipExtMallocWithFlags(";
8217 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss <<
"ptr=NULL";
8218 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
8219 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
8220 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
8223 case HIP_API_ID_hipExtModuleLaunchKernel:
8224 oss <<
"hipExtModuleLaunchKernel(";
8225 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
8226 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
8227 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
8228 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
8229 oss <<
", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
8230 oss <<
", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
8231 oss <<
", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
8232 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
8233 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
8234 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8235 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
8236 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
8237 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
8238 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
8239 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
8240 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
8243 case HIP_API_ID_hipExtStreamCreateWithCUMask:
8244 oss <<
"hipExtStreamCreateWithCUMask(";
8245 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss <<
"stream=NULL";
8246 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
8247 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
8248 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
8249 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
8252 case HIP_API_ID_hipExtStreamGetCUMask:
8253 oss <<
"hipExtStreamGetCUMask(";
8254 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
8255 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
8256 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
8257 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
8260 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
8261 oss <<
"hipExternalMemoryGetMappedBuffer(";
8262 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss <<
"devPtr=NULL";
8263 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
8264 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
8265 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss <<
", bufferDesc=NULL";
8266 else { oss <<
", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
8269 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
8270 oss <<
"hipExternalMemoryGetMappedMipmappedArray(";
8271 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss <<
"mipmap=NULL";
8272 else { oss <<
"mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
8273 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
8274 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss <<
", mipmapDesc=NULL";
8275 else { oss <<
", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
8278 case HIP_API_ID_hipFree:
8280 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
8283 case HIP_API_ID_hipFreeArray:
8284 oss <<
"hipFreeArray(";
8285 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
8288 case HIP_API_ID_hipFreeAsync:
8289 oss <<
"hipFreeAsync(";
8290 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
8291 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
8294 case HIP_API_ID_hipFreeHost:
8295 oss <<
"hipFreeHost(";
8296 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
8299 case HIP_API_ID_hipFreeMipmappedArray:
8300 oss <<
"hipFreeMipmappedArray(";
8301 oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
8304 case HIP_API_ID_hipFuncGetAttribute:
8305 oss <<
"hipFuncGetAttribute(";
8306 if (data->args.hipFuncGetAttribute.value == NULL) oss <<
"value=NULL";
8307 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
8308 oss <<
", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
8309 oss <<
", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
8312 case HIP_API_ID_hipFuncGetAttributes:
8313 oss <<
"hipFuncGetAttributes(";
8314 if (data->args.hipFuncGetAttributes.attr == NULL) oss <<
"attr=NULL";
8315 else { oss <<
"attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
8316 oss <<
", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
8319 case HIP_API_ID_hipFuncSetAttribute:
8320 oss <<
"hipFuncSetAttribute(";
8321 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
8322 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
8323 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
8326 case HIP_API_ID_hipFuncSetCacheConfig:
8327 oss <<
"hipFuncSetCacheConfig(";
8328 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
8329 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
8332 case HIP_API_ID_hipFuncSetSharedMemConfig:
8333 oss <<
"hipFuncSetSharedMemConfig(";
8334 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
8335 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
8338 case HIP_API_ID_hipGLGetDevices:
8339 oss <<
"hipGLGetDevices(";
8340 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss <<
"pHipDeviceCount=NULL";
8341 else { oss <<
"pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
8342 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss <<
", pHipDevices=NULL";
8343 else { oss <<
", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
8344 oss <<
", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
8345 oss <<
", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
8348 case HIP_API_ID_hipGetChannelDesc:
8349 oss <<
"hipGetChannelDesc(";
8350 if (data->args.hipGetChannelDesc.desc == NULL) oss <<
"desc=NULL";
8351 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
8352 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
8355 case HIP_API_ID_hipGetDevice:
8356 oss <<
"hipGetDevice(";
8357 if (data->args.hipGetDevice.deviceId == NULL) oss <<
"deviceId=NULL";
8358 else { oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
8361 case HIP_API_ID_hipGetDeviceCount:
8362 oss <<
"hipGetDeviceCount(";
8363 if (data->args.hipGetDeviceCount.count == NULL) oss <<
"count=NULL";
8364 else { oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
8367 case HIP_API_ID_hipGetDeviceFlags:
8368 oss <<
"hipGetDeviceFlags(";
8369 if (data->args.hipGetDeviceFlags.flags == NULL) oss <<
"flags=NULL";
8370 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
8373 case HIP_API_ID_hipGetDevicePropertiesR0000:
8374 oss <<
"hipGetDevicePropertiesR0000(";
8375 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss <<
"prop=NULL";
8376 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
8377 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
8380 case HIP_API_ID_hipGetDevicePropertiesR0600:
8381 oss <<
"hipGetDevicePropertiesR0600(";
8382 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss <<
"prop=NULL";
8383 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
8384 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
8387 case HIP_API_ID_hipGetErrorString:
8388 oss <<
"hipGetErrorString(";
8391 case HIP_API_ID_hipGetFuncBySymbol:
8392 oss <<
"hipGetFuncBySymbol(";
8393 if (data->args.hipGetFuncBySymbol.functionPtr == NULL) oss <<
"functionPtr=NULL";
8394 else { oss <<
"functionPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.functionPtr__val); }
8395 oss <<
", symbolPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.symbolPtr);
8398 case HIP_API_ID_hipGetLastError:
8399 oss <<
"hipGetLastError(";
8402 case HIP_API_ID_hipGetMipmappedArrayLevel:
8403 oss <<
"hipGetMipmappedArrayLevel(";
8404 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss <<
"levelArray=NULL";
8405 else { oss <<
"levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
8406 oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
8407 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
8410 case HIP_API_ID_hipGetProcAddress:
8411 oss <<
"hipGetProcAddress(";
8412 if (data->args.hipGetProcAddress.symbol == NULL) oss <<
"symbol=NULL";
8413 else { oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbol__val); }
8414 if (data->args.hipGetProcAddress.pfn == NULL) oss <<
", pfn=NULL";
8415 else { oss <<
", pfn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.pfn__val); }
8416 oss <<
", hipVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.hipVersion);
8417 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.flags);
8418 if (data->args.hipGetProcAddress.symbolStatus == NULL) oss <<
", symbolStatus=NULL";
8419 else { oss <<
", symbolStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbolStatus__val); }
8422 case HIP_API_ID_hipGetSymbolAddress:
8423 oss <<
"hipGetSymbolAddress(";
8424 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss <<
"devPtr=NULL";
8425 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
8426 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
8429 case HIP_API_ID_hipGetSymbolSize:
8430 oss <<
"hipGetSymbolSize(";
8431 if (data->args.hipGetSymbolSize.size == NULL) oss <<
"size=NULL";
8432 else { oss <<
"size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
8433 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
8436 case HIP_API_ID_hipGraphAddChildGraphNode:
8437 oss <<
"hipGraphAddChildGraphNode(";
8438 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8439 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
8440 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
8441 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8442 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
8443 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
8444 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
8447 case HIP_API_ID_hipGraphAddDependencies:
8448 oss <<
"hipGraphAddDependencies(";
8449 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
8450 if (data->args.hipGraphAddDependencies.from == NULL) oss <<
", from=NULL";
8451 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
8452 if (data->args.hipGraphAddDependencies.to == NULL) oss <<
", to=NULL";
8453 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
8454 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
8457 case HIP_API_ID_hipGraphAddEmptyNode:
8458 oss <<
"hipGraphAddEmptyNode(";
8459 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8460 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
8461 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
8462 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8463 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
8464 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
8467 case HIP_API_ID_hipGraphAddEventRecordNode:
8468 oss <<
"hipGraphAddEventRecordNode(";
8469 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8470 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
8471 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
8472 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8473 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
8474 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
8475 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
8478 case HIP_API_ID_hipGraphAddEventWaitNode:
8479 oss <<
"hipGraphAddEventWaitNode(";
8480 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8481 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
8482 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
8483 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8484 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
8485 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
8486 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
8489 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
8490 oss <<
"hipGraphAddExternalSemaphoresSignalNode(";
8491 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8492 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
8493 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
8494 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8495 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
8496 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
8497 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8498 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
8501 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
8502 oss <<
"hipGraphAddExternalSemaphoresWaitNode(";
8503 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8504 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
8505 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
8506 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8507 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
8508 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8509 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8510 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8513 case HIP_API_ID_hipGraphAddHostNode:
8514 oss <<
"hipGraphAddHostNode(";
8515 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8516 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8517 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8518 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8519 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8520 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8521 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8522 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8525 case HIP_API_ID_hipGraphAddKernelNode:
8526 oss <<
"hipGraphAddKernelNode(";
8527 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8528 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8529 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8530 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8531 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8532 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8533 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8534 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8537 case HIP_API_ID_hipGraphAddMemAllocNode:
8538 oss <<
"hipGraphAddMemAllocNode(";
8539 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8540 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8541 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8542 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8543 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8544 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8545 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8546 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8549 case HIP_API_ID_hipGraphAddMemFreeNode:
8550 oss <<
"hipGraphAddMemFreeNode(";
8551 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8552 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8553 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8554 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8555 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8556 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8557 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8560 case HIP_API_ID_hipGraphAddMemcpyNode:
8561 oss <<
"hipGraphAddMemcpyNode(";
8562 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8563 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8564 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8565 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8566 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8567 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8568 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss <<
", pCopyParams=NULL";
8569 else { oss <<
", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8572 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8573 oss <<
"hipGraphAddMemcpyNode1D(";
8574 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8575 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8576 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8577 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss <<
", pDependencies=NULL";
8578 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8579 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8580 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8581 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8582 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8583 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8586 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8587 oss <<
"hipGraphAddMemcpyNodeFromSymbol(";
8588 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8589 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8590 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8591 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8592 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8593 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8594 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8595 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8596 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8597 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8598 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8601 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8602 oss <<
"hipGraphAddMemcpyNodeToSymbol(";
8603 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8604 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8605 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8606 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8607 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8608 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8609 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8610 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8611 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8612 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8613 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8616 case HIP_API_ID_hipGraphAddMemsetNode:
8617 oss <<
"hipGraphAddMemsetNode(";
8618 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8619 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8620 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8621 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8622 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8623 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8624 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss <<
", pMemsetParams=NULL";
8625 else { oss <<
", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8628 case HIP_API_ID_hipGraphAddNode:
8629 oss <<
"hipGraphAddNode(";
8630 if (data->args.hipGraphAddNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8631 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pGraphNode__val); }
8632 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.graph);
8633 if (data->args.hipGraphAddNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8634 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pDependencies__val); }
8635 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.numDependencies);
8636 if (data->args.hipGraphAddNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8637 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.nodeParams__val); }
8640 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8641 oss <<
"hipGraphChildGraphNodeGetGraph(";
8642 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8643 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss <<
", pGraph=NULL";
8644 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8647 case HIP_API_ID_hipGraphClone:
8648 oss <<
"hipGraphClone(";
8649 if (data->args.hipGraphClone.pGraphClone == NULL) oss <<
"pGraphClone=NULL";
8650 else { oss <<
"pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8651 oss <<
", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8654 case HIP_API_ID_hipGraphCreate:
8655 oss <<
"hipGraphCreate(";
8656 if (data->args.hipGraphCreate.pGraph == NULL) oss <<
"pGraph=NULL";
8657 else { oss <<
"pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8658 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8661 case HIP_API_ID_hipGraphDebugDotPrint:
8662 oss <<
"hipGraphDebugDotPrint(";
8663 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8664 if (data->args.hipGraphDebugDotPrint.path == NULL) oss <<
", path=NULL";
8665 else { oss <<
", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8666 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8669 case HIP_API_ID_hipGraphDestroy:
8670 oss <<
"hipGraphDestroy(";
8671 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8674 case HIP_API_ID_hipGraphDestroyNode:
8675 oss <<
"hipGraphDestroyNode(";
8676 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8679 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8680 oss <<
"hipGraphEventRecordNodeGetEvent(";
8681 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8682 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8683 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8686 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8687 oss <<
"hipGraphEventRecordNodeSetEvent(";
8688 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8689 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8692 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8693 oss <<
"hipGraphEventWaitNodeGetEvent(";
8694 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8695 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8696 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8699 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8700 oss <<
"hipGraphEventWaitNodeSetEvent(";
8701 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8702 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8705 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8706 oss <<
"hipGraphExecChildGraphNodeSetParams(";
8707 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8708 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8709 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8712 case HIP_API_ID_hipGraphExecDestroy:
8713 oss <<
"hipGraphExecDestroy(";
8714 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8717 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8718 oss <<
"hipGraphExecEventRecordNodeSetEvent(";
8719 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8720 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8721 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8724 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8725 oss <<
"hipGraphExecEventWaitNodeSetEvent(";
8726 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8727 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8728 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8731 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8732 oss <<
"hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8733 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8734 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8735 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8736 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8739 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8740 oss <<
"hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8741 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8742 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8743 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8744 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8747 case HIP_API_ID_hipGraphExecGetFlags:
8748 oss <<
"hipGraphExecGetFlags(";
8749 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecGetFlags.graphExec);
8750 if (data->args.hipGraphExecGetFlags.flags == NULL) oss <<
", flags=NULL";
8751 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecGetFlags.flags__val); }
8754 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8755 oss <<
"hipGraphExecHostNodeSetParams(";
8756 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8757 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8758 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8759 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8762 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8763 oss <<
"hipGraphExecKernelNodeSetParams(";
8764 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8765 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8766 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8767 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8770 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8771 oss <<
"hipGraphExecMemcpyNodeSetParams(";
8772 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8773 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8774 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8775 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8778 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8779 oss <<
"hipGraphExecMemcpyNodeSetParams1D(";
8780 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8781 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8782 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8783 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8784 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8785 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8788 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8789 oss <<
"hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8790 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8791 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8792 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8793 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8794 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8795 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8796 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8799 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8800 oss <<
"hipGraphExecMemcpyNodeSetParamsToSymbol(";
8801 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8802 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8803 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8804 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8805 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8806 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8807 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8810 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8811 oss <<
"hipGraphExecMemsetNodeSetParams(";
8812 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8813 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8814 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8815 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8818 case HIP_API_ID_hipGraphExecNodeSetParams:
8819 oss <<
"hipGraphExecNodeSetParams(";
8820 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecNodeSetParams.graphExec);
8821 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecNodeSetParams.node);
8822 if (data->args.hipGraphExecNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8823 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecNodeSetParams.nodeParams__val); }
8826 case HIP_API_ID_hipGraphExecUpdate:
8827 oss <<
"hipGraphExecUpdate(";
8828 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8829 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8830 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss <<
", hErrorNode_out=NULL";
8831 else { oss <<
", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8832 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss <<
", updateResult_out=NULL";
8833 else { oss <<
", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8836 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8837 oss <<
"hipGraphExternalSemaphoresSignalNodeGetParams(";
8838 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8839 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8840 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8843 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8844 oss <<
"hipGraphExternalSemaphoresSignalNodeSetParams(";
8845 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8846 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8847 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8850 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8851 oss <<
"hipGraphExternalSemaphoresWaitNodeGetParams(";
8852 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8853 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8854 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8857 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8858 oss <<
"hipGraphExternalSemaphoresWaitNodeSetParams(";
8859 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8860 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8861 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8864 case HIP_API_ID_hipGraphGetEdges:
8865 oss <<
"hipGraphGetEdges(";
8866 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8867 if (data->args.hipGraphGetEdges.from == NULL) oss <<
", from=NULL";
8868 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8869 if (data->args.hipGraphGetEdges.to == NULL) oss <<
", to=NULL";
8870 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8871 if (data->args.hipGraphGetEdges.numEdges == NULL) oss <<
", numEdges=NULL";
8872 else { oss <<
", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8875 case HIP_API_ID_hipGraphGetNodes:
8876 oss <<
"hipGraphGetNodes(";
8877 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8878 if (data->args.hipGraphGetNodes.nodes == NULL) oss <<
", nodes=NULL";
8879 else { oss <<
", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8880 if (data->args.hipGraphGetNodes.numNodes == NULL) oss <<
", numNodes=NULL";
8881 else { oss <<
", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8884 case HIP_API_ID_hipGraphGetRootNodes:
8885 oss <<
"hipGraphGetRootNodes(";
8886 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8887 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss <<
", pRootNodes=NULL";
8888 else { oss <<
", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8889 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss <<
", pNumRootNodes=NULL";
8890 else { oss <<
", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8893 case HIP_API_ID_hipGraphHostNodeGetParams:
8894 oss <<
"hipGraphHostNodeGetParams(";
8895 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8896 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8897 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8900 case HIP_API_ID_hipGraphHostNodeSetParams:
8901 oss <<
"hipGraphHostNodeSetParams(";
8902 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8903 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8904 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8907 case HIP_API_ID_hipGraphInstantiate:
8908 oss <<
"hipGraphInstantiate(";
8909 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8910 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8911 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8912 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss <<
", pErrorNode=NULL";
8913 else { oss <<
", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8914 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss <<
", pLogBuffer=NULL";
8915 else { oss <<
", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8916 oss <<
", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8919 case HIP_API_ID_hipGraphInstantiateWithFlags:
8920 oss <<
"hipGraphInstantiateWithFlags(";
8921 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8922 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8923 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8924 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8927 case HIP_API_ID_hipGraphInstantiateWithParams:
8928 oss <<
"hipGraphInstantiateWithParams(";
8929 if (data->args.hipGraphInstantiateWithParams.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8930 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.pGraphExec__val); }
8931 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.graph);
8932 if (data->args.hipGraphInstantiateWithParams.instantiateParams == NULL) oss <<
", instantiateParams=NULL";
8933 else { oss <<
", instantiateParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.instantiateParams__val); }
8936 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8937 oss <<
"hipGraphKernelNodeCopyAttributes(";
8938 oss <<
"hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8939 oss <<
", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8942 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8943 oss <<
"hipGraphKernelNodeGetAttribute(";
8944 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8945 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8946 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss <<
", value=NULL";
8947 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8950 case HIP_API_ID_hipGraphKernelNodeGetParams:
8951 oss <<
"hipGraphKernelNodeGetParams(";
8952 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8953 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8954 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8957 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8958 oss <<
"hipGraphKernelNodeSetAttribute(";
8959 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8960 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8961 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss <<
", value=NULL";
8962 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8965 case HIP_API_ID_hipGraphKernelNodeSetParams:
8966 oss <<
"hipGraphKernelNodeSetParams(";
8967 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8968 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8969 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8972 case HIP_API_ID_hipGraphLaunch:
8973 oss <<
"hipGraphLaunch(";
8974 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8975 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8978 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8979 oss <<
"hipGraphMemAllocNodeGetParams(";
8980 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8981 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8982 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8985 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8986 oss <<
"hipGraphMemFreeNodeGetParams(";
8987 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8988 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8991 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8992 oss <<
"hipGraphMemcpyNodeGetParams(";
8993 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8994 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8995 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8998 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8999 oss <<
"hipGraphMemcpyNodeSetParams(";
9000 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
9001 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
9002 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
9005 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
9006 oss <<
"hipGraphMemcpyNodeSetParams1D(";
9007 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
9008 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
9009 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
9010 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
9011 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
9014 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
9015 oss <<
"hipGraphMemcpyNodeSetParamsFromSymbol(";
9016 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
9017 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
9018 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
9019 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
9020 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
9021 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
9024 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
9025 oss <<
"hipGraphMemcpyNodeSetParamsToSymbol(";
9026 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
9027 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
9028 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
9029 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
9030 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
9031 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
9034 case HIP_API_ID_hipGraphMemsetNodeGetParams:
9035 oss <<
"hipGraphMemsetNodeGetParams(";
9036 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
9037 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
9038 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
9041 case HIP_API_ID_hipGraphMemsetNodeSetParams:
9042 oss <<
"hipGraphMemsetNodeSetParams(";
9043 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
9044 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
9045 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
9048 case HIP_API_ID_hipGraphNodeFindInClone:
9049 oss <<
"hipGraphNodeFindInClone(";
9050 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss <<
"pNode=NULL";
9051 else { oss <<
"pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
9052 oss <<
", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
9053 oss <<
", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
9056 case HIP_API_ID_hipGraphNodeGetDependencies:
9057 oss <<
"hipGraphNodeGetDependencies(";
9058 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
9059 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss <<
", pDependencies=NULL";
9060 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
9061 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss <<
", pNumDependencies=NULL";
9062 else { oss <<
", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
9065 case HIP_API_ID_hipGraphNodeGetDependentNodes:
9066 oss <<
"hipGraphNodeGetDependentNodes(";
9067 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
9068 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss <<
", pDependentNodes=NULL";
9069 else { oss <<
", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
9070 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss <<
", pNumDependentNodes=NULL";
9071 else { oss <<
", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
9074 case HIP_API_ID_hipGraphNodeGetEnabled:
9075 oss <<
"hipGraphNodeGetEnabled(";
9076 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
9077 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
9078 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss <<
", isEnabled=NULL";
9079 else { oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
9082 case HIP_API_ID_hipGraphNodeGetType:
9083 oss <<
"hipGraphNodeGetType(";
9084 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
9085 if (data->args.hipGraphNodeGetType.pType == NULL) oss <<
", pType=NULL";
9086 else { oss <<
", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
9089 case HIP_API_ID_hipGraphNodeSetEnabled:
9090 oss <<
"hipGraphNodeSetEnabled(";
9091 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
9092 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
9093 oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
9096 case HIP_API_ID_hipGraphNodeSetParams:
9097 oss <<
"hipGraphNodeSetParams(";
9098 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetParams.node);
9099 if (data->args.hipGraphNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
9100 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetParams.nodeParams__val); }
9103 case HIP_API_ID_hipGraphReleaseUserObject:
9104 oss <<
"hipGraphReleaseUserObject(";
9105 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
9106 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
9107 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
9110 case HIP_API_ID_hipGraphRemoveDependencies:
9111 oss <<
"hipGraphRemoveDependencies(";
9112 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
9113 if (data->args.hipGraphRemoveDependencies.from == NULL) oss <<
", from=NULL";
9114 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
9115 if (data->args.hipGraphRemoveDependencies.to == NULL) oss <<
", to=NULL";
9116 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
9117 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
9120 case HIP_API_ID_hipGraphRetainUserObject:
9121 oss <<
"hipGraphRetainUserObject(";
9122 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
9123 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
9124 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
9125 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
9128 case HIP_API_ID_hipGraphUpload:
9129 oss <<
"hipGraphUpload(";
9130 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
9131 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
9134 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
9135 oss <<
"hipGraphicsGLRegisterBuffer(";
9136 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss <<
"resource=NULL";
9137 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
9138 oss <<
", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
9139 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
9142 case HIP_API_ID_hipGraphicsGLRegisterImage:
9143 oss <<
"hipGraphicsGLRegisterImage(";
9144 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss <<
"resource=NULL";
9145 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
9146 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
9147 oss <<
", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
9148 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
9151 case HIP_API_ID_hipGraphicsMapResources:
9152 oss <<
"hipGraphicsMapResources(";
9153 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
9154 if (data->args.hipGraphicsMapResources.resources == NULL) oss <<
", resources=NULL";
9155 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
9156 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
9159 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
9160 oss <<
"hipGraphicsResourceGetMappedPointer(";
9161 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss <<
"devPtr=NULL";
9162 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
9163 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss <<
", size=NULL";
9164 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
9165 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
9168 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
9169 oss <<
"hipGraphicsSubResourceGetMappedArray(";
9170 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss <<
"array=NULL";
9171 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
9172 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
9173 oss <<
", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
9174 oss <<
", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
9177 case HIP_API_ID_hipGraphicsUnmapResources:
9178 oss <<
"hipGraphicsUnmapResources(";
9179 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
9180 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss <<
", resources=NULL";
9181 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
9182 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
9185 case HIP_API_ID_hipGraphicsUnregisterResource:
9186 oss <<
"hipGraphicsUnregisterResource(";
9187 oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
9190 case HIP_API_ID_hipHccModuleLaunchKernel:
9191 oss <<
"hipHccModuleLaunchKernel(";
9192 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
9193 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
9194 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
9195 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
9196 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
9197 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
9198 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
9199 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
9200 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
9201 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9202 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
9203 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
9204 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
9205 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
9206 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
9209 case HIP_API_ID_hipHostAlloc:
9210 oss <<
"hipHostAlloc(";
9211 if (data->args.hipHostAlloc.ptr == NULL) oss <<
"ptr=NULL";
9212 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
9213 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
9214 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
9217 case HIP_API_ID_hipHostFree:
9218 oss <<
"hipHostFree(";
9219 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
9222 case HIP_API_ID_hipHostGetDevicePointer:
9223 oss <<
"hipHostGetDevicePointer(";
9224 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss <<
"devPtr=NULL";
9225 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
9226 oss <<
", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
9227 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
9230 case HIP_API_ID_hipHostGetFlags:
9231 oss <<
"hipHostGetFlags(";
9232 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss <<
"flagsPtr=NULL";
9233 else { oss <<
"flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
9234 oss <<
", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
9237 case HIP_API_ID_hipHostMalloc:
9238 oss <<
"hipHostMalloc(";
9239 if (data->args.hipHostMalloc.ptr == NULL) oss <<
"ptr=NULL";
9240 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
9241 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
9242 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
9245 case HIP_API_ID_hipHostRegister:
9246 oss <<
"hipHostRegister(";
9247 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
9248 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
9249 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
9252 case HIP_API_ID_hipHostUnregister:
9253 oss <<
"hipHostUnregister(";
9254 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
9257 case HIP_API_ID_hipImportExternalMemory:
9258 oss <<
"hipImportExternalMemory(";
9259 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss <<
"extMem_out=NULL";
9260 else { oss <<
"extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
9261 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss <<
", memHandleDesc=NULL";
9262 else { oss <<
", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
9265 case HIP_API_ID_hipImportExternalSemaphore:
9266 oss <<
"hipImportExternalSemaphore(";
9267 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss <<
"extSem_out=NULL";
9268 else { oss <<
"extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
9269 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss <<
", semHandleDesc=NULL";
9270 else { oss <<
", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
9273 case HIP_API_ID_hipInit:
9275 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
9278 case HIP_API_ID_hipIpcCloseMemHandle:
9279 oss <<
"hipIpcCloseMemHandle(";
9280 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
9283 case HIP_API_ID_hipIpcGetEventHandle:
9284 oss <<
"hipIpcGetEventHandle(";
9285 if (data->args.hipIpcGetEventHandle.handle == NULL) oss <<
"handle=NULL";
9286 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
9287 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
9290 case HIP_API_ID_hipIpcGetMemHandle:
9291 oss <<
"hipIpcGetMemHandle(";
9292 if (data->args.hipIpcGetMemHandle.handle == NULL) oss <<
"handle=NULL";
9293 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
9294 oss <<
", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
9297 case HIP_API_ID_hipIpcOpenEventHandle:
9298 oss <<
"hipIpcOpenEventHandle(";
9299 if (data->args.hipIpcOpenEventHandle.event == NULL) oss <<
"event=NULL";
9300 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
9301 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
9304 case HIP_API_ID_hipIpcOpenMemHandle:
9305 oss <<
"hipIpcOpenMemHandle(";
9306 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss <<
"devPtr=NULL";
9307 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
9308 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
9309 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
9312 case HIP_API_ID_hipLaunchByPtr:
9313 oss <<
"hipLaunchByPtr(";
9314 oss <<
"hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
9317 case HIP_API_ID_hipLaunchCooperativeKernel:
9318 oss <<
"hipLaunchCooperativeKernel(";
9319 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
9320 oss <<
", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
9321 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
9322 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9323 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
9324 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
9325 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
9328 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
9329 oss <<
"hipLaunchCooperativeKernelMultiDevice(";
9330 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
9331 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9332 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
9333 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
9336 case HIP_API_ID_hipLaunchHostFunc:
9337 oss <<
"hipLaunchHostFunc(";
9338 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
9339 oss <<
", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
9340 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
9343 case HIP_API_ID_hipLaunchKernel:
9344 oss <<
"hipLaunchKernel(";
9345 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
9346 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
9347 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
9348 if (data->args.hipLaunchKernel.args == NULL) oss <<
", args=NULL";
9349 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
9350 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
9351 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
9354 case HIP_API_ID_hipMalloc:
9355 oss <<
"hipMalloc(";
9356 if (data->args.hipMalloc.ptr == NULL) oss <<
"ptr=NULL";
9357 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
9358 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
9361 case HIP_API_ID_hipMalloc3D:
9362 oss <<
"hipMalloc3D(";
9363 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss <<
"pitchedDevPtr=NULL";
9364 else { oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
9365 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
9368 case HIP_API_ID_hipMalloc3DArray:
9369 oss <<
"hipMalloc3DArray(";
9370 if (data->args.hipMalloc3DArray.array == NULL) oss <<
"array=NULL";
9371 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
9372 if (data->args.hipMalloc3DArray.desc == NULL) oss <<
", desc=NULL";
9373 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
9374 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
9375 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
9378 case HIP_API_ID_hipMallocArray:
9379 oss <<
"hipMallocArray(";
9380 if (data->args.hipMallocArray.array == NULL) oss <<
"array=NULL";
9381 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.array__val); }
9382 if (data->args.hipMallocArray.desc == NULL) oss <<
", desc=NULL";
9383 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
9384 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
9385 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
9386 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
9389 case HIP_API_ID_hipMallocAsync:
9390 oss <<
"hipMallocAsync(";
9391 if (data->args.hipMallocAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9392 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
9393 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
9394 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
9397 case HIP_API_ID_hipMallocFromPoolAsync:
9398 oss <<
"hipMallocFromPoolAsync(";
9399 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9400 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
9401 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
9402 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
9403 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
9406 case HIP_API_ID_hipMallocHost:
9407 oss <<
"hipMallocHost(";
9408 if (data->args.hipMallocHost.ptr == NULL) oss <<
"ptr=NULL";
9409 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
9410 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
9413 case HIP_API_ID_hipMallocManaged:
9414 oss <<
"hipMallocManaged(";
9415 if (data->args.hipMallocManaged.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9416 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
9417 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
9418 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
9421 case HIP_API_ID_hipMallocMipmappedArray:
9422 oss <<
"hipMallocMipmappedArray(";
9423 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss <<
"mipmappedArray=NULL";
9424 else { oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
9425 if (data->args.hipMallocMipmappedArray.desc == NULL) oss <<
", desc=NULL";
9426 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
9427 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
9428 oss <<
", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
9429 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
9432 case HIP_API_ID_hipMallocPitch:
9433 oss <<
"hipMallocPitch(";
9434 if (data->args.hipMallocPitch.ptr == NULL) oss <<
"ptr=NULL";
9435 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
9436 if (data->args.hipMallocPitch.pitch == NULL) oss <<
", pitch=NULL";
9437 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
9438 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
9439 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
9442 case HIP_API_ID_hipMemAddressFree:
9443 oss <<
"hipMemAddressFree(";
9444 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
9445 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
9448 case HIP_API_ID_hipMemAddressReserve:
9449 oss <<
"hipMemAddressReserve(";
9450 if (data->args.hipMemAddressReserve.ptr == NULL) oss <<
"ptr=NULL";
9451 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
9452 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
9453 oss <<
", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
9454 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
9455 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
9458 case HIP_API_ID_hipMemAdvise:
9459 oss <<
"hipMemAdvise(";
9460 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
9461 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
9462 oss <<
", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
9463 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
9466 case HIP_API_ID_hipMemAllocHost:
9467 oss <<
"hipMemAllocHost(";
9468 if (data->args.hipMemAllocHost.ptr == NULL) oss <<
"ptr=NULL";
9469 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
9470 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
9473 case HIP_API_ID_hipMemAllocPitch:
9474 oss <<
"hipMemAllocPitch(";
9475 if (data->args.hipMemAllocPitch.dptr == NULL) oss <<
"dptr=NULL";
9476 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
9477 if (data->args.hipMemAllocPitch.pitch == NULL) oss <<
", pitch=NULL";
9478 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
9479 oss <<
", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
9480 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
9481 oss <<
", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
9484 case HIP_API_ID_hipMemCreate:
9485 oss <<
"hipMemCreate(";
9486 if (data->args.hipMemCreate.handle == NULL) oss <<
"handle=NULL";
9487 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
9488 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
9489 if (data->args.hipMemCreate.prop == NULL) oss <<
", prop=NULL";
9490 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
9491 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
9494 case HIP_API_ID_hipMemExportToShareableHandle:
9495 oss <<
"hipMemExportToShareableHandle(";
9496 oss <<
"shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
9497 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
9498 oss <<
", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
9499 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
9502 case HIP_API_ID_hipMemGetAccess:
9503 oss <<
"hipMemGetAccess(";
9504 if (data->args.hipMemGetAccess.flags == NULL) oss <<
"flags=NULL";
9505 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
9506 if (data->args.hipMemGetAccess.location == NULL) oss <<
", location=NULL";
9507 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
9508 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
9511 case HIP_API_ID_hipMemGetAddressRange:
9512 oss <<
"hipMemGetAddressRange(";
9513 if (data->args.hipMemGetAddressRange.pbase == NULL) oss <<
"pbase=NULL";
9514 else { oss <<
"pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
9515 if (data->args.hipMemGetAddressRange.psize == NULL) oss <<
", psize=NULL";
9516 else { oss <<
", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
9517 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
9520 case HIP_API_ID_hipMemGetAllocationGranularity:
9521 oss <<
"hipMemGetAllocationGranularity(";
9522 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss <<
"granularity=NULL";
9523 else { oss <<
"granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
9524 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss <<
", prop=NULL";
9525 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
9526 oss <<
", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
9529 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
9530 oss <<
"hipMemGetAllocationPropertiesFromHandle(";
9531 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss <<
"prop=NULL";
9532 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
9533 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
9536 case HIP_API_ID_hipMemGetInfo:
9537 oss <<
"hipMemGetInfo(";
9538 if (data->args.hipMemGetInfo.free == NULL) oss <<
"free=NULL";
9539 else { oss <<
"free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
9540 if (data->args.hipMemGetInfo.total == NULL) oss <<
", total=NULL";
9541 else { oss <<
", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
9544 case HIP_API_ID_hipMemImportFromShareableHandle:
9545 oss <<
"hipMemImportFromShareableHandle(";
9546 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss <<
"handle=NULL";
9547 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
9548 oss <<
", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
9549 oss <<
", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9552 case HIP_API_ID_hipMemMap:
9553 oss <<
"hipMemMap(";
9554 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9555 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9556 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9557 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9558 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9561 case HIP_API_ID_hipMemMapArrayAsync:
9562 oss <<
"hipMemMapArrayAsync(";
9563 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss <<
"mapInfoList=NULL";
9564 else { oss <<
"mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9565 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9566 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9569 case HIP_API_ID_hipMemPoolCreate:
9570 oss <<
"hipMemPoolCreate(";
9571 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss <<
"mem_pool=NULL";
9572 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9573 if (data->args.hipMemPoolCreate.pool_props == NULL) oss <<
", pool_props=NULL";
9574 else { oss <<
", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9577 case HIP_API_ID_hipMemPoolDestroy:
9578 oss <<
"hipMemPoolDestroy(";
9579 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9582 case HIP_API_ID_hipMemPoolExportPointer:
9583 oss <<
"hipMemPoolExportPointer(";
9584 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss <<
"export_data=NULL";
9585 else { oss <<
"export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9586 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9589 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9590 oss <<
"hipMemPoolExportToShareableHandle(";
9591 oss <<
"shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9592 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9593 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9594 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9597 case HIP_API_ID_hipMemPoolGetAccess:
9598 oss <<
"hipMemPoolGetAccess(";
9599 if (data->args.hipMemPoolGetAccess.flags == NULL) oss <<
"flags=NULL";
9600 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9601 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9602 if (data->args.hipMemPoolGetAccess.location == NULL) oss <<
", location=NULL";
9603 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9606 case HIP_API_ID_hipMemPoolGetAttribute:
9607 oss <<
"hipMemPoolGetAttribute(";
9608 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9609 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9610 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9613 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9614 oss <<
"hipMemPoolImportFromShareableHandle(";
9615 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss <<
"mem_pool=NULL";
9616 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9617 oss <<
", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9618 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9619 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9622 case HIP_API_ID_hipMemPoolImportPointer:
9623 oss <<
"hipMemPoolImportPointer(";
9624 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9625 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9626 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9627 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss <<
", export_data=NULL";
9628 else { oss <<
", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9631 case HIP_API_ID_hipMemPoolSetAccess:
9632 oss <<
"hipMemPoolSetAccess(";
9633 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9634 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss <<
", desc_list=NULL";
9635 else { oss <<
", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9636 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9639 case HIP_API_ID_hipMemPoolSetAttribute:
9640 oss <<
"hipMemPoolSetAttribute(";
9641 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9642 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9643 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9646 case HIP_API_ID_hipMemPoolTrimTo:
9647 oss <<
"hipMemPoolTrimTo(";
9648 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9649 oss <<
", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9652 case HIP_API_ID_hipMemPrefetchAsync:
9653 oss <<
"hipMemPrefetchAsync(";
9654 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9655 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9656 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9657 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9660 case HIP_API_ID_hipMemPtrGetInfo:
9661 oss <<
"hipMemPtrGetInfo(";
9662 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9663 if (data->args.hipMemPtrGetInfo.size == NULL) oss <<
", size=NULL";
9664 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9667 case HIP_API_ID_hipMemRangeGetAttribute:
9668 oss <<
"hipMemRangeGetAttribute(";
9669 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9670 oss <<
", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9671 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9672 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9673 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9676 case HIP_API_ID_hipMemRangeGetAttributes:
9677 oss <<
"hipMemRangeGetAttributes(";
9678 if (data->args.hipMemRangeGetAttributes.data == NULL) oss <<
"data=NULL";
9679 else { oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9680 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss <<
", data_sizes=NULL";
9681 else { oss <<
", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9682 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
9683 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9684 oss <<
", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9685 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9686 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9689 case HIP_API_ID_hipMemRelease:
9690 oss <<
"hipMemRelease(";
9691 oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9694 case HIP_API_ID_hipMemRetainAllocationHandle:
9695 oss <<
"hipMemRetainAllocationHandle(";
9696 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss <<
"handle=NULL";
9697 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9698 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9701 case HIP_API_ID_hipMemSetAccess:
9702 oss <<
"hipMemSetAccess(";
9703 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9704 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9705 if (data->args.hipMemSetAccess.desc == NULL) oss <<
", desc=NULL";
9706 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9707 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9710 case HIP_API_ID_hipMemUnmap:
9711 oss <<
"hipMemUnmap(";
9712 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9713 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9716 case HIP_API_ID_hipMemcpy:
9717 oss <<
"hipMemcpy(";
9718 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9719 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9720 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9721 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9724 case HIP_API_ID_hipMemcpy2D:
9725 oss <<
"hipMemcpy2D(";
9726 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9727 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9728 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9729 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9730 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9731 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9732 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9735 case HIP_API_ID_hipMemcpy2DArrayToArray:
9736 oss <<
"hipMemcpy2DArrayToArray(";
9737 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.dst);
9738 oss <<
", wOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetDst);
9739 oss <<
", hOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetDst);
9740 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.src);
9741 oss <<
", wOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetSrc);
9742 oss <<
", hOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetSrc);
9743 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.width);
9744 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.height);
9745 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.kind);
9748 case HIP_API_ID_hipMemcpy2DAsync:
9749 oss <<
"hipMemcpy2DAsync(";
9750 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9751 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9752 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9753 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9754 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9755 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9756 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9757 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9760 case HIP_API_ID_hipMemcpy2DFromArray:
9761 oss <<
"hipMemcpy2DFromArray(";
9762 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9763 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9764 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9765 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9766 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9767 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9768 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9769 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9772 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9773 oss <<
"hipMemcpy2DFromArrayAsync(";
9774 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9775 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9776 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9777 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9778 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9779 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9780 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9781 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9782 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9785 case HIP_API_ID_hipMemcpy2DToArray:
9786 oss <<
"hipMemcpy2DToArray(";
9787 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9788 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9789 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9790 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9791 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9792 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9793 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9794 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9797 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9798 oss <<
"hipMemcpy2DToArrayAsync(";
9799 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9800 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9801 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9802 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9803 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9804 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9805 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9806 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9807 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9810 case HIP_API_ID_hipMemcpy3D:
9811 oss <<
"hipMemcpy3D(";
9812 if (data->args.hipMemcpy3D.p == NULL) oss <<
"p=NULL";
9813 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9816 case HIP_API_ID_hipMemcpy3DAsync:
9817 oss <<
"hipMemcpy3DAsync(";
9818 if (data->args.hipMemcpy3DAsync.p == NULL) oss <<
"p=NULL";
9819 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9820 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9823 case HIP_API_ID_hipMemcpyAsync:
9824 oss <<
"hipMemcpyAsync(";
9825 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9826 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9827 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9828 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9829 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9832 case HIP_API_ID_hipMemcpyAtoA:
9833 oss <<
"hipMemcpyAtoA(";
9834 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstArray);
9835 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstOffset);
9836 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcArray);
9837 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcOffset);
9838 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.ByteCount);
9841 case HIP_API_ID_hipMemcpyAtoD:
9842 oss <<
"hipMemcpyAtoD(";
9843 oss <<
"dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.dstDevice);
9844 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcArray);
9845 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcOffset);
9846 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.ByteCount);
9849 case HIP_API_ID_hipMemcpyAtoH:
9850 oss <<
"hipMemcpyAtoH(";
9851 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9852 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9853 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9854 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9857 case HIP_API_ID_hipMemcpyAtoHAsync:
9858 oss <<
"hipMemcpyAtoHAsync(";
9859 oss <<
"dstHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.dstHost);
9860 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcArray);
9861 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcOffset);
9862 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.ByteCount);
9863 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.stream);
9866 case HIP_API_ID_hipMemcpyDtoA:
9867 oss <<
"hipMemcpyDtoA(";
9868 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstArray);
9869 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstOffset);
9870 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.srcDevice);
9871 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.ByteCount);
9874 case HIP_API_ID_hipMemcpyDtoD:
9875 oss <<
"hipMemcpyDtoD(";
9876 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9877 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9878 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9881 case HIP_API_ID_hipMemcpyDtoDAsync:
9882 oss <<
"hipMemcpyDtoDAsync(";
9883 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9884 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9885 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9886 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9889 case HIP_API_ID_hipMemcpyDtoH:
9890 oss <<
"hipMemcpyDtoH(";
9891 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9892 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9893 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9896 case HIP_API_ID_hipMemcpyDtoHAsync:
9897 oss <<
"hipMemcpyDtoHAsync(";
9898 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9899 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9900 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9901 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9904 case HIP_API_ID_hipMemcpyFromArray:
9905 oss <<
"hipMemcpyFromArray(";
9906 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9907 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9908 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9909 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9910 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9911 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9914 case HIP_API_ID_hipMemcpyFromSymbol:
9915 oss <<
"hipMemcpyFromSymbol(";
9916 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9917 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9918 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9919 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9920 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9923 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9924 oss <<
"hipMemcpyFromSymbolAsync(";
9925 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9926 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9927 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9928 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9929 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9930 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9933 case HIP_API_ID_hipMemcpyHtoA:
9934 oss <<
"hipMemcpyHtoA(";
9935 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9936 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9937 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9938 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9941 case HIP_API_ID_hipMemcpyHtoAAsync:
9942 oss <<
"hipMemcpyHtoAAsync(";
9943 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstArray);
9944 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstOffset);
9945 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.srcHost);
9946 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.ByteCount);
9947 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.stream);
9950 case HIP_API_ID_hipMemcpyHtoD:
9951 oss <<
"hipMemcpyHtoD(";
9952 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9953 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9954 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9957 case HIP_API_ID_hipMemcpyHtoDAsync:
9958 oss <<
"hipMemcpyHtoDAsync(";
9959 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9960 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9961 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9962 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9965 case HIP_API_ID_hipMemcpyParam2D:
9966 oss <<
"hipMemcpyParam2D(";
9967 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss <<
"pCopy=NULL";
9968 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9971 case HIP_API_ID_hipMemcpyParam2DAsync:
9972 oss <<
"hipMemcpyParam2DAsync(";
9973 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
9974 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9975 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9978 case HIP_API_ID_hipMemcpyPeer:
9979 oss <<
"hipMemcpyPeer(";
9980 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9981 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9982 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9983 oss <<
", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9984 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9987 case HIP_API_ID_hipMemcpyPeerAsync:
9988 oss <<
"hipMemcpyPeerAsync(";
9989 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9990 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9991 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9992 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9993 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9994 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9997 case HIP_API_ID_hipMemcpyToArray:
9998 oss <<
"hipMemcpyToArray(";
9999 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
10000 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
10001 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
10002 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
10003 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
10004 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
10007 case HIP_API_ID_hipMemcpyToSymbol:
10008 oss <<
"hipMemcpyToSymbol(";
10009 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
10010 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
10011 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
10012 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
10013 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
10016 case HIP_API_ID_hipMemcpyToSymbolAsync:
10017 oss <<
"hipMemcpyToSymbolAsync(";
10018 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
10019 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
10020 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
10021 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
10022 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
10023 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
10026 case HIP_API_ID_hipMemcpyWithStream:
10027 oss <<
"hipMemcpyWithStream(";
10028 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
10029 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
10030 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
10031 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
10032 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
10035 case HIP_API_ID_hipMemset:
10036 oss <<
"hipMemset(";
10037 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
10038 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
10039 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
10042 case HIP_API_ID_hipMemset2D:
10043 oss <<
"hipMemset2D(";
10044 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
10045 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
10046 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
10047 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
10048 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
10051 case HIP_API_ID_hipMemset2DAsync:
10052 oss <<
"hipMemset2DAsync(";
10053 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
10054 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
10055 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
10056 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
10057 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
10058 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
10061 case HIP_API_ID_hipMemset3D:
10062 oss <<
"hipMemset3D(";
10063 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
10064 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
10065 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
10068 case HIP_API_ID_hipMemset3DAsync:
10069 oss <<
"hipMemset3DAsync(";
10070 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
10071 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
10072 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
10073 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
10076 case HIP_API_ID_hipMemsetAsync:
10077 oss <<
"hipMemsetAsync(";
10078 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
10079 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
10080 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
10081 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
10084 case HIP_API_ID_hipMemsetD16:
10085 oss <<
"hipMemsetD16(";
10086 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
10087 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
10088 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
10091 case HIP_API_ID_hipMemsetD16Async:
10092 oss <<
"hipMemsetD16Async(";
10093 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
10094 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
10095 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
10096 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
10099 case HIP_API_ID_hipMemsetD32:
10100 oss <<
"hipMemsetD32(";
10101 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
10102 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
10103 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
10106 case HIP_API_ID_hipMemsetD32Async:
10107 oss <<
"hipMemsetD32Async(";
10108 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
10109 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
10110 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
10111 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
10114 case HIP_API_ID_hipMemsetD8:
10115 oss <<
"hipMemsetD8(";
10116 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
10117 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
10118 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
10121 case HIP_API_ID_hipMemsetD8Async:
10122 oss <<
"hipMemsetD8Async(";
10123 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
10124 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
10125 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
10126 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
10129 case HIP_API_ID_hipMipmappedArrayCreate:
10130 oss <<
"hipMipmappedArrayCreate(";
10131 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
10132 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
10133 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss <<
", pMipmappedArrayDesc=NULL";
10134 else { oss <<
", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
10135 oss <<
", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
10138 case HIP_API_ID_hipMipmappedArrayDestroy:
10139 oss <<
"hipMipmappedArrayDestroy(";
10140 oss <<
"hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
10143 case HIP_API_ID_hipMipmappedArrayGetLevel:
10144 oss <<
"hipMipmappedArrayGetLevel(";
10145 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss <<
"pLevelArray=NULL";
10146 else { oss <<
"pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
10147 oss <<
", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
10148 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
10151 case HIP_API_ID_hipModuleGetFunction:
10152 oss <<
"hipModuleGetFunction(";
10153 if (data->args.hipModuleGetFunction.function == NULL) oss <<
"function=NULL";
10154 else { oss <<
"function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
10155 oss <<
", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
10156 if (data->args.hipModuleGetFunction.kname == NULL) oss <<
", kname=NULL";
10157 else { oss <<
", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
10160 case HIP_API_ID_hipModuleGetGlobal:
10161 oss <<
"hipModuleGetGlobal(";
10162 if (data->args.hipModuleGetGlobal.dptr == NULL) oss <<
"dptr=NULL";
10163 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
10164 if (data->args.hipModuleGetGlobal.bytes == NULL) oss <<
", bytes=NULL";
10165 else { oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
10166 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
10167 if (data->args.hipModuleGetGlobal.name == NULL) oss <<
", name=NULL";
10168 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
10171 case HIP_API_ID_hipModuleGetTexRef:
10172 oss <<
"hipModuleGetTexRef(";
10173 if (data->args.hipModuleGetTexRef.texRef == NULL) oss <<
"texRef=NULL";
10174 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipModuleGetTexRef.texRef__val); }
10175 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
10176 if (data->args.hipModuleGetTexRef.name == NULL) oss <<
", name=NULL";
10177 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
10180 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
10181 oss <<
"hipModuleLaunchCooperativeKernel(";
10182 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
10183 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
10184 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
10185 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
10186 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
10187 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
10188 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
10189 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
10190 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
10191 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
10192 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
10195 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
10196 oss <<
"hipModuleLaunchCooperativeKernelMultiDevice(";
10197 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
10198 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
10199 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
10200 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
10203 case HIP_API_ID_hipModuleLaunchKernel:
10204 oss <<
"hipModuleLaunchKernel(";
10205 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
10206 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
10207 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
10208 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
10209 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
10210 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
10211 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
10212 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
10213 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
10214 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
10215 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
10216 if (data->args.hipModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
10217 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
10220 case HIP_API_ID_hipModuleLoad:
10221 oss <<
"hipModuleLoad(";
10222 if (data->args.hipModuleLoad.module == NULL) oss <<
"module=NULL";
10223 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
10224 if (data->args.hipModuleLoad.fname == NULL) oss <<
", fname=NULL";
10225 else { oss <<
", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
10228 case HIP_API_ID_hipModuleLoadData:
10229 oss <<
"hipModuleLoadData(";
10230 if (data->args.hipModuleLoadData.module == NULL) oss <<
"module=NULL";
10231 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
10232 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
10235 case HIP_API_ID_hipModuleLoadDataEx:
10236 oss <<
"hipModuleLoadDataEx(";
10237 if (data->args.hipModuleLoadDataEx.module == NULL) oss <<
"module=NULL";
10238 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
10239 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
10240 oss <<
", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
10241 if (data->args.hipModuleLoadDataEx.options == NULL) oss <<
", options=NULL";
10242 else { oss <<
", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
10243 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss <<
", optionsValues=NULL";
10244 else { oss <<
", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
10247 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
10248 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
10249 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
10250 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10251 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
10252 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10253 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
10256 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10257 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10258 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
10259 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10260 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10261 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10262 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
10263 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10266 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
10267 oss <<
"hipModuleOccupancyMaxPotentialBlockSize(";
10268 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
10269 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
10270 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
10271 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
10272 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
10273 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10274 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
10277 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
10278 oss <<
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
10279 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss <<
"gridSize=NULL";
10280 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
10281 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss <<
", blockSize=NULL";
10282 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
10283 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
10284 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
10285 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
10286 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
10289 case HIP_API_ID_hipModuleUnload:
10290 oss <<
"hipModuleUnload(";
10291 oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
10294 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
10295 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessor(";
10296 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
10297 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10298 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
10299 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10300 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
10303 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10304 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10305 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
10306 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10307 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10308 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10309 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
10310 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10313 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
10314 oss <<
"hipOccupancyMaxPotentialBlockSize(";
10315 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
10316 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
10317 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
10318 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
10319 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
10320 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10321 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
10324 case HIP_API_ID_hipPeekAtLastError:
10325 oss <<
"hipPeekAtLastError(";
10328 case HIP_API_ID_hipPointerGetAttribute:
10329 oss <<
"hipPointerGetAttribute(";
10330 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
10331 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
10332 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
10335 case HIP_API_ID_hipPointerGetAttributes:
10336 oss <<
"hipPointerGetAttributes(";
10337 if (data->args.hipPointerGetAttributes.attributes == NULL) oss <<
"attributes=NULL";
10338 else { oss <<
"attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
10339 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
10342 case HIP_API_ID_hipPointerSetAttribute:
10343 oss <<
"hipPointerSetAttribute(";
10344 oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
10345 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
10346 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
10349 case HIP_API_ID_hipProfilerStart:
10350 oss <<
"hipProfilerStart(";
10353 case HIP_API_ID_hipProfilerStop:
10354 oss <<
"hipProfilerStop(";
10357 case HIP_API_ID_hipRuntimeGetVersion:
10358 oss <<
"hipRuntimeGetVersion(";
10359 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss <<
"runtimeVersion=NULL";
10360 else { oss <<
"runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
10363 case HIP_API_ID_hipSetDevice:
10364 oss <<
"hipSetDevice(";
10365 oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
10368 case HIP_API_ID_hipSetDeviceFlags:
10369 oss <<
"hipSetDeviceFlags(";
10370 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
10373 case HIP_API_ID_hipSetValidDevices:
10374 oss <<
"hipSetValidDevices(";
10375 if (data->args.hipSetValidDevices.device_arr == NULL) oss <<
"device_arr=NULL";
10376 else { oss <<
"device_arr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.device_arr__val); }
10377 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.len);
10380 case HIP_API_ID_hipSetupArgument:
10381 oss <<
"hipSetupArgument(";
10382 oss <<
"arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
10383 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
10384 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
10387 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
10388 oss <<
"hipSignalExternalSemaphoresAsync(";
10389 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
10390 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
10391 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
10392 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
10393 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
10394 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
10397 case HIP_API_ID_hipStreamAddCallback:
10398 oss <<
"hipStreamAddCallback(";
10399 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
10400 oss <<
", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
10401 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
10402 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
10405 case HIP_API_ID_hipStreamAttachMemAsync:
10406 oss <<
"hipStreamAttachMemAsync(";
10407 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
10408 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
10409 oss <<
", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
10410 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
10413 case HIP_API_ID_hipStreamBeginCapture:
10414 oss <<
"hipStreamBeginCapture(";
10415 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
10416 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
10419 case HIP_API_ID_hipStreamBeginCaptureToGraph:
10420 oss <<
"hipStreamBeginCaptureToGraph(";
10421 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.stream);
10422 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.graph);
10423 if (data->args.hipStreamBeginCaptureToGraph.dependencies == NULL) oss <<
", dependencies=NULL";
10424 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencies__val); }
10425 if (data->args.hipStreamBeginCaptureToGraph.dependencyData == NULL) oss <<
", dependencyData=NULL";
10426 else { oss <<
", dependencyData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencyData__val); }
10427 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.numDependencies);
10428 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.mode);
10431 case HIP_API_ID_hipStreamCreate:
10432 oss <<
"hipStreamCreate(";
10433 if (data->args.hipStreamCreate.stream == NULL) oss <<
"stream=NULL";
10434 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
10437 case HIP_API_ID_hipStreamCreateWithFlags:
10438 oss <<
"hipStreamCreateWithFlags(";
10439 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss <<
"stream=NULL";
10440 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
10441 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
10444 case HIP_API_ID_hipStreamCreateWithPriority:
10445 oss <<
"hipStreamCreateWithPriority(";
10446 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss <<
"stream=NULL";
10447 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
10448 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
10449 oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
10452 case HIP_API_ID_hipStreamDestroy:
10453 oss <<
"hipStreamDestroy(";
10454 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
10457 case HIP_API_ID_hipStreamEndCapture:
10458 oss <<
"hipStreamEndCapture(";
10459 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
10460 if (data->args.hipStreamEndCapture.pGraph == NULL) oss <<
", pGraph=NULL";
10461 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
10464 case HIP_API_ID_hipStreamGetCaptureInfo:
10465 oss <<
"hipStreamGetCaptureInfo(";
10466 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
10467 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
10468 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
10469 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss <<
", pId=NULL";
10470 else { oss <<
", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
10473 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
10474 oss <<
"hipStreamGetCaptureInfo_v2(";
10475 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
10476 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss <<
", captureStatus_out=NULL";
10477 else { oss <<
", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
10478 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss <<
", id_out=NULL";
10479 else { oss <<
", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
10480 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss <<
", graph_out=NULL";
10481 else { oss <<
", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
10482 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss <<
", dependencies_out=NULL";
10483 else { oss <<
", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
10484 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss <<
", numDependencies_out=NULL";
10485 else { oss <<
", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
10488 case HIP_API_ID_hipStreamGetDevice:
10489 oss <<
"hipStreamGetDevice(";
10490 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
10491 if (data->args.hipStreamGetDevice.device == NULL) oss <<
", device=NULL";
10492 else { oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
10495 case HIP_API_ID_hipStreamGetFlags:
10496 oss <<
"hipStreamGetFlags(";
10497 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
10498 if (data->args.hipStreamGetFlags.flags == NULL) oss <<
", flags=NULL";
10499 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
10502 case HIP_API_ID_hipStreamGetPriority:
10503 oss <<
"hipStreamGetPriority(";
10504 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
10505 if (data->args.hipStreamGetPriority.priority == NULL) oss <<
", priority=NULL";
10506 else { oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
10509 case HIP_API_ID_hipStreamIsCapturing:
10510 oss <<
"hipStreamIsCapturing(";
10511 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
10512 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
10513 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
10516 case HIP_API_ID_hipStreamQuery:
10517 oss <<
"hipStreamQuery(";
10518 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
10521 case HIP_API_ID_hipStreamSynchronize:
10522 oss <<
"hipStreamSynchronize(";
10523 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
10526 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
10527 oss <<
"hipStreamUpdateCaptureDependencies(";
10528 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
10529 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss <<
", dependencies=NULL";
10530 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
10531 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
10532 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
10535 case HIP_API_ID_hipStreamWaitEvent:
10536 oss <<
"hipStreamWaitEvent(";
10537 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
10538 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
10539 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
10542 case HIP_API_ID_hipStreamWaitValue32:
10543 oss <<
"hipStreamWaitValue32(";
10544 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
10545 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
10546 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
10547 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
10548 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
10551 case HIP_API_ID_hipStreamWaitValue64:
10552 oss <<
"hipStreamWaitValue64(";
10553 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
10554 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
10555 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
10556 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
10557 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
10560 case HIP_API_ID_hipStreamWriteValue32:
10561 oss <<
"hipStreamWriteValue32(";
10562 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
10563 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
10564 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
10565 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
10568 case HIP_API_ID_hipStreamWriteValue64:
10569 oss <<
"hipStreamWriteValue64(";
10570 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
10571 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
10572 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
10573 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
10576 case HIP_API_ID_hipTexRefGetAddress:
10577 oss <<
"hipTexRefGetAddress(";
10578 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
10579 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
10580 if (data->args.hipTexRefGetAddress.texRef == NULL) oss <<
", texRef=NULL";
10581 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
10584 case HIP_API_ID_hipTexRefGetArray:
10585 oss <<
"hipTexRefGetArray(";
10586 if (data->args.hipTexRefGetArray.pArray == NULL) oss <<
"pArray=NULL";
10587 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.pArray__val); }
10588 if (data->args.hipTexRefGetArray.texRef == NULL) oss <<
", texRef=NULL";
10589 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.texRef__val); }
10592 case HIP_API_ID_hipTexRefGetBorderColor:
10593 oss <<
"hipTexRefGetBorderColor(";
10594 if (data->args.hipTexRefGetBorderColor.pBorderColor == NULL) oss <<
"pBorderColor=NULL";
10595 else { oss <<
"pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.pBorderColor__val); }
10596 if (data->args.hipTexRefGetBorderColor.texRef == NULL) oss <<
", texRef=NULL";
10597 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.texRef__val); }
10600 case HIP_API_ID_hipTexRefGetFlags:
10601 oss <<
"hipTexRefGetFlags(";
10602 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss <<
"pFlags=NULL";
10603 else { oss <<
"pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
10604 if (data->args.hipTexRefGetFlags.texRef == NULL) oss <<
", texRef=NULL";
10605 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
10608 case HIP_API_ID_hipTexRefGetFormat:
10609 oss <<
"hipTexRefGetFormat(";
10610 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss <<
"pFormat=NULL";
10611 else { oss <<
"pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
10612 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss <<
", pNumChannels=NULL";
10613 else { oss <<
", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
10614 if (data->args.hipTexRefGetFormat.texRef == NULL) oss <<
", texRef=NULL";
10615 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
10618 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
10619 oss <<
"hipTexRefGetMaxAnisotropy(";
10620 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss <<
"pmaxAnsio=NULL";
10621 else { oss <<
"pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
10622 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss <<
", texRef=NULL";
10623 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
10626 case HIP_API_ID_hipTexRefGetMipMappedArray:
10627 oss <<
"hipTexRefGetMipMappedArray(";
10628 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss <<
"pArray=NULL";
10629 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
10630 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss <<
", texRef=NULL";
10631 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
10634 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
10635 oss <<
"hipTexRefGetMipmapLevelBias(";
10636 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss <<
"pbias=NULL";
10637 else { oss <<
"pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
10638 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss <<
", texRef=NULL";
10639 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
10642 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10643 oss <<
"hipTexRefGetMipmapLevelClamp(";
10644 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss <<
"pminMipmapLevelClamp=NULL";
10645 else { oss <<
"pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10646 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss <<
", pmaxMipmapLevelClamp=NULL";
10647 else { oss <<
", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10648 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss <<
", texRef=NULL";
10649 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10652 case HIP_API_ID_hipTexRefSetAddress:
10653 oss <<
"hipTexRefSetAddress(";
10654 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss <<
"ByteOffset=NULL";
10655 else { oss <<
"ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10656 if (data->args.hipTexRefSetAddress.texRef == NULL) oss <<
", texRef=NULL";
10657 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10658 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10659 oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10662 case HIP_API_ID_hipTexRefSetAddress2D:
10663 oss <<
"hipTexRefSetAddress2D(";
10664 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss <<
"texRef=NULL";
10665 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10666 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss <<
", desc=NULL";
10667 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10668 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10669 oss <<
", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10672 case HIP_API_ID_hipTexRefSetArray:
10673 oss <<
"hipTexRefSetArray(";
10674 if (data->args.hipTexRefSetArray.tex == NULL) oss <<
"tex=NULL";
10675 else { oss <<
"tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10676 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10677 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10680 case HIP_API_ID_hipTexRefSetBorderColor:
10681 oss <<
"hipTexRefSetBorderColor(";
10682 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss <<
"texRef=NULL";
10683 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10684 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss <<
", pBorderColor=NULL";
10685 else { oss <<
", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10688 case HIP_API_ID_hipTexRefSetFlags:
10689 oss <<
"hipTexRefSetFlags(";
10690 if (data->args.hipTexRefSetFlags.texRef == NULL) oss <<
"texRef=NULL";
10691 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10692 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10695 case HIP_API_ID_hipTexRefSetFormat:
10696 oss <<
"hipTexRefSetFormat(";
10697 if (data->args.hipTexRefSetFormat.texRef == NULL) oss <<
"texRef=NULL";
10698 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10699 oss <<
", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10700 oss <<
", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10703 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10704 oss <<
"hipTexRefSetMaxAnisotropy(";
10705 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss <<
"texRef=NULL";
10706 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10707 oss <<
", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10710 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10711 oss <<
"hipTexRefSetMipmapLevelBias(";
10712 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss <<
"texRef=NULL";
10713 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10714 oss <<
", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10717 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10718 oss <<
"hipTexRefSetMipmapLevelClamp(";
10719 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss <<
"texRef=NULL";
10720 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10721 oss <<
", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10722 oss <<
", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10725 case HIP_API_ID_hipTexRefSetMipmappedArray:
10726 oss <<
"hipTexRefSetMipmappedArray(";
10727 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss <<
"texRef=NULL";
10728 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10729 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss <<
", mipmappedArray=NULL";
10730 else { oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10731 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10734 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10735 oss <<
"hipThreadExchangeStreamCaptureMode(";
10736 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss <<
"mode=NULL";
10737 else { oss <<
"mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10740 case HIP_API_ID_hipUserObjectCreate:
10741 oss <<
"hipUserObjectCreate(";
10742 if (data->args.hipUserObjectCreate.object_out == NULL) oss <<
"object_out=NULL";
10743 else { oss <<
"object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10744 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10745 oss <<
", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10746 oss <<
", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10747 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10750 case HIP_API_ID_hipUserObjectRelease:
10751 oss <<
"hipUserObjectRelease(";
10752 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10753 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10756 case HIP_API_ID_hipUserObjectRetain:
10757 oss <<
"hipUserObjectRetain(";
10758 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10759 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10762 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10763 oss <<
"hipWaitExternalSemaphoresAsync(";
10764 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
10765 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10766 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
10767 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10768 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10769 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10772 default: oss <<
"unknown";
10774 return strdup(oss.str().c_str());
hipGLDeviceList
Definition amd_hip_gl_interop.h:40
unsigned int GLenum
Definition amd_hip_gl_interop.h:52
unsigned int GLuint
Definition amd_hip_gl_interop.h:50
Definition hip_prof_str.h:1265