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_LAST = 379,
402 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
403 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
405 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
406 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
407 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
408 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
409 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
410 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
411 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
412 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
413 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
414 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
415 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
416 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
417 HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
418 HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
419 HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
420 HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
421 HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
422 HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
423 HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
424 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
425 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
426 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
427 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
428 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
429 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
430 HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
431 HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
432 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
433 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
434 HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
435 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
436 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
437 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
438 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
441#undef HIP_API_ID_CONCAT_HELPER
442#undef HIP_API_ID_CONCAT
445static inline const char* hip_api_name(
const uint32_t
id) {
447 case HIP_API_ID___hipPopCallConfiguration:
return "__hipPopCallConfiguration";
448 case HIP_API_ID___hipPushCallConfiguration:
return "__hipPushCallConfiguration";
449 case HIP_API_ID_hipArray3DCreate:
return "hipArray3DCreate";
450 case HIP_API_ID_hipArray3DGetDescriptor:
return "hipArray3DGetDescriptor";
451 case HIP_API_ID_hipArrayCreate:
return "hipArrayCreate";
452 case HIP_API_ID_hipArrayDestroy:
return "hipArrayDestroy";
453 case HIP_API_ID_hipArrayGetDescriptor:
return "hipArrayGetDescriptor";
454 case HIP_API_ID_hipArrayGetInfo:
return "hipArrayGetInfo";
455 case HIP_API_ID_hipChooseDeviceR0000:
return "hipChooseDeviceR0000";
456 case HIP_API_ID_hipChooseDeviceR0600:
return "hipChooseDeviceR0600";
457 case HIP_API_ID_hipConfigureCall:
return "hipConfigureCall";
458 case HIP_API_ID_hipCreateSurfaceObject:
return "hipCreateSurfaceObject";
459 case HIP_API_ID_hipCtxCreate:
return "hipCtxCreate";
460 case HIP_API_ID_hipCtxDestroy:
return "hipCtxDestroy";
461 case HIP_API_ID_hipCtxDisablePeerAccess:
return "hipCtxDisablePeerAccess";
462 case HIP_API_ID_hipCtxEnablePeerAccess:
return "hipCtxEnablePeerAccess";
463 case HIP_API_ID_hipCtxGetApiVersion:
return "hipCtxGetApiVersion";
464 case HIP_API_ID_hipCtxGetCacheConfig:
return "hipCtxGetCacheConfig";
465 case HIP_API_ID_hipCtxGetCurrent:
return "hipCtxGetCurrent";
466 case HIP_API_ID_hipCtxGetDevice:
return "hipCtxGetDevice";
467 case HIP_API_ID_hipCtxGetFlags:
return "hipCtxGetFlags";
468 case HIP_API_ID_hipCtxGetSharedMemConfig:
return "hipCtxGetSharedMemConfig";
469 case HIP_API_ID_hipCtxPopCurrent:
return "hipCtxPopCurrent";
470 case HIP_API_ID_hipCtxPushCurrent:
return "hipCtxPushCurrent";
471 case HIP_API_ID_hipCtxSetCacheConfig:
return "hipCtxSetCacheConfig";
472 case HIP_API_ID_hipCtxSetCurrent:
return "hipCtxSetCurrent";
473 case HIP_API_ID_hipCtxSetSharedMemConfig:
return "hipCtxSetSharedMemConfig";
474 case HIP_API_ID_hipCtxSynchronize:
return "hipCtxSynchronize";
475 case HIP_API_ID_hipDestroyExternalMemory:
return "hipDestroyExternalMemory";
476 case HIP_API_ID_hipDestroyExternalSemaphore:
return "hipDestroyExternalSemaphore";
477 case HIP_API_ID_hipDestroySurfaceObject:
return "hipDestroySurfaceObject";
478 case HIP_API_ID_hipDeviceCanAccessPeer:
return "hipDeviceCanAccessPeer";
479 case HIP_API_ID_hipDeviceComputeCapability:
return "hipDeviceComputeCapability";
480 case HIP_API_ID_hipDeviceDisablePeerAccess:
return "hipDeviceDisablePeerAccess";
481 case HIP_API_ID_hipDeviceEnablePeerAccess:
return "hipDeviceEnablePeerAccess";
482 case HIP_API_ID_hipDeviceGet:
return "hipDeviceGet";
483 case HIP_API_ID_hipDeviceGetAttribute:
return "hipDeviceGetAttribute";
484 case HIP_API_ID_hipDeviceGetByPCIBusId:
return "hipDeviceGetByPCIBusId";
485 case HIP_API_ID_hipDeviceGetCacheConfig:
return "hipDeviceGetCacheConfig";
486 case HIP_API_ID_hipDeviceGetDefaultMemPool:
return "hipDeviceGetDefaultMemPool";
487 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
return "hipDeviceGetGraphMemAttribute";
488 case HIP_API_ID_hipDeviceGetLimit:
return "hipDeviceGetLimit";
489 case HIP_API_ID_hipDeviceGetMemPool:
return "hipDeviceGetMemPool";
490 case HIP_API_ID_hipDeviceGetName:
return "hipDeviceGetName";
491 case HIP_API_ID_hipDeviceGetP2PAttribute:
return "hipDeviceGetP2PAttribute";
492 case HIP_API_ID_hipDeviceGetPCIBusId:
return "hipDeviceGetPCIBusId";
493 case HIP_API_ID_hipDeviceGetSharedMemConfig:
return "hipDeviceGetSharedMemConfig";
494 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
return "hipDeviceGetStreamPriorityRange";
495 case HIP_API_ID_hipDeviceGetUuid:
return "hipDeviceGetUuid";
496 case HIP_API_ID_hipDeviceGraphMemTrim:
return "hipDeviceGraphMemTrim";
497 case HIP_API_ID_hipDevicePrimaryCtxGetState:
return "hipDevicePrimaryCtxGetState";
498 case HIP_API_ID_hipDevicePrimaryCtxRelease:
return "hipDevicePrimaryCtxRelease";
499 case HIP_API_ID_hipDevicePrimaryCtxReset:
return "hipDevicePrimaryCtxReset";
500 case HIP_API_ID_hipDevicePrimaryCtxRetain:
return "hipDevicePrimaryCtxRetain";
501 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
return "hipDevicePrimaryCtxSetFlags";
502 case HIP_API_ID_hipDeviceReset:
return "hipDeviceReset";
503 case HIP_API_ID_hipDeviceSetCacheConfig:
return "hipDeviceSetCacheConfig";
504 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
return "hipDeviceSetGraphMemAttribute";
505 case HIP_API_ID_hipDeviceSetLimit:
return "hipDeviceSetLimit";
506 case HIP_API_ID_hipDeviceSetMemPool:
return "hipDeviceSetMemPool";
507 case HIP_API_ID_hipDeviceSetSharedMemConfig:
return "hipDeviceSetSharedMemConfig";
508 case HIP_API_ID_hipDeviceSynchronize:
return "hipDeviceSynchronize";
509 case HIP_API_ID_hipDeviceTotalMem:
return "hipDeviceTotalMem";
510 case HIP_API_ID_hipDriverGetVersion:
return "hipDriverGetVersion";
511 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
return "hipDrvGraphAddMemcpyNode";
512 case HIP_API_ID_hipDrvGraphAddMemsetNode:
return "hipDrvGraphAddMemsetNode";
513 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
return "hipDrvGraphMemcpyNodeGetParams";
514 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
return "hipDrvGraphMemcpyNodeSetParams";
515 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
return "hipDrvMemcpy2DUnaligned";
516 case HIP_API_ID_hipDrvMemcpy3D:
return "hipDrvMemcpy3D";
517 case HIP_API_ID_hipDrvMemcpy3DAsync:
return "hipDrvMemcpy3DAsync";
518 case HIP_API_ID_hipDrvPointerGetAttributes:
return "hipDrvPointerGetAttributes";
519 case HIP_API_ID_hipEventCreate:
return "hipEventCreate";
520 case HIP_API_ID_hipEventCreateWithFlags:
return "hipEventCreateWithFlags";
521 case HIP_API_ID_hipEventDestroy:
return "hipEventDestroy";
522 case HIP_API_ID_hipEventElapsedTime:
return "hipEventElapsedTime";
523 case HIP_API_ID_hipEventQuery:
return "hipEventQuery";
524 case HIP_API_ID_hipEventRecord:
return "hipEventRecord";
525 case HIP_API_ID_hipEventSynchronize:
return "hipEventSynchronize";
526 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
return "hipExtGetLinkTypeAndHopCount";
527 case HIP_API_ID_hipExtLaunchKernel:
return "hipExtLaunchKernel";
528 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
return "hipExtLaunchMultiKernelMultiDevice";
529 case HIP_API_ID_hipExtMallocWithFlags:
return "hipExtMallocWithFlags";
530 case HIP_API_ID_hipExtModuleLaunchKernel:
return "hipExtModuleLaunchKernel";
531 case HIP_API_ID_hipExtStreamCreateWithCUMask:
return "hipExtStreamCreateWithCUMask";
532 case HIP_API_ID_hipExtStreamGetCUMask:
return "hipExtStreamGetCUMask";
533 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
return "hipExternalMemoryGetMappedBuffer";
534 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
return "hipExternalMemoryGetMappedMipmappedArray";
535 case HIP_API_ID_hipFree:
return "hipFree";
536 case HIP_API_ID_hipFreeArray:
return "hipFreeArray";
537 case HIP_API_ID_hipFreeAsync:
return "hipFreeAsync";
538 case HIP_API_ID_hipFreeHost:
return "hipFreeHost";
539 case HIP_API_ID_hipFreeMipmappedArray:
return "hipFreeMipmappedArray";
540 case HIP_API_ID_hipFuncGetAttribute:
return "hipFuncGetAttribute";
541 case HIP_API_ID_hipFuncGetAttributes:
return "hipFuncGetAttributes";
542 case HIP_API_ID_hipFuncSetAttribute:
return "hipFuncSetAttribute";
543 case HIP_API_ID_hipFuncSetCacheConfig:
return "hipFuncSetCacheConfig";
544 case HIP_API_ID_hipFuncSetSharedMemConfig:
return "hipFuncSetSharedMemConfig";
545 case HIP_API_ID_hipGLGetDevices:
return "hipGLGetDevices";
546 case HIP_API_ID_hipGetChannelDesc:
return "hipGetChannelDesc";
547 case HIP_API_ID_hipGetDevice:
return "hipGetDevice";
548 case HIP_API_ID_hipGetDeviceCount:
return "hipGetDeviceCount";
549 case HIP_API_ID_hipGetDeviceFlags:
return "hipGetDeviceFlags";
550 case HIP_API_ID_hipGetDevicePropertiesR0000:
return "hipGetDevicePropertiesR0000";
551 case HIP_API_ID_hipGetDevicePropertiesR0600:
return "hipGetDevicePropertiesR0600";
552 case HIP_API_ID_hipGetErrorString:
return "hipGetErrorString";
553 case HIP_API_ID_hipGetLastError:
return "hipGetLastError";
554 case HIP_API_ID_hipGetMipmappedArrayLevel:
return "hipGetMipmappedArrayLevel";
555 case HIP_API_ID_hipGetSymbolAddress:
return "hipGetSymbolAddress";
556 case HIP_API_ID_hipGetSymbolSize:
return "hipGetSymbolSize";
557 case HIP_API_ID_hipGraphAddChildGraphNode:
return "hipGraphAddChildGraphNode";
558 case HIP_API_ID_hipGraphAddDependencies:
return "hipGraphAddDependencies";
559 case HIP_API_ID_hipGraphAddEmptyNode:
return "hipGraphAddEmptyNode";
560 case HIP_API_ID_hipGraphAddEventRecordNode:
return "hipGraphAddEventRecordNode";
561 case HIP_API_ID_hipGraphAddEventWaitNode:
return "hipGraphAddEventWaitNode";
562 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
return "hipGraphAddExternalSemaphoresSignalNode";
563 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
return "hipGraphAddExternalSemaphoresWaitNode";
564 case HIP_API_ID_hipGraphAddHostNode:
return "hipGraphAddHostNode";
565 case HIP_API_ID_hipGraphAddKernelNode:
return "hipGraphAddKernelNode";
566 case HIP_API_ID_hipGraphAddMemAllocNode:
return "hipGraphAddMemAllocNode";
567 case HIP_API_ID_hipGraphAddMemFreeNode:
return "hipGraphAddMemFreeNode";
568 case HIP_API_ID_hipGraphAddMemcpyNode:
return "hipGraphAddMemcpyNode";
569 case HIP_API_ID_hipGraphAddMemcpyNode1D:
return "hipGraphAddMemcpyNode1D";
570 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
return "hipGraphAddMemcpyNodeFromSymbol";
571 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
return "hipGraphAddMemcpyNodeToSymbol";
572 case HIP_API_ID_hipGraphAddMemsetNode:
return "hipGraphAddMemsetNode";
573 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
return "hipGraphChildGraphNodeGetGraph";
574 case HIP_API_ID_hipGraphClone:
return "hipGraphClone";
575 case HIP_API_ID_hipGraphCreate:
return "hipGraphCreate";
576 case HIP_API_ID_hipGraphDebugDotPrint:
return "hipGraphDebugDotPrint";
577 case HIP_API_ID_hipGraphDestroy:
return "hipGraphDestroy";
578 case HIP_API_ID_hipGraphDestroyNode:
return "hipGraphDestroyNode";
579 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
return "hipGraphEventRecordNodeGetEvent";
580 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
return "hipGraphEventRecordNodeSetEvent";
581 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
return "hipGraphEventWaitNodeGetEvent";
582 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
return "hipGraphEventWaitNodeSetEvent";
583 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
return "hipGraphExecChildGraphNodeSetParams";
584 case HIP_API_ID_hipGraphExecDestroy:
return "hipGraphExecDestroy";
585 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
return "hipGraphExecEventRecordNodeSetEvent";
586 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
return "hipGraphExecEventWaitNodeSetEvent";
587 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
588 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
589 case HIP_API_ID_hipGraphExecHostNodeSetParams:
return "hipGraphExecHostNodeSetParams";
590 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
return "hipGraphExecKernelNodeSetParams";
591 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
return "hipGraphExecMemcpyNodeSetParams";
592 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
return "hipGraphExecMemcpyNodeSetParams1D";
593 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
594 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
return "hipGraphExecMemcpyNodeSetParamsToSymbol";
595 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
return "hipGraphExecMemsetNodeSetParams";
596 case HIP_API_ID_hipGraphExecUpdate:
return "hipGraphExecUpdate";
597 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
return "hipGraphExternalSemaphoresSignalNodeGetParams";
598 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
return "hipGraphExternalSemaphoresSignalNodeSetParams";
599 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
return "hipGraphExternalSemaphoresWaitNodeGetParams";
600 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
return "hipGraphExternalSemaphoresWaitNodeSetParams";
601 case HIP_API_ID_hipGraphGetEdges:
return "hipGraphGetEdges";
602 case HIP_API_ID_hipGraphGetNodes:
return "hipGraphGetNodes";
603 case HIP_API_ID_hipGraphGetRootNodes:
return "hipGraphGetRootNodes";
604 case HIP_API_ID_hipGraphHostNodeGetParams:
return "hipGraphHostNodeGetParams";
605 case HIP_API_ID_hipGraphHostNodeSetParams:
return "hipGraphHostNodeSetParams";
606 case HIP_API_ID_hipGraphInstantiate:
return "hipGraphInstantiate";
607 case HIP_API_ID_hipGraphInstantiateWithFlags:
return "hipGraphInstantiateWithFlags";
608 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
return "hipGraphKernelNodeCopyAttributes";
609 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
return "hipGraphKernelNodeGetAttribute";
610 case HIP_API_ID_hipGraphKernelNodeGetParams:
return "hipGraphKernelNodeGetParams";
611 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
return "hipGraphKernelNodeSetAttribute";
612 case HIP_API_ID_hipGraphKernelNodeSetParams:
return "hipGraphKernelNodeSetParams";
613 case HIP_API_ID_hipGraphLaunch:
return "hipGraphLaunch";
614 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
return "hipGraphMemAllocNodeGetParams";
615 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
return "hipGraphMemFreeNodeGetParams";
616 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
return "hipGraphMemcpyNodeGetParams";
617 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
return "hipGraphMemcpyNodeSetParams";
618 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
return "hipGraphMemcpyNodeSetParams1D";
619 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
return "hipGraphMemcpyNodeSetParamsFromSymbol";
620 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
return "hipGraphMemcpyNodeSetParamsToSymbol";
621 case HIP_API_ID_hipGraphMemsetNodeGetParams:
return "hipGraphMemsetNodeGetParams";
622 case HIP_API_ID_hipGraphMemsetNodeSetParams:
return "hipGraphMemsetNodeSetParams";
623 case HIP_API_ID_hipGraphNodeFindInClone:
return "hipGraphNodeFindInClone";
624 case HIP_API_ID_hipGraphNodeGetDependencies:
return "hipGraphNodeGetDependencies";
625 case HIP_API_ID_hipGraphNodeGetDependentNodes:
return "hipGraphNodeGetDependentNodes";
626 case HIP_API_ID_hipGraphNodeGetEnabled:
return "hipGraphNodeGetEnabled";
627 case HIP_API_ID_hipGraphNodeGetType:
return "hipGraphNodeGetType";
628 case HIP_API_ID_hipGraphNodeSetEnabled:
return "hipGraphNodeSetEnabled";
629 case HIP_API_ID_hipGraphReleaseUserObject:
return "hipGraphReleaseUserObject";
630 case HIP_API_ID_hipGraphRemoveDependencies:
return "hipGraphRemoveDependencies";
631 case HIP_API_ID_hipGraphRetainUserObject:
return "hipGraphRetainUserObject";
632 case HIP_API_ID_hipGraphUpload:
return "hipGraphUpload";
633 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
return "hipGraphicsGLRegisterBuffer";
634 case HIP_API_ID_hipGraphicsGLRegisterImage:
return "hipGraphicsGLRegisterImage";
635 case HIP_API_ID_hipGraphicsMapResources:
return "hipGraphicsMapResources";
636 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
return "hipGraphicsResourceGetMappedPointer";
637 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
return "hipGraphicsSubResourceGetMappedArray";
638 case HIP_API_ID_hipGraphicsUnmapResources:
return "hipGraphicsUnmapResources";
639 case HIP_API_ID_hipGraphicsUnregisterResource:
return "hipGraphicsUnregisterResource";
640 case HIP_API_ID_hipHccModuleLaunchKernel:
return "hipHccModuleLaunchKernel";
641 case HIP_API_ID_hipHostAlloc:
return "hipHostAlloc";
642 case HIP_API_ID_hipHostFree:
return "hipHostFree";
643 case HIP_API_ID_hipHostGetDevicePointer:
return "hipHostGetDevicePointer";
644 case HIP_API_ID_hipHostGetFlags:
return "hipHostGetFlags";
645 case HIP_API_ID_hipHostMalloc:
return "hipHostMalloc";
646 case HIP_API_ID_hipHostRegister:
return "hipHostRegister";
647 case HIP_API_ID_hipHostUnregister:
return "hipHostUnregister";
648 case HIP_API_ID_hipImportExternalMemory:
return "hipImportExternalMemory";
649 case HIP_API_ID_hipImportExternalSemaphore:
return "hipImportExternalSemaphore";
650 case HIP_API_ID_hipInit:
return "hipInit";
651 case HIP_API_ID_hipIpcCloseMemHandle:
return "hipIpcCloseMemHandle";
652 case HIP_API_ID_hipIpcGetEventHandle:
return "hipIpcGetEventHandle";
653 case HIP_API_ID_hipIpcGetMemHandle:
return "hipIpcGetMemHandle";
654 case HIP_API_ID_hipIpcOpenEventHandle:
return "hipIpcOpenEventHandle";
655 case HIP_API_ID_hipIpcOpenMemHandle:
return "hipIpcOpenMemHandle";
656 case HIP_API_ID_hipLaunchByPtr:
return "hipLaunchByPtr";
657 case HIP_API_ID_hipLaunchCooperativeKernel:
return "hipLaunchCooperativeKernel";
658 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
return "hipLaunchCooperativeKernelMultiDevice";
659 case HIP_API_ID_hipLaunchHostFunc:
return "hipLaunchHostFunc";
660 case HIP_API_ID_hipLaunchKernel:
return "hipLaunchKernel";
661 case HIP_API_ID_hipMalloc:
return "hipMalloc";
662 case HIP_API_ID_hipMalloc3D:
return "hipMalloc3D";
663 case HIP_API_ID_hipMalloc3DArray:
return "hipMalloc3DArray";
664 case HIP_API_ID_hipMallocArray:
return "hipMallocArray";
665 case HIP_API_ID_hipMallocAsync:
return "hipMallocAsync";
666 case HIP_API_ID_hipMallocFromPoolAsync:
return "hipMallocFromPoolAsync";
667 case HIP_API_ID_hipMallocHost:
return "hipMallocHost";
668 case HIP_API_ID_hipMallocManaged:
return "hipMallocManaged";
669 case HIP_API_ID_hipMallocMipmappedArray:
return "hipMallocMipmappedArray";
670 case HIP_API_ID_hipMallocPitch:
return "hipMallocPitch";
671 case HIP_API_ID_hipMemAddressFree:
return "hipMemAddressFree";
672 case HIP_API_ID_hipMemAddressReserve:
return "hipMemAddressReserve";
673 case HIP_API_ID_hipMemAdvise:
return "hipMemAdvise";
674 case HIP_API_ID_hipMemAllocHost:
return "hipMemAllocHost";
675 case HIP_API_ID_hipMemAllocPitch:
return "hipMemAllocPitch";
676 case HIP_API_ID_hipMemCreate:
return "hipMemCreate";
677 case HIP_API_ID_hipMemExportToShareableHandle:
return "hipMemExportToShareableHandle";
678 case HIP_API_ID_hipMemGetAccess:
return "hipMemGetAccess";
679 case HIP_API_ID_hipMemGetAddressRange:
return "hipMemGetAddressRange";
680 case HIP_API_ID_hipMemGetAllocationGranularity:
return "hipMemGetAllocationGranularity";
681 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
return "hipMemGetAllocationPropertiesFromHandle";
682 case HIP_API_ID_hipMemGetInfo:
return "hipMemGetInfo";
683 case HIP_API_ID_hipMemImportFromShareableHandle:
return "hipMemImportFromShareableHandle";
684 case HIP_API_ID_hipMemMap:
return "hipMemMap";
685 case HIP_API_ID_hipMemMapArrayAsync:
return "hipMemMapArrayAsync";
686 case HIP_API_ID_hipMemPoolCreate:
return "hipMemPoolCreate";
687 case HIP_API_ID_hipMemPoolDestroy:
return "hipMemPoolDestroy";
688 case HIP_API_ID_hipMemPoolExportPointer:
return "hipMemPoolExportPointer";
689 case HIP_API_ID_hipMemPoolExportToShareableHandle:
return "hipMemPoolExportToShareableHandle";
690 case HIP_API_ID_hipMemPoolGetAccess:
return "hipMemPoolGetAccess";
691 case HIP_API_ID_hipMemPoolGetAttribute:
return "hipMemPoolGetAttribute";
692 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
return "hipMemPoolImportFromShareableHandle";
693 case HIP_API_ID_hipMemPoolImportPointer:
return "hipMemPoolImportPointer";
694 case HIP_API_ID_hipMemPoolSetAccess:
return "hipMemPoolSetAccess";
695 case HIP_API_ID_hipMemPoolSetAttribute:
return "hipMemPoolSetAttribute";
696 case HIP_API_ID_hipMemPoolTrimTo:
return "hipMemPoolTrimTo";
697 case HIP_API_ID_hipMemPrefetchAsync:
return "hipMemPrefetchAsync";
698 case HIP_API_ID_hipMemPtrGetInfo:
return "hipMemPtrGetInfo";
699 case HIP_API_ID_hipMemRangeGetAttribute:
return "hipMemRangeGetAttribute";
700 case HIP_API_ID_hipMemRangeGetAttributes:
return "hipMemRangeGetAttributes";
701 case HIP_API_ID_hipMemRelease:
return "hipMemRelease";
702 case HIP_API_ID_hipMemRetainAllocationHandle:
return "hipMemRetainAllocationHandle";
703 case HIP_API_ID_hipMemSetAccess:
return "hipMemSetAccess";
704 case HIP_API_ID_hipMemUnmap:
return "hipMemUnmap";
705 case HIP_API_ID_hipMemcpy:
return "hipMemcpy";
706 case HIP_API_ID_hipMemcpy2D:
return "hipMemcpy2D";
707 case HIP_API_ID_hipMemcpy2DAsync:
return "hipMemcpy2DAsync";
708 case HIP_API_ID_hipMemcpy2DFromArray:
return "hipMemcpy2DFromArray";
709 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
return "hipMemcpy2DFromArrayAsync";
710 case HIP_API_ID_hipMemcpy2DToArray:
return "hipMemcpy2DToArray";
711 case HIP_API_ID_hipMemcpy2DToArrayAsync:
return "hipMemcpy2DToArrayAsync";
712 case HIP_API_ID_hipMemcpy3D:
return "hipMemcpy3D";
713 case HIP_API_ID_hipMemcpy3DAsync:
return "hipMemcpy3DAsync";
714 case HIP_API_ID_hipMemcpyAsync:
return "hipMemcpyAsync";
715 case HIP_API_ID_hipMemcpyAtoH:
return "hipMemcpyAtoH";
716 case HIP_API_ID_hipMemcpyDtoD:
return "hipMemcpyDtoD";
717 case HIP_API_ID_hipMemcpyDtoDAsync:
return "hipMemcpyDtoDAsync";
718 case HIP_API_ID_hipMemcpyDtoH:
return "hipMemcpyDtoH";
719 case HIP_API_ID_hipMemcpyDtoHAsync:
return "hipMemcpyDtoHAsync";
720 case HIP_API_ID_hipMemcpyFromArray:
return "hipMemcpyFromArray";
721 case HIP_API_ID_hipMemcpyFromSymbol:
return "hipMemcpyFromSymbol";
722 case HIP_API_ID_hipMemcpyFromSymbolAsync:
return "hipMemcpyFromSymbolAsync";
723 case HIP_API_ID_hipMemcpyHtoA:
return "hipMemcpyHtoA";
724 case HIP_API_ID_hipMemcpyHtoD:
return "hipMemcpyHtoD";
725 case HIP_API_ID_hipMemcpyHtoDAsync:
return "hipMemcpyHtoDAsync";
726 case HIP_API_ID_hipMemcpyParam2D:
return "hipMemcpyParam2D";
727 case HIP_API_ID_hipMemcpyParam2DAsync:
return "hipMemcpyParam2DAsync";
728 case HIP_API_ID_hipMemcpyPeer:
return "hipMemcpyPeer";
729 case HIP_API_ID_hipMemcpyPeerAsync:
return "hipMemcpyPeerAsync";
730 case HIP_API_ID_hipMemcpyToArray:
return "hipMemcpyToArray";
731 case HIP_API_ID_hipMemcpyToSymbol:
return "hipMemcpyToSymbol";
732 case HIP_API_ID_hipMemcpyToSymbolAsync:
return "hipMemcpyToSymbolAsync";
733 case HIP_API_ID_hipMemcpyWithStream:
return "hipMemcpyWithStream";
734 case HIP_API_ID_hipMemset:
return "hipMemset";
735 case HIP_API_ID_hipMemset2D:
return "hipMemset2D";
736 case HIP_API_ID_hipMemset2DAsync:
return "hipMemset2DAsync";
737 case HIP_API_ID_hipMemset3D:
return "hipMemset3D";
738 case HIP_API_ID_hipMemset3DAsync:
return "hipMemset3DAsync";
739 case HIP_API_ID_hipMemsetAsync:
return "hipMemsetAsync";
740 case HIP_API_ID_hipMemsetD16:
return "hipMemsetD16";
741 case HIP_API_ID_hipMemsetD16Async:
return "hipMemsetD16Async";
742 case HIP_API_ID_hipMemsetD32:
return "hipMemsetD32";
743 case HIP_API_ID_hipMemsetD32Async:
return "hipMemsetD32Async";
744 case HIP_API_ID_hipMemsetD8:
return "hipMemsetD8";
745 case HIP_API_ID_hipMemsetD8Async:
return "hipMemsetD8Async";
746 case HIP_API_ID_hipMipmappedArrayCreate:
return "hipMipmappedArrayCreate";
747 case HIP_API_ID_hipMipmappedArrayDestroy:
return "hipMipmappedArrayDestroy";
748 case HIP_API_ID_hipMipmappedArrayGetLevel:
return "hipMipmappedArrayGetLevel";
749 case HIP_API_ID_hipModuleGetFunction:
return "hipModuleGetFunction";
750 case HIP_API_ID_hipModuleGetGlobal:
return "hipModuleGetGlobal";
751 case HIP_API_ID_hipModuleGetTexRef:
return "hipModuleGetTexRef";
752 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
return "hipModuleLaunchCooperativeKernel";
753 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
return "hipModuleLaunchCooperativeKernelMultiDevice";
754 case HIP_API_ID_hipModuleLaunchKernel:
return "hipModuleLaunchKernel";
755 case HIP_API_ID_hipModuleLoad:
return "hipModuleLoad";
756 case HIP_API_ID_hipModuleLoadData:
return "hipModuleLoadData";
757 case HIP_API_ID_hipModuleLoadDataEx:
return "hipModuleLoadDataEx";
758 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
759 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
760 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
return "hipModuleOccupancyMaxPotentialBlockSize";
761 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
762 case HIP_API_ID_hipModuleUnload:
return "hipModuleUnload";
763 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
764 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
765 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
return "hipOccupancyMaxPotentialBlockSize";
766 case HIP_API_ID_hipPeekAtLastError:
return "hipPeekAtLastError";
767 case HIP_API_ID_hipPointerGetAttribute:
return "hipPointerGetAttribute";
768 case HIP_API_ID_hipPointerGetAttributes:
return "hipPointerGetAttributes";
769 case HIP_API_ID_hipPointerSetAttribute:
return "hipPointerSetAttribute";
770 case HIP_API_ID_hipProfilerStart:
return "hipProfilerStart";
771 case HIP_API_ID_hipProfilerStop:
return "hipProfilerStop";
772 case HIP_API_ID_hipRuntimeGetVersion:
return "hipRuntimeGetVersion";
773 case HIP_API_ID_hipSetDevice:
return "hipSetDevice";
774 case HIP_API_ID_hipSetDeviceFlags:
return "hipSetDeviceFlags";
775 case HIP_API_ID_hipSetupArgument:
return "hipSetupArgument";
776 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
return "hipSignalExternalSemaphoresAsync";
777 case HIP_API_ID_hipStreamAddCallback:
return "hipStreamAddCallback";
778 case HIP_API_ID_hipStreamAttachMemAsync:
return "hipStreamAttachMemAsync";
779 case HIP_API_ID_hipStreamBeginCapture:
return "hipStreamBeginCapture";
780 case HIP_API_ID_hipStreamCreate:
return "hipStreamCreate";
781 case HIP_API_ID_hipStreamCreateWithFlags:
return "hipStreamCreateWithFlags";
782 case HIP_API_ID_hipStreamCreateWithPriority:
return "hipStreamCreateWithPriority";
783 case HIP_API_ID_hipStreamDestroy:
return "hipStreamDestroy";
784 case HIP_API_ID_hipStreamEndCapture:
return "hipStreamEndCapture";
785 case HIP_API_ID_hipStreamGetCaptureInfo:
return "hipStreamGetCaptureInfo";
786 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
return "hipStreamGetCaptureInfo_v2";
787 case HIP_API_ID_hipStreamGetDevice:
return "hipStreamGetDevice";
788 case HIP_API_ID_hipStreamGetFlags:
return "hipStreamGetFlags";
789 case HIP_API_ID_hipStreamGetPriority:
return "hipStreamGetPriority";
790 case HIP_API_ID_hipStreamIsCapturing:
return "hipStreamIsCapturing";
791 case HIP_API_ID_hipStreamQuery:
return "hipStreamQuery";
792 case HIP_API_ID_hipStreamSynchronize:
return "hipStreamSynchronize";
793 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
return "hipStreamUpdateCaptureDependencies";
794 case HIP_API_ID_hipStreamWaitEvent:
return "hipStreamWaitEvent";
795 case HIP_API_ID_hipStreamWaitValue32:
return "hipStreamWaitValue32";
796 case HIP_API_ID_hipStreamWaitValue64:
return "hipStreamWaitValue64";
797 case HIP_API_ID_hipStreamWriteValue32:
return "hipStreamWriteValue32";
798 case HIP_API_ID_hipStreamWriteValue64:
return "hipStreamWriteValue64";
799 case HIP_API_ID_hipTexRefGetAddress:
return "hipTexRefGetAddress";
800 case HIP_API_ID_hipTexRefGetFlags:
return "hipTexRefGetFlags";
801 case HIP_API_ID_hipTexRefGetFormat:
return "hipTexRefGetFormat";
802 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
return "hipTexRefGetMaxAnisotropy";
803 case HIP_API_ID_hipTexRefGetMipMappedArray:
return "hipTexRefGetMipMappedArray";
804 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
return "hipTexRefGetMipmapLevelBias";
805 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
return "hipTexRefGetMipmapLevelClamp";
806 case HIP_API_ID_hipTexRefSetAddress:
return "hipTexRefSetAddress";
807 case HIP_API_ID_hipTexRefSetAddress2D:
return "hipTexRefSetAddress2D";
808 case HIP_API_ID_hipTexRefSetArray:
return "hipTexRefSetArray";
809 case HIP_API_ID_hipTexRefSetBorderColor:
return "hipTexRefSetBorderColor";
810 case HIP_API_ID_hipTexRefSetFlags:
return "hipTexRefSetFlags";
811 case HIP_API_ID_hipTexRefSetFormat:
return "hipTexRefSetFormat";
812 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
return "hipTexRefSetMaxAnisotropy";
813 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
return "hipTexRefSetMipmapLevelBias";
814 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
return "hipTexRefSetMipmapLevelClamp";
815 case HIP_API_ID_hipTexRefSetMipmappedArray:
return "hipTexRefSetMipmappedArray";
816 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
return "hipThreadExchangeStreamCaptureMode";
817 case HIP_API_ID_hipUserObjectCreate:
return "hipUserObjectCreate";
818 case HIP_API_ID_hipUserObjectRelease:
return "hipUserObjectRelease";
819 case HIP_API_ID_hipUserObjectRetain:
return "hipUserObjectRetain";
820 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
return "hipWaitExternalSemaphoresAsync";
821 case HIP_API_ID_hipExtGetLastError:
return "hipExtGetLastError";
828static inline uint32_t hipApiIdByName(
const char* name) {
829 if (strcmp(
"__hipPopCallConfiguration", name) == 0)
return HIP_API_ID___hipPopCallConfiguration;
830 if (strcmp(
"__hipPushCallConfiguration", name) == 0)
return HIP_API_ID___hipPushCallConfiguration;
831 if (strcmp(
"hipArray3DCreate", name) == 0)
return HIP_API_ID_hipArray3DCreate;
832 if (strcmp(
"hipArray3DGetDescriptor", name) == 0)
return HIP_API_ID_hipArray3DGetDescriptor;
833 if (strcmp(
"hipArrayCreate", name) == 0)
return HIP_API_ID_hipArrayCreate;
834 if (strcmp(
"hipArrayDestroy", name) == 0)
return HIP_API_ID_hipArrayDestroy;
835 if (strcmp(
"hipArrayGetDescriptor", name) == 0)
return HIP_API_ID_hipArrayGetDescriptor;
836 if (strcmp(
"hipArrayGetInfo", name) == 0)
return HIP_API_ID_hipArrayGetInfo;
837 if (strcmp(
"hipChooseDeviceR0000", name) == 0)
return HIP_API_ID_hipChooseDeviceR0000;
838 if (strcmp(
"hipChooseDeviceR0600", name) == 0)
return HIP_API_ID_hipChooseDeviceR0600;
839 if (strcmp(
"hipConfigureCall", name) == 0)
return HIP_API_ID_hipConfigureCall;
840 if (strcmp(
"hipCreateSurfaceObject", name) == 0)
return HIP_API_ID_hipCreateSurfaceObject;
841 if (strcmp(
"hipCtxCreate", name) == 0)
return HIP_API_ID_hipCtxCreate;
842 if (strcmp(
"hipCtxDestroy", name) == 0)
return HIP_API_ID_hipCtxDestroy;
843 if (strcmp(
"hipCtxDisablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxDisablePeerAccess;
844 if (strcmp(
"hipCtxEnablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxEnablePeerAccess;
845 if (strcmp(
"hipCtxGetApiVersion", name) == 0)
return HIP_API_ID_hipCtxGetApiVersion;
846 if (strcmp(
"hipCtxGetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxGetCacheConfig;
847 if (strcmp(
"hipCtxGetCurrent", name) == 0)
return HIP_API_ID_hipCtxGetCurrent;
848 if (strcmp(
"hipCtxGetDevice", name) == 0)
return HIP_API_ID_hipCtxGetDevice;
849 if (strcmp(
"hipCtxGetFlags", name) == 0)
return HIP_API_ID_hipCtxGetFlags;
850 if (strcmp(
"hipCtxGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxGetSharedMemConfig;
851 if (strcmp(
"hipCtxPopCurrent", name) == 0)
return HIP_API_ID_hipCtxPopCurrent;
852 if (strcmp(
"hipCtxPushCurrent", name) == 0)
return HIP_API_ID_hipCtxPushCurrent;
853 if (strcmp(
"hipCtxSetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxSetCacheConfig;
854 if (strcmp(
"hipCtxSetCurrent", name) == 0)
return HIP_API_ID_hipCtxSetCurrent;
855 if (strcmp(
"hipCtxSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxSetSharedMemConfig;
856 if (strcmp(
"hipCtxSynchronize", name) == 0)
return HIP_API_ID_hipCtxSynchronize;
857 if (strcmp(
"hipDestroyExternalMemory", name) == 0)
return HIP_API_ID_hipDestroyExternalMemory;
858 if (strcmp(
"hipDestroyExternalSemaphore", name) == 0)
return HIP_API_ID_hipDestroyExternalSemaphore;
859 if (strcmp(
"hipDestroySurfaceObject", name) == 0)
return HIP_API_ID_hipDestroySurfaceObject;
860 if (strcmp(
"hipDeviceCanAccessPeer", name) == 0)
return HIP_API_ID_hipDeviceCanAccessPeer;
861 if (strcmp(
"hipDeviceComputeCapability", name) == 0)
return HIP_API_ID_hipDeviceComputeCapability;
862 if (strcmp(
"hipDeviceDisablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceDisablePeerAccess;
863 if (strcmp(
"hipDeviceEnablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceEnablePeerAccess;
864 if (strcmp(
"hipDeviceGet", name) == 0)
return HIP_API_ID_hipDeviceGet;
865 if (strcmp(
"hipDeviceGetAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetAttribute;
866 if (strcmp(
"hipDeviceGetByPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetByPCIBusId;
867 if (strcmp(
"hipDeviceGetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceGetCacheConfig;
868 if (strcmp(
"hipDeviceGetDefaultMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetDefaultMemPool;
869 if (strcmp(
"hipDeviceGetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetGraphMemAttribute;
870 if (strcmp(
"hipDeviceGetLimit", name) == 0)
return HIP_API_ID_hipDeviceGetLimit;
871 if (strcmp(
"hipDeviceGetMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetMemPool;
872 if (strcmp(
"hipDeviceGetName", name) == 0)
return HIP_API_ID_hipDeviceGetName;
873 if (strcmp(
"hipDeviceGetP2PAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetP2PAttribute;
874 if (strcmp(
"hipDeviceGetPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetPCIBusId;
875 if (strcmp(
"hipDeviceGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceGetSharedMemConfig;
876 if (strcmp(
"hipDeviceGetStreamPriorityRange", name) == 0)
return HIP_API_ID_hipDeviceGetStreamPriorityRange;
877 if (strcmp(
"hipDeviceGetUuid", name) == 0)
return HIP_API_ID_hipDeviceGetUuid;
878 if (strcmp(
"hipDeviceGraphMemTrim", name) == 0)
return HIP_API_ID_hipDeviceGraphMemTrim;
879 if (strcmp(
"hipDevicePrimaryCtxGetState", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxGetState;
880 if (strcmp(
"hipDevicePrimaryCtxRelease", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRelease;
881 if (strcmp(
"hipDevicePrimaryCtxReset", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxReset;
882 if (strcmp(
"hipDevicePrimaryCtxRetain", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRetain;
883 if (strcmp(
"hipDevicePrimaryCtxSetFlags", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
884 if (strcmp(
"hipDeviceReset", name) == 0)
return HIP_API_ID_hipDeviceReset;
885 if (strcmp(
"hipDeviceSetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceSetCacheConfig;
886 if (strcmp(
"hipDeviceSetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceSetGraphMemAttribute;
887 if (strcmp(
"hipDeviceSetLimit", name) == 0)
return HIP_API_ID_hipDeviceSetLimit;
888 if (strcmp(
"hipDeviceSetMemPool", name) == 0)
return HIP_API_ID_hipDeviceSetMemPool;
889 if (strcmp(
"hipDeviceSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceSetSharedMemConfig;
890 if (strcmp(
"hipDeviceSynchronize", name) == 0)
return HIP_API_ID_hipDeviceSynchronize;
891 if (strcmp(
"hipDeviceTotalMem", name) == 0)
return HIP_API_ID_hipDeviceTotalMem;
892 if (strcmp(
"hipDriverGetVersion", name) == 0)
return HIP_API_ID_hipDriverGetVersion;
893 if (strcmp(
"hipDrvGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemcpyNode;
894 if (strcmp(
"hipDrvGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemsetNode;
895 if (strcmp(
"hipDrvGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
896 if (strcmp(
"hipDrvGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
897 if (strcmp(
"hipDrvMemcpy2DUnaligned", name) == 0)
return HIP_API_ID_hipDrvMemcpy2DUnaligned;
898 if (strcmp(
"hipDrvMemcpy3D", name) == 0)
return HIP_API_ID_hipDrvMemcpy3D;
899 if (strcmp(
"hipDrvMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipDrvMemcpy3DAsync;
900 if (strcmp(
"hipDrvPointerGetAttributes", name) == 0)
return HIP_API_ID_hipDrvPointerGetAttributes;
901 if (strcmp(
"hipEventCreate", name) == 0)
return HIP_API_ID_hipEventCreate;
902 if (strcmp(
"hipEventCreateWithFlags", name) == 0)
return HIP_API_ID_hipEventCreateWithFlags;
903 if (strcmp(
"hipEventDestroy", name) == 0)
return HIP_API_ID_hipEventDestroy;
904 if (strcmp(
"hipEventElapsedTime", name) == 0)
return HIP_API_ID_hipEventElapsedTime;
905 if (strcmp(
"hipEventQuery", name) == 0)
return HIP_API_ID_hipEventQuery;
906 if (strcmp(
"hipEventRecord", name) == 0)
return HIP_API_ID_hipEventRecord;
907 if (strcmp(
"hipEventSynchronize", name) == 0)
return HIP_API_ID_hipEventSynchronize;
908 if (strcmp(
"hipExtGetLinkTypeAndHopCount", name) == 0)
return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
909 if (strcmp(
"hipExtLaunchKernel", name) == 0)
return HIP_API_ID_hipExtLaunchKernel;
910 if (strcmp(
"hipExtLaunchMultiKernelMultiDevice", name) == 0)
return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
911 if (strcmp(
"hipExtMallocWithFlags", name) == 0)
return HIP_API_ID_hipExtMallocWithFlags;
912 if (strcmp(
"hipExtModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipExtModuleLaunchKernel;
913 if (strcmp(
"hipExtStreamCreateWithCUMask", name) == 0)
return HIP_API_ID_hipExtStreamCreateWithCUMask;
914 if (strcmp(
"hipExtStreamGetCUMask", name) == 0)
return HIP_API_ID_hipExtStreamGetCUMask;
915 if (strcmp(
"hipExternalMemoryGetMappedBuffer", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
916 if (strcmp(
"hipExternalMemoryGetMappedMipmappedArray", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
917 if (strcmp(
"hipFree", name) == 0)
return HIP_API_ID_hipFree;
918 if (strcmp(
"hipFreeArray", name) == 0)
return HIP_API_ID_hipFreeArray;
919 if (strcmp(
"hipFreeAsync", name) == 0)
return HIP_API_ID_hipFreeAsync;
920 if (strcmp(
"hipFreeHost", name) == 0)
return HIP_API_ID_hipFreeHost;
921 if (strcmp(
"hipFreeMipmappedArray", name) == 0)
return HIP_API_ID_hipFreeMipmappedArray;
922 if (strcmp(
"hipFuncGetAttribute", name) == 0)
return HIP_API_ID_hipFuncGetAttribute;
923 if (strcmp(
"hipFuncGetAttributes", name) == 0)
return HIP_API_ID_hipFuncGetAttributes;
924 if (strcmp(
"hipFuncSetAttribute", name) == 0)
return HIP_API_ID_hipFuncSetAttribute;
925 if (strcmp(
"hipFuncSetCacheConfig", name) == 0)
return HIP_API_ID_hipFuncSetCacheConfig;
926 if (strcmp(
"hipFuncSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipFuncSetSharedMemConfig;
927 if (strcmp(
"hipGLGetDevices", name) == 0)
return HIP_API_ID_hipGLGetDevices;
928 if (strcmp(
"hipGetChannelDesc", name) == 0)
return HIP_API_ID_hipGetChannelDesc;
929 if (strcmp(
"hipGetDevice", name) == 0)
return HIP_API_ID_hipGetDevice;
930 if (strcmp(
"hipGetDeviceCount", name) == 0)
return HIP_API_ID_hipGetDeviceCount;
931 if (strcmp(
"hipGetDeviceFlags", name) == 0)
return HIP_API_ID_hipGetDeviceFlags;
932 if (strcmp(
"hipGetDevicePropertiesR0000", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0000;
933 if (strcmp(
"hipGetDevicePropertiesR0600", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0600;
934 if (strcmp(
"hipGetErrorString", name) == 0)
return HIP_API_ID_hipGetErrorString;
935 if (strcmp(
"hipGetLastError", name) == 0)
return HIP_API_ID_hipGetLastError;
936 if (strcmp(
"hipGetMipmappedArrayLevel", name) == 0)
return HIP_API_ID_hipGetMipmappedArrayLevel;
937 if (strcmp(
"hipGetSymbolAddress", name) == 0)
return HIP_API_ID_hipGetSymbolAddress;
938 if (strcmp(
"hipGetSymbolSize", name) == 0)
return HIP_API_ID_hipGetSymbolSize;
939 if (strcmp(
"hipGraphAddChildGraphNode", name) == 0)
return HIP_API_ID_hipGraphAddChildGraphNode;
940 if (strcmp(
"hipGraphAddDependencies", name) == 0)
return HIP_API_ID_hipGraphAddDependencies;
941 if (strcmp(
"hipGraphAddEmptyNode", name) == 0)
return HIP_API_ID_hipGraphAddEmptyNode;
942 if (strcmp(
"hipGraphAddEventRecordNode", name) == 0)
return HIP_API_ID_hipGraphAddEventRecordNode;
943 if (strcmp(
"hipGraphAddEventWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddEventWaitNode;
944 if (strcmp(
"hipGraphAddExternalSemaphoresSignalNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
945 if (strcmp(
"hipGraphAddExternalSemaphoresWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
946 if (strcmp(
"hipGraphAddHostNode", name) == 0)
return HIP_API_ID_hipGraphAddHostNode;
947 if (strcmp(
"hipGraphAddKernelNode", name) == 0)
return HIP_API_ID_hipGraphAddKernelNode;
948 if (strcmp(
"hipGraphAddMemAllocNode", name) == 0)
return HIP_API_ID_hipGraphAddMemAllocNode;
949 if (strcmp(
"hipGraphAddMemFreeNode", name) == 0)
return HIP_API_ID_hipGraphAddMemFreeNode;
950 if (strcmp(
"hipGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode;
951 if (strcmp(
"hipGraphAddMemcpyNode1D", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode1D;
952 if (strcmp(
"hipGraphAddMemcpyNodeFromSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
953 if (strcmp(
"hipGraphAddMemcpyNodeToSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
954 if (strcmp(
"hipGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipGraphAddMemsetNode;
955 if (strcmp(
"hipGraphChildGraphNodeGetGraph", name) == 0)
return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
956 if (strcmp(
"hipGraphClone", name) == 0)
return HIP_API_ID_hipGraphClone;
957 if (strcmp(
"hipGraphCreate", name) == 0)
return HIP_API_ID_hipGraphCreate;
958 if (strcmp(
"hipGraphDebugDotPrint", name) == 0)
return HIP_API_ID_hipGraphDebugDotPrint;
959 if (strcmp(
"hipGraphDestroy", name) == 0)
return HIP_API_ID_hipGraphDestroy;
960 if (strcmp(
"hipGraphDestroyNode", name) == 0)
return HIP_API_ID_hipGraphDestroyNode;
961 if (strcmp(
"hipGraphEventRecordNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
962 if (strcmp(
"hipGraphEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
963 if (strcmp(
"hipGraphEventWaitNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
964 if (strcmp(
"hipGraphEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
965 if (strcmp(
"hipGraphExecChildGraphNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
966 if (strcmp(
"hipGraphExecDestroy", name) == 0)
return HIP_API_ID_hipGraphExecDestroy;
967 if (strcmp(
"hipGraphExecEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
968 if (strcmp(
"hipGraphExecEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
969 if (strcmp(
"hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
970 if (strcmp(
"hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
971 if (strcmp(
"hipGraphExecHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecHostNodeSetParams;
972 if (strcmp(
"hipGraphExecKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecKernelNodeSetParams;
973 if (strcmp(
"hipGraphExecMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
974 if (strcmp(
"hipGraphExecMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
975 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
976 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
977 if (strcmp(
"hipGraphExecMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
978 if (strcmp(
"hipGraphExecUpdate", name) == 0)
return HIP_API_ID_hipGraphExecUpdate;
979 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
980 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
981 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
982 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
983 if (strcmp(
"hipGraphGetEdges", name) == 0)
return HIP_API_ID_hipGraphGetEdges;
984 if (strcmp(
"hipGraphGetNodes", name) == 0)
return HIP_API_ID_hipGraphGetNodes;
985 if (strcmp(
"hipGraphGetRootNodes", name) == 0)
return HIP_API_ID_hipGraphGetRootNodes;
986 if (strcmp(
"hipGraphHostNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeGetParams;
987 if (strcmp(
"hipGraphHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeSetParams;
988 if (strcmp(
"hipGraphInstantiate", name) == 0)
return HIP_API_ID_hipGraphInstantiate;
989 if (strcmp(
"hipGraphInstantiateWithFlags", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithFlags;
990 if (strcmp(
"hipGraphKernelNodeCopyAttributes", name) == 0)
return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
991 if (strcmp(
"hipGraphKernelNodeGetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetAttribute;
992 if (strcmp(
"hipGraphKernelNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetParams;
993 if (strcmp(
"hipGraphKernelNodeSetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetAttribute;
994 if (strcmp(
"hipGraphKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetParams;
995 if (strcmp(
"hipGraphLaunch", name) == 0)
return HIP_API_ID_hipGraphLaunch;
996 if (strcmp(
"hipGraphMemAllocNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemAllocNodeGetParams;
997 if (strcmp(
"hipGraphMemFreeNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemFreeNodeGetParams;
998 if (strcmp(
"hipGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeGetParams;
999 if (strcmp(
"hipGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams;
1000 if (strcmp(
"hipGraphMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
1001 if (strcmp(
"hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1002 if (strcmp(
"hipGraphMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1003 if (strcmp(
"hipGraphMemsetNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeGetParams;
1004 if (strcmp(
"hipGraphMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeSetParams;
1005 if (strcmp(
"hipGraphNodeFindInClone", name) == 0)
return HIP_API_ID_hipGraphNodeFindInClone;
1006 if (strcmp(
"hipGraphNodeGetDependencies", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependencies;
1007 if (strcmp(
"hipGraphNodeGetDependentNodes", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependentNodes;
1008 if (strcmp(
"hipGraphNodeGetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeGetEnabled;
1009 if (strcmp(
"hipGraphNodeGetType", name) == 0)
return HIP_API_ID_hipGraphNodeGetType;
1010 if (strcmp(
"hipGraphNodeSetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeSetEnabled;
1011 if (strcmp(
"hipGraphReleaseUserObject", name) == 0)
return HIP_API_ID_hipGraphReleaseUserObject;
1012 if (strcmp(
"hipGraphRemoveDependencies", name) == 0)
return HIP_API_ID_hipGraphRemoveDependencies;
1013 if (strcmp(
"hipGraphRetainUserObject", name) == 0)
return HIP_API_ID_hipGraphRetainUserObject;
1014 if (strcmp(
"hipGraphUpload", name) == 0)
return HIP_API_ID_hipGraphUpload;
1015 if (strcmp(
"hipGraphicsGLRegisterBuffer", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1016 if (strcmp(
"hipGraphicsGLRegisterImage", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterImage;
1017 if (strcmp(
"hipGraphicsMapResources", name) == 0)
return HIP_API_ID_hipGraphicsMapResources;
1018 if (strcmp(
"hipGraphicsResourceGetMappedPointer", name) == 0)
return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1019 if (strcmp(
"hipGraphicsSubResourceGetMappedArray", name) == 0)
return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1020 if (strcmp(
"hipGraphicsUnmapResources", name) == 0)
return HIP_API_ID_hipGraphicsUnmapResources;
1021 if (strcmp(
"hipGraphicsUnregisterResource", name) == 0)
return HIP_API_ID_hipGraphicsUnregisterResource;
1022 if (strcmp(
"hipHccModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipHccModuleLaunchKernel;
1023 if (strcmp(
"hipHostAlloc", name) == 0)
return HIP_API_ID_hipHostAlloc;
1024 if (strcmp(
"hipHostFree", name) == 0)
return HIP_API_ID_hipHostFree;
1025 if (strcmp(
"hipHostGetDevicePointer", name) == 0)
return HIP_API_ID_hipHostGetDevicePointer;
1026 if (strcmp(
"hipHostGetFlags", name) == 0)
return HIP_API_ID_hipHostGetFlags;
1027 if (strcmp(
"hipHostMalloc", name) == 0)
return HIP_API_ID_hipHostMalloc;
1028 if (strcmp(
"hipHostRegister", name) == 0)
return HIP_API_ID_hipHostRegister;
1029 if (strcmp(
"hipHostUnregister", name) == 0)
return HIP_API_ID_hipHostUnregister;
1030 if (strcmp(
"hipImportExternalMemory", name) == 0)
return HIP_API_ID_hipImportExternalMemory;
1031 if (strcmp(
"hipImportExternalSemaphore", name) == 0)
return HIP_API_ID_hipImportExternalSemaphore;
1032 if (strcmp(
"hipInit", name) == 0)
return HIP_API_ID_hipInit;
1033 if (strcmp(
"hipIpcCloseMemHandle", name) == 0)
return HIP_API_ID_hipIpcCloseMemHandle;
1034 if (strcmp(
"hipIpcGetEventHandle", name) == 0)
return HIP_API_ID_hipIpcGetEventHandle;
1035 if (strcmp(
"hipIpcGetMemHandle", name) == 0)
return HIP_API_ID_hipIpcGetMemHandle;
1036 if (strcmp(
"hipIpcOpenEventHandle", name) == 0)
return HIP_API_ID_hipIpcOpenEventHandle;
1037 if (strcmp(
"hipIpcOpenMemHandle", name) == 0)
return HIP_API_ID_hipIpcOpenMemHandle;
1038 if (strcmp(
"hipLaunchByPtr", name) == 0)
return HIP_API_ID_hipLaunchByPtr;
1039 if (strcmp(
"hipLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernel;
1040 if (strcmp(
"hipLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1041 if (strcmp(
"hipLaunchHostFunc", name) == 0)
return HIP_API_ID_hipLaunchHostFunc;
1042 if (strcmp(
"hipLaunchKernel", name) == 0)
return HIP_API_ID_hipLaunchKernel;
1043 if (strcmp(
"hipMalloc", name) == 0)
return HIP_API_ID_hipMalloc;
1044 if (strcmp(
"hipMalloc3D", name) == 0)
return HIP_API_ID_hipMalloc3D;
1045 if (strcmp(
"hipMalloc3DArray", name) == 0)
return HIP_API_ID_hipMalloc3DArray;
1046 if (strcmp(
"hipMallocArray", name) == 0)
return HIP_API_ID_hipMallocArray;
1047 if (strcmp(
"hipMallocAsync", name) == 0)
return HIP_API_ID_hipMallocAsync;
1048 if (strcmp(
"hipMallocFromPoolAsync", name) == 0)
return HIP_API_ID_hipMallocFromPoolAsync;
1049 if (strcmp(
"hipMallocHost", name) == 0)
return HIP_API_ID_hipMallocHost;
1050 if (strcmp(
"hipMallocManaged", name) == 0)
return HIP_API_ID_hipMallocManaged;
1051 if (strcmp(
"hipMallocMipmappedArray", name) == 0)
return HIP_API_ID_hipMallocMipmappedArray;
1052 if (strcmp(
"hipMallocPitch", name) == 0)
return HIP_API_ID_hipMallocPitch;
1053 if (strcmp(
"hipMemAddressFree", name) == 0)
return HIP_API_ID_hipMemAddressFree;
1054 if (strcmp(
"hipMemAddressReserve", name) == 0)
return HIP_API_ID_hipMemAddressReserve;
1055 if (strcmp(
"hipMemAdvise", name) == 0)
return HIP_API_ID_hipMemAdvise;
1056 if (strcmp(
"hipMemAllocHost", name) == 0)
return HIP_API_ID_hipMemAllocHost;
1057 if (strcmp(
"hipMemAllocPitch", name) == 0)
return HIP_API_ID_hipMemAllocPitch;
1058 if (strcmp(
"hipMemCreate", name) == 0)
return HIP_API_ID_hipMemCreate;
1059 if (strcmp(
"hipMemExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemExportToShareableHandle;
1060 if (strcmp(
"hipMemGetAccess", name) == 0)
return HIP_API_ID_hipMemGetAccess;
1061 if (strcmp(
"hipMemGetAddressRange", name) == 0)
return HIP_API_ID_hipMemGetAddressRange;
1062 if (strcmp(
"hipMemGetAllocationGranularity", name) == 0)
return HIP_API_ID_hipMemGetAllocationGranularity;
1063 if (strcmp(
"hipMemGetAllocationPropertiesFromHandle", name) == 0)
return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1064 if (strcmp(
"hipMemGetInfo", name) == 0)
return HIP_API_ID_hipMemGetInfo;
1065 if (strcmp(
"hipMemImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemImportFromShareableHandle;
1066 if (strcmp(
"hipMemMap", name) == 0)
return HIP_API_ID_hipMemMap;
1067 if (strcmp(
"hipMemMapArrayAsync", name) == 0)
return HIP_API_ID_hipMemMapArrayAsync;
1068 if (strcmp(
"hipMemPoolCreate", name) == 0)
return HIP_API_ID_hipMemPoolCreate;
1069 if (strcmp(
"hipMemPoolDestroy", name) == 0)
return HIP_API_ID_hipMemPoolDestroy;
1070 if (strcmp(
"hipMemPoolExportPointer", name) == 0)
return HIP_API_ID_hipMemPoolExportPointer;
1071 if (strcmp(
"hipMemPoolExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolExportToShareableHandle;
1072 if (strcmp(
"hipMemPoolGetAccess", name) == 0)
return HIP_API_ID_hipMemPoolGetAccess;
1073 if (strcmp(
"hipMemPoolGetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolGetAttribute;
1074 if (strcmp(
"hipMemPoolImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1075 if (strcmp(
"hipMemPoolImportPointer", name) == 0)
return HIP_API_ID_hipMemPoolImportPointer;
1076 if (strcmp(
"hipMemPoolSetAccess", name) == 0)
return HIP_API_ID_hipMemPoolSetAccess;
1077 if (strcmp(
"hipMemPoolSetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolSetAttribute;
1078 if (strcmp(
"hipMemPoolTrimTo", name) == 0)
return HIP_API_ID_hipMemPoolTrimTo;
1079 if (strcmp(
"hipMemPrefetchAsync", name) == 0)
return HIP_API_ID_hipMemPrefetchAsync;
1080 if (strcmp(
"hipMemPtrGetInfo", name) == 0)
return HIP_API_ID_hipMemPtrGetInfo;
1081 if (strcmp(
"hipMemRangeGetAttribute", name) == 0)
return HIP_API_ID_hipMemRangeGetAttribute;
1082 if (strcmp(
"hipMemRangeGetAttributes", name) == 0)
return HIP_API_ID_hipMemRangeGetAttributes;
1083 if (strcmp(
"hipMemRelease", name) == 0)
return HIP_API_ID_hipMemRelease;
1084 if (strcmp(
"hipMemRetainAllocationHandle", name) == 0)
return HIP_API_ID_hipMemRetainAllocationHandle;
1085 if (strcmp(
"hipMemSetAccess", name) == 0)
return HIP_API_ID_hipMemSetAccess;
1086 if (strcmp(
"hipMemUnmap", name) == 0)
return HIP_API_ID_hipMemUnmap;
1087 if (strcmp(
"hipMemcpy", name) == 0)
return HIP_API_ID_hipMemcpy;
1088 if (strcmp(
"hipMemcpy2D", name) == 0)
return HIP_API_ID_hipMemcpy2D;
1089 if (strcmp(
"hipMemcpy2DAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DAsync;
1090 if (strcmp(
"hipMemcpy2DFromArray", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArray;
1091 if (strcmp(
"hipMemcpy2DFromArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1092 if (strcmp(
"hipMemcpy2DToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DToArray;
1093 if (strcmp(
"hipMemcpy2DToArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DToArrayAsync;
1094 if (strcmp(
"hipMemcpy3D", name) == 0)
return HIP_API_ID_hipMemcpy3D;
1095 if (strcmp(
"hipMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipMemcpy3DAsync;
1096 if (strcmp(
"hipMemcpyAsync", name) == 0)
return HIP_API_ID_hipMemcpyAsync;
1097 if (strcmp(
"hipMemcpyAtoH", name) == 0)
return HIP_API_ID_hipMemcpyAtoH;
1098 if (strcmp(
"hipMemcpyDtoD", name) == 0)
return HIP_API_ID_hipMemcpyDtoD;
1099 if (strcmp(
"hipMemcpyDtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoDAsync;
1100 if (strcmp(
"hipMemcpyDtoH", name) == 0)
return HIP_API_ID_hipMemcpyDtoH;
1101 if (strcmp(
"hipMemcpyDtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoHAsync;
1102 if (strcmp(
"hipMemcpyFromArray", name) == 0)
return HIP_API_ID_hipMemcpyFromArray;
1103 if (strcmp(
"hipMemcpyFromSymbol", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbol;
1104 if (strcmp(
"hipMemcpyFromSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbolAsync;
1105 if (strcmp(
"hipMemcpyHtoA", name) == 0)
return HIP_API_ID_hipMemcpyHtoA;
1106 if (strcmp(
"hipMemcpyHtoD", name) == 0)
return HIP_API_ID_hipMemcpyHtoD;
1107 if (strcmp(
"hipMemcpyHtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoDAsync;
1108 if (strcmp(
"hipMemcpyParam2D", name) == 0)
return HIP_API_ID_hipMemcpyParam2D;
1109 if (strcmp(
"hipMemcpyParam2DAsync", name) == 0)
return HIP_API_ID_hipMemcpyParam2DAsync;
1110 if (strcmp(
"hipMemcpyPeer", name) == 0)
return HIP_API_ID_hipMemcpyPeer;
1111 if (strcmp(
"hipMemcpyPeerAsync", name) == 0)
return HIP_API_ID_hipMemcpyPeerAsync;
1112 if (strcmp(
"hipMemcpyToArray", name) == 0)
return HIP_API_ID_hipMemcpyToArray;
1113 if (strcmp(
"hipMemcpyToSymbol", name) == 0)
return HIP_API_ID_hipMemcpyToSymbol;
1114 if (strcmp(
"hipMemcpyToSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyToSymbolAsync;
1115 if (strcmp(
"hipMemcpyWithStream", name) == 0)
return HIP_API_ID_hipMemcpyWithStream;
1116 if (strcmp(
"hipMemset", name) == 0)
return HIP_API_ID_hipMemset;
1117 if (strcmp(
"hipMemset2D", name) == 0)
return HIP_API_ID_hipMemset2D;
1118 if (strcmp(
"hipMemset2DAsync", name) == 0)
return HIP_API_ID_hipMemset2DAsync;
1119 if (strcmp(
"hipMemset3D", name) == 0)
return HIP_API_ID_hipMemset3D;
1120 if (strcmp(
"hipMemset3DAsync", name) == 0)
return HIP_API_ID_hipMemset3DAsync;
1121 if (strcmp(
"hipMemsetAsync", name) == 0)
return HIP_API_ID_hipMemsetAsync;
1122 if (strcmp(
"hipMemsetD16", name) == 0)
return HIP_API_ID_hipMemsetD16;
1123 if (strcmp(
"hipMemsetD16Async", name) == 0)
return HIP_API_ID_hipMemsetD16Async;
1124 if (strcmp(
"hipMemsetD32", name) == 0)
return HIP_API_ID_hipMemsetD32;
1125 if (strcmp(
"hipMemsetD32Async", name) == 0)
return HIP_API_ID_hipMemsetD32Async;
1126 if (strcmp(
"hipMemsetD8", name) == 0)
return HIP_API_ID_hipMemsetD8;
1127 if (strcmp(
"hipMemsetD8Async", name) == 0)
return HIP_API_ID_hipMemsetD8Async;
1128 if (strcmp(
"hipMipmappedArrayCreate", name) == 0)
return HIP_API_ID_hipMipmappedArrayCreate;
1129 if (strcmp(
"hipMipmappedArrayDestroy", name) == 0)
return HIP_API_ID_hipMipmappedArrayDestroy;
1130 if (strcmp(
"hipMipmappedArrayGetLevel", name) == 0)
return HIP_API_ID_hipMipmappedArrayGetLevel;
1131 if (strcmp(
"hipModuleGetFunction", name) == 0)
return HIP_API_ID_hipModuleGetFunction;
1132 if (strcmp(
"hipModuleGetGlobal", name) == 0)
return HIP_API_ID_hipModuleGetGlobal;
1133 if (strcmp(
"hipModuleGetTexRef", name) == 0)
return HIP_API_ID_hipModuleGetTexRef;
1134 if (strcmp(
"hipModuleLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1135 if (strcmp(
"hipModuleLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1136 if (strcmp(
"hipModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchKernel;
1137 if (strcmp(
"hipModuleLoad", name) == 0)
return HIP_API_ID_hipModuleLoad;
1138 if (strcmp(
"hipModuleLoadData", name) == 0)
return HIP_API_ID_hipModuleLoadData;
1139 if (strcmp(
"hipModuleLoadDataEx", name) == 0)
return HIP_API_ID_hipModuleLoadDataEx;
1140 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1141 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1142 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1143 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1144 if (strcmp(
"hipModuleUnload", name) == 0)
return HIP_API_ID_hipModuleUnload;
1145 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1146 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1147 if (strcmp(
"hipOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1148 if (strcmp(
"hipPeekAtLastError", name) == 0)
return HIP_API_ID_hipPeekAtLastError;
1149 if (strcmp(
"hipPointerGetAttribute", name) == 0)
return HIP_API_ID_hipPointerGetAttribute;
1150 if (strcmp(
"hipPointerGetAttributes", name) == 0)
return HIP_API_ID_hipPointerGetAttributes;
1151 if (strcmp(
"hipPointerSetAttribute", name) == 0)
return HIP_API_ID_hipPointerSetAttribute;
1152 if (strcmp(
"hipProfilerStart", name) == 0)
return HIP_API_ID_hipProfilerStart;
1153 if (strcmp(
"hipProfilerStop", name) == 0)
return HIP_API_ID_hipProfilerStop;
1154 if (strcmp(
"hipRuntimeGetVersion", name) == 0)
return HIP_API_ID_hipRuntimeGetVersion;
1155 if (strcmp(
"hipSetDevice", name) == 0)
return HIP_API_ID_hipSetDevice;
1156 if (strcmp(
"hipSetDeviceFlags", name) == 0)
return HIP_API_ID_hipSetDeviceFlags;
1157 if (strcmp(
"hipSetupArgument", name) == 0)
return HIP_API_ID_hipSetupArgument;
1158 if (strcmp(
"hipSignalExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1159 if (strcmp(
"hipStreamAddCallback", name) == 0)
return HIP_API_ID_hipStreamAddCallback;
1160 if (strcmp(
"hipStreamAttachMemAsync", name) == 0)
return HIP_API_ID_hipStreamAttachMemAsync;
1161 if (strcmp(
"hipStreamBeginCapture", name) == 0)
return HIP_API_ID_hipStreamBeginCapture;
1162 if (strcmp(
"hipStreamCreate", name) == 0)
return HIP_API_ID_hipStreamCreate;
1163 if (strcmp(
"hipStreamCreateWithFlags", name) == 0)
return HIP_API_ID_hipStreamCreateWithFlags;
1164 if (strcmp(
"hipStreamCreateWithPriority", name) == 0)
return HIP_API_ID_hipStreamCreateWithPriority;
1165 if (strcmp(
"hipStreamDestroy", name) == 0)
return HIP_API_ID_hipStreamDestroy;
1166 if (strcmp(
"hipStreamEndCapture", name) == 0)
return HIP_API_ID_hipStreamEndCapture;
1167 if (strcmp(
"hipStreamGetCaptureInfo", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo;
1168 if (strcmp(
"hipStreamGetCaptureInfo_v2", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1169 if (strcmp(
"hipStreamGetDevice", name) == 0)
return HIP_API_ID_hipStreamGetDevice;
1170 if (strcmp(
"hipStreamGetFlags", name) == 0)
return HIP_API_ID_hipStreamGetFlags;
1171 if (strcmp(
"hipStreamGetPriority", name) == 0)
return HIP_API_ID_hipStreamGetPriority;
1172 if (strcmp(
"hipStreamIsCapturing", name) == 0)
return HIP_API_ID_hipStreamIsCapturing;
1173 if (strcmp(
"hipStreamQuery", name) == 0)
return HIP_API_ID_hipStreamQuery;
1174 if (strcmp(
"hipStreamSynchronize", name) == 0)
return HIP_API_ID_hipStreamSynchronize;
1175 if (strcmp(
"hipStreamUpdateCaptureDependencies", name) == 0)
return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1176 if (strcmp(
"hipStreamWaitEvent", name) == 0)
return HIP_API_ID_hipStreamWaitEvent;
1177 if (strcmp(
"hipStreamWaitValue32", name) == 0)
return HIP_API_ID_hipStreamWaitValue32;
1178 if (strcmp(
"hipStreamWaitValue64", name) == 0)
return HIP_API_ID_hipStreamWaitValue64;
1179 if (strcmp(
"hipStreamWriteValue32", name) == 0)
return HIP_API_ID_hipStreamWriteValue32;
1180 if (strcmp(
"hipStreamWriteValue64", name) == 0)
return HIP_API_ID_hipStreamWriteValue64;
1181 if (strcmp(
"hipTexRefGetAddress", name) == 0)
return HIP_API_ID_hipTexRefGetAddress;
1182 if (strcmp(
"hipTexRefGetFlags", name) == 0)
return HIP_API_ID_hipTexRefGetFlags;
1183 if (strcmp(
"hipTexRefGetFormat", name) == 0)
return HIP_API_ID_hipTexRefGetFormat;
1184 if (strcmp(
"hipTexRefGetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1185 if (strcmp(
"hipTexRefGetMipMappedArray", name) == 0)
return HIP_API_ID_hipTexRefGetMipMappedArray;
1186 if (strcmp(
"hipTexRefGetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1187 if (strcmp(
"hipTexRefGetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1188 if (strcmp(
"hipTexRefSetAddress", name) == 0)
return HIP_API_ID_hipTexRefSetAddress;
1189 if (strcmp(
"hipTexRefSetAddress2D", name) == 0)
return HIP_API_ID_hipTexRefSetAddress2D;
1190 if (strcmp(
"hipTexRefSetArray", name) == 0)
return HIP_API_ID_hipTexRefSetArray;
1191 if (strcmp(
"hipTexRefSetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefSetBorderColor;
1192 if (strcmp(
"hipTexRefSetFlags", name) == 0)
return HIP_API_ID_hipTexRefSetFlags;
1193 if (strcmp(
"hipTexRefSetFormat", name) == 0)
return HIP_API_ID_hipTexRefSetFormat;
1194 if (strcmp(
"hipTexRefSetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1195 if (strcmp(
"hipTexRefSetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1196 if (strcmp(
"hipTexRefSetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1197 if (strcmp(
"hipTexRefSetMipmappedArray", name) == 0)
return HIP_API_ID_hipTexRefSetMipmappedArray;
1198 if (strcmp(
"hipThreadExchangeStreamCaptureMode", name) == 0)
return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1199 if (strcmp(
"hipUserObjectCreate", name) == 0)
return HIP_API_ID_hipUserObjectCreate;
1200 if (strcmp(
"hipUserObjectRelease", name) == 0)
return HIP_API_ID_hipUserObjectRelease;
1201 if (strcmp(
"hipUserObjectRetain", name) == 0)
return HIP_API_ID_hipUserObjectRetain;
1202 if (strcmp(
"hipWaitExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1203 if (strcmp(
"hipExtGetLastError", name) == 0)
return HIP_API_ID_hipExtGetLastError;
1204 return HIP_API_ID_NONE;
1209 uint64_t correlation_id;
1218 size_t sharedMem__val;
1219 hipStream_t* stream;
1220 hipStream_t stream__val;
1221 } __hipPopCallConfiguration;
1227 } __hipPushCallConfiguration;
1230 hipArray_t array__val;
1231 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1232 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1235 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1236 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1238 } hipArray3DGetDescriptor;
1240 hipArray_t* pHandle;
1241 hipArray_t pHandle__val;
1242 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1243 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1249 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1250 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1252 } hipArrayGetDescriptor;
1254 hipChannelFormatDesc* desc;
1255 hipChannelFormatDesc desc__val;
1257 hipExtent extent__val;
1258 unsigned int* flags;
1259 unsigned int flags__val;
1265 const hipDeviceProp_tR0000* prop;
1266 hipDeviceProp_tR0000 prop__val;
1267 } hipChooseDeviceR0000;
1271 const hipDeviceProp_tR0600* prop;
1272 hipDeviceProp_tR0600 prop__val;
1273 } hipChooseDeviceR0600;
1281 hipSurfaceObject_t* pSurfObject;
1282 hipSurfaceObject_t pSurfObject__val;
1283 const hipResourceDesc* pResDesc;
1284 hipResourceDesc pResDesc__val;
1285 } hipCreateSurfaceObject;
1297 } hipCtxDisablePeerAccess;
1301 } hipCtxEnablePeerAccess;
1305 int apiVersion__val;
1306 } hipCtxGetApiVersion;
1308 hipFuncCache_t* cacheConfig;
1309 hipFuncCache_t cacheConfig__val;
1310 } hipCtxGetCacheConfig;
1316 hipDevice_t* device;
1317 hipDevice_t device__val;
1320 unsigned int* flags;
1321 unsigned int flags__val;
1324 hipSharedMemConfig* pConfig;
1325 hipSharedMemConfig pConfig__val;
1326 } hipCtxGetSharedMemConfig;
1333 } hipCtxPushCurrent;
1335 hipFuncCache_t cacheConfig;
1336 } hipCtxSetCacheConfig;
1341 hipSharedMemConfig config;
1342 } hipCtxSetSharedMemConfig;
1344 hipExternalMemory_t extMem;
1345 } hipDestroyExternalMemory;
1347 hipExternalSemaphore_t extSem;
1348 } hipDestroyExternalSemaphore;
1350 hipSurfaceObject_t surfaceObject;
1351 } hipDestroySurfaceObject;
1354 int canAccessPeer__val;
1357 } hipDeviceCanAccessPeer;
1364 } hipDeviceComputeCapability;
1367 } hipDeviceDisablePeerAccess;
1371 } hipDeviceEnablePeerAccess;
1373 hipDevice_t* device;
1374 hipDevice_t device__val;
1380 hipDeviceAttribute_t attr;
1382 } hipDeviceGetAttribute;
1386 const char* pciBusId;
1388 } hipDeviceGetByPCIBusId;
1390 hipFuncCache_t* cacheConfig;
1391 hipFuncCache_t cacheConfig__val;
1392 } hipDeviceGetCacheConfig;
1394 hipMemPool_t* mem_pool;
1395 hipMemPool_t mem_pool__val;
1397 } hipDeviceGetDefaultMemPool;
1400 hipGraphMemAttributeType attr;
1402 } hipDeviceGetGraphMemAttribute;
1406 enum hipLimit_t limit;
1407 } hipDeviceGetLimit;
1409 hipMemPool_t* mem_pool;
1410 hipMemPool_t mem_pool__val;
1412 } hipDeviceGetMemPool;
1422 hipDeviceP2PAttr attr;
1425 } hipDeviceGetP2PAttribute;
1431 } hipDeviceGetPCIBusId;
1433 hipSharedMemConfig* pConfig;
1434 hipSharedMemConfig pConfig__val;
1435 } hipDeviceGetSharedMemConfig;
1438 int leastPriority__val;
1439 int* greatestPriority;
1440 int greatestPriority__val;
1441 } hipDeviceGetStreamPriorityRange;
1449 } hipDeviceGraphMemTrim;
1452 unsigned int* flags;
1453 unsigned int flags__val;
1456 } hipDevicePrimaryCtxGetState;
1459 } hipDevicePrimaryCtxRelease;
1462 } hipDevicePrimaryCtxReset;
1467 } hipDevicePrimaryCtxRetain;
1471 } hipDevicePrimaryCtxSetFlags;
1473 hipFuncCache_t cacheConfig;
1474 } hipDeviceSetCacheConfig;
1477 hipGraphMemAttributeType attr;
1479 } hipDeviceSetGraphMemAttribute;
1481 enum hipLimit_t limit;
1483 } hipDeviceSetLimit;
1486 hipMemPool_t mem_pool;
1487 } hipDeviceSetMemPool;
1489 hipSharedMemConfig config;
1490 } hipDeviceSetSharedMemConfig;
1495 } hipDeviceTotalMem;
1498 int driverVersion__val;
1499 } hipDriverGetVersion;
1501 hipGraphNode_t* phGraphNode;
1502 hipGraphNode_t phGraphNode__val;
1504 const hipGraphNode_t* dependencies;
1505 hipGraphNode_t dependencies__val;
1506 size_t numDependencies;
1507 const HIP_MEMCPY3D* copyParams;
1508 HIP_MEMCPY3D copyParams__val;
1510 } hipDrvGraphAddMemcpyNode;
1512 hipGraphNode_t* phGraphNode;
1513 hipGraphNode_t phGraphNode__val;
1515 const hipGraphNode_t* dependencies;
1516 hipGraphNode_t dependencies__val;
1517 size_t numDependencies;
1518 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1519 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1521 } hipDrvGraphAddMemsetNode;
1523 hipGraphNode_t hNode;
1524 HIP_MEMCPY3D* nodeParams;
1525 HIP_MEMCPY3D nodeParams__val;
1526 } hipDrvGraphMemcpyNodeGetParams;
1528 hipGraphNode_t hNode;
1529 const HIP_MEMCPY3D* nodeParams;
1530 HIP_MEMCPY3D nodeParams__val;
1531 } hipDrvGraphMemcpyNodeSetParams;
1533 const hip_Memcpy2D* pCopy;
1534 hip_Memcpy2D pCopy__val;
1535 } hipDrvMemcpy2DUnaligned;
1537 const HIP_MEMCPY3D* pCopy;
1538 HIP_MEMCPY3D pCopy__val;
1541 const HIP_MEMCPY3D* pCopy;
1542 HIP_MEMCPY3D pCopy__val;
1544 } hipDrvMemcpy3DAsync;
1546 unsigned int numAttributes;
1547 hipPointer_attribute* attributes;
1548 hipPointer_attribute attributes__val;
1552 } hipDrvPointerGetAttributes;
1555 hipEvent_t event__val;
1559 hipEvent_t event__val;
1561 } hipEventCreateWithFlags;
1570 } hipEventElapsedTime;
1580 } hipEventSynchronize;
1584 unsigned int* linktype;
1585 unsigned int linktype__val;
1586 unsigned int* hopcount;
1587 unsigned int hopcount__val;
1588 } hipExtGetLinkTypeAndHopCount;
1590 const void* function_address;
1595 size_t sharedMemBytes;
1597 hipEvent_t startEvent;
1598 hipEvent_t stopEvent;
1600 } hipExtLaunchKernel;
1602 hipLaunchParams* launchParamsList;
1603 hipLaunchParams launchParamsList__val;
1606 } hipExtLaunchMultiKernelMultiDevice;
1612 } hipExtMallocWithFlags;
1615 unsigned int globalWorkSizeX;
1616 unsigned int globalWorkSizeY;
1617 unsigned int globalWorkSizeZ;
1618 unsigned int localWorkSizeX;
1619 unsigned int localWorkSizeY;
1620 unsigned int localWorkSizeZ;
1621 size_t sharedMemBytes;
1622 hipStream_t hStream;
1623 void** kernelParams;
1624 void* kernelParams__val;
1627 hipEvent_t startEvent;
1628 hipEvent_t stopEvent;
1630 } hipExtModuleLaunchKernel;
1632 hipStream_t* stream;
1633 hipStream_t stream__val;
1634 unsigned int cuMaskSize;
1635 const unsigned int* cuMask;
1636 unsigned int cuMask__val;
1637 } hipExtStreamCreateWithCUMask;
1640 unsigned int cuMaskSize;
1641 unsigned int* cuMask;
1642 unsigned int cuMask__val;
1643 } hipExtStreamGetCUMask;
1647 hipExternalMemory_t extMem;
1648 const hipExternalMemoryBufferDesc* bufferDesc;
1649 hipExternalMemoryBufferDesc bufferDesc__val;
1650 } hipExternalMemoryGetMappedBuffer;
1652 hipMipmappedArray_t* mipmap;
1653 hipMipmappedArray_t mipmap__val;
1654 hipExternalMemory_t extMem;
1655 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1656 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1657 } hipExternalMemoryGetMappedMipmappedArray;
1672 hipMipmappedArray_t mipmappedArray;
1673 } hipFreeMipmappedArray;
1677 hipFunction_attribute attrib;
1678 hipFunction_t hfunc;
1679 } hipFuncGetAttribute;
1681 hipFuncAttributes* attr;
1682 hipFuncAttributes attr__val;
1684 } hipFuncGetAttributes;
1687 hipFuncAttribute attr;
1689 } hipFuncSetAttribute;
1692 hipFuncCache_t config;
1693 } hipFuncSetCacheConfig;
1696 hipSharedMemConfig config;
1697 } hipFuncSetSharedMemConfig;
1699 unsigned int* pHipDeviceCount;
1700 unsigned int pHipDeviceCount__val;
1702 int pHipDevices__val;
1703 unsigned int hipDeviceCount;
1707 hipChannelFormatDesc* desc;
1708 hipChannelFormatDesc desc__val;
1709 hipArray_const_t array;
1710 } hipGetChannelDesc;
1718 } hipGetDeviceCount;
1720 unsigned int* flags;
1721 unsigned int flags__val;
1722 } hipGetDeviceFlags;
1724 hipDeviceProp_tR0000* prop;
1725 hipDeviceProp_tR0000 prop__val;
1727 } hipGetDevicePropertiesR0000;
1729 hipDeviceProp_tR0600* prop;
1730 hipDeviceProp_tR0600 prop__val;
1732 } hipGetDevicePropertiesR0600;
1734 hipArray_t* levelArray;
1735 hipArray_t levelArray__val;
1736 hipMipmappedArray_const_t mipmappedArray;
1738 } hipGetMipmappedArrayLevel;
1743 } hipGetSymbolAddress;
1750 hipGraphNode_t* pGraphNode;
1751 hipGraphNode_t pGraphNode__val;
1753 const hipGraphNode_t* pDependencies;
1754 hipGraphNode_t pDependencies__val;
1755 size_t numDependencies;
1756 hipGraph_t childGraph;
1757 } hipGraphAddChildGraphNode;
1760 const hipGraphNode_t* from;
1761 hipGraphNode_t from__val;
1762 const hipGraphNode_t* to;
1763 hipGraphNode_t to__val;
1764 size_t numDependencies;
1765 } hipGraphAddDependencies;
1767 hipGraphNode_t* pGraphNode;
1768 hipGraphNode_t pGraphNode__val;
1770 const hipGraphNode_t* pDependencies;
1771 hipGraphNode_t pDependencies__val;
1772 size_t numDependencies;
1773 } hipGraphAddEmptyNode;
1775 hipGraphNode_t* pGraphNode;
1776 hipGraphNode_t pGraphNode__val;
1778 const hipGraphNode_t* pDependencies;
1779 hipGraphNode_t pDependencies__val;
1780 size_t numDependencies;
1782 } hipGraphAddEventRecordNode;
1784 hipGraphNode_t* pGraphNode;
1785 hipGraphNode_t pGraphNode__val;
1787 const hipGraphNode_t* pDependencies;
1788 hipGraphNode_t pDependencies__val;
1789 size_t numDependencies;
1791 } hipGraphAddEventWaitNode;
1793 hipGraphNode_t* pGraphNode;
1794 hipGraphNode_t pGraphNode__val;
1796 const hipGraphNode_t* pDependencies;
1797 hipGraphNode_t pDependencies__val;
1798 size_t numDependencies;
1799 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1800 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1801 } hipGraphAddExternalSemaphoresSignalNode;
1803 hipGraphNode_t* pGraphNode;
1804 hipGraphNode_t pGraphNode__val;
1806 const hipGraphNode_t* pDependencies;
1807 hipGraphNode_t pDependencies__val;
1808 size_t numDependencies;
1809 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1810 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1811 } hipGraphAddExternalSemaphoresWaitNode;
1813 hipGraphNode_t* pGraphNode;
1814 hipGraphNode_t pGraphNode__val;
1816 const hipGraphNode_t* pDependencies;
1817 hipGraphNode_t pDependencies__val;
1818 size_t numDependencies;
1819 const hipHostNodeParams* pNodeParams;
1820 hipHostNodeParams pNodeParams__val;
1821 } hipGraphAddHostNode;
1823 hipGraphNode_t* pGraphNode;
1824 hipGraphNode_t pGraphNode__val;
1826 const hipGraphNode_t* pDependencies;
1827 hipGraphNode_t pDependencies__val;
1828 size_t numDependencies;
1829 const hipKernelNodeParams* pNodeParams;
1830 hipKernelNodeParams pNodeParams__val;
1831 } hipGraphAddKernelNode;
1833 hipGraphNode_t* pGraphNode;
1834 hipGraphNode_t pGraphNode__val;
1836 const hipGraphNode_t* pDependencies;
1837 hipGraphNode_t pDependencies__val;
1838 size_t numDependencies;
1839 hipMemAllocNodeParams* pNodeParams;
1840 hipMemAllocNodeParams pNodeParams__val;
1841 } hipGraphAddMemAllocNode;
1843 hipGraphNode_t* pGraphNode;
1844 hipGraphNode_t pGraphNode__val;
1846 const hipGraphNode_t* pDependencies;
1847 hipGraphNode_t pDependencies__val;
1848 size_t numDependencies;
1850 } hipGraphAddMemFreeNode;
1852 hipGraphNode_t* pGraphNode;
1853 hipGraphNode_t pGraphNode__val;
1855 const hipGraphNode_t* pDependencies;
1856 hipGraphNode_t pDependencies__val;
1857 size_t numDependencies;
1858 const hipMemcpy3DParms* pCopyParams;
1859 hipMemcpy3DParms pCopyParams__val;
1860 } hipGraphAddMemcpyNode;
1862 hipGraphNode_t* pGraphNode;
1863 hipGraphNode_t pGraphNode__val;
1865 const hipGraphNode_t* pDependencies;
1866 hipGraphNode_t pDependencies__val;
1867 size_t numDependencies;
1872 } hipGraphAddMemcpyNode1D;
1874 hipGraphNode_t* pGraphNode;
1875 hipGraphNode_t pGraphNode__val;
1877 const hipGraphNode_t* pDependencies;
1878 hipGraphNode_t pDependencies__val;
1879 size_t numDependencies;
1885 } hipGraphAddMemcpyNodeFromSymbol;
1887 hipGraphNode_t* pGraphNode;
1888 hipGraphNode_t pGraphNode__val;
1890 const hipGraphNode_t* pDependencies;
1891 hipGraphNode_t pDependencies__val;
1892 size_t numDependencies;
1898 } hipGraphAddMemcpyNodeToSymbol;
1900 hipGraphNode_t* pGraphNode;
1901 hipGraphNode_t pGraphNode__val;
1903 const hipGraphNode_t* pDependencies;
1904 hipGraphNode_t pDependencies__val;
1905 size_t numDependencies;
1906 const hipMemsetParams* pMemsetParams;
1907 hipMemsetParams pMemsetParams__val;
1908 } hipGraphAddMemsetNode;
1910 hipGraphNode_t node;
1912 hipGraph_t pGraph__val;
1913 } hipGraphChildGraphNodeGetGraph;
1915 hipGraph_t* pGraphClone;
1916 hipGraph_t pGraphClone__val;
1917 hipGraph_t originalGraph;
1921 hipGraph_t pGraph__val;
1929 } hipGraphDebugDotPrint;
1934 hipGraphNode_t node;
1935 } hipGraphDestroyNode;
1937 hipGraphNode_t node;
1938 hipEvent_t* event_out;
1939 hipEvent_t event_out__val;
1940 } hipGraphEventRecordNodeGetEvent;
1942 hipGraphNode_t node;
1944 } hipGraphEventRecordNodeSetEvent;
1946 hipGraphNode_t node;
1947 hipEvent_t* event_out;
1948 hipEvent_t event_out__val;
1949 } hipGraphEventWaitNodeGetEvent;
1951 hipGraphNode_t node;
1953 } hipGraphEventWaitNodeSetEvent;
1955 hipGraphExec_t hGraphExec;
1956 hipGraphNode_t node;
1957 hipGraph_t childGraph;
1958 } hipGraphExecChildGraphNodeSetParams;
1960 hipGraphExec_t graphExec;
1961 } hipGraphExecDestroy;
1963 hipGraphExec_t hGraphExec;
1964 hipGraphNode_t hNode;
1966 } hipGraphExecEventRecordNodeSetEvent;
1968 hipGraphExec_t hGraphExec;
1969 hipGraphNode_t hNode;
1971 } hipGraphExecEventWaitNodeSetEvent;
1973 hipGraphExec_t hGraphExec;
1974 hipGraphNode_t hNode;
1975 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1976 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1977 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
1979 hipGraphExec_t hGraphExec;
1980 hipGraphNode_t hNode;
1981 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1982 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1983 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
1985 hipGraphExec_t hGraphExec;
1986 hipGraphNode_t node;
1987 const hipHostNodeParams* pNodeParams;
1988 hipHostNodeParams pNodeParams__val;
1989 } hipGraphExecHostNodeSetParams;
1991 hipGraphExec_t hGraphExec;
1992 hipGraphNode_t node;
1993 const hipKernelNodeParams* pNodeParams;
1994 hipKernelNodeParams pNodeParams__val;
1995 } hipGraphExecKernelNodeSetParams;
1997 hipGraphExec_t hGraphExec;
1998 hipGraphNode_t node;
1999 hipMemcpy3DParms* pNodeParams;
2000 hipMemcpy3DParms pNodeParams__val;
2001 } hipGraphExecMemcpyNodeSetParams;
2003 hipGraphExec_t hGraphExec;
2004 hipGraphNode_t node;
2009 } hipGraphExecMemcpyNodeSetParams1D;
2011 hipGraphExec_t hGraphExec;
2012 hipGraphNode_t node;
2018 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2020 hipGraphExec_t hGraphExec;
2021 hipGraphNode_t node;
2027 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2029 hipGraphExec_t hGraphExec;
2030 hipGraphNode_t node;
2031 const hipMemsetParams* pNodeParams;
2032 hipMemsetParams pNodeParams__val;
2033 } hipGraphExecMemsetNodeSetParams;
2035 hipGraphExec_t hGraphExec;
2037 hipGraphNode_t* hErrorNode_out;
2038 hipGraphNode_t hErrorNode_out__val;
2039 hipGraphExecUpdateResult* updateResult_out;
2040 hipGraphExecUpdateResult updateResult_out__val;
2041 } hipGraphExecUpdate;
2043 hipGraphNode_t hNode;
2044 hipExternalSemaphoreSignalNodeParams* params_out;
2045 hipExternalSemaphoreSignalNodeParams params_out__val;
2046 } hipGraphExternalSemaphoresSignalNodeGetParams;
2048 hipGraphNode_t hNode;
2049 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2050 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2051 } hipGraphExternalSemaphoresSignalNodeSetParams;
2053 hipGraphNode_t hNode;
2054 hipExternalSemaphoreWaitNodeParams* params_out;
2055 hipExternalSemaphoreWaitNodeParams params_out__val;
2056 } hipGraphExternalSemaphoresWaitNodeGetParams;
2058 hipGraphNode_t hNode;
2059 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2060 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2061 } hipGraphExternalSemaphoresWaitNodeSetParams;
2064 hipGraphNode_t* from;
2065 hipGraphNode_t from__val;
2067 hipGraphNode_t to__val;
2069 size_t numEdges__val;
2073 hipGraphNode_t* nodes;
2074 hipGraphNode_t nodes__val;
2076 size_t numNodes__val;
2080 hipGraphNode_t* pRootNodes;
2081 hipGraphNode_t pRootNodes__val;
2082 size_t* pNumRootNodes;
2083 size_t pNumRootNodes__val;
2084 } hipGraphGetRootNodes;
2086 hipGraphNode_t node;
2087 hipHostNodeParams* pNodeParams;
2088 hipHostNodeParams pNodeParams__val;
2089 } hipGraphHostNodeGetParams;
2091 hipGraphNode_t node;
2092 const hipHostNodeParams* pNodeParams;
2093 hipHostNodeParams pNodeParams__val;
2094 } hipGraphHostNodeSetParams;
2096 hipGraphExec_t* pGraphExec;
2097 hipGraphExec_t pGraphExec__val;
2099 hipGraphNode_t* pErrorNode;
2100 hipGraphNode_t pErrorNode__val;
2102 char pLogBuffer__val;
2104 } hipGraphInstantiate;
2106 hipGraphExec_t* pGraphExec;
2107 hipGraphExec_t pGraphExec__val;
2109 unsigned long long flags;
2110 } hipGraphInstantiateWithFlags;
2112 hipGraphNode_t hSrc;
2113 hipGraphNode_t hDst;
2114 } hipGraphKernelNodeCopyAttributes;
2116 hipGraphNode_t hNode;
2117 hipKernelNodeAttrID attr;
2118 hipKernelNodeAttrValue* value;
2119 hipKernelNodeAttrValue value__val;
2120 } hipGraphKernelNodeGetAttribute;
2122 hipGraphNode_t node;
2123 hipKernelNodeParams* pNodeParams;
2124 hipKernelNodeParams pNodeParams__val;
2125 } hipGraphKernelNodeGetParams;
2127 hipGraphNode_t hNode;
2128 hipKernelNodeAttrID attr;
2129 const hipKernelNodeAttrValue* value;
2130 hipKernelNodeAttrValue value__val;
2131 } hipGraphKernelNodeSetAttribute;
2133 hipGraphNode_t node;
2134 const hipKernelNodeParams* pNodeParams;
2135 hipKernelNodeParams pNodeParams__val;
2136 } hipGraphKernelNodeSetParams;
2138 hipGraphExec_t graphExec;
2142 hipGraphNode_t node;
2143 hipMemAllocNodeParams* pNodeParams;
2144 hipMemAllocNodeParams pNodeParams__val;
2145 } hipGraphMemAllocNodeGetParams;
2147 hipGraphNode_t node;
2149 } hipGraphMemFreeNodeGetParams;
2151 hipGraphNode_t node;
2152 hipMemcpy3DParms* pNodeParams;
2153 hipMemcpy3DParms pNodeParams__val;
2154 } hipGraphMemcpyNodeGetParams;
2156 hipGraphNode_t node;
2157 const hipMemcpy3DParms* pNodeParams;
2158 hipMemcpy3DParms pNodeParams__val;
2159 } hipGraphMemcpyNodeSetParams;
2161 hipGraphNode_t node;
2166 } hipGraphMemcpyNodeSetParams1D;
2168 hipGraphNode_t node;
2174 } hipGraphMemcpyNodeSetParamsFromSymbol;
2176 hipGraphNode_t node;
2182 } hipGraphMemcpyNodeSetParamsToSymbol;
2184 hipGraphNode_t node;
2185 hipMemsetParams* pNodeParams;
2186 hipMemsetParams pNodeParams__val;
2187 } hipGraphMemsetNodeGetParams;
2189 hipGraphNode_t node;
2190 const hipMemsetParams* pNodeParams;
2191 hipMemsetParams pNodeParams__val;
2192 } hipGraphMemsetNodeSetParams;
2194 hipGraphNode_t* pNode;
2195 hipGraphNode_t pNode__val;
2196 hipGraphNode_t originalNode;
2197 hipGraph_t clonedGraph;
2198 } hipGraphNodeFindInClone;
2200 hipGraphNode_t node;
2201 hipGraphNode_t* pDependencies;
2202 hipGraphNode_t pDependencies__val;
2203 size_t* pNumDependencies;
2204 size_t pNumDependencies__val;
2205 } hipGraphNodeGetDependencies;
2207 hipGraphNode_t node;
2208 hipGraphNode_t* pDependentNodes;
2209 hipGraphNode_t pDependentNodes__val;
2210 size_t* pNumDependentNodes;
2211 size_t pNumDependentNodes__val;
2212 } hipGraphNodeGetDependentNodes;
2214 hipGraphExec_t hGraphExec;
2215 hipGraphNode_t hNode;
2216 unsigned int* isEnabled;
2217 unsigned int isEnabled__val;
2218 } hipGraphNodeGetEnabled;
2220 hipGraphNode_t node;
2221 hipGraphNodeType* pType;
2222 hipGraphNodeType pType__val;
2223 } hipGraphNodeGetType;
2225 hipGraphExec_t hGraphExec;
2226 hipGraphNode_t hNode;
2227 unsigned int isEnabled;
2228 } hipGraphNodeSetEnabled;
2231 hipUserObject_t object;
2233 } hipGraphReleaseUserObject;
2236 const hipGraphNode_t* from;
2237 hipGraphNode_t from__val;
2238 const hipGraphNode_t* to;
2239 hipGraphNode_t to__val;
2240 size_t numDependencies;
2241 } hipGraphRemoveDependencies;
2244 hipUserObject_t object;
2247 } hipGraphRetainUserObject;
2249 hipGraphExec_t graphExec;
2253 hipGraphicsResource** resource;
2254 hipGraphicsResource* resource__val;
2257 } hipGraphicsGLRegisterBuffer;
2259 hipGraphicsResource** resource;
2260 hipGraphicsResource* resource__val;
2264 } hipGraphicsGLRegisterImage;
2267 hipGraphicsResource_t* resources;
2268 hipGraphicsResource_t resources__val;
2270 } hipGraphicsMapResources;
2276 hipGraphicsResource_t resource;
2277 } hipGraphicsResourceGetMappedPointer;
2280 hipArray_t array__val;
2281 hipGraphicsResource_t resource;
2282 unsigned int arrayIndex;
2283 unsigned int mipLevel;
2284 } hipGraphicsSubResourceGetMappedArray;
2287 hipGraphicsResource_t* resources;
2288 hipGraphicsResource_t resources__val;
2290 } hipGraphicsUnmapResources;
2292 hipGraphicsResource_t resource;
2293 } hipGraphicsUnregisterResource;
2296 unsigned int globalWorkSizeX;
2297 unsigned int globalWorkSizeY;
2298 unsigned int globalWorkSizeZ;
2299 unsigned int blockDimX;
2300 unsigned int blockDimY;
2301 unsigned int blockDimZ;
2302 size_t sharedMemBytes;
2303 hipStream_t hStream;
2304 void** kernelParams;
2305 void* kernelParams__val;
2308 hipEvent_t startEvent;
2309 hipEvent_t stopEvent;
2310 } hipHccModuleLaunchKernel;
2325 } hipHostGetDevicePointer;
2327 unsigned int* flagsPtr;
2328 unsigned int flagsPtr__val;
2344 } hipHostUnregister;
2346 hipExternalMemory_t* extMem_out;
2347 hipExternalMemory_t extMem_out__val;
2348 const hipExternalMemoryHandleDesc* memHandleDesc;
2349 hipExternalMemoryHandleDesc memHandleDesc__val;
2350 } hipImportExternalMemory;
2352 hipExternalSemaphore_t* extSem_out;
2353 hipExternalSemaphore_t extSem_out__val;
2354 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2355 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2356 } hipImportExternalSemaphore;
2362 } hipIpcCloseMemHandle;
2364 hipIpcEventHandle_t* handle;
2365 hipIpcEventHandle_t handle__val;
2367 } hipIpcGetEventHandle;
2369 hipIpcMemHandle_t* handle;
2370 hipIpcMemHandle_t handle__val;
2372 } hipIpcGetMemHandle;
2375 hipEvent_t event__val;
2376 hipIpcEventHandle_t handle;
2377 } hipIpcOpenEventHandle;
2381 hipIpcMemHandle_t handle;
2383 } hipIpcOpenMemHandle;
2385 const void* hostFunction;
2391 void** kernelParams;
2392 void* kernelParams__val;
2393 unsigned int sharedMemBytes;
2395 } hipLaunchCooperativeKernel;
2397 hipLaunchParams* launchParamsList;
2398 hipLaunchParams launchParamsList__val;
2401 } hipLaunchCooperativeKernelMultiDevice;
2406 } hipLaunchHostFunc;
2408 const void* function_address;
2413 size_t sharedMemBytes;
2422 hipPitchedPtr* pitchedDevPtr;
2423 hipPitchedPtr pitchedDevPtr__val;
2428 hipArray_t array__val;
2429 const hipChannelFormatDesc* desc;
2430 hipChannelFormatDesc desc__val;
2436 hipArray_t array__val;
2437 const hipChannelFormatDesc* desc;
2438 hipChannelFormatDesc desc__val;
2453 hipMemPool_t mem_pool;
2455 } hipMallocFromPoolAsync;
2468 hipMipmappedArray_t* mipmappedArray;
2469 hipMipmappedArray_t mipmappedArray__val;
2470 const hipChannelFormatDesc* desc;
2471 hipChannelFormatDesc desc__val;
2473 unsigned int numLevels;
2475 } hipMallocMipmappedArray;
2487 } hipMemAddressFree;
2494 unsigned long long flags;
2495 } hipMemAddressReserve;
2497 const void* dev_ptr;
2499 hipMemoryAdvise advice;
2508 hipDeviceptr_t* dptr;
2509 hipDeviceptr_t dptr__val;
2512 size_t widthInBytes;
2514 unsigned int elementSizeBytes;
2517 hipMemGenericAllocationHandle_t* handle;
2518 hipMemGenericAllocationHandle_t handle__val;
2520 const hipMemAllocationProp* prop;
2521 hipMemAllocationProp prop__val;
2522 unsigned long long flags;
2525 void* shareableHandle;
2526 hipMemGenericAllocationHandle_t handle;
2527 hipMemAllocationHandleType handleType;
2528 unsigned long long flags;
2529 } hipMemExportToShareableHandle;
2531 unsigned long long* flags;
2532 unsigned long long flags__val;
2533 const hipMemLocation* location;
2534 hipMemLocation location__val;
2538 hipDeviceptr_t* pbase;
2539 hipDeviceptr_t pbase__val;
2542 hipDeviceptr_t dptr;
2543 } hipMemGetAddressRange;
2545 size_t* granularity;
2546 size_t granularity__val;
2547 const hipMemAllocationProp* prop;
2548 hipMemAllocationProp prop__val;
2549 hipMemAllocationGranularity_flags option;
2550 } hipMemGetAllocationGranularity;
2552 hipMemAllocationProp* prop;
2553 hipMemAllocationProp prop__val;
2554 hipMemGenericAllocationHandle_t handle;
2555 } hipMemGetAllocationPropertiesFromHandle;
2563 hipMemGenericAllocationHandle_t* handle;
2564 hipMemGenericAllocationHandle_t handle__val;
2566 hipMemAllocationHandleType shHandleType;
2567 } hipMemImportFromShareableHandle;
2572 hipMemGenericAllocationHandle_t handle;
2573 unsigned long long flags;
2576 hipArrayMapInfo* mapInfoList;
2577 hipArrayMapInfo mapInfoList__val;
2580 } hipMemMapArrayAsync;
2582 hipMemPool_t* mem_pool;
2583 hipMemPool_t mem_pool__val;
2584 const hipMemPoolProps* pool_props;
2585 hipMemPoolProps pool_props__val;
2588 hipMemPool_t mem_pool;
2589 } hipMemPoolDestroy;
2591 hipMemPoolPtrExportData* export_data;
2592 hipMemPoolPtrExportData export_data__val;
2594 } hipMemPoolExportPointer;
2596 void* shared_handle;
2597 hipMemPool_t mem_pool;
2598 hipMemAllocationHandleType handle_type;
2600 } hipMemPoolExportToShareableHandle;
2602 hipMemAccessFlags* flags;
2603 hipMemAccessFlags flags__val;
2604 hipMemPool_t mem_pool;
2605 hipMemLocation* location;
2606 hipMemLocation location__val;
2607 } hipMemPoolGetAccess;
2609 hipMemPool_t mem_pool;
2610 hipMemPoolAttr attr;
2612 } hipMemPoolGetAttribute;
2614 hipMemPool_t* mem_pool;
2615 hipMemPool_t mem_pool__val;
2616 void* shared_handle;
2617 hipMemAllocationHandleType handle_type;
2619 } hipMemPoolImportFromShareableHandle;
2623 hipMemPool_t mem_pool;
2624 hipMemPoolPtrExportData* export_data;
2625 hipMemPoolPtrExportData export_data__val;
2626 } hipMemPoolImportPointer;
2628 hipMemPool_t mem_pool;
2629 const hipMemAccessDesc* desc_list;
2630 hipMemAccessDesc desc_list__val;
2632 } hipMemPoolSetAccess;
2634 hipMemPool_t mem_pool;
2635 hipMemPoolAttr attr;
2637 } hipMemPoolSetAttribute;
2639 hipMemPool_t mem_pool;
2640 size_t min_bytes_to_hold;
2643 const void* dev_ptr;
2647 } hipMemPrefetchAsync;
2656 hipMemRangeAttribute attribute;
2657 const void* dev_ptr;
2659 } hipMemRangeGetAttribute;
2664 size_t data_sizes__val;
2665 hipMemRangeAttribute* attributes;
2666 hipMemRangeAttribute attributes__val;
2667 size_t num_attributes;
2668 const void* dev_ptr;
2670 } hipMemRangeGetAttributes;
2672 hipMemGenericAllocationHandle_t handle;
2675 hipMemGenericAllocationHandle_t* handle;
2676 hipMemGenericAllocationHandle_t handle__val;
2678 } hipMemRetainAllocationHandle;
2682 const hipMemAccessDesc* desc;
2683 hipMemAccessDesc desc__val;
2718 hipArray_const_t src;
2724 } hipMemcpy2DFromArray;
2728 hipArray_const_t src;
2735 } hipMemcpy2DFromArrayAsync;
2745 } hipMemcpy2DToArray;
2756 } hipMemcpy2DToArrayAsync;
2758 const hipMemcpy3DParms* p;
2759 hipMemcpy3DParms p__val;
2762 const hipMemcpy3DParms* p;
2763 hipMemcpy3DParms p__val;
2775 hipArray_t srcArray;
2789 } hipMemcpyDtoDAsync;
2800 } hipMemcpyDtoHAsync;
2803 hipArray_const_t srcArray;
2808 } hipMemcpyFromArray;
2815 } hipMemcpyFromSymbol;
2823 } hipMemcpyFromSymbolAsync;
2825 hipArray_t dstArray;
2827 const void* srcHost;
2840 } hipMemcpyHtoDAsync;
2842 const hip_Memcpy2D* pCopy;
2843 hip_Memcpy2D pCopy__val;
2846 const hip_Memcpy2D* pCopy;
2847 hip_Memcpy2D pCopy__val;
2849 } hipMemcpyParam2DAsync;
2864 } hipMemcpyPeerAsync;
2879 } hipMemcpyToSymbol;
2887 } hipMemcpyToSymbolAsync;
2894 } hipMemcpyWithStream;
2916 hipPitchedPtr pitchedDevPtr;
2921 hipPitchedPtr pitchedDevPtr;
2933 hipDeviceptr_t dest;
2934 unsigned short value;
2938 hipDeviceptr_t dest;
2939 unsigned short value;
2942 } hipMemsetD16Async;
2944 hipDeviceptr_t dest;
2953 } hipMemsetD32Async;
2955 hipDeviceptr_t dest;
2956 unsigned char value;
2960 hipDeviceptr_t dest;
2961 unsigned char value;
2966 hipMipmappedArray_t* pHandle;
2967 hipMipmappedArray_t pHandle__val;
2968 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
2969 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
2970 unsigned int numMipmapLevels;
2971 } hipMipmappedArrayCreate;
2973 hipMipmappedArray_t hMipmappedArray;
2974 } hipMipmappedArrayDestroy;
2976 hipArray_t* pLevelArray;
2977 hipArray_t pLevelArray__val;
2978 hipMipmappedArray_t hMipMappedArray;
2980 } hipMipmappedArrayGetLevel;
2982 hipFunction_t* function;
2983 hipFunction_t function__val;
2987 } hipModuleGetFunction;
2989 hipDeviceptr_t* dptr;
2990 hipDeviceptr_t dptr__val;
2996 } hipModuleGetGlobal;
2998 textureReference** texRef;
2999 textureReference* texRef__val;
3003 } hipModuleGetTexRef;
3006 unsigned int gridDimX;
3007 unsigned int gridDimY;
3008 unsigned int gridDimZ;
3009 unsigned int blockDimX;
3010 unsigned int blockDimY;
3011 unsigned int blockDimZ;
3012 unsigned int sharedMemBytes;
3014 void** kernelParams;
3015 void* kernelParams__val;
3016 } hipModuleLaunchCooperativeKernel;
3018 hipFunctionLaunchParams* launchParamsList;
3019 hipFunctionLaunchParams launchParamsList__val;
3020 unsigned int numDevices;
3022 } hipModuleLaunchCooperativeKernelMultiDevice;
3025 unsigned int gridDimX;
3026 unsigned int gridDimY;
3027 unsigned int gridDimZ;
3028 unsigned int blockDimX;
3029 unsigned int blockDimY;
3030 unsigned int blockDimZ;
3031 unsigned int sharedMemBytes;
3033 void** kernelParams;
3034 void* kernelParams__val;
3037 } hipModuleLaunchKernel;
3039 hipModule_t*
module;
3040 hipModule_t module__val;
3045 hipModule_t*
module;
3046 hipModule_t module__val;
3048 } hipModuleLoadData;
3050 hipModule_t*
module;
3051 hipModule_t module__val;
3053 unsigned int numOptions;
3054 hipJitOption* options;
3055 hipJitOption options__val;
3056 void** optionsValues;
3057 void* optionsValues__val;
3058 } hipModuleLoadDataEx;
3064 size_t dynSharedMemPerBlk;
3065 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3071 size_t dynSharedMemPerBlk;
3073 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3080 size_t dynSharedMemPerBlk;
3082 } hipModuleOccupancyMaxPotentialBlockSize;
3089 size_t dynSharedMemPerBlk;
3092 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3101 size_t dynamicSMemSize;
3102 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3108 size_t dynamicSMemSize;
3110 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3117 size_t dynSharedMemPerBlk;
3119 } hipOccupancyMaxPotentialBlockSize;
3122 hipPointer_attribute attribute;
3124 } hipPointerGetAttribute;
3126 hipPointerAttribute_t* attributes;
3127 hipPointerAttribute_t attributes__val;
3129 } hipPointerGetAttributes;
3132 hipPointer_attribute attribute;
3134 } hipPointerSetAttribute;
3136 int* runtimeVersion;
3137 int runtimeVersion__val;
3138 } hipRuntimeGetVersion;
3144 } hipSetDeviceFlags;
3151 const hipExternalSemaphore_t* extSemArray;
3152 hipExternalSemaphore_t extSemArray__val;
3153 const hipExternalSemaphoreSignalParams* paramsArray;
3154 hipExternalSemaphoreSignalParams paramsArray__val;
3155 unsigned int numExtSems;
3157 } hipSignalExternalSemaphoresAsync;
3160 hipStreamCallback_t callback;
3163 } hipStreamAddCallback;
3169 } hipStreamAttachMemAsync;
3172 hipStreamCaptureMode mode;
3173 } hipStreamBeginCapture;
3175 hipStream_t* stream;
3176 hipStream_t stream__val;
3179 hipStream_t* stream;
3180 hipStream_t stream__val;
3182 } hipStreamCreateWithFlags;
3184 hipStream_t* stream;
3185 hipStream_t stream__val;
3188 } hipStreamCreateWithPriority;
3195 hipGraph_t pGraph__val;
3196 } hipStreamEndCapture;
3199 hipStreamCaptureStatus* pCaptureStatus;
3200 hipStreamCaptureStatus pCaptureStatus__val;
3201 unsigned long long* pId;
3202 unsigned long long pId__val;
3203 } hipStreamGetCaptureInfo;
3206 hipStreamCaptureStatus* captureStatus_out;
3207 hipStreamCaptureStatus captureStatus_out__val;
3208 unsigned long long* id_out;
3209 unsigned long long id_out__val;
3210 hipGraph_t* graph_out;
3211 hipGraph_t graph_out__val;
3212 const hipGraphNode_t** dependencies_out;
3213 const hipGraphNode_t* dependencies_out__val;
3214 size_t* numDependencies_out;
3215 size_t numDependencies_out__val;
3216 } hipStreamGetCaptureInfo_v2;
3219 hipDevice_t* device;
3220 hipDevice_t device__val;
3221 } hipStreamGetDevice;
3224 unsigned int* flags;
3225 unsigned int flags__val;
3226 } hipStreamGetFlags;
3231 } hipStreamGetPriority;
3234 hipStreamCaptureStatus* pCaptureStatus;
3235 hipStreamCaptureStatus pCaptureStatus__val;
3236 } hipStreamIsCapturing;
3242 } hipStreamSynchronize;
3245 hipGraphNode_t* dependencies;
3246 hipGraphNode_t dependencies__val;
3247 size_t numDependencies;
3249 } hipStreamUpdateCaptureDependencies;
3254 } hipStreamWaitEvent;
3261 } hipStreamWaitValue32;
3268 } hipStreamWaitValue64;
3274 } hipStreamWriteValue32;
3280 } hipStreamWriteValue64;
3282 hipDeviceptr_t* dev_ptr;
3283 hipDeviceptr_t dev_ptr__val;
3284 const textureReference* texRef;
3285 textureReference texRef__val;
3286 } hipTexRefGetAddress;
3288 unsigned int* pFlags;
3289 unsigned int pFlags__val;
3290 const textureReference* texRef;
3291 textureReference texRef__val;
3292 } hipTexRefGetFlags;
3294 hipArray_Format* pFormat;
3295 hipArray_Format pFormat__val;
3297 int pNumChannels__val;
3298 const textureReference* texRef;
3299 textureReference texRef__val;
3300 } hipTexRefGetFormat;
3304 const textureReference* texRef;
3305 textureReference texRef__val;
3306 } hipTexRefGetMaxAnisotropy;
3308 hipMipmappedArray_t* pArray;
3309 hipMipmappedArray_t pArray__val;
3310 const textureReference* texRef;
3311 textureReference texRef__val;
3312 } hipTexRefGetMipMappedArray;
3316 const textureReference* texRef;
3317 textureReference texRef__val;
3318 } hipTexRefGetMipmapLevelBias;
3320 float* pminMipmapLevelClamp;
3321 float pminMipmapLevelClamp__val;
3322 float* pmaxMipmapLevelClamp;
3323 float pmaxMipmapLevelClamp__val;
3324 const textureReference* texRef;
3325 textureReference texRef__val;
3326 } hipTexRefGetMipmapLevelClamp;
3329 size_t ByteOffset__val;
3330 textureReference* texRef;
3331 textureReference texRef__val;
3332 hipDeviceptr_t dptr;
3334 } hipTexRefSetAddress;
3336 textureReference* texRef;
3337 textureReference texRef__val;
3338 const HIP_ARRAY_DESCRIPTOR* desc;
3339 HIP_ARRAY_DESCRIPTOR desc__val;
3340 hipDeviceptr_t dptr;
3342 } hipTexRefSetAddress2D;
3344 textureReference* tex;
3345 textureReference tex__val;
3346 hipArray_const_t array;
3348 } hipTexRefSetArray;
3350 textureReference* texRef;
3351 textureReference texRef__val;
3352 float* pBorderColor;
3353 float pBorderColor__val;
3354 } hipTexRefSetBorderColor;
3356 textureReference* texRef;
3357 textureReference texRef__val;
3359 } hipTexRefSetFlags;
3361 textureReference* texRef;
3362 textureReference texRef__val;
3363 hipArray_Format fmt;
3364 int NumPackedComponents;
3365 } hipTexRefSetFormat;
3367 textureReference* texRef;
3368 textureReference texRef__val;
3369 unsigned int maxAniso;
3370 } hipTexRefSetMaxAnisotropy;
3372 textureReference* texRef;
3373 textureReference texRef__val;
3375 } hipTexRefSetMipmapLevelBias;
3377 textureReference* texRef;
3378 textureReference texRef__val;
3379 float minMipMapLevelClamp;
3380 float maxMipMapLevelClamp;
3381 } hipTexRefSetMipmapLevelClamp;
3383 textureReference* texRef;
3384 textureReference texRef__val;
3385 hipMipmappedArray* mipmappedArray;
3386 hipMipmappedArray mipmappedArray__val;
3388 } hipTexRefSetMipmappedArray;
3390 hipStreamCaptureMode* mode;
3391 hipStreamCaptureMode mode__val;
3392 } hipThreadExchangeStreamCaptureMode;
3394 hipUserObject_t* object_out;
3395 hipUserObject_t object_out__val;
3397 hipHostFn_t destroy;
3398 unsigned int initialRefcount;
3400 } hipUserObjectCreate;
3402 hipUserObject_t object;
3404 } hipUserObjectRelease;
3406 hipUserObject_t object;
3408 } hipUserObjectRetain;
3410 const hipExternalSemaphore_t* extSemArray;
3411 hipExternalSemaphore_t extSemArray__val;
3412 const hipExternalSemaphoreWaitParams* paramsArray;
3413 hipExternalSemaphoreWaitParams paramsArray__val;
3414 unsigned int numExtSems;
3416 } hipWaitExternalSemaphoresAsync;
3418 uint64_t *phase_data;
3423#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3424 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3425 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3426 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3427 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3430#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3431 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3432 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3433 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3434 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3437#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3438 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3439 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3442#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3443 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3444 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3447#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3448 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3449 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3452#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3453 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3456#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3457 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3458 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3461#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3462 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3463 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3464 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3465 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3468#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3469 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3470 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3473#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3474 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3475 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3478#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3479 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3480 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3481 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3482 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3485#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3486 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3487 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3490#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3491 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3492 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3493 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3496#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3497 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3500#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3501 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3504#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3505 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3506 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3509#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3510 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3511 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3514#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3515 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3518#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3519 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3522#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3523 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3526#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3527 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3530#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3531 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3534#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3535 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3538#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3539 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3542#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3543 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3546#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3547 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3550#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3551 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3554#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3557#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3558 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3561#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3562 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3565#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3566 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3569#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3570 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3571 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3572 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3575#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3576 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3577 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3578 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3581#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3582 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3585#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3586 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3587 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3590#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3591 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3592 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3595#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3596 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3597 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3598 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3601#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3602 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3603 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3606#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3607 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3610#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3611 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3612 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3615#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3616 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3617 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3618 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3621#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3622 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3623 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3626#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3627 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3628 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3631#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3632 cb_data.args.hipDeviceGetName.name = (char*)name; \
3633 cb_data.args.hipDeviceGetName.len = (int)len; \
3634 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3637#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3638 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3639 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3640 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3641 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3644#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3645 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3646 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3647 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3650#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3651 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3654#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3655 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3656 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3659#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3660 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3661 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3664#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3665 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3668#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3669 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3670 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3671 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3674#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3675 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3678#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3679 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3682#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3683 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3684 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3687#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3688 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3689 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3692#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3695#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3696 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3699#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3700 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3701 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3702 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3705#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3706 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3707 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3710#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3711 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3712 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3715#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3716 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3719#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3722#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3723 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3724 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3727#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3728 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3731#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3734#define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3737#define INIT_hipDrvGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
3740#define INIT_hipDrvGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3743#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3744 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3747#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3748 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3751#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3752 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3753 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3756#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3757 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3758 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3759 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3760 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3763#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3764 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3767#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3768 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3769 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3772#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3773 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3776#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3777 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3778 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3779 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3782#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3783 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3786#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3787 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3788 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3791#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3792 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3795#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3796 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3797 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3798 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3799 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3802#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3803 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3804 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3805 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3806 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3807 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3808 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3809 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3810 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3811 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3814#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3815 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3816 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3817 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3820#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3821 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3822 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3823 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3826#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3827 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3828 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3829 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3830 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3831 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3832 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3833 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3834 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3835 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3836 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3837 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3838 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3839 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3840 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3843#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3844 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3845 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3846 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3849#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3850 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3851 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3852 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3855#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3856 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3857 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3858 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3861#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
3862 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
3863 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
3864 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
3867#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
3868 cb_data.args.hipFree.ptr = (void*)ptr; \
3871#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
3872 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
3875#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
3876 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
3877 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
3880#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
3881 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
3884#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
3885 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
3888#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
3889 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
3890 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
3891 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
3894#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
3895 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
3896 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
3899#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
3900 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
3901 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
3902 cb_data.args.hipFuncSetAttribute.value = (int)value; \
3905#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3906 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
3907 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
3910#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3911 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
3912 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3915#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
3916 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
3917 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
3918 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
3919 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
3922#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
3923 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
3924 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
3927#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
3928 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
3931#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
3932 cb_data.args.hipGetDeviceCount.count = (int*)count; \
3935#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
3936 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
3939#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
3940 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
3941 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
3944#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
3945 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
3946 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
3949#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
3952#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
3955#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
3956 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
3957 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
3958 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
3961#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
3962 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
3963 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
3966#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
3967 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
3968 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
3971#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
3972 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3973 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
3974 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3975 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
3976 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
3979#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
3980 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
3981 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
3982 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
3983 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
3986#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
3987 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3988 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
3989 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3990 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
3993#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
3994 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3995 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
3996 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3997 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
3998 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
4001#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
4002 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4003 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
4004 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4005 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
4006 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
4009#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
4012#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4015#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4016 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4017 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4018 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4019 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4020 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4023#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4024 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4025 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4026 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4027 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4028 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4031#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4032 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4033 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4034 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4035 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4036 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4039#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4040 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4041 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4042 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4043 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4044 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4047#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4048 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4049 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4050 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4051 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4052 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4055#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4056 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4057 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4058 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4059 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4060 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4061 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4062 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4063 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4066#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4067 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4068 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4069 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4070 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4071 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4072 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4073 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4074 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4075 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4078#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4079 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4080 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4081 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4082 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4083 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4084 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4085 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4086 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4087 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4090#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4091 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4092 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4093 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4094 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4095 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4098#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4099 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4100 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4103#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4104 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4105 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4108#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4109 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4110 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4113#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4114 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4115 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4116 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4119#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4120 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4123#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4124 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4127#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4128 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4129 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4132#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4133 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4134 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4137#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4138 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4139 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4142#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4143 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4144 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4147#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4148 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4149 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4150 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4153#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4154 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4157#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4158 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4159 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4160 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4163#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4164 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4165 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4166 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4169#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4172#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4175#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4176 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4177 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4178 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4181#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4182 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4183 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4184 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4187#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4188 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4189 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4190 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4193#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4194 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4195 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4196 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4197 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4198 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4199 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4202#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4203 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4204 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4205 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4206 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4207 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4208 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4209 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4212#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4213 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4214 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4215 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4216 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4217 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4218 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4219 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4222#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4223 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4224 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4225 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4228#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4229 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4230 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4231 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4232 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4235#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4238#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4241#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4244#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4247#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4248 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4249 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4250 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4251 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4254#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4255 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4256 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4257 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4260#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4261 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4262 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4263 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4266#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4267 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4268 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4271#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4272 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4273 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4276#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4277 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4278 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4279 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4280 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4281 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4284#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4285 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4286 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4287 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4290#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4291 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4292 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4295#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4296 cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
4297 cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
4298 cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
4301#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4302 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4303 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4306#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4307 cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
4308 cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
4309 cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
4312#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4313 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4314 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4317#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4318 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4319 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4322#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4323 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4324 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4327#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4328 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4329 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4332#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4333 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4334 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4337#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4338 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4339 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4342#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4343 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4344 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4345 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4346 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4347 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4350#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4351 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4352 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4353 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4354 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4355 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4356 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4359#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4360 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4361 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4362 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4363 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4364 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4365 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4368#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4369 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4370 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4373#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4374 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4375 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4378#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4379 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4380 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4381 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4384#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4385 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4386 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4387 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4390#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4391 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4392 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4393 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4396#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4397 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4398 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4399 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4402#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4403 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4404 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4407#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4408 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4409 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4410 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4413#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4414 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4415 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4416 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4419#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4420 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4421 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4422 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4423 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4426#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4427 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4428 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4429 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4430 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4433#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4434 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4435 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4438#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4439 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4440 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4441 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4444#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4445 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4446 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4447 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4448 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4451#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4452 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4453 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4454 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4457#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4458 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4459 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4460 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4463#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4464 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4465 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4466 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4467 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4470#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4471 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4472 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4473 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4476#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4477 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4480#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4481 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4482 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4483 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4484 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4485 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4486 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4487 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4488 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4489 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4490 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4491 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4492 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4493 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4496#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4497 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4498 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4499 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4502#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4503 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4506#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4507 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4508 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4509 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4512#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4513 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4514 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4517#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4518 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4519 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4520 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4523#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4524 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4525 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4526 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4529#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4530 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4533#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4534 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4535 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4538#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4539 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4540 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4543#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4544 cb_data.args.hipInit.flags = (unsigned int)flags; \
4547#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4548 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4551#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4552 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4553 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4556#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4557 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4558 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4561#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4562 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4563 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4566#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4567 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4568 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4569 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4572#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4573 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4576#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4577 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4578 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4579 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4580 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4581 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4582 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4585#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4586 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4587 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4588 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4591#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4592 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4593 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4594 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4597#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4598 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4599 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4600 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4601 cb_data.args.hipLaunchKernel.args = (void**)args; \
4602 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4603 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4606#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4607 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4608 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4611#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4612 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4613 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4616#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4617 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4618 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4619 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4620 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4623#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4624 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4625 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4626 cb_data.args.hipMallocArray.width = (size_t)width; \
4627 cb_data.args.hipMallocArray.height = (size_t)height; \
4628 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4631#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4632 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4633 cb_data.args.hipMallocAsync.size = (size_t)size; \
4634 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4637#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4638 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4639 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4640 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4641 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4644#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4645 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4646 cb_data.args.hipMallocHost.size = (size_t)size; \
4649#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4650 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4651 cb_data.args.hipMallocManaged.size = (size_t)size; \
4652 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4655#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4656 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4657 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4658 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4659 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4660 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4663#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4664 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4665 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4666 cb_data.args.hipMallocPitch.width = (size_t)width; \
4667 cb_data.args.hipMallocPitch.height = (size_t)height; \
4670#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4671 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4672 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4675#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4676 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4677 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4678 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4679 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4680 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4683#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4684 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4685 cb_data.args.hipMemAdvise.count = (size_t)count; \
4686 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4687 cb_data.args.hipMemAdvise.device = (int)device; \
4690#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4691 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4692 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4695#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4696 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4697 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4698 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4699 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4700 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4703#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4704 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4705 cb_data.args.hipMemCreate.size = (size_t)size; \
4706 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4707 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4710#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4711 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4712 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4713 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4714 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4717#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4718 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4719 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4720 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4723#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4724 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4725 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4726 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4729#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4730 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4731 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4732 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4735#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4736 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4737 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4740#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4741 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4742 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4745#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4746 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4747 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4748 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4751#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4752 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4753 cb_data.args.hipMemMap.size = (size_t)size; \
4754 cb_data.args.hipMemMap.offset = (size_t)offset; \
4755 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4756 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4759#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4760 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4761 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4762 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4765#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4766 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4767 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4770#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4771 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4774#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4775 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4776 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4779#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4780 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4781 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4782 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4783 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4786#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4787 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4788 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4789 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4792#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4793 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4794 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4795 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4798#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4799 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4800 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4801 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4802 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4805#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4806 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4807 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4808 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4811#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4812 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4813 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4814 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4817#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4818 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4819 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
4820 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
4823#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
4824 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
4825 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
4828#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
4829 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
4830 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
4831 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
4832 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
4835#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
4836 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
4837 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
4840#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
4841 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
4842 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
4843 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
4844 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
4845 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
4848#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
4849 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
4850 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
4851 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
4852 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
4853 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
4854 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
4857#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
4858 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
4861#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
4862 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4863 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
4866#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
4867 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
4868 cb_data.args.hipMemSetAccess.size = (size_t)size; \
4869 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
4870 cb_data.args.hipMemSetAccess.count = (size_t)count; \
4873#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
4874 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
4875 cb_data.args.hipMemUnmap.size = (size_t)size; \
4878#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
4879 cb_data.args.hipMemcpy.dst = (void*)dst; \
4880 cb_data.args.hipMemcpy.src = (const void*)src; \
4881 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
4882 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
4885#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
4886 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
4887 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
4888 cb_data.args.hipMemcpy2D.src = (const void*)src; \
4889 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
4890 cb_data.args.hipMemcpy2D.width = (size_t)width; \
4891 cb_data.args.hipMemcpy2D.height = (size_t)height; \
4892 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
4895#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
4896 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
4897 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
4898 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
4899 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
4900 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
4901 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
4902 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
4903 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
4906#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
4907 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
4908 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
4909 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
4910 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
4911 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
4912 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
4913 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
4914 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
4917#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
4918 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
4919 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
4920 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
4921 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
4922 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
4923 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
4924 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
4925 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
4926 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
4929#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
4930 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
4931 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
4932 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
4933 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
4934 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
4935 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
4936 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
4937 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
4940#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
4941 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
4942 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
4943 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
4944 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
4945 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
4946 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
4947 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
4948 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
4949 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
4952#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
4953 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
4956#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
4957 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
4958 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
4961#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
4962 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
4963 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
4964 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
4965 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
4966 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
4969#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
4970 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
4971 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
4972 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
4973 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
4976#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
4977 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
4978 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
4979 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
4982#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
4983 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4984 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
4985 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
4986 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
4989#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
4990 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
4991 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
4992 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
4995#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
4996 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
4997 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
4998 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
4999 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
5002#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
5003 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
5004 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
5005 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
5006 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
5007 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
5008 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
5011#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
5012 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
5013 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5014 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5015 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5016 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5019#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5020 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5021 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5022 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5023 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5024 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5025 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5028#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5029 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5030 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5031 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5032 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5035#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5036 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5037 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5038 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5041#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5042 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5043 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5044 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5045 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5048#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5049 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5052#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5053 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5054 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5057#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5058 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5059 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5060 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5061 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5062 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5065#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5066 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5067 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5068 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5069 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5070 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5071 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5074#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5075 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5076 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5077 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5078 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5079 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5080 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5083#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5084 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5085 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5086 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5087 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5088 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5091#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5092 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5093 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5094 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5095 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5096 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5097 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5100#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5101 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5102 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5103 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5104 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5105 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5108#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5109 cb_data.args.hipMemset.dst = (void*)dst; \
5110 cb_data.args.hipMemset.value = (int)value; \
5111 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5114#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5115 cb_data.args.hipMemset2D.dst = (void*)dst; \
5116 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5117 cb_data.args.hipMemset2D.value = (int)value; \
5118 cb_data.args.hipMemset2D.width = (size_t)width; \
5119 cb_data.args.hipMemset2D.height = (size_t)height; \
5122#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5123 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5124 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5125 cb_data.args.hipMemset2DAsync.value = (int)value; \
5126 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5127 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5128 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5131#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5132 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5133 cb_data.args.hipMemset3D.value = (int)value; \
5134 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5137#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5138 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5139 cb_data.args.hipMemset3DAsync.value = (int)value; \
5140 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5141 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5144#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5145 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5146 cb_data.args.hipMemsetAsync.value = (int)value; \
5147 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5148 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5151#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5152 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5153 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5154 cb_data.args.hipMemsetD16.count = (size_t)count; \
5157#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5158 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5159 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5160 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5161 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5164#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5165 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5166 cb_data.args.hipMemsetD32.value = (int)value; \
5167 cb_data.args.hipMemsetD32.count = (size_t)count; \
5170#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5171 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5172 cb_data.args.hipMemsetD32Async.value = (int)value; \
5173 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5174 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5177#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5178 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5179 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5180 cb_data.args.hipMemsetD8.count = (size_t)count; \
5183#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5184 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5185 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5186 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5187 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5190#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5191 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5192 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5193 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5196#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5197 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5200#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5201 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5202 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5203 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5206#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5207 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5208 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5209 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5212#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5213 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5214 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5215 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5216 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5219#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5220 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5221 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5222 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5225#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5226 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5227 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5228 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5229 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5230 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5231 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5232 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5233 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5234 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5235 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5238#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5239 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5240 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5241 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5244#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5245 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5246 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5247 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5248 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5249 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5250 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5251 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5252 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5253 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5254 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5255 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5258#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5260 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5263#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5264 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5265 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5268#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5269 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5270 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5271 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5272 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5273 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5276#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5277 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5278 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5279 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5280 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5283#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5284 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5285 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5286 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5287 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5288 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5291#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5292 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5293 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5294 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5295 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5296 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5299#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5300 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5301 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5302 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5303 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5304 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5305 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5308#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5309 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5312#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5313 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5314 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5315 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5316 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5319#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5320 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5321 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5322 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5323 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5324 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5327#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5328 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5329 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5330 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5331 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5332 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5335#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5338#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5339 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5340 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5341 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5344#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5345 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5346 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5349#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5350 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5351 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5352 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5355#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5358#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5361#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5362 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5365#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5366 cb_data.args.hipSetDevice.deviceId = (int)device; \
5369#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5370 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5373#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5374 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5375 cb_data.args.hipSetupArgument.size = (size_t)size; \
5376 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5379#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5380 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5381 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5382 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5383 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5386#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5387 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5388 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5389 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5390 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5393#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5394 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5395 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5396 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5397 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5400#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5401 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5402 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5405#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5406 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5409#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5410 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5411 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5414#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5415 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5416 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5417 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5420#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5421 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5424#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5425 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5426 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5429#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5430 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5431 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5432 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5435#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5436 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5437 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5438 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5439 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5440 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5441 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5444#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5445 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5446 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5449#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5450 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5451 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5454#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5455 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5456 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5459#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5460 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5461 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5464#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5465 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5468#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5469 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5472#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5473 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5474 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5475 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5476 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5479#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5480 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5481 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5482 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5485#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5486 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5487 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5488 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5489 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5490 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5493#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5494 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5495 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5496 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5497 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5498 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5501#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5502 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5503 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5504 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5505 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5508#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5509 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5510 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5511 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5512 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5515#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5516 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5517 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5520#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5521 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5522 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5525#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5526 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5527 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5528 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5531#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5532 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5533 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5536#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5539#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5540 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5541 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5544#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5545 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5546 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5547 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5550#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5551 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5552 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5553 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5554 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5557#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5558 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5559 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5560 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5561 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5564#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5565 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5566 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5567 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5570#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5571 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5572 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5575#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5576 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5577 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5580#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5581 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5582 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5583 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5586#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5587 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5588 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5591#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5592 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5593 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5596#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5597 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5598 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5599 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5602#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5603 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5604 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5605 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5608#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5609 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5612#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5613 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5614 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5615 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5616 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5617 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5620#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5621 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5622 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5625#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5626 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5627 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5630#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5631 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5632 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5633 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5634 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5637#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
5639#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5643#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5645#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5647#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5649#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5651#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5653#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5655#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5657#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5659#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5661#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5663#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5665#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5667#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
5669#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
5671#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
5673#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
5675#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
5677#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
5679#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
5681#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5683#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5685#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5687#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5689#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5691#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5693#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
5695#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
5697#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5699#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5701#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
5703#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5705#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5707#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5709#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5711#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5713#if HIP_PROF_HIP_API_STRING
5715static inline void hipApiArgsInit(hip_api_id_t
id,
hip_api_data_t* data) {
5718 case HIP_API_ID___hipPopCallConfiguration:
5719 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5720 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5721 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5722 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5725 case HIP_API_ID___hipPushCallConfiguration:
5728 case HIP_API_ID_hipArray3DCreate:
5729 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5730 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5733 case HIP_API_ID_hipArray3DGetDescriptor:
5734 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5737 case HIP_API_ID_hipArrayCreate:
5738 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5739 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5742 case HIP_API_ID_hipArrayDestroy:
5745 case HIP_API_ID_hipArrayGetDescriptor:
5746 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5749 case HIP_API_ID_hipArrayGetInfo:
5750 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5751 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5752 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5755 case HIP_API_ID_hipChooseDeviceR0000:
5756 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
5757 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
5760 case HIP_API_ID_hipChooseDeviceR0600:
5761 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
5762 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
5765 case HIP_API_ID_hipConfigureCall:
5768 case HIP_API_ID_hipCreateSurfaceObject:
5769 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
5770 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
5773 case HIP_API_ID_hipCtxCreate:
5774 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
5777 case HIP_API_ID_hipCtxDestroy:
5780 case HIP_API_ID_hipCtxDisablePeerAccess:
5783 case HIP_API_ID_hipCtxEnablePeerAccess:
5786 case HIP_API_ID_hipCtxGetApiVersion:
5787 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
5790 case HIP_API_ID_hipCtxGetCacheConfig:
5791 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
5794 case HIP_API_ID_hipCtxGetCurrent:
5795 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
5798 case HIP_API_ID_hipCtxGetDevice:
5799 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
5802 case HIP_API_ID_hipCtxGetFlags:
5803 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
5806 case HIP_API_ID_hipCtxGetSharedMemConfig:
5807 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
5810 case HIP_API_ID_hipCtxPopCurrent:
5811 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
5814 case HIP_API_ID_hipCtxPushCurrent:
5817 case HIP_API_ID_hipCtxSetCacheConfig:
5820 case HIP_API_ID_hipCtxSetCurrent:
5823 case HIP_API_ID_hipCtxSetSharedMemConfig:
5826 case HIP_API_ID_hipCtxSynchronize:
5829 case HIP_API_ID_hipDestroyExternalMemory:
5832 case HIP_API_ID_hipDestroyExternalSemaphore:
5835 case HIP_API_ID_hipDestroySurfaceObject:
5838 case HIP_API_ID_hipDeviceCanAccessPeer:
5839 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
5842 case HIP_API_ID_hipDeviceComputeCapability:
5843 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
5844 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
5847 case HIP_API_ID_hipDeviceDisablePeerAccess:
5850 case HIP_API_ID_hipDeviceEnablePeerAccess:
5853 case HIP_API_ID_hipDeviceGet:
5854 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
5857 case HIP_API_ID_hipDeviceGetAttribute:
5858 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
5861 case HIP_API_ID_hipDeviceGetByPCIBusId:
5862 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
5863 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
5866 case HIP_API_ID_hipDeviceGetCacheConfig:
5867 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
5870 case HIP_API_ID_hipDeviceGetDefaultMemPool:
5871 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
5874 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
5877 case HIP_API_ID_hipDeviceGetLimit:
5878 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
5881 case HIP_API_ID_hipDeviceGetMemPool:
5882 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
5885 case HIP_API_ID_hipDeviceGetName:
5886 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
5889 case HIP_API_ID_hipDeviceGetP2PAttribute:
5890 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
5893 case HIP_API_ID_hipDeviceGetPCIBusId:
5894 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
5897 case HIP_API_ID_hipDeviceGetSharedMemConfig:
5898 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
5901 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
5902 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
5903 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
5906 case HIP_API_ID_hipDeviceGetUuid:
5907 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
5910 case HIP_API_ID_hipDeviceGraphMemTrim:
5913 case HIP_API_ID_hipDevicePrimaryCtxGetState:
5914 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
5915 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
5918 case HIP_API_ID_hipDevicePrimaryCtxRelease:
5921 case HIP_API_ID_hipDevicePrimaryCtxReset:
5924 case HIP_API_ID_hipDevicePrimaryCtxRetain:
5925 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
5928 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
5931 case HIP_API_ID_hipDeviceReset:
5934 case HIP_API_ID_hipDeviceSetCacheConfig:
5937 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
5940 case HIP_API_ID_hipDeviceSetLimit:
5943 case HIP_API_ID_hipDeviceSetMemPool:
5946 case HIP_API_ID_hipDeviceSetSharedMemConfig:
5949 case HIP_API_ID_hipDeviceSynchronize:
5952 case HIP_API_ID_hipDeviceTotalMem:
5953 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
5956 case HIP_API_ID_hipDriverGetVersion:
5957 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
5960 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
5961 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
5962 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
5963 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
5966 case HIP_API_ID_hipDrvGraphAddMemsetNode:
5967 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode) data->args.hipDrvGraphAddMemsetNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemsetNode.phGraphNode);
5968 if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
5969 if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
5972 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
5973 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
5976 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
5977 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
5980 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
5981 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
5984 case HIP_API_ID_hipDrvMemcpy3D:
5985 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
5988 case HIP_API_ID_hipDrvMemcpy3DAsync:
5989 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
5992 case HIP_API_ID_hipDrvPointerGetAttributes:
5993 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
5994 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
5997 case HIP_API_ID_hipEventCreate:
5998 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
6001 case HIP_API_ID_hipEventCreateWithFlags:
6002 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
6005 case HIP_API_ID_hipEventDestroy:
6008 case HIP_API_ID_hipEventElapsedTime:
6009 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
6012 case HIP_API_ID_hipEventQuery:
6015 case HIP_API_ID_hipEventRecord:
6018 case HIP_API_ID_hipEventSynchronize:
6021 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6022 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6023 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6026 case HIP_API_ID_hipExtLaunchKernel:
6027 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6030 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6031 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6034 case HIP_API_ID_hipExtMallocWithFlags:
6035 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6038 case HIP_API_ID_hipExtModuleLaunchKernel:
6039 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6040 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6043 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6044 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6045 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6048 case HIP_API_ID_hipExtStreamGetCUMask:
6049 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6052 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6053 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6054 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6057 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6058 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6059 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6062 case HIP_API_ID_hipFree:
6065 case HIP_API_ID_hipFreeArray:
6068 case HIP_API_ID_hipFreeAsync:
6071 case HIP_API_ID_hipFreeHost:
6074 case HIP_API_ID_hipFreeMipmappedArray:
6077 case HIP_API_ID_hipFuncGetAttribute:
6078 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6081 case HIP_API_ID_hipFuncGetAttributes:
6082 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6085 case HIP_API_ID_hipFuncSetAttribute:
6088 case HIP_API_ID_hipFuncSetCacheConfig:
6091 case HIP_API_ID_hipFuncSetSharedMemConfig:
6094 case HIP_API_ID_hipGLGetDevices:
6095 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6096 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6099 case HIP_API_ID_hipGetChannelDesc:
6100 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6103 case HIP_API_ID_hipGetDevice:
6104 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6107 case HIP_API_ID_hipGetDeviceCount:
6108 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6111 case HIP_API_ID_hipGetDeviceFlags:
6112 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6115 case HIP_API_ID_hipGetDevicePropertiesR0000:
6116 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6119 case HIP_API_ID_hipGetDevicePropertiesR0600:
6120 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6123 case HIP_API_ID_hipGetErrorString:
6126 case HIP_API_ID_hipGetLastError:
6129 case HIP_API_ID_hipExtGetLastError:
6132 case HIP_API_ID_hipGetMipmappedArrayLevel:
6133 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6136 case HIP_API_ID_hipGetSymbolAddress:
6137 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6140 case HIP_API_ID_hipGetSymbolSize:
6141 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6144 case HIP_API_ID_hipGraphAddChildGraphNode:
6145 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6146 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6149 case HIP_API_ID_hipGraphAddDependencies:
6150 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6151 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6154 case HIP_API_ID_hipGraphAddEmptyNode:
6155 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6156 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6159 case HIP_API_ID_hipGraphAddEventRecordNode:
6160 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6161 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6164 case HIP_API_ID_hipGraphAddEventWaitNode:
6165 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6166 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6169 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6170 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6171 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6172 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6175 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6176 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6177 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6178 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6181 case HIP_API_ID_hipGraphAddHostNode:
6182 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6183 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6184 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6187 case HIP_API_ID_hipGraphAddKernelNode:
6188 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6189 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6190 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6193 case HIP_API_ID_hipGraphAddMemAllocNode:
6194 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6195 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6196 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6199 case HIP_API_ID_hipGraphAddMemFreeNode:
6200 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6201 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6204 case HIP_API_ID_hipGraphAddMemcpyNode:
6205 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6206 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6207 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6210 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6211 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6212 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6215 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6216 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6217 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6220 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6221 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6222 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6225 case HIP_API_ID_hipGraphAddMemsetNode:
6226 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6227 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6228 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6231 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6232 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6235 case HIP_API_ID_hipGraphClone:
6236 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6239 case HIP_API_ID_hipGraphCreate:
6240 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6243 case HIP_API_ID_hipGraphDebugDotPrint:
6244 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6247 case HIP_API_ID_hipGraphDestroy:
6250 case HIP_API_ID_hipGraphDestroyNode:
6253 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6254 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6257 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6260 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6261 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6264 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6267 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6270 case HIP_API_ID_hipGraphExecDestroy:
6273 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6276 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6279 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6280 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6283 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6284 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6287 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6288 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6291 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6292 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6295 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6296 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6299 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6302 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6305 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6308 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6309 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6312 case HIP_API_ID_hipGraphExecUpdate:
6313 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6314 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6317 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6318 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6321 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6322 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6325 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6326 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6329 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6330 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6333 case HIP_API_ID_hipGraphGetEdges:
6334 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6335 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6336 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6339 case HIP_API_ID_hipGraphGetNodes:
6340 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6341 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6344 case HIP_API_ID_hipGraphGetRootNodes:
6345 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6346 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6349 case HIP_API_ID_hipGraphHostNodeGetParams:
6350 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6353 case HIP_API_ID_hipGraphHostNodeSetParams:
6354 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6357 case HIP_API_ID_hipGraphInstantiate:
6358 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6359 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6360 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6363 case HIP_API_ID_hipGraphInstantiateWithFlags:
6364 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6367 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6370 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6371 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6374 case HIP_API_ID_hipGraphKernelNodeGetParams:
6375 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6378 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6379 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6382 case HIP_API_ID_hipGraphKernelNodeSetParams:
6383 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6386 case HIP_API_ID_hipGraphLaunch:
6389 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6390 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6393 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6396 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6397 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6400 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6401 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6404 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6407 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6410 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6413 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6414 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6417 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6418 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6421 case HIP_API_ID_hipGraphNodeFindInClone:
6422 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6425 case HIP_API_ID_hipGraphNodeGetDependencies:
6426 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6427 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6430 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6431 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6432 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6435 case HIP_API_ID_hipGraphNodeGetEnabled:
6436 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6439 case HIP_API_ID_hipGraphNodeGetType:
6440 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6443 case HIP_API_ID_hipGraphNodeSetEnabled:
6446 case HIP_API_ID_hipGraphReleaseUserObject:
6449 case HIP_API_ID_hipGraphRemoveDependencies:
6450 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6451 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6454 case HIP_API_ID_hipGraphRetainUserObject:
6457 case HIP_API_ID_hipGraphUpload:
6460 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6461 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6464 case HIP_API_ID_hipGraphicsGLRegisterImage:
6465 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6468 case HIP_API_ID_hipGraphicsMapResources:
6469 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6472 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6473 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6474 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6477 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6478 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6481 case HIP_API_ID_hipGraphicsUnmapResources:
6482 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6485 case HIP_API_ID_hipGraphicsUnregisterResource:
6488 case HIP_API_ID_hipHccModuleLaunchKernel:
6489 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6490 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6493 case HIP_API_ID_hipHostAlloc:
6494 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6497 case HIP_API_ID_hipHostFree:
6500 case HIP_API_ID_hipHostGetDevicePointer:
6501 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6504 case HIP_API_ID_hipHostGetFlags:
6505 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6508 case HIP_API_ID_hipHostMalloc:
6509 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6512 case HIP_API_ID_hipHostRegister:
6515 case HIP_API_ID_hipHostUnregister:
6518 case HIP_API_ID_hipImportExternalMemory:
6519 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6520 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6523 case HIP_API_ID_hipImportExternalSemaphore:
6524 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6525 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6528 case HIP_API_ID_hipInit:
6531 case HIP_API_ID_hipIpcCloseMemHandle:
6534 case HIP_API_ID_hipIpcGetEventHandle:
6535 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6538 case HIP_API_ID_hipIpcGetMemHandle:
6539 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6542 case HIP_API_ID_hipIpcOpenEventHandle:
6543 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6546 case HIP_API_ID_hipIpcOpenMemHandle:
6547 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6550 case HIP_API_ID_hipLaunchByPtr:
6553 case HIP_API_ID_hipLaunchCooperativeKernel:
6554 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6557 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6558 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6561 case HIP_API_ID_hipLaunchHostFunc:
6564 case HIP_API_ID_hipLaunchKernel:
6565 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6568 case HIP_API_ID_hipMalloc:
6569 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6572 case HIP_API_ID_hipMalloc3D:
6573 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6576 case HIP_API_ID_hipMalloc3DArray:
6577 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6578 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6581 case HIP_API_ID_hipMallocArray:
6582 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6583 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6586 case HIP_API_ID_hipMallocAsync:
6587 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6590 case HIP_API_ID_hipMallocFromPoolAsync:
6591 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6594 case HIP_API_ID_hipMallocHost:
6595 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6598 case HIP_API_ID_hipMallocManaged:
6599 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6602 case HIP_API_ID_hipMallocMipmappedArray:
6603 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6604 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6607 case HIP_API_ID_hipMallocPitch:
6608 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6609 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6612 case HIP_API_ID_hipMemAddressFree:
6615 case HIP_API_ID_hipMemAddressReserve:
6616 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6619 case HIP_API_ID_hipMemAdvise:
6622 case HIP_API_ID_hipMemAllocHost:
6623 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6626 case HIP_API_ID_hipMemAllocPitch:
6627 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6628 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6631 case HIP_API_ID_hipMemCreate:
6632 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6633 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6636 case HIP_API_ID_hipMemExportToShareableHandle:
6639 case HIP_API_ID_hipMemGetAccess:
6640 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6641 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6644 case HIP_API_ID_hipMemGetAddressRange:
6645 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6646 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6649 case HIP_API_ID_hipMemGetAllocationGranularity:
6650 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6651 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6654 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6655 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6658 case HIP_API_ID_hipMemGetInfo:
6659 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6660 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6663 case HIP_API_ID_hipMemImportFromShareableHandle:
6664 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6667 case HIP_API_ID_hipMemMap:
6670 case HIP_API_ID_hipMemMapArrayAsync:
6671 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6674 case HIP_API_ID_hipMemPoolCreate:
6675 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6676 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6679 case HIP_API_ID_hipMemPoolDestroy:
6682 case HIP_API_ID_hipMemPoolExportPointer:
6683 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6686 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6689 case HIP_API_ID_hipMemPoolGetAccess:
6690 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6691 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6694 case HIP_API_ID_hipMemPoolGetAttribute:
6697 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6698 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6701 case HIP_API_ID_hipMemPoolImportPointer:
6702 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6703 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6706 case HIP_API_ID_hipMemPoolSetAccess:
6707 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6710 case HIP_API_ID_hipMemPoolSetAttribute:
6713 case HIP_API_ID_hipMemPoolTrimTo:
6716 case HIP_API_ID_hipMemPrefetchAsync:
6719 case HIP_API_ID_hipMemPtrGetInfo:
6720 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6723 case HIP_API_ID_hipMemRangeGetAttribute:
6726 case HIP_API_ID_hipMemRangeGetAttributes:
6727 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6728 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6729 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6732 case HIP_API_ID_hipMemRelease:
6735 case HIP_API_ID_hipMemRetainAllocationHandle:
6736 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6739 case HIP_API_ID_hipMemSetAccess:
6740 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6743 case HIP_API_ID_hipMemUnmap:
6746 case HIP_API_ID_hipMemcpy:
6749 case HIP_API_ID_hipMemcpy2D:
6752 case HIP_API_ID_hipMemcpy2DAsync:
6755 case HIP_API_ID_hipMemcpy2DFromArray:
6758 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
6761 case HIP_API_ID_hipMemcpy2DToArray:
6764 case HIP_API_ID_hipMemcpy2DToArrayAsync:
6767 case HIP_API_ID_hipMemcpy3D:
6768 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
6771 case HIP_API_ID_hipMemcpy3DAsync:
6772 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
6775 case HIP_API_ID_hipMemcpyAsync:
6778 case HIP_API_ID_hipMemcpyAtoH:
6781 case HIP_API_ID_hipMemcpyDtoD:
6784 case HIP_API_ID_hipMemcpyDtoDAsync:
6787 case HIP_API_ID_hipMemcpyDtoH:
6790 case HIP_API_ID_hipMemcpyDtoHAsync:
6793 case HIP_API_ID_hipMemcpyFromArray:
6796 case HIP_API_ID_hipMemcpyFromSymbol:
6799 case HIP_API_ID_hipMemcpyFromSymbolAsync:
6802 case HIP_API_ID_hipMemcpyHtoA:
6805 case HIP_API_ID_hipMemcpyHtoD:
6808 case HIP_API_ID_hipMemcpyHtoDAsync:
6811 case HIP_API_ID_hipMemcpyParam2D:
6812 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
6815 case HIP_API_ID_hipMemcpyParam2DAsync:
6816 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
6819 case HIP_API_ID_hipMemcpyPeer:
6822 case HIP_API_ID_hipMemcpyPeerAsync:
6825 case HIP_API_ID_hipMemcpyToArray:
6828 case HIP_API_ID_hipMemcpyToSymbol:
6831 case HIP_API_ID_hipMemcpyToSymbolAsync:
6834 case HIP_API_ID_hipMemcpyWithStream:
6837 case HIP_API_ID_hipMemset:
6840 case HIP_API_ID_hipMemset2D:
6843 case HIP_API_ID_hipMemset2DAsync:
6846 case HIP_API_ID_hipMemset3D:
6849 case HIP_API_ID_hipMemset3DAsync:
6852 case HIP_API_ID_hipMemsetAsync:
6855 case HIP_API_ID_hipMemsetD16:
6858 case HIP_API_ID_hipMemsetD16Async:
6861 case HIP_API_ID_hipMemsetD32:
6864 case HIP_API_ID_hipMemsetD32Async:
6867 case HIP_API_ID_hipMemsetD8:
6870 case HIP_API_ID_hipMemsetD8Async:
6873 case HIP_API_ID_hipMipmappedArrayCreate:
6874 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
6875 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
6878 case HIP_API_ID_hipMipmappedArrayDestroy:
6881 case HIP_API_ID_hipMipmappedArrayGetLevel:
6882 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
6885 case HIP_API_ID_hipModuleGetFunction:
6886 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
6887 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
6890 case HIP_API_ID_hipModuleGetGlobal:
6891 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
6892 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
6893 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
6896 case HIP_API_ID_hipModuleGetTexRef:
6897 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
6898 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
6901 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
6902 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
6905 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
6906 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
6909 case HIP_API_ID_hipModuleLaunchKernel:
6910 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
6911 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
6914 case HIP_API_ID_hipModuleLoad:
6915 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
6916 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
6919 case HIP_API_ID_hipModuleLoadData:
6920 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
6923 case HIP_API_ID_hipModuleLoadDataEx:
6924 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
6925 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
6926 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
6929 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
6930 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6933 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6934 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6937 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
6938 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
6939 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
6942 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
6943 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
6944 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
6947 case HIP_API_ID_hipModuleUnload:
6950 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
6951 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6954 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6955 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6958 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
6959 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
6960 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
6963 case HIP_API_ID_hipPeekAtLastError:
6966 case HIP_API_ID_hipPointerGetAttribute:
6969 case HIP_API_ID_hipPointerGetAttributes:
6970 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
6973 case HIP_API_ID_hipPointerSetAttribute:
6976 case HIP_API_ID_hipProfilerStart:
6979 case HIP_API_ID_hipProfilerStop:
6982 case HIP_API_ID_hipRuntimeGetVersion:
6983 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
6986 case HIP_API_ID_hipSetDevice:
6989 case HIP_API_ID_hipSetDeviceFlags:
6992 case HIP_API_ID_hipSetupArgument:
6995 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
6996 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
6997 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
7000 case HIP_API_ID_hipStreamAddCallback:
7003 case HIP_API_ID_hipStreamAttachMemAsync:
7006 case HIP_API_ID_hipStreamBeginCapture:
7009 case HIP_API_ID_hipStreamCreate:
7010 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
7013 case HIP_API_ID_hipStreamCreateWithFlags:
7014 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
7017 case HIP_API_ID_hipStreamCreateWithPriority:
7018 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
7021 case HIP_API_ID_hipStreamDestroy:
7024 case HIP_API_ID_hipStreamEndCapture:
7025 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7028 case HIP_API_ID_hipStreamGetCaptureInfo:
7029 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7030 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7033 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7034 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7035 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7036 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7037 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7038 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7041 case HIP_API_ID_hipStreamGetDevice:
7042 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7045 case HIP_API_ID_hipStreamGetFlags:
7046 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7049 case HIP_API_ID_hipStreamGetPriority:
7050 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7053 case HIP_API_ID_hipStreamIsCapturing:
7054 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7057 case HIP_API_ID_hipStreamQuery:
7060 case HIP_API_ID_hipStreamSynchronize:
7063 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7064 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7067 case HIP_API_ID_hipStreamWaitEvent:
7070 case HIP_API_ID_hipStreamWaitValue32:
7073 case HIP_API_ID_hipStreamWaitValue64:
7076 case HIP_API_ID_hipStreamWriteValue32:
7079 case HIP_API_ID_hipStreamWriteValue64:
7082 case HIP_API_ID_hipTexRefGetAddress:
7083 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7084 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7087 case HIP_API_ID_hipTexRefGetFlags:
7088 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7089 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7092 case HIP_API_ID_hipTexRefGetFormat:
7093 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7094 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7095 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7098 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7099 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7100 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7103 case HIP_API_ID_hipTexRefGetMipMappedArray:
7104 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7105 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7108 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7109 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7110 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7113 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7114 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7115 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7116 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7119 case HIP_API_ID_hipTexRefSetAddress:
7120 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7121 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7124 case HIP_API_ID_hipTexRefSetAddress2D:
7125 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7126 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7129 case HIP_API_ID_hipTexRefSetArray:
7130 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7133 case HIP_API_ID_hipTexRefSetBorderColor:
7134 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7135 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7138 case HIP_API_ID_hipTexRefSetFlags:
7139 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7142 case HIP_API_ID_hipTexRefSetFormat:
7143 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7146 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7147 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7150 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7151 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7154 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7155 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7158 case HIP_API_ID_hipTexRefSetMipmappedArray:
7159 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7160 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7163 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7164 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7167 case HIP_API_ID_hipUserObjectCreate:
7168 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7171 case HIP_API_ID_hipUserObjectRelease:
7174 case HIP_API_ID_hipUserObjectRetain:
7177 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7178 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7179 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7188static inline const char* hipApiString(hip_api_id_t
id,
const hip_api_data_t* data) {
7189 std::ostringstream oss;
7191 case HIP_API_ID___hipPopCallConfiguration:
7192 oss <<
"__hipPopCallConfiguration(";
7193 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss <<
"gridDim=NULL";
7194 else { oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7195 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss <<
", blockDim=NULL";
7196 else { oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7197 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss <<
", sharedMem=NULL";
7198 else { oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7199 if (data->args.__hipPopCallConfiguration.stream == NULL) oss <<
", stream=NULL";
7200 else { oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7203 case HIP_API_ID___hipPushCallConfiguration:
7204 oss <<
"__hipPushCallConfiguration(";
7205 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7206 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7207 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7208 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7211 case HIP_API_ID_hipArray3DCreate:
7212 oss <<
"hipArray3DCreate(";
7213 if (data->args.hipArray3DCreate.array == NULL) oss <<
"array=NULL";
7214 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.array__val); }
7215 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7216 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7219 case HIP_API_ID_hipArray3DGetDescriptor:
7220 oss <<
"hipArray3DGetDescriptor(";
7221 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7222 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7223 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7226 case HIP_API_ID_hipArrayCreate:
7227 oss <<
"hipArrayCreate(";
7228 if (data->args.hipArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
7229 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pHandle__val); }
7230 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7231 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7234 case HIP_API_ID_hipArrayDestroy:
7235 oss <<
"hipArrayDestroy(";
7236 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7239 case HIP_API_ID_hipArrayGetDescriptor:
7240 oss <<
"hipArrayGetDescriptor(";
7241 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7242 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7243 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7246 case HIP_API_ID_hipArrayGetInfo:
7247 oss <<
"hipArrayGetInfo(";
7248 if (data->args.hipArrayGetInfo.desc == NULL) oss <<
"desc=NULL";
7249 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7250 if (data->args.hipArrayGetInfo.extent == NULL) oss <<
", extent=NULL";
7251 else { oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7252 if (data->args.hipArrayGetInfo.flags == NULL) oss <<
", flags=NULL";
7253 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7254 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7257 case HIP_API_ID_hipChooseDeviceR0000:
7258 oss <<
"hipChooseDeviceR0000(";
7259 if (data->args.hipChooseDeviceR0000.device == NULL) oss <<
"device=NULL";
7260 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7261 if (data->args.hipChooseDeviceR0000.prop == NULL) oss <<
", prop=NULL";
7262 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7265 case HIP_API_ID_hipChooseDeviceR0600:
7266 oss <<
"hipChooseDeviceR0600(";
7267 if (data->args.hipChooseDeviceR0600.device == NULL) oss <<
"device=NULL";
7268 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7269 if (data->args.hipChooseDeviceR0600.prop == NULL) oss <<
", prop=NULL";
7270 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7273 case HIP_API_ID_hipConfigureCall:
7274 oss <<
"hipConfigureCall(";
7275 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7276 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7277 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7278 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7281 case HIP_API_ID_hipCreateSurfaceObject:
7282 oss <<
"hipCreateSurfaceObject(";
7283 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss <<
"pSurfObject=NULL";
7284 else { oss <<
"pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7285 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss <<
", pResDesc=NULL";
7286 else { oss <<
", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7289 case HIP_API_ID_hipCtxCreate:
7290 oss <<
"hipCtxCreate(";
7291 if (data->args.hipCtxCreate.ctx == NULL) oss <<
"ctx=NULL";
7292 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7293 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7294 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7297 case HIP_API_ID_hipCtxDestroy:
7298 oss <<
"hipCtxDestroy(";
7299 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7302 case HIP_API_ID_hipCtxDisablePeerAccess:
7303 oss <<
"hipCtxDisablePeerAccess(";
7304 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7307 case HIP_API_ID_hipCtxEnablePeerAccess:
7308 oss <<
"hipCtxEnablePeerAccess(";
7309 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7310 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7313 case HIP_API_ID_hipCtxGetApiVersion:
7314 oss <<
"hipCtxGetApiVersion(";
7315 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7316 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss <<
", apiVersion=NULL";
7317 else { oss <<
", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7320 case HIP_API_ID_hipCtxGetCacheConfig:
7321 oss <<
"hipCtxGetCacheConfig(";
7322 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7323 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7326 case HIP_API_ID_hipCtxGetCurrent:
7327 oss <<
"hipCtxGetCurrent(";
7328 if (data->args.hipCtxGetCurrent.ctx == NULL) oss <<
"ctx=NULL";
7329 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7332 case HIP_API_ID_hipCtxGetDevice:
7333 oss <<
"hipCtxGetDevice(";
7334 if (data->args.hipCtxGetDevice.device == NULL) oss <<
"device=NULL";
7335 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7338 case HIP_API_ID_hipCtxGetFlags:
7339 oss <<
"hipCtxGetFlags(";
7340 if (data->args.hipCtxGetFlags.flags == NULL) oss <<
"flags=NULL";
7341 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7344 case HIP_API_ID_hipCtxGetSharedMemConfig:
7345 oss <<
"hipCtxGetSharedMemConfig(";
7346 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7347 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7350 case HIP_API_ID_hipCtxPopCurrent:
7351 oss <<
"hipCtxPopCurrent(";
7352 if (data->args.hipCtxPopCurrent.ctx == NULL) oss <<
"ctx=NULL";
7353 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7356 case HIP_API_ID_hipCtxPushCurrent:
7357 oss <<
"hipCtxPushCurrent(";
7358 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7361 case HIP_API_ID_hipCtxSetCacheConfig:
7362 oss <<
"hipCtxSetCacheConfig(";
7363 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7366 case HIP_API_ID_hipCtxSetCurrent:
7367 oss <<
"hipCtxSetCurrent(";
7368 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7371 case HIP_API_ID_hipCtxSetSharedMemConfig:
7372 oss <<
"hipCtxSetSharedMemConfig(";
7373 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7376 case HIP_API_ID_hipCtxSynchronize:
7377 oss <<
"hipCtxSynchronize(";
7380 case HIP_API_ID_hipDestroyExternalMemory:
7381 oss <<
"hipDestroyExternalMemory(";
7382 oss <<
"extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7385 case HIP_API_ID_hipDestroyExternalSemaphore:
7386 oss <<
"hipDestroyExternalSemaphore(";
7387 oss <<
"extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7390 case HIP_API_ID_hipDestroySurfaceObject:
7391 oss <<
"hipDestroySurfaceObject(";
7392 oss <<
"surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7395 case HIP_API_ID_hipDeviceCanAccessPeer:
7396 oss <<
"hipDeviceCanAccessPeer(";
7397 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss <<
"canAccessPeer=NULL";
7398 else { oss <<
"canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7399 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7400 oss <<
", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7403 case HIP_API_ID_hipDeviceComputeCapability:
7404 oss <<
"hipDeviceComputeCapability(";
7405 if (data->args.hipDeviceComputeCapability.major == NULL) oss <<
"major=NULL";
7406 else { oss <<
"major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7407 if (data->args.hipDeviceComputeCapability.minor == NULL) oss <<
", minor=NULL";
7408 else { oss <<
", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7409 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7412 case HIP_API_ID_hipDeviceDisablePeerAccess:
7413 oss <<
"hipDeviceDisablePeerAccess(";
7414 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7417 case HIP_API_ID_hipDeviceEnablePeerAccess:
7418 oss <<
"hipDeviceEnablePeerAccess(";
7419 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7420 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7423 case HIP_API_ID_hipDeviceGet:
7424 oss <<
"hipDeviceGet(";
7425 if (data->args.hipDeviceGet.device == NULL) oss <<
"device=NULL";
7426 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7427 oss <<
", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7430 case HIP_API_ID_hipDeviceGetAttribute:
7431 oss <<
"hipDeviceGetAttribute(";
7432 if (data->args.hipDeviceGetAttribute.pi == NULL) oss <<
"pi=NULL";
7433 else { oss <<
"pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7434 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7435 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7438 case HIP_API_ID_hipDeviceGetByPCIBusId:
7439 oss <<
"hipDeviceGetByPCIBusId(";
7440 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss <<
"device=NULL";
7441 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7442 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss <<
", pciBusId=NULL";
7443 else { oss <<
", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7446 case HIP_API_ID_hipDeviceGetCacheConfig:
7447 oss <<
"hipDeviceGetCacheConfig(";
7448 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7449 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7452 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7453 oss <<
"hipDeviceGetDefaultMemPool(";
7454 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7455 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7456 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7459 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7460 oss <<
"hipDeviceGetGraphMemAttribute(";
7461 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7462 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7463 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7466 case HIP_API_ID_hipDeviceGetLimit:
7467 oss <<
"hipDeviceGetLimit(";
7468 if (data->args.hipDeviceGetLimit.pValue == NULL) oss <<
"pValue=NULL";
7469 else { oss <<
"pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7470 oss <<
", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7473 case HIP_API_ID_hipDeviceGetMemPool:
7474 oss <<
"hipDeviceGetMemPool(";
7475 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7476 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7477 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7480 case HIP_API_ID_hipDeviceGetName:
7481 oss <<
"hipDeviceGetName(";
7482 if (data->args.hipDeviceGetName.name == NULL) oss <<
"name=NULL";
7483 else { oss <<
"name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7484 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7485 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7488 case HIP_API_ID_hipDeviceGetP2PAttribute:
7489 oss <<
"hipDeviceGetP2PAttribute(";
7490 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss <<
"value=NULL";
7491 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7492 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7493 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7494 oss <<
", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7497 case HIP_API_ID_hipDeviceGetPCIBusId:
7498 oss <<
"hipDeviceGetPCIBusId(";
7499 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss <<
"pciBusId=NULL";
7500 else { oss <<
"pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7501 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7502 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7505 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7506 oss <<
"hipDeviceGetSharedMemConfig(";
7507 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7508 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7511 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7512 oss <<
"hipDeviceGetStreamPriorityRange(";
7513 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss <<
"leastPriority=NULL";
7514 else { oss <<
"leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7515 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss <<
", greatestPriority=NULL";
7516 else { oss <<
", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7519 case HIP_API_ID_hipDeviceGetUuid:
7520 oss <<
"hipDeviceGetUuid(";
7521 if (data->args.hipDeviceGetUuid.uuid == NULL) oss <<
"uuid=NULL";
7522 else { oss <<
"uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7523 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7526 case HIP_API_ID_hipDeviceGraphMemTrim:
7527 oss <<
"hipDeviceGraphMemTrim(";
7528 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7531 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7532 oss <<
"hipDevicePrimaryCtxGetState(";
7533 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7534 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss <<
", flags=NULL";
7535 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7536 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss <<
", active=NULL";
7537 else { oss <<
", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7540 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7541 oss <<
"hipDevicePrimaryCtxRelease(";
7542 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7545 case HIP_API_ID_hipDevicePrimaryCtxReset:
7546 oss <<
"hipDevicePrimaryCtxReset(";
7547 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7550 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7551 oss <<
"hipDevicePrimaryCtxRetain(";
7552 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss <<
"pctx=NULL";
7553 else { oss <<
"pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7554 oss <<
", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7557 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7558 oss <<
"hipDevicePrimaryCtxSetFlags(";
7559 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7560 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7563 case HIP_API_ID_hipDeviceReset:
7564 oss <<
"hipDeviceReset(";
7567 case HIP_API_ID_hipDeviceSetCacheConfig:
7568 oss <<
"hipDeviceSetCacheConfig(";
7569 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7572 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7573 oss <<
"hipDeviceSetGraphMemAttribute(";
7574 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7575 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7576 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7579 case HIP_API_ID_hipDeviceSetLimit:
7580 oss <<
"hipDeviceSetLimit(";
7581 oss <<
"limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7582 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7585 case HIP_API_ID_hipDeviceSetMemPool:
7586 oss <<
"hipDeviceSetMemPool(";
7587 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7588 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7591 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7592 oss <<
"hipDeviceSetSharedMemConfig(";
7593 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7596 case HIP_API_ID_hipDeviceSynchronize:
7597 oss <<
"hipDeviceSynchronize(";
7600 case HIP_API_ID_hipDeviceTotalMem:
7601 oss <<
"hipDeviceTotalMem(";
7602 if (data->args.hipDeviceTotalMem.bytes == NULL) oss <<
"bytes=NULL";
7603 else { oss <<
"bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7604 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7607 case HIP_API_ID_hipDriverGetVersion:
7608 oss <<
"hipDriverGetVersion(";
7609 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss <<
"driverVersion=NULL";
7610 else { oss <<
"driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7613 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
7614 oss <<
"hipDrvGraphAddMemcpyNode(";
7615 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
7616 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
7617 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
7618 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss <<
", dependencies=NULL";
7619 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
7620 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
7621 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss <<
", copyParams=NULL";
7622 else { oss <<
", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
7623 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
7626 case HIP_API_ID_hipDrvGraphAddMemsetNode:
7627 oss <<
"hipDrvGraphAddMemsetNode(";
7628 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
7629 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.phGraphNode__val); }
7630 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.hGraph);
7631 if (data->args.hipDrvGraphAddMemsetNode.dependencies == NULL) oss <<
", dependencies=NULL";
7632 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.dependencies__val); }
7633 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.numDependencies);
7634 if (data->args.hipDrvGraphAddMemsetNode.memsetParams == NULL) oss <<
", memsetParams=NULL";
7635 else { oss <<
", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.memsetParams__val); }
7636 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
7639 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
7640 oss <<
"hipDrvGraphMemcpyNodeGetParams(";
7641 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
7642 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
7643 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
7646 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
7647 oss <<
"hipDrvGraphMemcpyNodeSetParams(";
7648 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
7649 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
7650 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
7653 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7654 oss <<
"hipDrvMemcpy2DUnaligned(";
7655 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss <<
"pCopy=NULL";
7656 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7659 case HIP_API_ID_hipDrvMemcpy3D:
7660 oss <<
"hipDrvMemcpy3D(";
7661 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss <<
"pCopy=NULL";
7662 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7665 case HIP_API_ID_hipDrvMemcpy3DAsync:
7666 oss <<
"hipDrvMemcpy3DAsync(";
7667 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
7668 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7669 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7672 case HIP_API_ID_hipDrvPointerGetAttributes:
7673 oss <<
"hipDrvPointerGetAttributes(";
7674 oss <<
"numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7675 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
7676 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7677 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss <<
", data=NULL";
7678 else { oss <<
", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7679 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7682 case HIP_API_ID_hipEventCreate:
7683 oss <<
"hipEventCreate(";
7684 if (data->args.hipEventCreate.event == NULL) oss <<
"event=NULL";
7685 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7688 case HIP_API_ID_hipEventCreateWithFlags:
7689 oss <<
"hipEventCreateWithFlags(";
7690 if (data->args.hipEventCreateWithFlags.event == NULL) oss <<
"event=NULL";
7691 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7692 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7695 case HIP_API_ID_hipEventDestroy:
7696 oss <<
"hipEventDestroy(";
7697 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7700 case HIP_API_ID_hipEventElapsedTime:
7701 oss <<
"hipEventElapsedTime(";
7702 if (data->args.hipEventElapsedTime.ms == NULL) oss <<
"ms=NULL";
7703 else { oss <<
"ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7704 oss <<
", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7705 oss <<
", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7708 case HIP_API_ID_hipEventQuery:
7709 oss <<
"hipEventQuery(";
7710 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7713 case HIP_API_ID_hipEventRecord:
7714 oss <<
"hipEventRecord(";
7715 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7716 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7719 case HIP_API_ID_hipEventSynchronize:
7720 oss <<
"hipEventSynchronize(";
7721 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7724 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7725 oss <<
"hipExtGetLinkTypeAndHopCount(";
7726 oss <<
"device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
7727 oss <<
", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
7728 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss <<
", linktype=NULL";
7729 else { oss <<
", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
7730 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss <<
", hopcount=NULL";
7731 else { oss <<
", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
7734 case HIP_API_ID_hipExtLaunchKernel:
7735 oss <<
"hipExtLaunchKernel(";
7736 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
7737 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
7738 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
7739 if (data->args.hipExtLaunchKernel.args == NULL) oss <<
", args=NULL";
7740 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
7741 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
7742 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
7743 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
7744 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
7745 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
7748 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
7749 oss <<
"hipExtLaunchMultiKernelMultiDevice(";
7750 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
7751 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
7752 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
7753 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
7756 case HIP_API_ID_hipExtMallocWithFlags:
7757 oss <<
"hipExtMallocWithFlags(";
7758 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss <<
"ptr=NULL";
7759 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
7760 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
7761 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
7764 case HIP_API_ID_hipExtModuleLaunchKernel:
7765 oss <<
"hipExtModuleLaunchKernel(";
7766 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
7767 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
7768 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
7769 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
7770 oss <<
", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
7771 oss <<
", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
7772 oss <<
", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
7773 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
7774 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
7775 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
7776 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
7777 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
7778 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
7779 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
7780 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
7781 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
7784 case HIP_API_ID_hipExtStreamCreateWithCUMask:
7785 oss <<
"hipExtStreamCreateWithCUMask(";
7786 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss <<
"stream=NULL";
7787 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
7788 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
7789 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
7790 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
7793 case HIP_API_ID_hipExtStreamGetCUMask:
7794 oss <<
"hipExtStreamGetCUMask(";
7795 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
7796 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
7797 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
7798 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
7801 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
7802 oss <<
"hipExternalMemoryGetMappedBuffer(";
7803 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss <<
"devPtr=NULL";
7804 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
7805 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
7806 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss <<
", bufferDesc=NULL";
7807 else { oss <<
", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
7810 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
7811 oss <<
"hipExternalMemoryGetMappedMipmappedArray(";
7812 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss <<
"mipmap=NULL";
7813 else { oss <<
"mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
7814 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
7815 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss <<
", mipmapDesc=NULL";
7816 else { oss <<
", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
7819 case HIP_API_ID_hipFree:
7821 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
7824 case HIP_API_ID_hipFreeArray:
7825 oss <<
"hipFreeArray(";
7826 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
7829 case HIP_API_ID_hipFreeAsync:
7830 oss <<
"hipFreeAsync(";
7831 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
7832 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
7835 case HIP_API_ID_hipFreeHost:
7836 oss <<
"hipFreeHost(";
7837 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
7840 case HIP_API_ID_hipFreeMipmappedArray:
7841 oss <<
"hipFreeMipmappedArray(";
7842 oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
7845 case HIP_API_ID_hipFuncGetAttribute:
7846 oss <<
"hipFuncGetAttribute(";
7847 if (data->args.hipFuncGetAttribute.value == NULL) oss <<
"value=NULL";
7848 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
7849 oss <<
", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
7850 oss <<
", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
7853 case HIP_API_ID_hipFuncGetAttributes:
7854 oss <<
"hipFuncGetAttributes(";
7855 if (data->args.hipFuncGetAttributes.attr == NULL) oss <<
"attr=NULL";
7856 else { oss <<
"attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
7857 oss <<
", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
7860 case HIP_API_ID_hipFuncSetAttribute:
7861 oss <<
"hipFuncSetAttribute(";
7862 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
7863 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
7864 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
7867 case HIP_API_ID_hipFuncSetCacheConfig:
7868 oss <<
"hipFuncSetCacheConfig(";
7869 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
7870 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
7873 case HIP_API_ID_hipFuncSetSharedMemConfig:
7874 oss <<
"hipFuncSetSharedMemConfig(";
7875 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
7876 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
7879 case HIP_API_ID_hipGLGetDevices:
7880 oss <<
"hipGLGetDevices(";
7881 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss <<
"pHipDeviceCount=NULL";
7882 else { oss <<
"pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
7883 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss <<
", pHipDevices=NULL";
7884 else { oss <<
", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
7885 oss <<
", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
7886 oss <<
", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
7889 case HIP_API_ID_hipGetChannelDesc:
7890 oss <<
"hipGetChannelDesc(";
7891 if (data->args.hipGetChannelDesc.desc == NULL) oss <<
"desc=NULL";
7892 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
7893 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
7896 case HIP_API_ID_hipGetDevice:
7897 oss <<
"hipGetDevice(";
7898 if (data->args.hipGetDevice.deviceId == NULL) oss <<
"deviceId=NULL";
7899 else { oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
7902 case HIP_API_ID_hipGetDeviceCount:
7903 oss <<
"hipGetDeviceCount(";
7904 if (data->args.hipGetDeviceCount.count == NULL) oss <<
"count=NULL";
7905 else { oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
7908 case HIP_API_ID_hipGetDeviceFlags:
7909 oss <<
"hipGetDeviceFlags(";
7910 if (data->args.hipGetDeviceFlags.flags == NULL) oss <<
"flags=NULL";
7911 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
7914 case HIP_API_ID_hipGetDevicePropertiesR0000:
7915 oss <<
"hipGetDevicePropertiesR0000(";
7916 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss <<
"prop=NULL";
7917 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
7918 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
7921 case HIP_API_ID_hipGetDevicePropertiesR0600:
7922 oss <<
"hipGetDevicePropertiesR0600(";
7923 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss <<
"prop=NULL";
7924 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
7925 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
7928 case HIP_API_ID_hipGetErrorString:
7929 oss <<
"hipGetErrorString(";
7932 case HIP_API_ID_hipGetLastError:
7933 oss <<
"hipGetLastError(";
7936 case HIP_API_ID_hipExtGetLastError:
7937 oss <<
"hipExtGetLastError(";
7940 case HIP_API_ID_hipGetMipmappedArrayLevel:
7941 oss <<
"hipGetMipmappedArrayLevel(";
7942 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss <<
"levelArray=NULL";
7943 else { oss <<
"levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
7944 oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
7945 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
7948 case HIP_API_ID_hipGetSymbolAddress:
7949 oss <<
"hipGetSymbolAddress(";
7950 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss <<
"devPtr=NULL";
7951 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
7952 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
7955 case HIP_API_ID_hipGetSymbolSize:
7956 oss <<
"hipGetSymbolSize(";
7957 if (data->args.hipGetSymbolSize.size == NULL) oss <<
"size=NULL";
7958 else { oss <<
"size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
7959 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
7962 case HIP_API_ID_hipGraphAddChildGraphNode:
7963 oss <<
"hipGraphAddChildGraphNode(";
7964 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7965 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
7966 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
7967 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7968 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
7969 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
7970 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
7973 case HIP_API_ID_hipGraphAddDependencies:
7974 oss <<
"hipGraphAddDependencies(";
7975 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
7976 if (data->args.hipGraphAddDependencies.from == NULL) oss <<
", from=NULL";
7977 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
7978 if (data->args.hipGraphAddDependencies.to == NULL) oss <<
", to=NULL";
7979 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
7980 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
7983 case HIP_API_ID_hipGraphAddEmptyNode:
7984 oss <<
"hipGraphAddEmptyNode(";
7985 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7986 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
7987 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
7988 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7989 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
7990 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
7993 case HIP_API_ID_hipGraphAddEventRecordNode:
7994 oss <<
"hipGraphAddEventRecordNode(";
7995 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7996 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
7997 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
7998 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7999 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
8000 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
8001 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
8004 case HIP_API_ID_hipGraphAddEventWaitNode:
8005 oss <<
"hipGraphAddEventWaitNode(";
8006 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8007 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
8008 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
8009 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8010 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
8011 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
8012 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
8015 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
8016 oss <<
"hipGraphAddExternalSemaphoresSignalNode(";
8017 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8018 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
8019 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
8020 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8021 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
8022 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
8023 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8024 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
8027 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
8028 oss <<
"hipGraphAddExternalSemaphoresWaitNode(";
8029 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8030 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
8031 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
8032 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8033 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
8034 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8035 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8036 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8039 case HIP_API_ID_hipGraphAddHostNode:
8040 oss <<
"hipGraphAddHostNode(";
8041 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8042 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8043 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8044 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8045 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8046 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8047 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8048 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8051 case HIP_API_ID_hipGraphAddKernelNode:
8052 oss <<
"hipGraphAddKernelNode(";
8053 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8054 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8055 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8056 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8057 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8058 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8059 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8060 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8063 case HIP_API_ID_hipGraphAddMemAllocNode:
8064 oss <<
"hipGraphAddMemAllocNode(";
8065 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8066 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8067 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8068 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8069 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8070 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8071 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8072 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8075 case HIP_API_ID_hipGraphAddMemFreeNode:
8076 oss <<
"hipGraphAddMemFreeNode(";
8077 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8078 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8079 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8080 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8081 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8082 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8083 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8086 case HIP_API_ID_hipGraphAddMemcpyNode:
8087 oss <<
"hipGraphAddMemcpyNode(";
8088 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8089 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8090 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8091 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8092 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8093 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8094 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss <<
", pCopyParams=NULL";
8095 else { oss <<
", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8098 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8099 oss <<
"hipGraphAddMemcpyNode1D(";
8100 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8101 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8102 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8103 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss <<
", pDependencies=NULL";
8104 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8105 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8106 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8107 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8108 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8109 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8112 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8113 oss <<
"hipGraphAddMemcpyNodeFromSymbol(";
8114 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8115 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8116 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8117 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8118 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8119 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8120 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8121 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8122 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8123 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8124 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8127 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8128 oss <<
"hipGraphAddMemcpyNodeToSymbol(";
8129 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8130 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8131 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8132 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8133 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8134 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8135 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8136 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8137 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8138 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8139 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8142 case HIP_API_ID_hipGraphAddMemsetNode:
8143 oss <<
"hipGraphAddMemsetNode(";
8144 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8145 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8146 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8147 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8148 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8149 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8150 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss <<
", pMemsetParams=NULL";
8151 else { oss <<
", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8154 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8155 oss <<
"hipGraphChildGraphNodeGetGraph(";
8156 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8157 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss <<
", pGraph=NULL";
8158 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8161 case HIP_API_ID_hipGraphClone:
8162 oss <<
"hipGraphClone(";
8163 if (data->args.hipGraphClone.pGraphClone == NULL) oss <<
"pGraphClone=NULL";
8164 else { oss <<
"pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8165 oss <<
", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8168 case HIP_API_ID_hipGraphCreate:
8169 oss <<
"hipGraphCreate(";
8170 if (data->args.hipGraphCreate.pGraph == NULL) oss <<
"pGraph=NULL";
8171 else { oss <<
"pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8172 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8175 case HIP_API_ID_hipGraphDebugDotPrint:
8176 oss <<
"hipGraphDebugDotPrint(";
8177 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8178 if (data->args.hipGraphDebugDotPrint.path == NULL) oss <<
", path=NULL";
8179 else { oss <<
", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8180 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8183 case HIP_API_ID_hipGraphDestroy:
8184 oss <<
"hipGraphDestroy(";
8185 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8188 case HIP_API_ID_hipGraphDestroyNode:
8189 oss <<
"hipGraphDestroyNode(";
8190 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8193 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8194 oss <<
"hipGraphEventRecordNodeGetEvent(";
8195 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8196 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8197 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8200 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8201 oss <<
"hipGraphEventRecordNodeSetEvent(";
8202 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8203 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8206 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8207 oss <<
"hipGraphEventWaitNodeGetEvent(";
8208 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8209 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8210 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8213 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8214 oss <<
"hipGraphEventWaitNodeSetEvent(";
8215 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8216 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8219 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8220 oss <<
"hipGraphExecChildGraphNodeSetParams(";
8221 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8222 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8223 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8226 case HIP_API_ID_hipGraphExecDestroy:
8227 oss <<
"hipGraphExecDestroy(";
8228 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8231 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8232 oss <<
"hipGraphExecEventRecordNodeSetEvent(";
8233 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8234 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8235 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8238 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8239 oss <<
"hipGraphExecEventWaitNodeSetEvent(";
8240 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8241 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8242 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8245 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8246 oss <<
"hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8247 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8248 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8249 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8250 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8253 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8254 oss <<
"hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8255 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8256 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8257 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8258 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8261 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8262 oss <<
"hipGraphExecHostNodeSetParams(";
8263 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8264 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8265 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8266 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8269 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8270 oss <<
"hipGraphExecKernelNodeSetParams(";
8271 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8272 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8273 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8274 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8277 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8278 oss <<
"hipGraphExecMemcpyNodeSetParams(";
8279 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8280 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8281 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8282 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8285 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8286 oss <<
"hipGraphExecMemcpyNodeSetParams1D(";
8287 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8288 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8289 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8290 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8291 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8292 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8295 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8296 oss <<
"hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8297 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8298 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8299 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8300 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8301 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8302 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8303 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8306 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8307 oss <<
"hipGraphExecMemcpyNodeSetParamsToSymbol(";
8308 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8309 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8310 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8311 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8312 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8313 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8314 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8317 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8318 oss <<
"hipGraphExecMemsetNodeSetParams(";
8319 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8320 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8321 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8322 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8325 case HIP_API_ID_hipGraphExecUpdate:
8326 oss <<
"hipGraphExecUpdate(";
8327 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8328 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8329 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss <<
", hErrorNode_out=NULL";
8330 else { oss <<
", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8331 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss <<
", updateResult_out=NULL";
8332 else { oss <<
", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8335 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8336 oss <<
"hipGraphExternalSemaphoresSignalNodeGetParams(";
8337 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8338 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8339 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8342 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8343 oss <<
"hipGraphExternalSemaphoresSignalNodeSetParams(";
8344 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8345 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8346 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8349 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8350 oss <<
"hipGraphExternalSemaphoresWaitNodeGetParams(";
8351 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8352 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8353 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8356 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8357 oss <<
"hipGraphExternalSemaphoresWaitNodeSetParams(";
8358 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8359 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8360 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8363 case HIP_API_ID_hipGraphGetEdges:
8364 oss <<
"hipGraphGetEdges(";
8365 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8366 if (data->args.hipGraphGetEdges.from == NULL) oss <<
", from=NULL";
8367 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8368 if (data->args.hipGraphGetEdges.to == NULL) oss <<
", to=NULL";
8369 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8370 if (data->args.hipGraphGetEdges.numEdges == NULL) oss <<
", numEdges=NULL";
8371 else { oss <<
", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8374 case HIP_API_ID_hipGraphGetNodes:
8375 oss <<
"hipGraphGetNodes(";
8376 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8377 if (data->args.hipGraphGetNodes.nodes == NULL) oss <<
", nodes=NULL";
8378 else { oss <<
", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8379 if (data->args.hipGraphGetNodes.numNodes == NULL) oss <<
", numNodes=NULL";
8380 else { oss <<
", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8383 case HIP_API_ID_hipGraphGetRootNodes:
8384 oss <<
"hipGraphGetRootNodes(";
8385 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8386 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss <<
", pRootNodes=NULL";
8387 else { oss <<
", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8388 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss <<
", pNumRootNodes=NULL";
8389 else { oss <<
", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8392 case HIP_API_ID_hipGraphHostNodeGetParams:
8393 oss <<
"hipGraphHostNodeGetParams(";
8394 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8395 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8396 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8399 case HIP_API_ID_hipGraphHostNodeSetParams:
8400 oss <<
"hipGraphHostNodeSetParams(";
8401 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8402 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8403 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8406 case HIP_API_ID_hipGraphInstantiate:
8407 oss <<
"hipGraphInstantiate(";
8408 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8409 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8410 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8411 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss <<
", pErrorNode=NULL";
8412 else { oss <<
", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8413 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss <<
", pLogBuffer=NULL";
8414 else { oss <<
", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8415 oss <<
", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8418 case HIP_API_ID_hipGraphInstantiateWithFlags:
8419 oss <<
"hipGraphInstantiateWithFlags(";
8420 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8421 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8422 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8423 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8426 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8427 oss <<
"hipGraphKernelNodeCopyAttributes(";
8428 oss <<
"hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8429 oss <<
", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8432 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8433 oss <<
"hipGraphKernelNodeGetAttribute(";
8434 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8435 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8436 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss <<
", value=NULL";
8437 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8440 case HIP_API_ID_hipGraphKernelNodeGetParams:
8441 oss <<
"hipGraphKernelNodeGetParams(";
8442 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8443 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8444 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8447 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8448 oss <<
"hipGraphKernelNodeSetAttribute(";
8449 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8450 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8451 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss <<
", value=NULL";
8452 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8455 case HIP_API_ID_hipGraphKernelNodeSetParams:
8456 oss <<
"hipGraphKernelNodeSetParams(";
8457 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8458 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8459 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8462 case HIP_API_ID_hipGraphLaunch:
8463 oss <<
"hipGraphLaunch(";
8464 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8465 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8468 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8469 oss <<
"hipGraphMemAllocNodeGetParams(";
8470 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8471 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8472 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8475 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8476 oss <<
"hipGraphMemFreeNodeGetParams(";
8477 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8478 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8481 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8482 oss <<
"hipGraphMemcpyNodeGetParams(";
8483 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8484 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8485 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8488 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8489 oss <<
"hipGraphMemcpyNodeSetParams(";
8490 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8491 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8492 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8495 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8496 oss <<
"hipGraphMemcpyNodeSetParams1D(";
8497 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8498 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8499 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8500 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8501 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8504 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8505 oss <<
"hipGraphMemcpyNodeSetParamsFromSymbol(";
8506 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8507 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8508 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8509 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8510 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8511 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8514 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8515 oss <<
"hipGraphMemcpyNodeSetParamsToSymbol(";
8516 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8517 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8518 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8519 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8520 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8521 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8524 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8525 oss <<
"hipGraphMemsetNodeGetParams(";
8526 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8527 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8528 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8531 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8532 oss <<
"hipGraphMemsetNodeSetParams(";
8533 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8534 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8535 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8538 case HIP_API_ID_hipGraphNodeFindInClone:
8539 oss <<
"hipGraphNodeFindInClone(";
8540 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss <<
"pNode=NULL";
8541 else { oss <<
"pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8542 oss <<
", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8543 oss <<
", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8546 case HIP_API_ID_hipGraphNodeGetDependencies:
8547 oss <<
"hipGraphNodeGetDependencies(";
8548 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8549 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss <<
", pDependencies=NULL";
8550 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8551 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss <<
", pNumDependencies=NULL";
8552 else { oss <<
", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8555 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8556 oss <<
"hipGraphNodeGetDependentNodes(";
8557 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8558 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss <<
", pDependentNodes=NULL";
8559 else { oss <<
", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8560 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss <<
", pNumDependentNodes=NULL";
8561 else { oss <<
", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8564 case HIP_API_ID_hipGraphNodeGetEnabled:
8565 oss <<
"hipGraphNodeGetEnabled(";
8566 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8567 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8568 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss <<
", isEnabled=NULL";
8569 else { oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8572 case HIP_API_ID_hipGraphNodeGetType:
8573 oss <<
"hipGraphNodeGetType(";
8574 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8575 if (data->args.hipGraphNodeGetType.pType == NULL) oss <<
", pType=NULL";
8576 else { oss <<
", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8579 case HIP_API_ID_hipGraphNodeSetEnabled:
8580 oss <<
"hipGraphNodeSetEnabled(";
8581 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8582 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8583 oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8586 case HIP_API_ID_hipGraphReleaseUserObject:
8587 oss <<
"hipGraphReleaseUserObject(";
8588 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8589 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8590 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8593 case HIP_API_ID_hipGraphRemoveDependencies:
8594 oss <<
"hipGraphRemoveDependencies(";
8595 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8596 if (data->args.hipGraphRemoveDependencies.from == NULL) oss <<
", from=NULL";
8597 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8598 if (data->args.hipGraphRemoveDependencies.to == NULL) oss <<
", to=NULL";
8599 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8600 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8603 case HIP_API_ID_hipGraphRetainUserObject:
8604 oss <<
"hipGraphRetainUserObject(";
8605 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8606 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8607 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8608 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8611 case HIP_API_ID_hipGraphUpload:
8612 oss <<
"hipGraphUpload(";
8613 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8614 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8617 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8618 oss <<
"hipGraphicsGLRegisterBuffer(";
8619 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss <<
"resource=NULL";
8620 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8621 oss <<
", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8622 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8625 case HIP_API_ID_hipGraphicsGLRegisterImage:
8626 oss <<
"hipGraphicsGLRegisterImage(";
8627 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss <<
"resource=NULL";
8628 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8629 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8630 oss <<
", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8631 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8634 case HIP_API_ID_hipGraphicsMapResources:
8635 oss <<
"hipGraphicsMapResources(";
8636 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8637 if (data->args.hipGraphicsMapResources.resources == NULL) oss <<
", resources=NULL";
8638 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8639 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8642 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8643 oss <<
"hipGraphicsResourceGetMappedPointer(";
8644 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss <<
"devPtr=NULL";
8645 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8646 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss <<
", size=NULL";
8647 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8648 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8651 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8652 oss <<
"hipGraphicsSubResourceGetMappedArray(";
8653 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss <<
"array=NULL";
8654 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8655 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8656 oss <<
", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8657 oss <<
", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8660 case HIP_API_ID_hipGraphicsUnmapResources:
8661 oss <<
"hipGraphicsUnmapResources(";
8662 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8663 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss <<
", resources=NULL";
8664 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8665 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8668 case HIP_API_ID_hipGraphicsUnregisterResource:
8669 oss <<
"hipGraphicsUnregisterResource(";
8670 oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8673 case HIP_API_ID_hipHccModuleLaunchKernel:
8674 oss <<
"hipHccModuleLaunchKernel(";
8675 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8676 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8677 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8678 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8679 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8680 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8681 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8682 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8683 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8684 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8685 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8686 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
8687 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8688 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8689 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
8692 case HIP_API_ID_hipHostAlloc:
8693 oss <<
"hipHostAlloc(";
8694 if (data->args.hipHostAlloc.ptr == NULL) oss <<
"ptr=NULL";
8695 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
8696 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
8697 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
8700 case HIP_API_ID_hipHostFree:
8701 oss <<
"hipHostFree(";
8702 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
8705 case HIP_API_ID_hipHostGetDevicePointer:
8706 oss <<
"hipHostGetDevicePointer(";
8707 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss <<
"devPtr=NULL";
8708 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
8709 oss <<
", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
8710 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
8713 case HIP_API_ID_hipHostGetFlags:
8714 oss <<
"hipHostGetFlags(";
8715 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss <<
"flagsPtr=NULL";
8716 else { oss <<
"flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
8717 oss <<
", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
8720 case HIP_API_ID_hipHostMalloc:
8721 oss <<
"hipHostMalloc(";
8722 if (data->args.hipHostMalloc.ptr == NULL) oss <<
"ptr=NULL";
8723 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
8724 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
8725 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
8728 case HIP_API_ID_hipHostRegister:
8729 oss <<
"hipHostRegister(";
8730 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
8731 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
8732 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
8735 case HIP_API_ID_hipHostUnregister:
8736 oss <<
"hipHostUnregister(";
8737 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
8740 case HIP_API_ID_hipImportExternalMemory:
8741 oss <<
"hipImportExternalMemory(";
8742 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss <<
"extMem_out=NULL";
8743 else { oss <<
"extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
8744 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss <<
", memHandleDesc=NULL";
8745 else { oss <<
", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
8748 case HIP_API_ID_hipImportExternalSemaphore:
8749 oss <<
"hipImportExternalSemaphore(";
8750 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss <<
"extSem_out=NULL";
8751 else { oss <<
"extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
8752 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss <<
", semHandleDesc=NULL";
8753 else { oss <<
", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
8756 case HIP_API_ID_hipInit:
8758 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
8761 case HIP_API_ID_hipIpcCloseMemHandle:
8762 oss <<
"hipIpcCloseMemHandle(";
8763 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
8766 case HIP_API_ID_hipIpcGetEventHandle:
8767 oss <<
"hipIpcGetEventHandle(";
8768 if (data->args.hipIpcGetEventHandle.handle == NULL) oss <<
"handle=NULL";
8769 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
8770 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
8773 case HIP_API_ID_hipIpcGetMemHandle:
8774 oss <<
"hipIpcGetMemHandle(";
8775 if (data->args.hipIpcGetMemHandle.handle == NULL) oss <<
"handle=NULL";
8776 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
8777 oss <<
", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
8780 case HIP_API_ID_hipIpcOpenEventHandle:
8781 oss <<
"hipIpcOpenEventHandle(";
8782 if (data->args.hipIpcOpenEventHandle.event == NULL) oss <<
"event=NULL";
8783 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
8784 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
8787 case HIP_API_ID_hipIpcOpenMemHandle:
8788 oss <<
"hipIpcOpenMemHandle(";
8789 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss <<
"devPtr=NULL";
8790 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
8791 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
8792 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
8795 case HIP_API_ID_hipLaunchByPtr:
8796 oss <<
"hipLaunchByPtr(";
8797 oss <<
"hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
8800 case HIP_API_ID_hipLaunchCooperativeKernel:
8801 oss <<
"hipLaunchCooperativeKernel(";
8802 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
8803 oss <<
", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
8804 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
8805 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8806 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
8807 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
8808 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
8811 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
8812 oss <<
"hipLaunchCooperativeKernelMultiDevice(";
8813 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
8814 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
8815 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
8816 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
8819 case HIP_API_ID_hipLaunchHostFunc:
8820 oss <<
"hipLaunchHostFunc(";
8821 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
8822 oss <<
", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
8823 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
8826 case HIP_API_ID_hipLaunchKernel:
8827 oss <<
"hipLaunchKernel(";
8828 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
8829 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
8830 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
8831 if (data->args.hipLaunchKernel.args == NULL) oss <<
", args=NULL";
8832 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
8833 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
8834 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
8837 case HIP_API_ID_hipMalloc:
8838 oss <<
"hipMalloc(";
8839 if (data->args.hipMalloc.ptr == NULL) oss <<
"ptr=NULL";
8840 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
8841 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
8844 case HIP_API_ID_hipMalloc3D:
8845 oss <<
"hipMalloc3D(";
8846 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss <<
"pitchedDevPtr=NULL";
8847 else { oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
8848 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
8851 case HIP_API_ID_hipMalloc3DArray:
8852 oss <<
"hipMalloc3DArray(";
8853 if (data->args.hipMalloc3DArray.array == NULL) oss <<
"array=NULL";
8854 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
8855 if (data->args.hipMalloc3DArray.desc == NULL) oss <<
", desc=NULL";
8856 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
8857 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
8858 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
8861 case HIP_API_ID_hipMallocArray:
8862 oss <<
"hipMallocArray(";
8863 if (data->args.hipMallocArray.array == NULL) oss <<
"array=NULL";
8864 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.array__val); }
8865 if (data->args.hipMallocArray.desc == NULL) oss <<
", desc=NULL";
8866 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
8867 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
8868 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
8869 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
8872 case HIP_API_ID_hipMallocAsync:
8873 oss <<
"hipMallocAsync(";
8874 if (data->args.hipMallocAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8875 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
8876 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
8877 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
8880 case HIP_API_ID_hipMallocFromPoolAsync:
8881 oss <<
"hipMallocFromPoolAsync(";
8882 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8883 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
8884 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
8885 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
8886 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
8889 case HIP_API_ID_hipMallocHost:
8890 oss <<
"hipMallocHost(";
8891 if (data->args.hipMallocHost.ptr == NULL) oss <<
"ptr=NULL";
8892 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
8893 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
8896 case HIP_API_ID_hipMallocManaged:
8897 oss <<
"hipMallocManaged(";
8898 if (data->args.hipMallocManaged.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8899 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
8900 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
8901 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
8904 case HIP_API_ID_hipMallocMipmappedArray:
8905 oss <<
"hipMallocMipmappedArray(";
8906 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss <<
"mipmappedArray=NULL";
8907 else { oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
8908 if (data->args.hipMallocMipmappedArray.desc == NULL) oss <<
", desc=NULL";
8909 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
8910 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
8911 oss <<
", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
8912 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
8915 case HIP_API_ID_hipMallocPitch:
8916 oss <<
"hipMallocPitch(";
8917 if (data->args.hipMallocPitch.ptr == NULL) oss <<
"ptr=NULL";
8918 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
8919 if (data->args.hipMallocPitch.pitch == NULL) oss <<
", pitch=NULL";
8920 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
8921 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
8922 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
8925 case HIP_API_ID_hipMemAddressFree:
8926 oss <<
"hipMemAddressFree(";
8927 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
8928 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
8931 case HIP_API_ID_hipMemAddressReserve:
8932 oss <<
"hipMemAddressReserve(";
8933 if (data->args.hipMemAddressReserve.ptr == NULL) oss <<
"ptr=NULL";
8934 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
8935 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
8936 oss <<
", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
8937 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
8938 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
8941 case HIP_API_ID_hipMemAdvise:
8942 oss <<
"hipMemAdvise(";
8943 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
8944 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
8945 oss <<
", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
8946 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
8949 case HIP_API_ID_hipMemAllocHost:
8950 oss <<
"hipMemAllocHost(";
8951 if (data->args.hipMemAllocHost.ptr == NULL) oss <<
"ptr=NULL";
8952 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
8953 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
8956 case HIP_API_ID_hipMemAllocPitch:
8957 oss <<
"hipMemAllocPitch(";
8958 if (data->args.hipMemAllocPitch.dptr == NULL) oss <<
"dptr=NULL";
8959 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
8960 if (data->args.hipMemAllocPitch.pitch == NULL) oss <<
", pitch=NULL";
8961 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
8962 oss <<
", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
8963 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
8964 oss <<
", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
8967 case HIP_API_ID_hipMemCreate:
8968 oss <<
"hipMemCreate(";
8969 if (data->args.hipMemCreate.handle == NULL) oss <<
"handle=NULL";
8970 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
8971 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
8972 if (data->args.hipMemCreate.prop == NULL) oss <<
", prop=NULL";
8973 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
8974 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
8977 case HIP_API_ID_hipMemExportToShareableHandle:
8978 oss <<
"hipMemExportToShareableHandle(";
8979 oss <<
"shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
8980 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
8981 oss <<
", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
8982 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
8985 case HIP_API_ID_hipMemGetAccess:
8986 oss <<
"hipMemGetAccess(";
8987 if (data->args.hipMemGetAccess.flags == NULL) oss <<
"flags=NULL";
8988 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
8989 if (data->args.hipMemGetAccess.location == NULL) oss <<
", location=NULL";
8990 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
8991 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
8994 case HIP_API_ID_hipMemGetAddressRange:
8995 oss <<
"hipMemGetAddressRange(";
8996 if (data->args.hipMemGetAddressRange.pbase == NULL) oss <<
"pbase=NULL";
8997 else { oss <<
"pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
8998 if (data->args.hipMemGetAddressRange.psize == NULL) oss <<
", psize=NULL";
8999 else { oss <<
", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
9000 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
9003 case HIP_API_ID_hipMemGetAllocationGranularity:
9004 oss <<
"hipMemGetAllocationGranularity(";
9005 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss <<
"granularity=NULL";
9006 else { oss <<
"granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
9007 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss <<
", prop=NULL";
9008 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
9009 oss <<
", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
9012 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
9013 oss <<
"hipMemGetAllocationPropertiesFromHandle(";
9014 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss <<
"prop=NULL";
9015 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
9016 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
9019 case HIP_API_ID_hipMemGetInfo:
9020 oss <<
"hipMemGetInfo(";
9021 if (data->args.hipMemGetInfo.free == NULL) oss <<
"free=NULL";
9022 else { oss <<
"free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
9023 if (data->args.hipMemGetInfo.total == NULL) oss <<
", total=NULL";
9024 else { oss <<
", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
9027 case HIP_API_ID_hipMemImportFromShareableHandle:
9028 oss <<
"hipMemImportFromShareableHandle(";
9029 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss <<
"handle=NULL";
9030 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
9031 oss <<
", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
9032 oss <<
", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9035 case HIP_API_ID_hipMemMap:
9036 oss <<
"hipMemMap(";
9037 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9038 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9039 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9040 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9041 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9044 case HIP_API_ID_hipMemMapArrayAsync:
9045 oss <<
"hipMemMapArrayAsync(";
9046 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss <<
"mapInfoList=NULL";
9047 else { oss <<
"mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9048 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9049 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9052 case HIP_API_ID_hipMemPoolCreate:
9053 oss <<
"hipMemPoolCreate(";
9054 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss <<
"mem_pool=NULL";
9055 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9056 if (data->args.hipMemPoolCreate.pool_props == NULL) oss <<
", pool_props=NULL";
9057 else { oss <<
", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9060 case HIP_API_ID_hipMemPoolDestroy:
9061 oss <<
"hipMemPoolDestroy(";
9062 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9065 case HIP_API_ID_hipMemPoolExportPointer:
9066 oss <<
"hipMemPoolExportPointer(";
9067 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss <<
"export_data=NULL";
9068 else { oss <<
"export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9069 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9072 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9073 oss <<
"hipMemPoolExportToShareableHandle(";
9074 oss <<
"shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9075 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9076 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9077 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9080 case HIP_API_ID_hipMemPoolGetAccess:
9081 oss <<
"hipMemPoolGetAccess(";
9082 if (data->args.hipMemPoolGetAccess.flags == NULL) oss <<
"flags=NULL";
9083 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9084 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9085 if (data->args.hipMemPoolGetAccess.location == NULL) oss <<
", location=NULL";
9086 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9089 case HIP_API_ID_hipMemPoolGetAttribute:
9090 oss <<
"hipMemPoolGetAttribute(";
9091 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9092 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9093 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9096 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9097 oss <<
"hipMemPoolImportFromShareableHandle(";
9098 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss <<
"mem_pool=NULL";
9099 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9100 oss <<
", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9101 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9102 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9105 case HIP_API_ID_hipMemPoolImportPointer:
9106 oss <<
"hipMemPoolImportPointer(";
9107 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9108 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9109 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9110 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss <<
", export_data=NULL";
9111 else { oss <<
", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9114 case HIP_API_ID_hipMemPoolSetAccess:
9115 oss <<
"hipMemPoolSetAccess(";
9116 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9117 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss <<
", desc_list=NULL";
9118 else { oss <<
", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9119 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9122 case HIP_API_ID_hipMemPoolSetAttribute:
9123 oss <<
"hipMemPoolSetAttribute(";
9124 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9125 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9126 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9129 case HIP_API_ID_hipMemPoolTrimTo:
9130 oss <<
"hipMemPoolTrimTo(";
9131 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9132 oss <<
", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9135 case HIP_API_ID_hipMemPrefetchAsync:
9136 oss <<
"hipMemPrefetchAsync(";
9137 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9138 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9139 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9140 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9143 case HIP_API_ID_hipMemPtrGetInfo:
9144 oss <<
"hipMemPtrGetInfo(";
9145 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9146 if (data->args.hipMemPtrGetInfo.size == NULL) oss <<
", size=NULL";
9147 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9150 case HIP_API_ID_hipMemRangeGetAttribute:
9151 oss <<
"hipMemRangeGetAttribute(";
9152 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9153 oss <<
", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9154 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9155 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9156 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9159 case HIP_API_ID_hipMemRangeGetAttributes:
9160 oss <<
"hipMemRangeGetAttributes(";
9161 if (data->args.hipMemRangeGetAttributes.data == NULL) oss <<
"data=NULL";
9162 else { oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9163 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss <<
", data_sizes=NULL";
9164 else { oss <<
", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9165 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
9166 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9167 oss <<
", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9168 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9169 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9172 case HIP_API_ID_hipMemRelease:
9173 oss <<
"hipMemRelease(";
9174 oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9177 case HIP_API_ID_hipMemRetainAllocationHandle:
9178 oss <<
"hipMemRetainAllocationHandle(";
9179 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss <<
"handle=NULL";
9180 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9181 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9184 case HIP_API_ID_hipMemSetAccess:
9185 oss <<
"hipMemSetAccess(";
9186 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9187 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9188 if (data->args.hipMemSetAccess.desc == NULL) oss <<
", desc=NULL";
9189 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9190 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9193 case HIP_API_ID_hipMemUnmap:
9194 oss <<
"hipMemUnmap(";
9195 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9196 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9199 case HIP_API_ID_hipMemcpy:
9200 oss <<
"hipMemcpy(";
9201 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9202 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9203 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9204 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9207 case HIP_API_ID_hipMemcpy2D:
9208 oss <<
"hipMemcpy2D(";
9209 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9210 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9211 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9212 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9213 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9214 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9215 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9218 case HIP_API_ID_hipMemcpy2DAsync:
9219 oss <<
"hipMemcpy2DAsync(";
9220 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9221 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9222 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9223 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9224 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9225 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9226 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9227 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9230 case HIP_API_ID_hipMemcpy2DFromArray:
9231 oss <<
"hipMemcpy2DFromArray(";
9232 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9233 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9234 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9235 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9236 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9237 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9238 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9239 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9242 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9243 oss <<
"hipMemcpy2DFromArrayAsync(";
9244 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9245 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9246 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9247 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9248 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9249 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9250 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9251 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9252 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9255 case HIP_API_ID_hipMemcpy2DToArray:
9256 oss <<
"hipMemcpy2DToArray(";
9257 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9258 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9259 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9260 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9261 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9262 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9263 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9264 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9267 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9268 oss <<
"hipMemcpy2DToArrayAsync(";
9269 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9270 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9271 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9272 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9273 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9274 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9275 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9276 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9277 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9280 case HIP_API_ID_hipMemcpy3D:
9281 oss <<
"hipMemcpy3D(";
9282 if (data->args.hipMemcpy3D.p == NULL) oss <<
"p=NULL";
9283 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9286 case HIP_API_ID_hipMemcpy3DAsync:
9287 oss <<
"hipMemcpy3DAsync(";
9288 if (data->args.hipMemcpy3DAsync.p == NULL) oss <<
"p=NULL";
9289 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9290 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9293 case HIP_API_ID_hipMemcpyAsync:
9294 oss <<
"hipMemcpyAsync(";
9295 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9296 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9297 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9298 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9299 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9302 case HIP_API_ID_hipMemcpyAtoH:
9303 oss <<
"hipMemcpyAtoH(";
9304 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9305 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9306 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9307 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9310 case HIP_API_ID_hipMemcpyDtoD:
9311 oss <<
"hipMemcpyDtoD(";
9312 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9313 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9314 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9317 case HIP_API_ID_hipMemcpyDtoDAsync:
9318 oss <<
"hipMemcpyDtoDAsync(";
9319 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9320 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9321 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9322 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9325 case HIP_API_ID_hipMemcpyDtoH:
9326 oss <<
"hipMemcpyDtoH(";
9327 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9328 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9329 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9332 case HIP_API_ID_hipMemcpyDtoHAsync:
9333 oss <<
"hipMemcpyDtoHAsync(";
9334 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9335 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9336 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9337 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9340 case HIP_API_ID_hipMemcpyFromArray:
9341 oss <<
"hipMemcpyFromArray(";
9342 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9343 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9344 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9345 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9346 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9347 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9350 case HIP_API_ID_hipMemcpyFromSymbol:
9351 oss <<
"hipMemcpyFromSymbol(";
9352 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9353 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9354 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9355 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9356 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9359 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9360 oss <<
"hipMemcpyFromSymbolAsync(";
9361 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9362 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9363 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9364 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9365 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9366 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9369 case HIP_API_ID_hipMemcpyHtoA:
9370 oss <<
"hipMemcpyHtoA(";
9371 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9372 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9373 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9374 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9377 case HIP_API_ID_hipMemcpyHtoD:
9378 oss <<
"hipMemcpyHtoD(";
9379 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9380 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9381 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9384 case HIP_API_ID_hipMemcpyHtoDAsync:
9385 oss <<
"hipMemcpyHtoDAsync(";
9386 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9387 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9388 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9389 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9392 case HIP_API_ID_hipMemcpyParam2D:
9393 oss <<
"hipMemcpyParam2D(";
9394 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss <<
"pCopy=NULL";
9395 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9398 case HIP_API_ID_hipMemcpyParam2DAsync:
9399 oss <<
"hipMemcpyParam2DAsync(";
9400 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
9401 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9402 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9405 case HIP_API_ID_hipMemcpyPeer:
9406 oss <<
"hipMemcpyPeer(";
9407 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9408 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9409 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9410 oss <<
", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9411 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9414 case HIP_API_ID_hipMemcpyPeerAsync:
9415 oss <<
"hipMemcpyPeerAsync(";
9416 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9417 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9418 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9419 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9420 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9421 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9424 case HIP_API_ID_hipMemcpyToArray:
9425 oss <<
"hipMemcpyToArray(";
9426 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
9427 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9428 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9429 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9430 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9431 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9434 case HIP_API_ID_hipMemcpyToSymbol:
9435 oss <<
"hipMemcpyToSymbol(";
9436 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9437 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9438 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9439 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9440 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9443 case HIP_API_ID_hipMemcpyToSymbolAsync:
9444 oss <<
"hipMemcpyToSymbolAsync(";
9445 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9446 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9447 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9448 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9449 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9450 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9453 case HIP_API_ID_hipMemcpyWithStream:
9454 oss <<
"hipMemcpyWithStream(";
9455 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9456 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9457 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9458 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9459 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9462 case HIP_API_ID_hipMemset:
9463 oss <<
"hipMemset(";
9464 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9465 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9466 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9469 case HIP_API_ID_hipMemset2D:
9470 oss <<
"hipMemset2D(";
9471 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9472 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9473 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9474 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9475 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9478 case HIP_API_ID_hipMemset2DAsync:
9479 oss <<
"hipMemset2DAsync(";
9480 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9481 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9482 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9483 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9484 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9485 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9488 case HIP_API_ID_hipMemset3D:
9489 oss <<
"hipMemset3D(";
9490 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9491 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9492 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9495 case HIP_API_ID_hipMemset3DAsync:
9496 oss <<
"hipMemset3DAsync(";
9497 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9498 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9499 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9500 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9503 case HIP_API_ID_hipMemsetAsync:
9504 oss <<
"hipMemsetAsync(";
9505 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9506 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9507 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9508 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9511 case HIP_API_ID_hipMemsetD16:
9512 oss <<
"hipMemsetD16(";
9513 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9514 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9515 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9518 case HIP_API_ID_hipMemsetD16Async:
9519 oss <<
"hipMemsetD16Async(";
9520 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9521 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9522 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9523 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9526 case HIP_API_ID_hipMemsetD32:
9527 oss <<
"hipMemsetD32(";
9528 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9529 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9530 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9533 case HIP_API_ID_hipMemsetD32Async:
9534 oss <<
"hipMemsetD32Async(";
9535 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9536 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9537 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9538 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9541 case HIP_API_ID_hipMemsetD8:
9542 oss <<
"hipMemsetD8(";
9543 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9544 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9545 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9548 case HIP_API_ID_hipMemsetD8Async:
9549 oss <<
"hipMemsetD8Async(";
9550 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9551 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9552 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9553 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9556 case HIP_API_ID_hipMipmappedArrayCreate:
9557 oss <<
"hipMipmappedArrayCreate(";
9558 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
9559 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9560 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss <<
", pMipmappedArrayDesc=NULL";
9561 else { oss <<
", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9562 oss <<
", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9565 case HIP_API_ID_hipMipmappedArrayDestroy:
9566 oss <<
"hipMipmappedArrayDestroy(";
9567 oss <<
"hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9570 case HIP_API_ID_hipMipmappedArrayGetLevel:
9571 oss <<
"hipMipmappedArrayGetLevel(";
9572 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss <<
"pLevelArray=NULL";
9573 else { oss <<
"pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9574 oss <<
", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9575 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9578 case HIP_API_ID_hipModuleGetFunction:
9579 oss <<
"hipModuleGetFunction(";
9580 if (data->args.hipModuleGetFunction.function == NULL) oss <<
"function=NULL";
9581 else { oss <<
"function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9582 oss <<
", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9583 if (data->args.hipModuleGetFunction.kname == NULL) oss <<
", kname=NULL";
9584 else { oss <<
", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9587 case HIP_API_ID_hipModuleGetGlobal:
9588 oss <<
"hipModuleGetGlobal(";
9589 if (data->args.hipModuleGetGlobal.dptr == NULL) oss <<
"dptr=NULL";
9590 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9591 if (data->args.hipModuleGetGlobal.bytes == NULL) oss <<
", bytes=NULL";
9592 else { oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9593 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9594 if (data->args.hipModuleGetGlobal.name == NULL) oss <<
", name=NULL";
9595 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9598 case HIP_API_ID_hipModuleGetTexRef:
9599 oss <<
"hipModuleGetTexRef(";
9600 if (data->args.hipModuleGetTexRef.texRef == NULL) oss <<
"texRef=NULL";
9601 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipModuleGetTexRef.texRef__val); }
9602 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9603 if (data->args.hipModuleGetTexRef.name == NULL) oss <<
", name=NULL";
9604 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9607 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9608 oss <<
"hipModuleLaunchCooperativeKernel(";
9609 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9610 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9611 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9612 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9613 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9614 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9615 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9616 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9617 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9618 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9619 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9622 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9623 oss <<
"hipModuleLaunchCooperativeKernelMultiDevice(";
9624 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
9625 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9626 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9627 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9630 case HIP_API_ID_hipModuleLaunchKernel:
9631 oss <<
"hipModuleLaunchKernel(";
9632 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9633 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
9634 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
9635 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
9636 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
9637 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
9638 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
9639 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
9640 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
9641 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9642 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
9643 if (data->args.hipModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
9644 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
9647 case HIP_API_ID_hipModuleLoad:
9648 oss <<
"hipModuleLoad(";
9649 if (data->args.hipModuleLoad.module == NULL) oss <<
"module=NULL";
9650 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
9651 if (data->args.hipModuleLoad.fname == NULL) oss <<
", fname=NULL";
9652 else { oss <<
", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
9655 case HIP_API_ID_hipModuleLoadData:
9656 oss <<
"hipModuleLoadData(";
9657 if (data->args.hipModuleLoadData.module == NULL) oss <<
"module=NULL";
9658 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
9659 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
9662 case HIP_API_ID_hipModuleLoadDataEx:
9663 oss <<
"hipModuleLoadDataEx(";
9664 if (data->args.hipModuleLoadDataEx.module == NULL) oss <<
"module=NULL";
9665 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
9666 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
9667 oss <<
", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
9668 if (data->args.hipModuleLoadDataEx.options == NULL) oss <<
", options=NULL";
9669 else { oss <<
", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
9670 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss <<
", optionsValues=NULL";
9671 else { oss <<
", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
9674 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
9675 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
9676 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
9677 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9678 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
9679 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9680 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
9683 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9684 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9685 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
9686 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9687 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9688 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9689 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
9690 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9693 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
9694 oss <<
"hipModuleOccupancyMaxPotentialBlockSize(";
9695 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
9696 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
9697 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
9698 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
9699 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
9700 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9701 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
9704 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
9705 oss <<
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
9706 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss <<
"gridSize=NULL";
9707 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
9708 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss <<
", blockSize=NULL";
9709 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
9710 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
9711 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
9712 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
9713 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
9716 case HIP_API_ID_hipModuleUnload:
9717 oss <<
"hipModuleUnload(";
9718 oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
9721 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
9722 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessor(";
9723 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
9724 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9725 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
9726 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9727 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
9730 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9731 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9732 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
9733 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9734 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9735 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9736 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
9737 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9740 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
9741 oss <<
"hipOccupancyMaxPotentialBlockSize(";
9742 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
9743 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
9744 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
9745 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
9746 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
9747 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9748 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
9751 case HIP_API_ID_hipPeekAtLastError:
9752 oss <<
"hipPeekAtLastError(";
9755 case HIP_API_ID_hipPointerGetAttribute:
9756 oss <<
"hipPointerGetAttribute(";
9757 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
9758 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
9759 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
9762 case HIP_API_ID_hipPointerGetAttributes:
9763 oss <<
"hipPointerGetAttributes(";
9764 if (data->args.hipPointerGetAttributes.attributes == NULL) oss <<
"attributes=NULL";
9765 else { oss <<
"attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
9766 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
9769 case HIP_API_ID_hipPointerSetAttribute:
9770 oss <<
"hipPointerSetAttribute(";
9771 oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
9772 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
9773 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
9776 case HIP_API_ID_hipProfilerStart:
9777 oss <<
"hipProfilerStart(";
9780 case HIP_API_ID_hipProfilerStop:
9781 oss <<
"hipProfilerStop(";
9784 case HIP_API_ID_hipRuntimeGetVersion:
9785 oss <<
"hipRuntimeGetVersion(";
9786 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss <<
"runtimeVersion=NULL";
9787 else { oss <<
"runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
9790 case HIP_API_ID_hipSetDevice:
9791 oss <<
"hipSetDevice(";
9792 oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
9795 case HIP_API_ID_hipSetDeviceFlags:
9796 oss <<
"hipSetDeviceFlags(";
9797 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
9800 case HIP_API_ID_hipSetupArgument:
9801 oss <<
"hipSetupArgument(";
9802 oss <<
"arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
9803 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
9804 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
9807 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
9808 oss <<
"hipSignalExternalSemaphoresAsync(";
9809 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
9810 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
9811 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
9812 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
9813 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
9814 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
9817 case HIP_API_ID_hipStreamAddCallback:
9818 oss <<
"hipStreamAddCallback(";
9819 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
9820 oss <<
", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
9821 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
9822 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
9825 case HIP_API_ID_hipStreamAttachMemAsync:
9826 oss <<
"hipStreamAttachMemAsync(";
9827 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
9828 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
9829 oss <<
", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
9830 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
9833 case HIP_API_ID_hipStreamBeginCapture:
9834 oss <<
"hipStreamBeginCapture(";
9835 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
9836 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
9839 case HIP_API_ID_hipStreamCreate:
9840 oss <<
"hipStreamCreate(";
9841 if (data->args.hipStreamCreate.stream == NULL) oss <<
"stream=NULL";
9842 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
9845 case HIP_API_ID_hipStreamCreateWithFlags:
9846 oss <<
"hipStreamCreateWithFlags(";
9847 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss <<
"stream=NULL";
9848 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
9849 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
9852 case HIP_API_ID_hipStreamCreateWithPriority:
9853 oss <<
"hipStreamCreateWithPriority(";
9854 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss <<
"stream=NULL";
9855 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
9856 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
9857 oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
9860 case HIP_API_ID_hipStreamDestroy:
9861 oss <<
"hipStreamDestroy(";
9862 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
9865 case HIP_API_ID_hipStreamEndCapture:
9866 oss <<
"hipStreamEndCapture(";
9867 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
9868 if (data->args.hipStreamEndCapture.pGraph == NULL) oss <<
", pGraph=NULL";
9869 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
9872 case HIP_API_ID_hipStreamGetCaptureInfo:
9873 oss <<
"hipStreamGetCaptureInfo(";
9874 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
9875 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
9876 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
9877 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss <<
", pId=NULL";
9878 else { oss <<
", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
9881 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
9882 oss <<
"hipStreamGetCaptureInfo_v2(";
9883 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
9884 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss <<
", captureStatus_out=NULL";
9885 else { oss <<
", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
9886 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss <<
", id_out=NULL";
9887 else { oss <<
", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
9888 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss <<
", graph_out=NULL";
9889 else { oss <<
", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
9890 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss <<
", dependencies_out=NULL";
9891 else { oss <<
", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
9892 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss <<
", numDependencies_out=NULL";
9893 else { oss <<
", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
9896 case HIP_API_ID_hipStreamGetDevice:
9897 oss <<
"hipStreamGetDevice(";
9898 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
9899 if (data->args.hipStreamGetDevice.device == NULL) oss <<
", device=NULL";
9900 else { oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
9903 case HIP_API_ID_hipStreamGetFlags:
9904 oss <<
"hipStreamGetFlags(";
9905 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
9906 if (data->args.hipStreamGetFlags.flags == NULL) oss <<
", flags=NULL";
9907 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
9910 case HIP_API_ID_hipStreamGetPriority:
9911 oss <<
"hipStreamGetPriority(";
9912 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
9913 if (data->args.hipStreamGetPriority.priority == NULL) oss <<
", priority=NULL";
9914 else { oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
9917 case HIP_API_ID_hipStreamIsCapturing:
9918 oss <<
"hipStreamIsCapturing(";
9919 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
9920 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
9921 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
9924 case HIP_API_ID_hipStreamQuery:
9925 oss <<
"hipStreamQuery(";
9926 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
9929 case HIP_API_ID_hipStreamSynchronize:
9930 oss <<
"hipStreamSynchronize(";
9931 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
9934 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
9935 oss <<
"hipStreamUpdateCaptureDependencies(";
9936 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
9937 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss <<
", dependencies=NULL";
9938 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
9939 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
9940 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
9943 case HIP_API_ID_hipStreamWaitEvent:
9944 oss <<
"hipStreamWaitEvent(";
9945 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
9946 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
9947 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
9950 case HIP_API_ID_hipStreamWaitValue32:
9951 oss <<
"hipStreamWaitValue32(";
9952 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
9953 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
9954 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
9955 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
9956 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
9959 case HIP_API_ID_hipStreamWaitValue64:
9960 oss <<
"hipStreamWaitValue64(";
9961 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
9962 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
9963 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
9964 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
9965 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
9968 case HIP_API_ID_hipStreamWriteValue32:
9969 oss <<
"hipStreamWriteValue32(";
9970 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
9971 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
9972 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
9973 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
9976 case HIP_API_ID_hipStreamWriteValue64:
9977 oss <<
"hipStreamWriteValue64(";
9978 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
9979 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
9980 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
9981 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
9984 case HIP_API_ID_hipTexRefGetAddress:
9985 oss <<
"hipTexRefGetAddress(";
9986 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9987 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
9988 if (data->args.hipTexRefGetAddress.texRef == NULL) oss <<
", texRef=NULL";
9989 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
9992 case HIP_API_ID_hipTexRefGetFlags:
9993 oss <<
"hipTexRefGetFlags(";
9994 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss <<
"pFlags=NULL";
9995 else { oss <<
"pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
9996 if (data->args.hipTexRefGetFlags.texRef == NULL) oss <<
", texRef=NULL";
9997 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
10000 case HIP_API_ID_hipTexRefGetFormat:
10001 oss <<
"hipTexRefGetFormat(";
10002 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss <<
"pFormat=NULL";
10003 else { oss <<
"pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
10004 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss <<
", pNumChannels=NULL";
10005 else { oss <<
", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
10006 if (data->args.hipTexRefGetFormat.texRef == NULL) oss <<
", texRef=NULL";
10007 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
10010 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
10011 oss <<
"hipTexRefGetMaxAnisotropy(";
10012 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss <<
"pmaxAnsio=NULL";
10013 else { oss <<
"pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
10014 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss <<
", texRef=NULL";
10015 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
10018 case HIP_API_ID_hipTexRefGetMipMappedArray:
10019 oss <<
"hipTexRefGetMipMappedArray(";
10020 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss <<
"pArray=NULL";
10021 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
10022 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss <<
", texRef=NULL";
10023 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
10026 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
10027 oss <<
"hipTexRefGetMipmapLevelBias(";
10028 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss <<
"pbias=NULL";
10029 else { oss <<
"pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
10030 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss <<
", texRef=NULL";
10031 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
10034 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10035 oss <<
"hipTexRefGetMipmapLevelClamp(";
10036 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss <<
"pminMipmapLevelClamp=NULL";
10037 else { oss <<
"pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10038 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss <<
", pmaxMipmapLevelClamp=NULL";
10039 else { oss <<
", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10040 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss <<
", texRef=NULL";
10041 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10044 case HIP_API_ID_hipTexRefSetAddress:
10045 oss <<
"hipTexRefSetAddress(";
10046 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss <<
"ByteOffset=NULL";
10047 else { oss <<
"ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10048 if (data->args.hipTexRefSetAddress.texRef == NULL) oss <<
", texRef=NULL";
10049 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10050 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10051 oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10054 case HIP_API_ID_hipTexRefSetAddress2D:
10055 oss <<
"hipTexRefSetAddress2D(";
10056 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss <<
"texRef=NULL";
10057 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10058 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss <<
", desc=NULL";
10059 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10060 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10061 oss <<
", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10064 case HIP_API_ID_hipTexRefSetArray:
10065 oss <<
"hipTexRefSetArray(";
10066 if (data->args.hipTexRefSetArray.tex == NULL) oss <<
"tex=NULL";
10067 else { oss <<
"tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10068 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10069 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10072 case HIP_API_ID_hipTexRefSetBorderColor:
10073 oss <<
"hipTexRefSetBorderColor(";
10074 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss <<
"texRef=NULL";
10075 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10076 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss <<
", pBorderColor=NULL";
10077 else { oss <<
", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10080 case HIP_API_ID_hipTexRefSetFlags:
10081 oss <<
"hipTexRefSetFlags(";
10082 if (data->args.hipTexRefSetFlags.texRef == NULL) oss <<
"texRef=NULL";
10083 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10084 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10087 case HIP_API_ID_hipTexRefSetFormat:
10088 oss <<
"hipTexRefSetFormat(";
10089 if (data->args.hipTexRefSetFormat.texRef == NULL) oss <<
"texRef=NULL";
10090 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10091 oss <<
", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10092 oss <<
", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10095 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10096 oss <<
"hipTexRefSetMaxAnisotropy(";
10097 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss <<
"texRef=NULL";
10098 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10099 oss <<
", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10102 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10103 oss <<
"hipTexRefSetMipmapLevelBias(";
10104 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss <<
"texRef=NULL";
10105 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10106 oss <<
", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10109 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10110 oss <<
"hipTexRefSetMipmapLevelClamp(";
10111 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss <<
"texRef=NULL";
10112 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10113 oss <<
", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10114 oss <<
", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10117 case HIP_API_ID_hipTexRefSetMipmappedArray:
10118 oss <<
"hipTexRefSetMipmappedArray(";
10119 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss <<
"texRef=NULL";
10120 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10121 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss <<
", mipmappedArray=NULL";
10122 else { oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10123 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10126 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10127 oss <<
"hipThreadExchangeStreamCaptureMode(";
10128 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss <<
"mode=NULL";
10129 else { oss <<
"mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10132 case HIP_API_ID_hipUserObjectCreate:
10133 oss <<
"hipUserObjectCreate(";
10134 if (data->args.hipUserObjectCreate.object_out == NULL) oss <<
"object_out=NULL";
10135 else { oss <<
"object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10136 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10137 oss <<
", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10138 oss <<
", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10139 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10142 case HIP_API_ID_hipUserObjectRelease:
10143 oss <<
"hipUserObjectRelease(";
10144 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10145 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10148 case HIP_API_ID_hipUserObjectRetain:
10149 oss <<
"hipUserObjectRetain(";
10150 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10151 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10154 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10155 oss <<
"hipWaitExternalSemaphoresAsync(";
10156 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
10157 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10158 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
10159 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10160 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10161 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10164 default: oss <<
"unknown";
10166 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:1208