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_hipExtGetLastError = 365,
386 HIP_API_ID_hipChooseDeviceR0600 = 366,
387 HIP_API_ID_hipDrvGraphAddMemcpyNode = 367,
388 HIP_API_ID_hipDrvGraphMemcpyNodeGetParams = 368,
389 HIP_API_ID_hipDrvGraphMemcpyNodeSetParams = 369,
390 HIP_API_ID_hipGetDevicePropertiesR0600 = 370,
391 HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode = 371,
392 HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode = 372,
393 HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams = 373,
394 HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams = 374,
395 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams = 375,
396 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams = 376,
397 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams = 377,
398 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams = 378,
399 HIP_API_ID_LAST = 378,
401 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
402 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
404 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
405 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
406 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
407 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
408 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
409 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
410 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
411 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
412 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
413 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
414 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
415 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
416 HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
417 HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
418 HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
419 HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
420 HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
421 HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
422 HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
423 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
424 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
425 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
426 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
427 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
428 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
429 HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
430 HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
431 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
432 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
433 HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
434 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
435 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
436 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
437 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
440#undef HIP_API_ID_CONCAT_HELPER
441#undef HIP_API_ID_CONCAT
444static inline const char* hip_api_name(
const uint32_t
id) {
446 case HIP_API_ID___hipPopCallConfiguration:
return "__hipPopCallConfiguration";
447 case HIP_API_ID___hipPushCallConfiguration:
return "__hipPushCallConfiguration";
448 case HIP_API_ID_hipArray3DCreate:
return "hipArray3DCreate";
449 case HIP_API_ID_hipArray3DGetDescriptor:
return "hipArray3DGetDescriptor";
450 case HIP_API_ID_hipArrayCreate:
return "hipArrayCreate";
451 case HIP_API_ID_hipArrayDestroy:
return "hipArrayDestroy";
452 case HIP_API_ID_hipArrayGetDescriptor:
return "hipArrayGetDescriptor";
453 case HIP_API_ID_hipArrayGetInfo:
return "hipArrayGetInfo";
454 case HIP_API_ID_hipChooseDeviceR0000:
return "hipChooseDeviceR0000";
455 case HIP_API_ID_hipChooseDeviceR0600:
return "hipChooseDeviceR0600";
456 case HIP_API_ID_hipConfigureCall:
return "hipConfigureCall";
457 case HIP_API_ID_hipCreateSurfaceObject:
return "hipCreateSurfaceObject";
458 case HIP_API_ID_hipCtxCreate:
return "hipCtxCreate";
459 case HIP_API_ID_hipCtxDestroy:
return "hipCtxDestroy";
460 case HIP_API_ID_hipCtxDisablePeerAccess:
return "hipCtxDisablePeerAccess";
461 case HIP_API_ID_hipCtxEnablePeerAccess:
return "hipCtxEnablePeerAccess";
462 case HIP_API_ID_hipCtxGetApiVersion:
return "hipCtxGetApiVersion";
463 case HIP_API_ID_hipCtxGetCacheConfig:
return "hipCtxGetCacheConfig";
464 case HIP_API_ID_hipCtxGetCurrent:
return "hipCtxGetCurrent";
465 case HIP_API_ID_hipCtxGetDevice:
return "hipCtxGetDevice";
466 case HIP_API_ID_hipCtxGetFlags:
return "hipCtxGetFlags";
467 case HIP_API_ID_hipCtxGetSharedMemConfig:
return "hipCtxGetSharedMemConfig";
468 case HIP_API_ID_hipCtxPopCurrent:
return "hipCtxPopCurrent";
469 case HIP_API_ID_hipCtxPushCurrent:
return "hipCtxPushCurrent";
470 case HIP_API_ID_hipCtxSetCacheConfig:
return "hipCtxSetCacheConfig";
471 case HIP_API_ID_hipCtxSetCurrent:
return "hipCtxSetCurrent";
472 case HIP_API_ID_hipCtxSetSharedMemConfig:
return "hipCtxSetSharedMemConfig";
473 case HIP_API_ID_hipCtxSynchronize:
return "hipCtxSynchronize";
474 case HIP_API_ID_hipDestroyExternalMemory:
return "hipDestroyExternalMemory";
475 case HIP_API_ID_hipDestroyExternalSemaphore:
return "hipDestroyExternalSemaphore";
476 case HIP_API_ID_hipDestroySurfaceObject:
return "hipDestroySurfaceObject";
477 case HIP_API_ID_hipDeviceCanAccessPeer:
return "hipDeviceCanAccessPeer";
478 case HIP_API_ID_hipDeviceComputeCapability:
return "hipDeviceComputeCapability";
479 case HIP_API_ID_hipDeviceDisablePeerAccess:
return "hipDeviceDisablePeerAccess";
480 case HIP_API_ID_hipDeviceEnablePeerAccess:
return "hipDeviceEnablePeerAccess";
481 case HIP_API_ID_hipDeviceGet:
return "hipDeviceGet";
482 case HIP_API_ID_hipDeviceGetAttribute:
return "hipDeviceGetAttribute";
483 case HIP_API_ID_hipDeviceGetByPCIBusId:
return "hipDeviceGetByPCIBusId";
484 case HIP_API_ID_hipDeviceGetCacheConfig:
return "hipDeviceGetCacheConfig";
485 case HIP_API_ID_hipDeviceGetDefaultMemPool:
return "hipDeviceGetDefaultMemPool";
486 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
return "hipDeviceGetGraphMemAttribute";
487 case HIP_API_ID_hipDeviceGetLimit:
return "hipDeviceGetLimit";
488 case HIP_API_ID_hipDeviceGetMemPool:
return "hipDeviceGetMemPool";
489 case HIP_API_ID_hipDeviceGetName:
return "hipDeviceGetName";
490 case HIP_API_ID_hipDeviceGetP2PAttribute:
return "hipDeviceGetP2PAttribute";
491 case HIP_API_ID_hipDeviceGetPCIBusId:
return "hipDeviceGetPCIBusId";
492 case HIP_API_ID_hipDeviceGetSharedMemConfig:
return "hipDeviceGetSharedMemConfig";
493 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
return "hipDeviceGetStreamPriorityRange";
494 case HIP_API_ID_hipDeviceGetUuid:
return "hipDeviceGetUuid";
495 case HIP_API_ID_hipDeviceGraphMemTrim:
return "hipDeviceGraphMemTrim";
496 case HIP_API_ID_hipDevicePrimaryCtxGetState:
return "hipDevicePrimaryCtxGetState";
497 case HIP_API_ID_hipDevicePrimaryCtxRelease:
return "hipDevicePrimaryCtxRelease";
498 case HIP_API_ID_hipDevicePrimaryCtxReset:
return "hipDevicePrimaryCtxReset";
499 case HIP_API_ID_hipDevicePrimaryCtxRetain:
return "hipDevicePrimaryCtxRetain";
500 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
return "hipDevicePrimaryCtxSetFlags";
501 case HIP_API_ID_hipDeviceReset:
return "hipDeviceReset";
502 case HIP_API_ID_hipDeviceSetCacheConfig:
return "hipDeviceSetCacheConfig";
503 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
return "hipDeviceSetGraphMemAttribute";
504 case HIP_API_ID_hipDeviceSetLimit:
return "hipDeviceSetLimit";
505 case HIP_API_ID_hipDeviceSetMemPool:
return "hipDeviceSetMemPool";
506 case HIP_API_ID_hipDeviceSetSharedMemConfig:
return "hipDeviceSetSharedMemConfig";
507 case HIP_API_ID_hipDeviceSynchronize:
return "hipDeviceSynchronize";
508 case HIP_API_ID_hipDeviceTotalMem:
return "hipDeviceTotalMem";
509 case HIP_API_ID_hipDriverGetVersion:
return "hipDriverGetVersion";
510 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
return "hipDrvGraphAddMemcpyNode";
511 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
return "hipDrvGraphMemcpyNodeGetParams";
512 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
return "hipDrvGraphMemcpyNodeSetParams";
513 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
return "hipDrvMemcpy2DUnaligned";
514 case HIP_API_ID_hipDrvMemcpy3D:
return "hipDrvMemcpy3D";
515 case HIP_API_ID_hipDrvMemcpy3DAsync:
return "hipDrvMemcpy3DAsync";
516 case HIP_API_ID_hipDrvPointerGetAttributes:
return "hipDrvPointerGetAttributes";
517 case HIP_API_ID_hipEventCreate:
return "hipEventCreate";
518 case HIP_API_ID_hipEventCreateWithFlags:
return "hipEventCreateWithFlags";
519 case HIP_API_ID_hipEventDestroy:
return "hipEventDestroy";
520 case HIP_API_ID_hipEventElapsedTime:
return "hipEventElapsedTime";
521 case HIP_API_ID_hipEventQuery:
return "hipEventQuery";
522 case HIP_API_ID_hipEventRecord:
return "hipEventRecord";
523 case HIP_API_ID_hipEventSynchronize:
return "hipEventSynchronize";
524 case HIP_API_ID_hipExtGetLastError:
return "hipExtGetLastError";
525 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
return "hipExtGetLinkTypeAndHopCount";
526 case HIP_API_ID_hipExtLaunchKernel:
return "hipExtLaunchKernel";
527 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
return "hipExtLaunchMultiKernelMultiDevice";
528 case HIP_API_ID_hipExtMallocWithFlags:
return "hipExtMallocWithFlags";
529 case HIP_API_ID_hipExtModuleLaunchKernel:
return "hipExtModuleLaunchKernel";
530 case HIP_API_ID_hipExtStreamCreateWithCUMask:
return "hipExtStreamCreateWithCUMask";
531 case HIP_API_ID_hipExtStreamGetCUMask:
return "hipExtStreamGetCUMask";
532 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
return "hipExternalMemoryGetMappedBuffer";
533 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
return "hipExternalMemoryGetMappedMipmappedArray";
534 case HIP_API_ID_hipFree:
return "hipFree";
535 case HIP_API_ID_hipFreeArray:
return "hipFreeArray";
536 case HIP_API_ID_hipFreeAsync:
return "hipFreeAsync";
537 case HIP_API_ID_hipFreeHost:
return "hipFreeHost";
538 case HIP_API_ID_hipFreeMipmappedArray:
return "hipFreeMipmappedArray";
539 case HIP_API_ID_hipFuncGetAttribute:
return "hipFuncGetAttribute";
540 case HIP_API_ID_hipFuncGetAttributes:
return "hipFuncGetAttributes";
541 case HIP_API_ID_hipFuncSetAttribute:
return "hipFuncSetAttribute";
542 case HIP_API_ID_hipFuncSetCacheConfig:
return "hipFuncSetCacheConfig";
543 case HIP_API_ID_hipFuncSetSharedMemConfig:
return "hipFuncSetSharedMemConfig";
544 case HIP_API_ID_hipGLGetDevices:
return "hipGLGetDevices";
545 case HIP_API_ID_hipGetChannelDesc:
return "hipGetChannelDesc";
546 case HIP_API_ID_hipGetDevice:
return "hipGetDevice";
547 case HIP_API_ID_hipGetDeviceCount:
return "hipGetDeviceCount";
548 case HIP_API_ID_hipGetDeviceFlags:
return "hipGetDeviceFlags";
549 case HIP_API_ID_hipGetDevicePropertiesR0000:
return "hipGetDevicePropertiesR0000";
550 case HIP_API_ID_hipGetDevicePropertiesR0600:
return "hipGetDevicePropertiesR0600";
551 case HIP_API_ID_hipGetErrorString:
return "hipGetErrorString";
552 case HIP_API_ID_hipGetLastError:
return "hipGetLastError";
553 case HIP_API_ID_hipGetMipmappedArrayLevel:
return "hipGetMipmappedArrayLevel";
554 case HIP_API_ID_hipGetSymbolAddress:
return "hipGetSymbolAddress";
555 case HIP_API_ID_hipGetSymbolSize:
return "hipGetSymbolSize";
556 case HIP_API_ID_hipGraphAddChildGraphNode:
return "hipGraphAddChildGraphNode";
557 case HIP_API_ID_hipGraphAddDependencies:
return "hipGraphAddDependencies";
558 case HIP_API_ID_hipGraphAddEmptyNode:
return "hipGraphAddEmptyNode";
559 case HIP_API_ID_hipGraphAddEventRecordNode:
return "hipGraphAddEventRecordNode";
560 case HIP_API_ID_hipGraphAddEventWaitNode:
return "hipGraphAddEventWaitNode";
561 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
return "hipGraphAddExternalSemaphoresSignalNode";
562 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
return "hipGraphAddExternalSemaphoresWaitNode";
563 case HIP_API_ID_hipGraphAddHostNode:
return "hipGraphAddHostNode";
564 case HIP_API_ID_hipGraphAddKernelNode:
return "hipGraphAddKernelNode";
565 case HIP_API_ID_hipGraphAddMemAllocNode:
return "hipGraphAddMemAllocNode";
566 case HIP_API_ID_hipGraphAddMemFreeNode:
return "hipGraphAddMemFreeNode";
567 case HIP_API_ID_hipGraphAddMemcpyNode:
return "hipGraphAddMemcpyNode";
568 case HIP_API_ID_hipGraphAddMemcpyNode1D:
return "hipGraphAddMemcpyNode1D";
569 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
return "hipGraphAddMemcpyNodeFromSymbol";
570 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
return "hipGraphAddMemcpyNodeToSymbol";
571 case HIP_API_ID_hipGraphAddMemsetNode:
return "hipGraphAddMemsetNode";
572 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
return "hipGraphChildGraphNodeGetGraph";
573 case HIP_API_ID_hipGraphClone:
return "hipGraphClone";
574 case HIP_API_ID_hipGraphCreate:
return "hipGraphCreate";
575 case HIP_API_ID_hipGraphDebugDotPrint:
return "hipGraphDebugDotPrint";
576 case HIP_API_ID_hipGraphDestroy:
return "hipGraphDestroy";
577 case HIP_API_ID_hipGraphDestroyNode:
return "hipGraphDestroyNode";
578 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
return "hipGraphEventRecordNodeGetEvent";
579 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
return "hipGraphEventRecordNodeSetEvent";
580 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
return "hipGraphEventWaitNodeGetEvent";
581 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
return "hipGraphEventWaitNodeSetEvent";
582 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
return "hipGraphExecChildGraphNodeSetParams";
583 case HIP_API_ID_hipGraphExecDestroy:
return "hipGraphExecDestroy";
584 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
return "hipGraphExecEventRecordNodeSetEvent";
585 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
return "hipGraphExecEventWaitNodeSetEvent";
586 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
587 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
588 case HIP_API_ID_hipGraphExecHostNodeSetParams:
return "hipGraphExecHostNodeSetParams";
589 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
return "hipGraphExecKernelNodeSetParams";
590 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
return "hipGraphExecMemcpyNodeSetParams";
591 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
return "hipGraphExecMemcpyNodeSetParams1D";
592 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
593 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
return "hipGraphExecMemcpyNodeSetParamsToSymbol";
594 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
return "hipGraphExecMemsetNodeSetParams";
595 case HIP_API_ID_hipGraphExecUpdate:
return "hipGraphExecUpdate";
596 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
return "hipGraphExternalSemaphoresSignalNodeGetParams";
597 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
return "hipGraphExternalSemaphoresSignalNodeSetParams";
598 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
return "hipGraphExternalSemaphoresWaitNodeGetParams";
599 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
return "hipGraphExternalSemaphoresWaitNodeSetParams";
600 case HIP_API_ID_hipGraphGetEdges:
return "hipGraphGetEdges";
601 case HIP_API_ID_hipGraphGetNodes:
return "hipGraphGetNodes";
602 case HIP_API_ID_hipGraphGetRootNodes:
return "hipGraphGetRootNodes";
603 case HIP_API_ID_hipGraphHostNodeGetParams:
return "hipGraphHostNodeGetParams";
604 case HIP_API_ID_hipGraphHostNodeSetParams:
return "hipGraphHostNodeSetParams";
605 case HIP_API_ID_hipGraphInstantiate:
return "hipGraphInstantiate";
606 case HIP_API_ID_hipGraphInstantiateWithFlags:
return "hipGraphInstantiateWithFlags";
607 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
return "hipGraphKernelNodeCopyAttributes";
608 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
return "hipGraphKernelNodeGetAttribute";
609 case HIP_API_ID_hipGraphKernelNodeGetParams:
return "hipGraphKernelNodeGetParams";
610 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
return "hipGraphKernelNodeSetAttribute";
611 case HIP_API_ID_hipGraphKernelNodeSetParams:
return "hipGraphKernelNodeSetParams";
612 case HIP_API_ID_hipGraphLaunch:
return "hipGraphLaunch";
613 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
return "hipGraphMemAllocNodeGetParams";
614 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
return "hipGraphMemFreeNodeGetParams";
615 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
return "hipGraphMemcpyNodeGetParams";
616 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
return "hipGraphMemcpyNodeSetParams";
617 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
return "hipGraphMemcpyNodeSetParams1D";
618 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
return "hipGraphMemcpyNodeSetParamsFromSymbol";
619 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
return "hipGraphMemcpyNodeSetParamsToSymbol";
620 case HIP_API_ID_hipGraphMemsetNodeGetParams:
return "hipGraphMemsetNodeGetParams";
621 case HIP_API_ID_hipGraphMemsetNodeSetParams:
return "hipGraphMemsetNodeSetParams";
622 case HIP_API_ID_hipGraphNodeFindInClone:
return "hipGraphNodeFindInClone";
623 case HIP_API_ID_hipGraphNodeGetDependencies:
return "hipGraphNodeGetDependencies";
624 case HIP_API_ID_hipGraphNodeGetDependentNodes:
return "hipGraphNodeGetDependentNodes";
625 case HIP_API_ID_hipGraphNodeGetEnabled:
return "hipGraphNodeGetEnabled";
626 case HIP_API_ID_hipGraphNodeGetType:
return "hipGraphNodeGetType";
627 case HIP_API_ID_hipGraphNodeSetEnabled:
return "hipGraphNodeSetEnabled";
628 case HIP_API_ID_hipGraphReleaseUserObject:
return "hipGraphReleaseUserObject";
629 case HIP_API_ID_hipGraphRemoveDependencies:
return "hipGraphRemoveDependencies";
630 case HIP_API_ID_hipGraphRetainUserObject:
return "hipGraphRetainUserObject";
631 case HIP_API_ID_hipGraphUpload:
return "hipGraphUpload";
632 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
return "hipGraphicsGLRegisterBuffer";
633 case HIP_API_ID_hipGraphicsGLRegisterImage:
return "hipGraphicsGLRegisterImage";
634 case HIP_API_ID_hipGraphicsMapResources:
return "hipGraphicsMapResources";
635 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
return "hipGraphicsResourceGetMappedPointer";
636 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
return "hipGraphicsSubResourceGetMappedArray";
637 case HIP_API_ID_hipGraphicsUnmapResources:
return "hipGraphicsUnmapResources";
638 case HIP_API_ID_hipGraphicsUnregisterResource:
return "hipGraphicsUnregisterResource";
639 case HIP_API_ID_hipHccModuleLaunchKernel:
return "hipHccModuleLaunchKernel";
640 case HIP_API_ID_hipHostAlloc:
return "hipHostAlloc";
641 case HIP_API_ID_hipHostFree:
return "hipHostFree";
642 case HIP_API_ID_hipHostGetDevicePointer:
return "hipHostGetDevicePointer";
643 case HIP_API_ID_hipHostGetFlags:
return "hipHostGetFlags";
644 case HIP_API_ID_hipHostMalloc:
return "hipHostMalloc";
645 case HIP_API_ID_hipHostRegister:
return "hipHostRegister";
646 case HIP_API_ID_hipHostUnregister:
return "hipHostUnregister";
647 case HIP_API_ID_hipImportExternalMemory:
return "hipImportExternalMemory";
648 case HIP_API_ID_hipImportExternalSemaphore:
return "hipImportExternalSemaphore";
649 case HIP_API_ID_hipInit:
return "hipInit";
650 case HIP_API_ID_hipIpcCloseMemHandle:
return "hipIpcCloseMemHandle";
651 case HIP_API_ID_hipIpcGetEventHandle:
return "hipIpcGetEventHandle";
652 case HIP_API_ID_hipIpcGetMemHandle:
return "hipIpcGetMemHandle";
653 case HIP_API_ID_hipIpcOpenEventHandle:
return "hipIpcOpenEventHandle";
654 case HIP_API_ID_hipIpcOpenMemHandle:
return "hipIpcOpenMemHandle";
655 case HIP_API_ID_hipLaunchByPtr:
return "hipLaunchByPtr";
656 case HIP_API_ID_hipLaunchCooperativeKernel:
return "hipLaunchCooperativeKernel";
657 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
return "hipLaunchCooperativeKernelMultiDevice";
658 case HIP_API_ID_hipLaunchHostFunc:
return "hipLaunchHostFunc";
659 case HIP_API_ID_hipLaunchKernel:
return "hipLaunchKernel";
660 case HIP_API_ID_hipMalloc:
return "hipMalloc";
661 case HIP_API_ID_hipMalloc3D:
return "hipMalloc3D";
662 case HIP_API_ID_hipMalloc3DArray:
return "hipMalloc3DArray";
663 case HIP_API_ID_hipMallocArray:
return "hipMallocArray";
664 case HIP_API_ID_hipMallocAsync:
return "hipMallocAsync";
665 case HIP_API_ID_hipMallocFromPoolAsync:
return "hipMallocFromPoolAsync";
666 case HIP_API_ID_hipMallocHost:
return "hipMallocHost";
667 case HIP_API_ID_hipMallocManaged:
return "hipMallocManaged";
668 case HIP_API_ID_hipMallocMipmappedArray:
return "hipMallocMipmappedArray";
669 case HIP_API_ID_hipMallocPitch:
return "hipMallocPitch";
670 case HIP_API_ID_hipMemAddressFree:
return "hipMemAddressFree";
671 case HIP_API_ID_hipMemAddressReserve:
return "hipMemAddressReserve";
672 case HIP_API_ID_hipMemAdvise:
return "hipMemAdvise";
673 case HIP_API_ID_hipMemAllocHost:
return "hipMemAllocHost";
674 case HIP_API_ID_hipMemAllocPitch:
return "hipMemAllocPitch";
675 case HIP_API_ID_hipMemCreate:
return "hipMemCreate";
676 case HIP_API_ID_hipMemExportToShareableHandle:
return "hipMemExportToShareableHandle";
677 case HIP_API_ID_hipMemGetAccess:
return "hipMemGetAccess";
678 case HIP_API_ID_hipMemGetAddressRange:
return "hipMemGetAddressRange";
679 case HIP_API_ID_hipMemGetAllocationGranularity:
return "hipMemGetAllocationGranularity";
680 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
return "hipMemGetAllocationPropertiesFromHandle";
681 case HIP_API_ID_hipMemGetInfo:
return "hipMemGetInfo";
682 case HIP_API_ID_hipMemImportFromShareableHandle:
return "hipMemImportFromShareableHandle";
683 case HIP_API_ID_hipMemMap:
return "hipMemMap";
684 case HIP_API_ID_hipMemMapArrayAsync:
return "hipMemMapArrayAsync";
685 case HIP_API_ID_hipMemPoolCreate:
return "hipMemPoolCreate";
686 case HIP_API_ID_hipMemPoolDestroy:
return "hipMemPoolDestroy";
687 case HIP_API_ID_hipMemPoolExportPointer:
return "hipMemPoolExportPointer";
688 case HIP_API_ID_hipMemPoolExportToShareableHandle:
return "hipMemPoolExportToShareableHandle";
689 case HIP_API_ID_hipMemPoolGetAccess:
return "hipMemPoolGetAccess";
690 case HIP_API_ID_hipMemPoolGetAttribute:
return "hipMemPoolGetAttribute";
691 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
return "hipMemPoolImportFromShareableHandle";
692 case HIP_API_ID_hipMemPoolImportPointer:
return "hipMemPoolImportPointer";
693 case HIP_API_ID_hipMemPoolSetAccess:
return "hipMemPoolSetAccess";
694 case HIP_API_ID_hipMemPoolSetAttribute:
return "hipMemPoolSetAttribute";
695 case HIP_API_ID_hipMemPoolTrimTo:
return "hipMemPoolTrimTo";
696 case HIP_API_ID_hipMemPrefetchAsync:
return "hipMemPrefetchAsync";
697 case HIP_API_ID_hipMemPtrGetInfo:
return "hipMemPtrGetInfo";
698 case HIP_API_ID_hipMemRangeGetAttribute:
return "hipMemRangeGetAttribute";
699 case HIP_API_ID_hipMemRangeGetAttributes:
return "hipMemRangeGetAttributes";
700 case HIP_API_ID_hipMemRelease:
return "hipMemRelease";
701 case HIP_API_ID_hipMemRetainAllocationHandle:
return "hipMemRetainAllocationHandle";
702 case HIP_API_ID_hipMemSetAccess:
return "hipMemSetAccess";
703 case HIP_API_ID_hipMemUnmap:
return "hipMemUnmap";
704 case HIP_API_ID_hipMemcpy:
return "hipMemcpy";
705 case HIP_API_ID_hipMemcpy2D:
return "hipMemcpy2D";
706 case HIP_API_ID_hipMemcpy2DAsync:
return "hipMemcpy2DAsync";
707 case HIP_API_ID_hipMemcpy2DFromArray:
return "hipMemcpy2DFromArray";
708 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
return "hipMemcpy2DFromArrayAsync";
709 case HIP_API_ID_hipMemcpy2DToArray:
return "hipMemcpy2DToArray";
710 case HIP_API_ID_hipMemcpy2DToArrayAsync:
return "hipMemcpy2DToArrayAsync";
711 case HIP_API_ID_hipMemcpy3D:
return "hipMemcpy3D";
712 case HIP_API_ID_hipMemcpy3DAsync:
return "hipMemcpy3DAsync";
713 case HIP_API_ID_hipMemcpyAsync:
return "hipMemcpyAsync";
714 case HIP_API_ID_hipMemcpyAtoH:
return "hipMemcpyAtoH";
715 case HIP_API_ID_hipMemcpyDtoD:
return "hipMemcpyDtoD";
716 case HIP_API_ID_hipMemcpyDtoDAsync:
return "hipMemcpyDtoDAsync";
717 case HIP_API_ID_hipMemcpyDtoH:
return "hipMemcpyDtoH";
718 case HIP_API_ID_hipMemcpyDtoHAsync:
return "hipMemcpyDtoHAsync";
719 case HIP_API_ID_hipMemcpyFromArray:
return "hipMemcpyFromArray";
720 case HIP_API_ID_hipMemcpyFromSymbol:
return "hipMemcpyFromSymbol";
721 case HIP_API_ID_hipMemcpyFromSymbolAsync:
return "hipMemcpyFromSymbolAsync";
722 case HIP_API_ID_hipMemcpyHtoA:
return "hipMemcpyHtoA";
723 case HIP_API_ID_hipMemcpyHtoD:
return "hipMemcpyHtoD";
724 case HIP_API_ID_hipMemcpyHtoDAsync:
return "hipMemcpyHtoDAsync";
725 case HIP_API_ID_hipMemcpyParam2D:
return "hipMemcpyParam2D";
726 case HIP_API_ID_hipMemcpyParam2DAsync:
return "hipMemcpyParam2DAsync";
727 case HIP_API_ID_hipMemcpyPeer:
return "hipMemcpyPeer";
728 case HIP_API_ID_hipMemcpyPeerAsync:
return "hipMemcpyPeerAsync";
729 case HIP_API_ID_hipMemcpyToArray:
return "hipMemcpyToArray";
730 case HIP_API_ID_hipMemcpyToSymbol:
return "hipMemcpyToSymbol";
731 case HIP_API_ID_hipMemcpyToSymbolAsync:
return "hipMemcpyToSymbolAsync";
732 case HIP_API_ID_hipMemcpyWithStream:
return "hipMemcpyWithStream";
733 case HIP_API_ID_hipMemset:
return "hipMemset";
734 case HIP_API_ID_hipMemset2D:
return "hipMemset2D";
735 case HIP_API_ID_hipMemset2DAsync:
return "hipMemset2DAsync";
736 case HIP_API_ID_hipMemset3D:
return "hipMemset3D";
737 case HIP_API_ID_hipMemset3DAsync:
return "hipMemset3DAsync";
738 case HIP_API_ID_hipMemsetAsync:
return "hipMemsetAsync";
739 case HIP_API_ID_hipMemsetD16:
return "hipMemsetD16";
740 case HIP_API_ID_hipMemsetD16Async:
return "hipMemsetD16Async";
741 case HIP_API_ID_hipMemsetD32:
return "hipMemsetD32";
742 case HIP_API_ID_hipMemsetD32Async:
return "hipMemsetD32Async";
743 case HIP_API_ID_hipMemsetD8:
return "hipMemsetD8";
744 case HIP_API_ID_hipMemsetD8Async:
return "hipMemsetD8Async";
745 case HIP_API_ID_hipMipmappedArrayCreate:
return "hipMipmappedArrayCreate";
746 case HIP_API_ID_hipMipmappedArrayDestroy:
return "hipMipmappedArrayDestroy";
747 case HIP_API_ID_hipMipmappedArrayGetLevel:
return "hipMipmappedArrayGetLevel";
748 case HIP_API_ID_hipModuleGetFunction:
return "hipModuleGetFunction";
749 case HIP_API_ID_hipModuleGetGlobal:
return "hipModuleGetGlobal";
750 case HIP_API_ID_hipModuleGetTexRef:
return "hipModuleGetTexRef";
751 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
return "hipModuleLaunchCooperativeKernel";
752 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
return "hipModuleLaunchCooperativeKernelMultiDevice";
753 case HIP_API_ID_hipModuleLaunchKernel:
return "hipModuleLaunchKernel";
754 case HIP_API_ID_hipModuleLoad:
return "hipModuleLoad";
755 case HIP_API_ID_hipModuleLoadData:
return "hipModuleLoadData";
756 case HIP_API_ID_hipModuleLoadDataEx:
return "hipModuleLoadDataEx";
757 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
758 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
759 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
return "hipModuleOccupancyMaxPotentialBlockSize";
760 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
761 case HIP_API_ID_hipModuleUnload:
return "hipModuleUnload";
762 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
763 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
764 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
return "hipOccupancyMaxPotentialBlockSize";
765 case HIP_API_ID_hipPeekAtLastError:
return "hipPeekAtLastError";
766 case HIP_API_ID_hipPointerGetAttribute:
return "hipPointerGetAttribute";
767 case HIP_API_ID_hipPointerGetAttributes:
return "hipPointerGetAttributes";
768 case HIP_API_ID_hipPointerSetAttribute:
return "hipPointerSetAttribute";
769 case HIP_API_ID_hipProfilerStart:
return "hipProfilerStart";
770 case HIP_API_ID_hipProfilerStop:
return "hipProfilerStop";
771 case HIP_API_ID_hipRuntimeGetVersion:
return "hipRuntimeGetVersion";
772 case HIP_API_ID_hipSetDevice:
return "hipSetDevice";
773 case HIP_API_ID_hipSetDeviceFlags:
return "hipSetDeviceFlags";
774 case HIP_API_ID_hipSetupArgument:
return "hipSetupArgument";
775 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
return "hipSignalExternalSemaphoresAsync";
776 case HIP_API_ID_hipStreamAddCallback:
return "hipStreamAddCallback";
777 case HIP_API_ID_hipStreamAttachMemAsync:
return "hipStreamAttachMemAsync";
778 case HIP_API_ID_hipStreamBeginCapture:
return "hipStreamBeginCapture";
779 case HIP_API_ID_hipStreamCreate:
return "hipStreamCreate";
780 case HIP_API_ID_hipStreamCreateWithFlags:
return "hipStreamCreateWithFlags";
781 case HIP_API_ID_hipStreamCreateWithPriority:
return "hipStreamCreateWithPriority";
782 case HIP_API_ID_hipStreamDestroy:
return "hipStreamDestroy";
783 case HIP_API_ID_hipStreamEndCapture:
return "hipStreamEndCapture";
784 case HIP_API_ID_hipStreamGetCaptureInfo:
return "hipStreamGetCaptureInfo";
785 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
return "hipStreamGetCaptureInfo_v2";
786 case HIP_API_ID_hipStreamGetDevice:
return "hipStreamGetDevice";
787 case HIP_API_ID_hipStreamGetFlags:
return "hipStreamGetFlags";
788 case HIP_API_ID_hipStreamGetPriority:
return "hipStreamGetPriority";
789 case HIP_API_ID_hipStreamIsCapturing:
return "hipStreamIsCapturing";
790 case HIP_API_ID_hipStreamQuery:
return "hipStreamQuery";
791 case HIP_API_ID_hipStreamSynchronize:
return "hipStreamSynchronize";
792 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
return "hipStreamUpdateCaptureDependencies";
793 case HIP_API_ID_hipStreamWaitEvent:
return "hipStreamWaitEvent";
794 case HIP_API_ID_hipStreamWaitValue32:
return "hipStreamWaitValue32";
795 case HIP_API_ID_hipStreamWaitValue64:
return "hipStreamWaitValue64";
796 case HIP_API_ID_hipStreamWriteValue32:
return "hipStreamWriteValue32";
797 case HIP_API_ID_hipStreamWriteValue64:
return "hipStreamWriteValue64";
798 case HIP_API_ID_hipTexRefGetAddress:
return "hipTexRefGetAddress";
799 case HIP_API_ID_hipTexRefGetFlags:
return "hipTexRefGetFlags";
800 case HIP_API_ID_hipTexRefGetFormat:
return "hipTexRefGetFormat";
801 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
return "hipTexRefGetMaxAnisotropy";
802 case HIP_API_ID_hipTexRefGetMipMappedArray:
return "hipTexRefGetMipMappedArray";
803 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
return "hipTexRefGetMipmapLevelBias";
804 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
return "hipTexRefGetMipmapLevelClamp";
805 case HIP_API_ID_hipTexRefSetAddress:
return "hipTexRefSetAddress";
806 case HIP_API_ID_hipTexRefSetAddress2D:
return "hipTexRefSetAddress2D";
807 case HIP_API_ID_hipTexRefSetArray:
return "hipTexRefSetArray";
808 case HIP_API_ID_hipTexRefSetBorderColor:
return "hipTexRefSetBorderColor";
809 case HIP_API_ID_hipTexRefSetFlags:
return "hipTexRefSetFlags";
810 case HIP_API_ID_hipTexRefSetFormat:
return "hipTexRefSetFormat";
811 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
return "hipTexRefSetMaxAnisotropy";
812 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
return "hipTexRefSetMipmapLevelBias";
813 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
return "hipTexRefSetMipmapLevelClamp";
814 case HIP_API_ID_hipTexRefSetMipmappedArray:
return "hipTexRefSetMipmappedArray";
815 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
return "hipThreadExchangeStreamCaptureMode";
816 case HIP_API_ID_hipUserObjectCreate:
return "hipUserObjectCreate";
817 case HIP_API_ID_hipUserObjectRelease:
return "hipUserObjectRelease";
818 case HIP_API_ID_hipUserObjectRetain:
return "hipUserObjectRetain";
819 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
return "hipWaitExternalSemaphoresAsync";
826static inline uint32_t hipApiIdByName(
const char* name) {
827 if (strcmp(
"__hipPopCallConfiguration", name) == 0)
return HIP_API_ID___hipPopCallConfiguration;
828 if (strcmp(
"__hipPushCallConfiguration", name) == 0)
return HIP_API_ID___hipPushCallConfiguration;
829 if (strcmp(
"hipArray3DCreate", name) == 0)
return HIP_API_ID_hipArray3DCreate;
830 if (strcmp(
"hipArray3DGetDescriptor", name) == 0)
return HIP_API_ID_hipArray3DGetDescriptor;
831 if (strcmp(
"hipArrayCreate", name) == 0)
return HIP_API_ID_hipArrayCreate;
832 if (strcmp(
"hipArrayDestroy", name) == 0)
return HIP_API_ID_hipArrayDestroy;
833 if (strcmp(
"hipArrayGetDescriptor", name) == 0)
return HIP_API_ID_hipArrayGetDescriptor;
834 if (strcmp(
"hipArrayGetInfo", name) == 0)
return HIP_API_ID_hipArrayGetInfo;
835 if (strcmp(
"hipChooseDeviceR0000", name) == 0)
return HIP_API_ID_hipChooseDeviceR0000;
836 if (strcmp(
"hipChooseDeviceR0600", name) == 0)
return HIP_API_ID_hipChooseDeviceR0600;
837 if (strcmp(
"hipConfigureCall", name) == 0)
return HIP_API_ID_hipConfigureCall;
838 if (strcmp(
"hipCreateSurfaceObject", name) == 0)
return HIP_API_ID_hipCreateSurfaceObject;
839 if (strcmp(
"hipCtxCreate", name) == 0)
return HIP_API_ID_hipCtxCreate;
840 if (strcmp(
"hipCtxDestroy", name) == 0)
return HIP_API_ID_hipCtxDestroy;
841 if (strcmp(
"hipCtxDisablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxDisablePeerAccess;
842 if (strcmp(
"hipCtxEnablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxEnablePeerAccess;
843 if (strcmp(
"hipCtxGetApiVersion", name) == 0)
return HIP_API_ID_hipCtxGetApiVersion;
844 if (strcmp(
"hipCtxGetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxGetCacheConfig;
845 if (strcmp(
"hipCtxGetCurrent", name) == 0)
return HIP_API_ID_hipCtxGetCurrent;
846 if (strcmp(
"hipCtxGetDevice", name) == 0)
return HIP_API_ID_hipCtxGetDevice;
847 if (strcmp(
"hipCtxGetFlags", name) == 0)
return HIP_API_ID_hipCtxGetFlags;
848 if (strcmp(
"hipCtxGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxGetSharedMemConfig;
849 if (strcmp(
"hipCtxPopCurrent", name) == 0)
return HIP_API_ID_hipCtxPopCurrent;
850 if (strcmp(
"hipCtxPushCurrent", name) == 0)
return HIP_API_ID_hipCtxPushCurrent;
851 if (strcmp(
"hipCtxSetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxSetCacheConfig;
852 if (strcmp(
"hipCtxSetCurrent", name) == 0)
return HIP_API_ID_hipCtxSetCurrent;
853 if (strcmp(
"hipCtxSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxSetSharedMemConfig;
854 if (strcmp(
"hipCtxSynchronize", name) == 0)
return HIP_API_ID_hipCtxSynchronize;
855 if (strcmp(
"hipDestroyExternalMemory", name) == 0)
return HIP_API_ID_hipDestroyExternalMemory;
856 if (strcmp(
"hipDestroyExternalSemaphore", name) == 0)
return HIP_API_ID_hipDestroyExternalSemaphore;
857 if (strcmp(
"hipDestroySurfaceObject", name) == 0)
return HIP_API_ID_hipDestroySurfaceObject;
858 if (strcmp(
"hipDeviceCanAccessPeer", name) == 0)
return HIP_API_ID_hipDeviceCanAccessPeer;
859 if (strcmp(
"hipDeviceComputeCapability", name) == 0)
return HIP_API_ID_hipDeviceComputeCapability;
860 if (strcmp(
"hipDeviceDisablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceDisablePeerAccess;
861 if (strcmp(
"hipDeviceEnablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceEnablePeerAccess;
862 if (strcmp(
"hipDeviceGet", name) == 0)
return HIP_API_ID_hipDeviceGet;
863 if (strcmp(
"hipDeviceGetAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetAttribute;
864 if (strcmp(
"hipDeviceGetByPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetByPCIBusId;
865 if (strcmp(
"hipDeviceGetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceGetCacheConfig;
866 if (strcmp(
"hipDeviceGetDefaultMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetDefaultMemPool;
867 if (strcmp(
"hipDeviceGetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetGraphMemAttribute;
868 if (strcmp(
"hipDeviceGetLimit", name) == 0)
return HIP_API_ID_hipDeviceGetLimit;
869 if (strcmp(
"hipDeviceGetMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetMemPool;
870 if (strcmp(
"hipDeviceGetName", name) == 0)
return HIP_API_ID_hipDeviceGetName;
871 if (strcmp(
"hipDeviceGetP2PAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetP2PAttribute;
872 if (strcmp(
"hipDeviceGetPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetPCIBusId;
873 if (strcmp(
"hipDeviceGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceGetSharedMemConfig;
874 if (strcmp(
"hipDeviceGetStreamPriorityRange", name) == 0)
return HIP_API_ID_hipDeviceGetStreamPriorityRange;
875 if (strcmp(
"hipDeviceGetUuid", name) == 0)
return HIP_API_ID_hipDeviceGetUuid;
876 if (strcmp(
"hipDeviceGraphMemTrim", name) == 0)
return HIP_API_ID_hipDeviceGraphMemTrim;
877 if (strcmp(
"hipDevicePrimaryCtxGetState", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxGetState;
878 if (strcmp(
"hipDevicePrimaryCtxRelease", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRelease;
879 if (strcmp(
"hipDevicePrimaryCtxReset", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxReset;
880 if (strcmp(
"hipDevicePrimaryCtxRetain", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRetain;
881 if (strcmp(
"hipDevicePrimaryCtxSetFlags", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
882 if (strcmp(
"hipDeviceReset", name) == 0)
return HIP_API_ID_hipDeviceReset;
883 if (strcmp(
"hipDeviceSetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceSetCacheConfig;
884 if (strcmp(
"hipDeviceSetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceSetGraphMemAttribute;
885 if (strcmp(
"hipDeviceSetLimit", name) == 0)
return HIP_API_ID_hipDeviceSetLimit;
886 if (strcmp(
"hipDeviceSetMemPool", name) == 0)
return HIP_API_ID_hipDeviceSetMemPool;
887 if (strcmp(
"hipDeviceSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceSetSharedMemConfig;
888 if (strcmp(
"hipDeviceSynchronize", name) == 0)
return HIP_API_ID_hipDeviceSynchronize;
889 if (strcmp(
"hipDeviceTotalMem", name) == 0)
return HIP_API_ID_hipDeviceTotalMem;
890 if (strcmp(
"hipDriverGetVersion", name) == 0)
return HIP_API_ID_hipDriverGetVersion;
891 if (strcmp(
"hipDrvGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemcpyNode;
892 if (strcmp(
"hipDrvGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
893 if (strcmp(
"hipDrvGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
894 if (strcmp(
"hipDrvMemcpy2DUnaligned", name) == 0)
return HIP_API_ID_hipDrvMemcpy2DUnaligned;
895 if (strcmp(
"hipDrvMemcpy3D", name) == 0)
return HIP_API_ID_hipDrvMemcpy3D;
896 if (strcmp(
"hipDrvMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipDrvMemcpy3DAsync;
897 if (strcmp(
"hipDrvPointerGetAttributes", name) == 0)
return HIP_API_ID_hipDrvPointerGetAttributes;
898 if (strcmp(
"hipEventCreate", name) == 0)
return HIP_API_ID_hipEventCreate;
899 if (strcmp(
"hipEventCreateWithFlags", name) == 0)
return HIP_API_ID_hipEventCreateWithFlags;
900 if (strcmp(
"hipEventDestroy", name) == 0)
return HIP_API_ID_hipEventDestroy;
901 if (strcmp(
"hipEventElapsedTime", name) == 0)
return HIP_API_ID_hipEventElapsedTime;
902 if (strcmp(
"hipEventQuery", name) == 0)
return HIP_API_ID_hipEventQuery;
903 if (strcmp(
"hipEventRecord", name) == 0)
return HIP_API_ID_hipEventRecord;
904 if (strcmp(
"hipEventSynchronize", name) == 0)
return HIP_API_ID_hipEventSynchronize;
905 if (strcmp(
"hipExtGetLastError", name) == 0)
return HIP_API_ID_hipExtGetLastError;
906 if (strcmp(
"hipExtGetLinkTypeAndHopCount", name) == 0)
return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
907 if (strcmp(
"hipExtLaunchKernel", name) == 0)
return HIP_API_ID_hipExtLaunchKernel;
908 if (strcmp(
"hipExtLaunchMultiKernelMultiDevice", name) == 0)
return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
909 if (strcmp(
"hipExtMallocWithFlags", name) == 0)
return HIP_API_ID_hipExtMallocWithFlags;
910 if (strcmp(
"hipExtModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipExtModuleLaunchKernel;
911 if (strcmp(
"hipExtStreamCreateWithCUMask", name) == 0)
return HIP_API_ID_hipExtStreamCreateWithCUMask;
912 if (strcmp(
"hipExtStreamGetCUMask", name) == 0)
return HIP_API_ID_hipExtStreamGetCUMask;
913 if (strcmp(
"hipExternalMemoryGetMappedBuffer", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
914 if (strcmp(
"hipExternalMemoryGetMappedMipmappedArray", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
915 if (strcmp(
"hipFree", name) == 0)
return HIP_API_ID_hipFree;
916 if (strcmp(
"hipFreeArray", name) == 0)
return HIP_API_ID_hipFreeArray;
917 if (strcmp(
"hipFreeAsync", name) == 0)
return HIP_API_ID_hipFreeAsync;
918 if (strcmp(
"hipFreeHost", name) == 0)
return HIP_API_ID_hipFreeHost;
919 if (strcmp(
"hipFreeMipmappedArray", name) == 0)
return HIP_API_ID_hipFreeMipmappedArray;
920 if (strcmp(
"hipFuncGetAttribute", name) == 0)
return HIP_API_ID_hipFuncGetAttribute;
921 if (strcmp(
"hipFuncGetAttributes", name) == 0)
return HIP_API_ID_hipFuncGetAttributes;
922 if (strcmp(
"hipFuncSetAttribute", name) == 0)
return HIP_API_ID_hipFuncSetAttribute;
923 if (strcmp(
"hipFuncSetCacheConfig", name) == 0)
return HIP_API_ID_hipFuncSetCacheConfig;
924 if (strcmp(
"hipFuncSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipFuncSetSharedMemConfig;
925 if (strcmp(
"hipGLGetDevices", name) == 0)
return HIP_API_ID_hipGLGetDevices;
926 if (strcmp(
"hipGetChannelDesc", name) == 0)
return HIP_API_ID_hipGetChannelDesc;
927 if (strcmp(
"hipGetDevice", name) == 0)
return HIP_API_ID_hipGetDevice;
928 if (strcmp(
"hipGetDeviceCount", name) == 0)
return HIP_API_ID_hipGetDeviceCount;
929 if (strcmp(
"hipGetDeviceFlags", name) == 0)
return HIP_API_ID_hipGetDeviceFlags;
930 if (strcmp(
"hipGetDevicePropertiesR0000", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0000;
931 if (strcmp(
"hipGetDevicePropertiesR0600", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0600;
932 if (strcmp(
"hipGetErrorString", name) == 0)
return HIP_API_ID_hipGetErrorString;
933 if (strcmp(
"hipGetLastError", name) == 0)
return HIP_API_ID_hipGetLastError;
934 if (strcmp(
"hipGetMipmappedArrayLevel", name) == 0)
return HIP_API_ID_hipGetMipmappedArrayLevel;
935 if (strcmp(
"hipGetSymbolAddress", name) == 0)
return HIP_API_ID_hipGetSymbolAddress;
936 if (strcmp(
"hipGetSymbolSize", name) == 0)
return HIP_API_ID_hipGetSymbolSize;
937 if (strcmp(
"hipGraphAddChildGraphNode", name) == 0)
return HIP_API_ID_hipGraphAddChildGraphNode;
938 if (strcmp(
"hipGraphAddDependencies", name) == 0)
return HIP_API_ID_hipGraphAddDependencies;
939 if (strcmp(
"hipGraphAddEmptyNode", name) == 0)
return HIP_API_ID_hipGraphAddEmptyNode;
940 if (strcmp(
"hipGraphAddEventRecordNode", name) == 0)
return HIP_API_ID_hipGraphAddEventRecordNode;
941 if (strcmp(
"hipGraphAddEventWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddEventWaitNode;
942 if (strcmp(
"hipGraphAddExternalSemaphoresSignalNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
943 if (strcmp(
"hipGraphAddExternalSemaphoresWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
944 if (strcmp(
"hipGraphAddHostNode", name) == 0)
return HIP_API_ID_hipGraphAddHostNode;
945 if (strcmp(
"hipGraphAddKernelNode", name) == 0)
return HIP_API_ID_hipGraphAddKernelNode;
946 if (strcmp(
"hipGraphAddMemAllocNode", name) == 0)
return HIP_API_ID_hipGraphAddMemAllocNode;
947 if (strcmp(
"hipGraphAddMemFreeNode", name) == 0)
return HIP_API_ID_hipGraphAddMemFreeNode;
948 if (strcmp(
"hipGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode;
949 if (strcmp(
"hipGraphAddMemcpyNode1D", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode1D;
950 if (strcmp(
"hipGraphAddMemcpyNodeFromSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
951 if (strcmp(
"hipGraphAddMemcpyNodeToSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
952 if (strcmp(
"hipGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipGraphAddMemsetNode;
953 if (strcmp(
"hipGraphChildGraphNodeGetGraph", name) == 0)
return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
954 if (strcmp(
"hipGraphClone", name) == 0)
return HIP_API_ID_hipGraphClone;
955 if (strcmp(
"hipGraphCreate", name) == 0)
return HIP_API_ID_hipGraphCreate;
956 if (strcmp(
"hipGraphDebugDotPrint", name) == 0)
return HIP_API_ID_hipGraphDebugDotPrint;
957 if (strcmp(
"hipGraphDestroy", name) == 0)
return HIP_API_ID_hipGraphDestroy;
958 if (strcmp(
"hipGraphDestroyNode", name) == 0)
return HIP_API_ID_hipGraphDestroyNode;
959 if (strcmp(
"hipGraphEventRecordNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
960 if (strcmp(
"hipGraphEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
961 if (strcmp(
"hipGraphEventWaitNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
962 if (strcmp(
"hipGraphEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
963 if (strcmp(
"hipGraphExecChildGraphNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
964 if (strcmp(
"hipGraphExecDestroy", name) == 0)
return HIP_API_ID_hipGraphExecDestroy;
965 if (strcmp(
"hipGraphExecEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
966 if (strcmp(
"hipGraphExecEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
967 if (strcmp(
"hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
968 if (strcmp(
"hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
969 if (strcmp(
"hipGraphExecHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecHostNodeSetParams;
970 if (strcmp(
"hipGraphExecKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecKernelNodeSetParams;
971 if (strcmp(
"hipGraphExecMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
972 if (strcmp(
"hipGraphExecMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
973 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
974 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
975 if (strcmp(
"hipGraphExecMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
976 if (strcmp(
"hipGraphExecUpdate", name) == 0)
return HIP_API_ID_hipGraphExecUpdate;
977 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
978 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
979 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
980 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
981 if (strcmp(
"hipGraphGetEdges", name) == 0)
return HIP_API_ID_hipGraphGetEdges;
982 if (strcmp(
"hipGraphGetNodes", name) == 0)
return HIP_API_ID_hipGraphGetNodes;
983 if (strcmp(
"hipGraphGetRootNodes", name) == 0)
return HIP_API_ID_hipGraphGetRootNodes;
984 if (strcmp(
"hipGraphHostNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeGetParams;
985 if (strcmp(
"hipGraphHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeSetParams;
986 if (strcmp(
"hipGraphInstantiate", name) == 0)
return HIP_API_ID_hipGraphInstantiate;
987 if (strcmp(
"hipGraphInstantiateWithFlags", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithFlags;
988 if (strcmp(
"hipGraphKernelNodeCopyAttributes", name) == 0)
return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
989 if (strcmp(
"hipGraphKernelNodeGetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetAttribute;
990 if (strcmp(
"hipGraphKernelNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetParams;
991 if (strcmp(
"hipGraphKernelNodeSetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetAttribute;
992 if (strcmp(
"hipGraphKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetParams;
993 if (strcmp(
"hipGraphLaunch", name) == 0)
return HIP_API_ID_hipGraphLaunch;
994 if (strcmp(
"hipGraphMemAllocNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemAllocNodeGetParams;
995 if (strcmp(
"hipGraphMemFreeNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemFreeNodeGetParams;
996 if (strcmp(
"hipGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeGetParams;
997 if (strcmp(
"hipGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams;
998 if (strcmp(
"hipGraphMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
999 if (strcmp(
"hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1000 if (strcmp(
"hipGraphMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1001 if (strcmp(
"hipGraphMemsetNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeGetParams;
1002 if (strcmp(
"hipGraphMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeSetParams;
1003 if (strcmp(
"hipGraphNodeFindInClone", name) == 0)
return HIP_API_ID_hipGraphNodeFindInClone;
1004 if (strcmp(
"hipGraphNodeGetDependencies", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependencies;
1005 if (strcmp(
"hipGraphNodeGetDependentNodes", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependentNodes;
1006 if (strcmp(
"hipGraphNodeGetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeGetEnabled;
1007 if (strcmp(
"hipGraphNodeGetType", name) == 0)
return HIP_API_ID_hipGraphNodeGetType;
1008 if (strcmp(
"hipGraphNodeSetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeSetEnabled;
1009 if (strcmp(
"hipGraphReleaseUserObject", name) == 0)
return HIP_API_ID_hipGraphReleaseUserObject;
1010 if (strcmp(
"hipGraphRemoveDependencies", name) == 0)
return HIP_API_ID_hipGraphRemoveDependencies;
1011 if (strcmp(
"hipGraphRetainUserObject", name) == 0)
return HIP_API_ID_hipGraphRetainUserObject;
1012 if (strcmp(
"hipGraphUpload", name) == 0)
return HIP_API_ID_hipGraphUpload;
1013 if (strcmp(
"hipGraphicsGLRegisterBuffer", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1014 if (strcmp(
"hipGraphicsGLRegisterImage", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterImage;
1015 if (strcmp(
"hipGraphicsMapResources", name) == 0)
return HIP_API_ID_hipGraphicsMapResources;
1016 if (strcmp(
"hipGraphicsResourceGetMappedPointer", name) == 0)
return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1017 if (strcmp(
"hipGraphicsSubResourceGetMappedArray", name) == 0)
return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1018 if (strcmp(
"hipGraphicsUnmapResources", name) == 0)
return HIP_API_ID_hipGraphicsUnmapResources;
1019 if (strcmp(
"hipGraphicsUnregisterResource", name) == 0)
return HIP_API_ID_hipGraphicsUnregisterResource;
1020 if (strcmp(
"hipHccModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipHccModuleLaunchKernel;
1021 if (strcmp(
"hipHostAlloc", name) == 0)
return HIP_API_ID_hipHostAlloc;
1022 if (strcmp(
"hipHostFree", name) == 0)
return HIP_API_ID_hipHostFree;
1023 if (strcmp(
"hipHostGetDevicePointer", name) == 0)
return HIP_API_ID_hipHostGetDevicePointer;
1024 if (strcmp(
"hipHostGetFlags", name) == 0)
return HIP_API_ID_hipHostGetFlags;
1025 if (strcmp(
"hipHostMalloc", name) == 0)
return HIP_API_ID_hipHostMalloc;
1026 if (strcmp(
"hipHostRegister", name) == 0)
return HIP_API_ID_hipHostRegister;
1027 if (strcmp(
"hipHostUnregister", name) == 0)
return HIP_API_ID_hipHostUnregister;
1028 if (strcmp(
"hipImportExternalMemory", name) == 0)
return HIP_API_ID_hipImportExternalMemory;
1029 if (strcmp(
"hipImportExternalSemaphore", name) == 0)
return HIP_API_ID_hipImportExternalSemaphore;
1030 if (strcmp(
"hipInit", name) == 0)
return HIP_API_ID_hipInit;
1031 if (strcmp(
"hipIpcCloseMemHandle", name) == 0)
return HIP_API_ID_hipIpcCloseMemHandle;
1032 if (strcmp(
"hipIpcGetEventHandle", name) == 0)
return HIP_API_ID_hipIpcGetEventHandle;
1033 if (strcmp(
"hipIpcGetMemHandle", name) == 0)
return HIP_API_ID_hipIpcGetMemHandle;
1034 if (strcmp(
"hipIpcOpenEventHandle", name) == 0)
return HIP_API_ID_hipIpcOpenEventHandle;
1035 if (strcmp(
"hipIpcOpenMemHandle", name) == 0)
return HIP_API_ID_hipIpcOpenMemHandle;
1036 if (strcmp(
"hipLaunchByPtr", name) == 0)
return HIP_API_ID_hipLaunchByPtr;
1037 if (strcmp(
"hipLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernel;
1038 if (strcmp(
"hipLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1039 if (strcmp(
"hipLaunchHostFunc", name) == 0)
return HIP_API_ID_hipLaunchHostFunc;
1040 if (strcmp(
"hipLaunchKernel", name) == 0)
return HIP_API_ID_hipLaunchKernel;
1041 if (strcmp(
"hipMalloc", name) == 0)
return HIP_API_ID_hipMalloc;
1042 if (strcmp(
"hipMalloc3D", name) == 0)
return HIP_API_ID_hipMalloc3D;
1043 if (strcmp(
"hipMalloc3DArray", name) == 0)
return HIP_API_ID_hipMalloc3DArray;
1044 if (strcmp(
"hipMallocArray", name) == 0)
return HIP_API_ID_hipMallocArray;
1045 if (strcmp(
"hipMallocAsync", name) == 0)
return HIP_API_ID_hipMallocAsync;
1046 if (strcmp(
"hipMallocFromPoolAsync", name) == 0)
return HIP_API_ID_hipMallocFromPoolAsync;
1047 if (strcmp(
"hipMallocHost", name) == 0)
return HIP_API_ID_hipMallocHost;
1048 if (strcmp(
"hipMallocManaged", name) == 0)
return HIP_API_ID_hipMallocManaged;
1049 if (strcmp(
"hipMallocMipmappedArray", name) == 0)
return HIP_API_ID_hipMallocMipmappedArray;
1050 if (strcmp(
"hipMallocPitch", name) == 0)
return HIP_API_ID_hipMallocPitch;
1051 if (strcmp(
"hipMemAddressFree", name) == 0)
return HIP_API_ID_hipMemAddressFree;
1052 if (strcmp(
"hipMemAddressReserve", name) == 0)
return HIP_API_ID_hipMemAddressReserve;
1053 if (strcmp(
"hipMemAdvise", name) == 0)
return HIP_API_ID_hipMemAdvise;
1054 if (strcmp(
"hipMemAllocHost", name) == 0)
return HIP_API_ID_hipMemAllocHost;
1055 if (strcmp(
"hipMemAllocPitch", name) == 0)
return HIP_API_ID_hipMemAllocPitch;
1056 if (strcmp(
"hipMemCreate", name) == 0)
return HIP_API_ID_hipMemCreate;
1057 if (strcmp(
"hipMemExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemExportToShareableHandle;
1058 if (strcmp(
"hipMemGetAccess", name) == 0)
return HIP_API_ID_hipMemGetAccess;
1059 if (strcmp(
"hipMemGetAddressRange", name) == 0)
return HIP_API_ID_hipMemGetAddressRange;
1060 if (strcmp(
"hipMemGetAllocationGranularity", name) == 0)
return HIP_API_ID_hipMemGetAllocationGranularity;
1061 if (strcmp(
"hipMemGetAllocationPropertiesFromHandle", name) == 0)
return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1062 if (strcmp(
"hipMemGetInfo", name) == 0)
return HIP_API_ID_hipMemGetInfo;
1063 if (strcmp(
"hipMemImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemImportFromShareableHandle;
1064 if (strcmp(
"hipMemMap", name) == 0)
return HIP_API_ID_hipMemMap;
1065 if (strcmp(
"hipMemMapArrayAsync", name) == 0)
return HIP_API_ID_hipMemMapArrayAsync;
1066 if (strcmp(
"hipMemPoolCreate", name) == 0)
return HIP_API_ID_hipMemPoolCreate;
1067 if (strcmp(
"hipMemPoolDestroy", name) == 0)
return HIP_API_ID_hipMemPoolDestroy;
1068 if (strcmp(
"hipMemPoolExportPointer", name) == 0)
return HIP_API_ID_hipMemPoolExportPointer;
1069 if (strcmp(
"hipMemPoolExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolExportToShareableHandle;
1070 if (strcmp(
"hipMemPoolGetAccess", name) == 0)
return HIP_API_ID_hipMemPoolGetAccess;
1071 if (strcmp(
"hipMemPoolGetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolGetAttribute;
1072 if (strcmp(
"hipMemPoolImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1073 if (strcmp(
"hipMemPoolImportPointer", name) == 0)
return HIP_API_ID_hipMemPoolImportPointer;
1074 if (strcmp(
"hipMemPoolSetAccess", name) == 0)
return HIP_API_ID_hipMemPoolSetAccess;
1075 if (strcmp(
"hipMemPoolSetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolSetAttribute;
1076 if (strcmp(
"hipMemPoolTrimTo", name) == 0)
return HIP_API_ID_hipMemPoolTrimTo;
1077 if (strcmp(
"hipMemPrefetchAsync", name) == 0)
return HIP_API_ID_hipMemPrefetchAsync;
1078 if (strcmp(
"hipMemPtrGetInfo", name) == 0)
return HIP_API_ID_hipMemPtrGetInfo;
1079 if (strcmp(
"hipMemRangeGetAttribute", name) == 0)
return HIP_API_ID_hipMemRangeGetAttribute;
1080 if (strcmp(
"hipMemRangeGetAttributes", name) == 0)
return HIP_API_ID_hipMemRangeGetAttributes;
1081 if (strcmp(
"hipMemRelease", name) == 0)
return HIP_API_ID_hipMemRelease;
1082 if (strcmp(
"hipMemRetainAllocationHandle", name) == 0)
return HIP_API_ID_hipMemRetainAllocationHandle;
1083 if (strcmp(
"hipMemSetAccess", name) == 0)
return HIP_API_ID_hipMemSetAccess;
1084 if (strcmp(
"hipMemUnmap", name) == 0)
return HIP_API_ID_hipMemUnmap;
1085 if (strcmp(
"hipMemcpy", name) == 0)
return HIP_API_ID_hipMemcpy;
1086 if (strcmp(
"hipMemcpy2D", name) == 0)
return HIP_API_ID_hipMemcpy2D;
1087 if (strcmp(
"hipMemcpy2DAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DAsync;
1088 if (strcmp(
"hipMemcpy2DFromArray", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArray;
1089 if (strcmp(
"hipMemcpy2DFromArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1090 if (strcmp(
"hipMemcpy2DToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DToArray;
1091 if (strcmp(
"hipMemcpy2DToArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DToArrayAsync;
1092 if (strcmp(
"hipMemcpy3D", name) == 0)
return HIP_API_ID_hipMemcpy3D;
1093 if (strcmp(
"hipMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipMemcpy3DAsync;
1094 if (strcmp(
"hipMemcpyAsync", name) == 0)
return HIP_API_ID_hipMemcpyAsync;
1095 if (strcmp(
"hipMemcpyAtoH", name) == 0)
return HIP_API_ID_hipMemcpyAtoH;
1096 if (strcmp(
"hipMemcpyDtoD", name) == 0)
return HIP_API_ID_hipMemcpyDtoD;
1097 if (strcmp(
"hipMemcpyDtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoDAsync;
1098 if (strcmp(
"hipMemcpyDtoH", name) == 0)
return HIP_API_ID_hipMemcpyDtoH;
1099 if (strcmp(
"hipMemcpyDtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoHAsync;
1100 if (strcmp(
"hipMemcpyFromArray", name) == 0)
return HIP_API_ID_hipMemcpyFromArray;
1101 if (strcmp(
"hipMemcpyFromSymbol", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbol;
1102 if (strcmp(
"hipMemcpyFromSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbolAsync;
1103 if (strcmp(
"hipMemcpyHtoA", name) == 0)
return HIP_API_ID_hipMemcpyHtoA;
1104 if (strcmp(
"hipMemcpyHtoD", name) == 0)
return HIP_API_ID_hipMemcpyHtoD;
1105 if (strcmp(
"hipMemcpyHtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoDAsync;
1106 if (strcmp(
"hipMemcpyParam2D", name) == 0)
return HIP_API_ID_hipMemcpyParam2D;
1107 if (strcmp(
"hipMemcpyParam2DAsync", name) == 0)
return HIP_API_ID_hipMemcpyParam2DAsync;
1108 if (strcmp(
"hipMemcpyPeer", name) == 0)
return HIP_API_ID_hipMemcpyPeer;
1109 if (strcmp(
"hipMemcpyPeerAsync", name) == 0)
return HIP_API_ID_hipMemcpyPeerAsync;
1110 if (strcmp(
"hipMemcpyToArray", name) == 0)
return HIP_API_ID_hipMemcpyToArray;
1111 if (strcmp(
"hipMemcpyToSymbol", name) == 0)
return HIP_API_ID_hipMemcpyToSymbol;
1112 if (strcmp(
"hipMemcpyToSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyToSymbolAsync;
1113 if (strcmp(
"hipMemcpyWithStream", name) == 0)
return HIP_API_ID_hipMemcpyWithStream;
1114 if (strcmp(
"hipMemset", name) == 0)
return HIP_API_ID_hipMemset;
1115 if (strcmp(
"hipMemset2D", name) == 0)
return HIP_API_ID_hipMemset2D;
1116 if (strcmp(
"hipMemset2DAsync", name) == 0)
return HIP_API_ID_hipMemset2DAsync;
1117 if (strcmp(
"hipMemset3D", name) == 0)
return HIP_API_ID_hipMemset3D;
1118 if (strcmp(
"hipMemset3DAsync", name) == 0)
return HIP_API_ID_hipMemset3DAsync;
1119 if (strcmp(
"hipMemsetAsync", name) == 0)
return HIP_API_ID_hipMemsetAsync;
1120 if (strcmp(
"hipMemsetD16", name) == 0)
return HIP_API_ID_hipMemsetD16;
1121 if (strcmp(
"hipMemsetD16Async", name) == 0)
return HIP_API_ID_hipMemsetD16Async;
1122 if (strcmp(
"hipMemsetD32", name) == 0)
return HIP_API_ID_hipMemsetD32;
1123 if (strcmp(
"hipMemsetD32Async", name) == 0)
return HIP_API_ID_hipMemsetD32Async;
1124 if (strcmp(
"hipMemsetD8", name) == 0)
return HIP_API_ID_hipMemsetD8;
1125 if (strcmp(
"hipMemsetD8Async", name) == 0)
return HIP_API_ID_hipMemsetD8Async;
1126 if (strcmp(
"hipMipmappedArrayCreate", name) == 0)
return HIP_API_ID_hipMipmappedArrayCreate;
1127 if (strcmp(
"hipMipmappedArrayDestroy", name) == 0)
return HIP_API_ID_hipMipmappedArrayDestroy;
1128 if (strcmp(
"hipMipmappedArrayGetLevel", name) == 0)
return HIP_API_ID_hipMipmappedArrayGetLevel;
1129 if (strcmp(
"hipModuleGetFunction", name) == 0)
return HIP_API_ID_hipModuleGetFunction;
1130 if (strcmp(
"hipModuleGetGlobal", name) == 0)
return HIP_API_ID_hipModuleGetGlobal;
1131 if (strcmp(
"hipModuleGetTexRef", name) == 0)
return HIP_API_ID_hipModuleGetTexRef;
1132 if (strcmp(
"hipModuleLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1133 if (strcmp(
"hipModuleLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1134 if (strcmp(
"hipModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchKernel;
1135 if (strcmp(
"hipModuleLoad", name) == 0)
return HIP_API_ID_hipModuleLoad;
1136 if (strcmp(
"hipModuleLoadData", name) == 0)
return HIP_API_ID_hipModuleLoadData;
1137 if (strcmp(
"hipModuleLoadDataEx", name) == 0)
return HIP_API_ID_hipModuleLoadDataEx;
1138 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1139 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1140 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1141 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1142 if (strcmp(
"hipModuleUnload", name) == 0)
return HIP_API_ID_hipModuleUnload;
1143 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1144 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1145 if (strcmp(
"hipOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1146 if (strcmp(
"hipPeekAtLastError", name) == 0)
return HIP_API_ID_hipPeekAtLastError;
1147 if (strcmp(
"hipPointerGetAttribute", name) == 0)
return HIP_API_ID_hipPointerGetAttribute;
1148 if (strcmp(
"hipPointerGetAttributes", name) == 0)
return HIP_API_ID_hipPointerGetAttributes;
1149 if (strcmp(
"hipPointerSetAttribute", name) == 0)
return HIP_API_ID_hipPointerSetAttribute;
1150 if (strcmp(
"hipProfilerStart", name) == 0)
return HIP_API_ID_hipProfilerStart;
1151 if (strcmp(
"hipProfilerStop", name) == 0)
return HIP_API_ID_hipProfilerStop;
1152 if (strcmp(
"hipRuntimeGetVersion", name) == 0)
return HIP_API_ID_hipRuntimeGetVersion;
1153 if (strcmp(
"hipSetDevice", name) == 0)
return HIP_API_ID_hipSetDevice;
1154 if (strcmp(
"hipSetDeviceFlags", name) == 0)
return HIP_API_ID_hipSetDeviceFlags;
1155 if (strcmp(
"hipSetupArgument", name) == 0)
return HIP_API_ID_hipSetupArgument;
1156 if (strcmp(
"hipSignalExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1157 if (strcmp(
"hipStreamAddCallback", name) == 0)
return HIP_API_ID_hipStreamAddCallback;
1158 if (strcmp(
"hipStreamAttachMemAsync", name) == 0)
return HIP_API_ID_hipStreamAttachMemAsync;
1159 if (strcmp(
"hipStreamBeginCapture", name) == 0)
return HIP_API_ID_hipStreamBeginCapture;
1160 if (strcmp(
"hipStreamCreate", name) == 0)
return HIP_API_ID_hipStreamCreate;
1161 if (strcmp(
"hipStreamCreateWithFlags", name) == 0)
return HIP_API_ID_hipStreamCreateWithFlags;
1162 if (strcmp(
"hipStreamCreateWithPriority", name) == 0)
return HIP_API_ID_hipStreamCreateWithPriority;
1163 if (strcmp(
"hipStreamDestroy", name) == 0)
return HIP_API_ID_hipStreamDestroy;
1164 if (strcmp(
"hipStreamEndCapture", name) == 0)
return HIP_API_ID_hipStreamEndCapture;
1165 if (strcmp(
"hipStreamGetCaptureInfo", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo;
1166 if (strcmp(
"hipStreamGetCaptureInfo_v2", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1167 if (strcmp(
"hipStreamGetDevice", name) == 0)
return HIP_API_ID_hipStreamGetDevice;
1168 if (strcmp(
"hipStreamGetFlags", name) == 0)
return HIP_API_ID_hipStreamGetFlags;
1169 if (strcmp(
"hipStreamGetPriority", name) == 0)
return HIP_API_ID_hipStreamGetPriority;
1170 if (strcmp(
"hipStreamIsCapturing", name) == 0)
return HIP_API_ID_hipStreamIsCapturing;
1171 if (strcmp(
"hipStreamQuery", name) == 0)
return HIP_API_ID_hipStreamQuery;
1172 if (strcmp(
"hipStreamSynchronize", name) == 0)
return HIP_API_ID_hipStreamSynchronize;
1173 if (strcmp(
"hipStreamUpdateCaptureDependencies", name) == 0)
return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1174 if (strcmp(
"hipStreamWaitEvent", name) == 0)
return HIP_API_ID_hipStreamWaitEvent;
1175 if (strcmp(
"hipStreamWaitValue32", name) == 0)
return HIP_API_ID_hipStreamWaitValue32;
1176 if (strcmp(
"hipStreamWaitValue64", name) == 0)
return HIP_API_ID_hipStreamWaitValue64;
1177 if (strcmp(
"hipStreamWriteValue32", name) == 0)
return HIP_API_ID_hipStreamWriteValue32;
1178 if (strcmp(
"hipStreamWriteValue64", name) == 0)
return HIP_API_ID_hipStreamWriteValue64;
1179 if (strcmp(
"hipTexRefGetAddress", name) == 0)
return HIP_API_ID_hipTexRefGetAddress;
1180 if (strcmp(
"hipTexRefGetFlags", name) == 0)
return HIP_API_ID_hipTexRefGetFlags;
1181 if (strcmp(
"hipTexRefGetFormat", name) == 0)
return HIP_API_ID_hipTexRefGetFormat;
1182 if (strcmp(
"hipTexRefGetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1183 if (strcmp(
"hipTexRefGetMipMappedArray", name) == 0)
return HIP_API_ID_hipTexRefGetMipMappedArray;
1184 if (strcmp(
"hipTexRefGetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1185 if (strcmp(
"hipTexRefGetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1186 if (strcmp(
"hipTexRefSetAddress", name) == 0)
return HIP_API_ID_hipTexRefSetAddress;
1187 if (strcmp(
"hipTexRefSetAddress2D", name) == 0)
return HIP_API_ID_hipTexRefSetAddress2D;
1188 if (strcmp(
"hipTexRefSetArray", name) == 0)
return HIP_API_ID_hipTexRefSetArray;
1189 if (strcmp(
"hipTexRefSetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefSetBorderColor;
1190 if (strcmp(
"hipTexRefSetFlags", name) == 0)
return HIP_API_ID_hipTexRefSetFlags;
1191 if (strcmp(
"hipTexRefSetFormat", name) == 0)
return HIP_API_ID_hipTexRefSetFormat;
1192 if (strcmp(
"hipTexRefSetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1193 if (strcmp(
"hipTexRefSetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1194 if (strcmp(
"hipTexRefSetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1195 if (strcmp(
"hipTexRefSetMipmappedArray", name) == 0)
return HIP_API_ID_hipTexRefSetMipmappedArray;
1196 if (strcmp(
"hipThreadExchangeStreamCaptureMode", name) == 0)
return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1197 if (strcmp(
"hipUserObjectCreate", name) == 0)
return HIP_API_ID_hipUserObjectCreate;
1198 if (strcmp(
"hipUserObjectRelease", name) == 0)
return HIP_API_ID_hipUserObjectRelease;
1199 if (strcmp(
"hipUserObjectRetain", name) == 0)
return HIP_API_ID_hipUserObjectRetain;
1200 if (strcmp(
"hipWaitExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1201 return HIP_API_ID_NONE;
1206 uint64_t correlation_id;
1215 size_t sharedMem__val;
1216 hipStream_t* stream;
1217 hipStream_t stream__val;
1218 } __hipPopCallConfiguration;
1224 } __hipPushCallConfiguration;
1227 hipArray_t array__val;
1228 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1229 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1232 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1233 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1235 } hipArray3DGetDescriptor;
1237 hipArray_t* pHandle;
1238 hipArray_t pHandle__val;
1239 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1240 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1246 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1247 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1249 } hipArrayGetDescriptor;
1251 hipChannelFormatDesc* desc;
1252 hipChannelFormatDesc desc__val;
1254 hipExtent extent__val;
1255 unsigned int* flags;
1256 unsigned int flags__val;
1262 const hipDeviceProp_tR0000* prop;
1263 hipDeviceProp_tR0000 prop__val;
1264 } hipChooseDeviceR0000;
1268 const hipDeviceProp_tR0600* prop;
1269 hipDeviceProp_tR0600 prop__val;
1270 } hipChooseDeviceR0600;
1278 hipSurfaceObject_t* pSurfObject;
1279 hipSurfaceObject_t pSurfObject__val;
1280 const hipResourceDesc* pResDesc;
1281 hipResourceDesc pResDesc__val;
1282 } hipCreateSurfaceObject;
1294 } hipCtxDisablePeerAccess;
1298 } hipCtxEnablePeerAccess;
1302 int apiVersion__val;
1303 } hipCtxGetApiVersion;
1305 hipFuncCache_t* cacheConfig;
1306 hipFuncCache_t cacheConfig__val;
1307 } hipCtxGetCacheConfig;
1313 hipDevice_t* device;
1314 hipDevice_t device__val;
1317 unsigned int* flags;
1318 unsigned int flags__val;
1321 hipSharedMemConfig* pConfig;
1322 hipSharedMemConfig pConfig__val;
1323 } hipCtxGetSharedMemConfig;
1330 } hipCtxPushCurrent;
1332 hipFuncCache_t cacheConfig;
1333 } hipCtxSetCacheConfig;
1338 hipSharedMemConfig config;
1339 } hipCtxSetSharedMemConfig;
1341 hipExternalMemory_t extMem;
1342 } hipDestroyExternalMemory;
1344 hipExternalSemaphore_t extSem;
1345 } hipDestroyExternalSemaphore;
1347 hipSurfaceObject_t surfaceObject;
1348 } hipDestroySurfaceObject;
1351 int canAccessPeer__val;
1354 } hipDeviceCanAccessPeer;
1361 } hipDeviceComputeCapability;
1364 } hipDeviceDisablePeerAccess;
1368 } hipDeviceEnablePeerAccess;
1370 hipDevice_t* device;
1371 hipDevice_t device__val;
1377 hipDeviceAttribute_t attr;
1379 } hipDeviceGetAttribute;
1383 const char* pciBusId;
1385 } hipDeviceGetByPCIBusId;
1387 hipFuncCache_t* cacheConfig;
1388 hipFuncCache_t cacheConfig__val;
1389 } hipDeviceGetCacheConfig;
1391 hipMemPool_t* mem_pool;
1392 hipMemPool_t mem_pool__val;
1394 } hipDeviceGetDefaultMemPool;
1397 hipGraphMemAttributeType attr;
1399 } hipDeviceGetGraphMemAttribute;
1403 enum hipLimit_t limit;
1404 } hipDeviceGetLimit;
1406 hipMemPool_t* mem_pool;
1407 hipMemPool_t mem_pool__val;
1409 } hipDeviceGetMemPool;
1419 hipDeviceP2PAttr attr;
1422 } hipDeviceGetP2PAttribute;
1428 } hipDeviceGetPCIBusId;
1430 hipSharedMemConfig* pConfig;
1431 hipSharedMemConfig pConfig__val;
1432 } hipDeviceGetSharedMemConfig;
1435 int leastPriority__val;
1436 int* greatestPriority;
1437 int greatestPriority__val;
1438 } hipDeviceGetStreamPriorityRange;
1446 } hipDeviceGraphMemTrim;
1449 unsigned int* flags;
1450 unsigned int flags__val;
1453 } hipDevicePrimaryCtxGetState;
1456 } hipDevicePrimaryCtxRelease;
1459 } hipDevicePrimaryCtxReset;
1464 } hipDevicePrimaryCtxRetain;
1468 } hipDevicePrimaryCtxSetFlags;
1470 hipFuncCache_t cacheConfig;
1471 } hipDeviceSetCacheConfig;
1474 hipGraphMemAttributeType attr;
1476 } hipDeviceSetGraphMemAttribute;
1478 enum hipLimit_t limit;
1480 } hipDeviceSetLimit;
1483 hipMemPool_t mem_pool;
1484 } hipDeviceSetMemPool;
1486 hipSharedMemConfig config;
1487 } hipDeviceSetSharedMemConfig;
1492 } hipDeviceTotalMem;
1495 int driverVersion__val;
1496 } hipDriverGetVersion;
1498 hipGraphNode_t* phGraphNode;
1499 hipGraphNode_t phGraphNode__val;
1501 const hipGraphNode_t* dependencies;
1502 hipGraphNode_t dependencies__val;
1503 size_t numDependencies;
1504 const HIP_MEMCPY3D* copyParams;
1505 HIP_MEMCPY3D copyParams__val;
1507 } hipDrvGraphAddMemcpyNode;
1509 hipGraphNode_t hNode;
1510 HIP_MEMCPY3D* nodeParams;
1511 HIP_MEMCPY3D nodeParams__val;
1512 } hipDrvGraphMemcpyNodeGetParams;
1514 hipGraphNode_t hNode;
1515 const HIP_MEMCPY3D* nodeParams;
1516 HIP_MEMCPY3D nodeParams__val;
1517 } hipDrvGraphMemcpyNodeSetParams;
1519 const hip_Memcpy2D* pCopy;
1520 hip_Memcpy2D pCopy__val;
1521 } hipDrvMemcpy2DUnaligned;
1523 const HIP_MEMCPY3D* pCopy;
1524 HIP_MEMCPY3D pCopy__val;
1527 const HIP_MEMCPY3D* pCopy;
1528 HIP_MEMCPY3D pCopy__val;
1530 } hipDrvMemcpy3DAsync;
1532 unsigned int numAttributes;
1533 hipPointer_attribute* attributes;
1534 hipPointer_attribute attributes__val;
1538 } hipDrvPointerGetAttributes;
1541 hipEvent_t event__val;
1545 hipEvent_t event__val;
1547 } hipEventCreateWithFlags;
1556 } hipEventElapsedTime;
1566 } hipEventSynchronize;
1570 unsigned int* linktype;
1571 unsigned int linktype__val;
1572 unsigned int* hopcount;
1573 unsigned int hopcount__val;
1574 } hipExtGetLinkTypeAndHopCount;
1576 const void* function_address;
1581 size_t sharedMemBytes;
1583 hipEvent_t startEvent;
1584 hipEvent_t stopEvent;
1586 } hipExtLaunchKernel;
1588 hipLaunchParams* launchParamsList;
1589 hipLaunchParams launchParamsList__val;
1592 } hipExtLaunchMultiKernelMultiDevice;
1598 } hipExtMallocWithFlags;
1601 unsigned int globalWorkSizeX;
1602 unsigned int globalWorkSizeY;
1603 unsigned int globalWorkSizeZ;
1604 unsigned int localWorkSizeX;
1605 unsigned int localWorkSizeY;
1606 unsigned int localWorkSizeZ;
1607 size_t sharedMemBytes;
1608 hipStream_t hStream;
1609 void** kernelParams;
1610 void* kernelParams__val;
1613 hipEvent_t startEvent;
1614 hipEvent_t stopEvent;
1616 } hipExtModuleLaunchKernel;
1618 hipStream_t* stream;
1619 hipStream_t stream__val;
1620 unsigned int cuMaskSize;
1621 const unsigned int* cuMask;
1622 unsigned int cuMask__val;
1623 } hipExtStreamCreateWithCUMask;
1626 unsigned int cuMaskSize;
1627 unsigned int* cuMask;
1628 unsigned int cuMask__val;
1629 } hipExtStreamGetCUMask;
1633 hipExternalMemory_t extMem;
1634 const hipExternalMemoryBufferDesc* bufferDesc;
1635 hipExternalMemoryBufferDesc bufferDesc__val;
1636 } hipExternalMemoryGetMappedBuffer;
1638 hipMipmappedArray_t* mipmap;
1639 hipMipmappedArray_t mipmap__val;
1640 hipExternalMemory_t extMem;
1641 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1642 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1643 } hipExternalMemoryGetMappedMipmappedArray;
1658 hipMipmappedArray_t mipmappedArray;
1659 } hipFreeMipmappedArray;
1663 hipFunction_attribute attrib;
1664 hipFunction_t hfunc;
1665 } hipFuncGetAttribute;
1667 hipFuncAttributes* attr;
1668 hipFuncAttributes attr__val;
1670 } hipFuncGetAttributes;
1673 hipFuncAttribute attr;
1675 } hipFuncSetAttribute;
1678 hipFuncCache_t config;
1679 } hipFuncSetCacheConfig;
1682 hipSharedMemConfig config;
1683 } hipFuncSetSharedMemConfig;
1685 unsigned int* pHipDeviceCount;
1686 unsigned int pHipDeviceCount__val;
1688 int pHipDevices__val;
1689 unsigned int hipDeviceCount;
1693 hipChannelFormatDesc* desc;
1694 hipChannelFormatDesc desc__val;
1695 hipArray_const_t array;
1696 } hipGetChannelDesc;
1704 } hipGetDeviceCount;
1706 unsigned int* flags;
1707 unsigned int flags__val;
1708 } hipGetDeviceFlags;
1710 hipDeviceProp_tR0000* prop;
1711 hipDeviceProp_tR0000 prop__val;
1713 } hipGetDevicePropertiesR0000;
1715 hipDeviceProp_tR0600* prop;
1716 hipDeviceProp_tR0600 prop__val;
1718 } hipGetDevicePropertiesR0600;
1720 hipArray_t* levelArray;
1721 hipArray_t levelArray__val;
1722 hipMipmappedArray_const_t mipmappedArray;
1724 } hipGetMipmappedArrayLevel;
1729 } hipGetSymbolAddress;
1736 hipGraphNode_t* pGraphNode;
1737 hipGraphNode_t pGraphNode__val;
1739 const hipGraphNode_t* pDependencies;
1740 hipGraphNode_t pDependencies__val;
1741 size_t numDependencies;
1742 hipGraph_t childGraph;
1743 } hipGraphAddChildGraphNode;
1746 const hipGraphNode_t* from;
1747 hipGraphNode_t from__val;
1748 const hipGraphNode_t* to;
1749 hipGraphNode_t to__val;
1750 size_t numDependencies;
1751 } hipGraphAddDependencies;
1753 hipGraphNode_t* pGraphNode;
1754 hipGraphNode_t pGraphNode__val;
1756 const hipGraphNode_t* pDependencies;
1757 hipGraphNode_t pDependencies__val;
1758 size_t numDependencies;
1759 } hipGraphAddEmptyNode;
1761 hipGraphNode_t* pGraphNode;
1762 hipGraphNode_t pGraphNode__val;
1764 const hipGraphNode_t* pDependencies;
1765 hipGraphNode_t pDependencies__val;
1766 size_t numDependencies;
1768 } hipGraphAddEventRecordNode;
1770 hipGraphNode_t* pGraphNode;
1771 hipGraphNode_t pGraphNode__val;
1773 const hipGraphNode_t* pDependencies;
1774 hipGraphNode_t pDependencies__val;
1775 size_t numDependencies;
1777 } hipGraphAddEventWaitNode;
1779 hipGraphNode_t* pGraphNode;
1780 hipGraphNode_t pGraphNode__val;
1782 const hipGraphNode_t* pDependencies;
1783 hipGraphNode_t pDependencies__val;
1784 size_t numDependencies;
1785 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1786 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1787 } hipGraphAddExternalSemaphoresSignalNode;
1789 hipGraphNode_t* pGraphNode;
1790 hipGraphNode_t pGraphNode__val;
1792 const hipGraphNode_t* pDependencies;
1793 hipGraphNode_t pDependencies__val;
1794 size_t numDependencies;
1795 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1796 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1797 } hipGraphAddExternalSemaphoresWaitNode;
1799 hipGraphNode_t* pGraphNode;
1800 hipGraphNode_t pGraphNode__val;
1802 const hipGraphNode_t* pDependencies;
1803 hipGraphNode_t pDependencies__val;
1804 size_t numDependencies;
1805 const hipHostNodeParams* pNodeParams;
1806 hipHostNodeParams pNodeParams__val;
1807 } hipGraphAddHostNode;
1809 hipGraphNode_t* pGraphNode;
1810 hipGraphNode_t pGraphNode__val;
1812 const hipGraphNode_t* pDependencies;
1813 hipGraphNode_t pDependencies__val;
1814 size_t numDependencies;
1815 const hipKernelNodeParams* pNodeParams;
1816 hipKernelNodeParams pNodeParams__val;
1817 } hipGraphAddKernelNode;
1819 hipGraphNode_t* pGraphNode;
1820 hipGraphNode_t pGraphNode__val;
1822 const hipGraphNode_t* pDependencies;
1823 hipGraphNode_t pDependencies__val;
1824 size_t numDependencies;
1825 hipMemAllocNodeParams* pNodeParams;
1826 hipMemAllocNodeParams pNodeParams__val;
1827 } hipGraphAddMemAllocNode;
1829 hipGraphNode_t* pGraphNode;
1830 hipGraphNode_t pGraphNode__val;
1832 const hipGraphNode_t* pDependencies;
1833 hipGraphNode_t pDependencies__val;
1834 size_t numDependencies;
1836 } hipGraphAddMemFreeNode;
1838 hipGraphNode_t* pGraphNode;
1839 hipGraphNode_t pGraphNode__val;
1841 const hipGraphNode_t* pDependencies;
1842 hipGraphNode_t pDependencies__val;
1843 size_t numDependencies;
1844 const hipMemcpy3DParms* pCopyParams;
1845 hipMemcpy3DParms pCopyParams__val;
1846 } hipGraphAddMemcpyNode;
1848 hipGraphNode_t* pGraphNode;
1849 hipGraphNode_t pGraphNode__val;
1851 const hipGraphNode_t* pDependencies;
1852 hipGraphNode_t pDependencies__val;
1853 size_t numDependencies;
1858 } hipGraphAddMemcpyNode1D;
1860 hipGraphNode_t* pGraphNode;
1861 hipGraphNode_t pGraphNode__val;
1863 const hipGraphNode_t* pDependencies;
1864 hipGraphNode_t pDependencies__val;
1865 size_t numDependencies;
1871 } hipGraphAddMemcpyNodeFromSymbol;
1873 hipGraphNode_t* pGraphNode;
1874 hipGraphNode_t pGraphNode__val;
1876 const hipGraphNode_t* pDependencies;
1877 hipGraphNode_t pDependencies__val;
1878 size_t numDependencies;
1884 } hipGraphAddMemcpyNodeToSymbol;
1886 hipGraphNode_t* pGraphNode;
1887 hipGraphNode_t pGraphNode__val;
1889 const hipGraphNode_t* pDependencies;
1890 hipGraphNode_t pDependencies__val;
1891 size_t numDependencies;
1892 const hipMemsetParams* pMemsetParams;
1893 hipMemsetParams pMemsetParams__val;
1894 } hipGraphAddMemsetNode;
1896 hipGraphNode_t node;
1898 hipGraph_t pGraph__val;
1899 } hipGraphChildGraphNodeGetGraph;
1901 hipGraph_t* pGraphClone;
1902 hipGraph_t pGraphClone__val;
1903 hipGraph_t originalGraph;
1907 hipGraph_t pGraph__val;
1915 } hipGraphDebugDotPrint;
1920 hipGraphNode_t node;
1921 } hipGraphDestroyNode;
1923 hipGraphNode_t node;
1924 hipEvent_t* event_out;
1925 hipEvent_t event_out__val;
1926 } hipGraphEventRecordNodeGetEvent;
1928 hipGraphNode_t node;
1930 } hipGraphEventRecordNodeSetEvent;
1932 hipGraphNode_t node;
1933 hipEvent_t* event_out;
1934 hipEvent_t event_out__val;
1935 } hipGraphEventWaitNodeGetEvent;
1937 hipGraphNode_t node;
1939 } hipGraphEventWaitNodeSetEvent;
1941 hipGraphExec_t hGraphExec;
1942 hipGraphNode_t node;
1943 hipGraph_t childGraph;
1944 } hipGraphExecChildGraphNodeSetParams;
1946 hipGraphExec_t graphExec;
1947 } hipGraphExecDestroy;
1949 hipGraphExec_t hGraphExec;
1950 hipGraphNode_t hNode;
1952 } hipGraphExecEventRecordNodeSetEvent;
1954 hipGraphExec_t hGraphExec;
1955 hipGraphNode_t hNode;
1957 } hipGraphExecEventWaitNodeSetEvent;
1959 hipGraphExec_t hGraphExec;
1960 hipGraphNode_t hNode;
1961 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1962 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1963 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
1965 hipGraphExec_t hGraphExec;
1966 hipGraphNode_t hNode;
1967 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1968 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1969 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
1971 hipGraphExec_t hGraphExec;
1972 hipGraphNode_t node;
1973 const hipHostNodeParams* pNodeParams;
1974 hipHostNodeParams pNodeParams__val;
1975 } hipGraphExecHostNodeSetParams;
1977 hipGraphExec_t hGraphExec;
1978 hipGraphNode_t node;
1979 const hipKernelNodeParams* pNodeParams;
1980 hipKernelNodeParams pNodeParams__val;
1981 } hipGraphExecKernelNodeSetParams;
1983 hipGraphExec_t hGraphExec;
1984 hipGraphNode_t node;
1985 hipMemcpy3DParms* pNodeParams;
1986 hipMemcpy3DParms pNodeParams__val;
1987 } hipGraphExecMemcpyNodeSetParams;
1989 hipGraphExec_t hGraphExec;
1990 hipGraphNode_t node;
1995 } hipGraphExecMemcpyNodeSetParams1D;
1997 hipGraphExec_t hGraphExec;
1998 hipGraphNode_t node;
2004 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2006 hipGraphExec_t hGraphExec;
2007 hipGraphNode_t node;
2013 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2015 hipGraphExec_t hGraphExec;
2016 hipGraphNode_t node;
2017 const hipMemsetParams* pNodeParams;
2018 hipMemsetParams pNodeParams__val;
2019 } hipGraphExecMemsetNodeSetParams;
2021 hipGraphExec_t hGraphExec;
2023 hipGraphNode_t* hErrorNode_out;
2024 hipGraphNode_t hErrorNode_out__val;
2025 hipGraphExecUpdateResult* updateResult_out;
2026 hipGraphExecUpdateResult updateResult_out__val;
2027 } hipGraphExecUpdate;
2029 hipGraphNode_t hNode;
2030 hipExternalSemaphoreSignalNodeParams* params_out;
2031 hipExternalSemaphoreSignalNodeParams params_out__val;
2032 } hipGraphExternalSemaphoresSignalNodeGetParams;
2034 hipGraphNode_t hNode;
2035 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2036 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2037 } hipGraphExternalSemaphoresSignalNodeSetParams;
2039 hipGraphNode_t hNode;
2040 hipExternalSemaphoreWaitNodeParams* params_out;
2041 hipExternalSemaphoreWaitNodeParams params_out__val;
2042 } hipGraphExternalSemaphoresWaitNodeGetParams;
2044 hipGraphNode_t hNode;
2045 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2046 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2047 } hipGraphExternalSemaphoresWaitNodeSetParams;
2050 hipGraphNode_t* from;
2051 hipGraphNode_t from__val;
2053 hipGraphNode_t to__val;
2055 size_t numEdges__val;
2059 hipGraphNode_t* nodes;
2060 hipGraphNode_t nodes__val;
2062 size_t numNodes__val;
2066 hipGraphNode_t* pRootNodes;
2067 hipGraphNode_t pRootNodes__val;
2068 size_t* pNumRootNodes;
2069 size_t pNumRootNodes__val;
2070 } hipGraphGetRootNodes;
2072 hipGraphNode_t node;
2073 hipHostNodeParams* pNodeParams;
2074 hipHostNodeParams pNodeParams__val;
2075 } hipGraphHostNodeGetParams;
2077 hipGraphNode_t node;
2078 const hipHostNodeParams* pNodeParams;
2079 hipHostNodeParams pNodeParams__val;
2080 } hipGraphHostNodeSetParams;
2082 hipGraphExec_t* pGraphExec;
2083 hipGraphExec_t pGraphExec__val;
2085 hipGraphNode_t* pErrorNode;
2086 hipGraphNode_t pErrorNode__val;
2088 char pLogBuffer__val;
2090 } hipGraphInstantiate;
2092 hipGraphExec_t* pGraphExec;
2093 hipGraphExec_t pGraphExec__val;
2095 unsigned long long flags;
2096 } hipGraphInstantiateWithFlags;
2098 hipGraphNode_t hSrc;
2099 hipGraphNode_t hDst;
2100 } hipGraphKernelNodeCopyAttributes;
2102 hipGraphNode_t hNode;
2103 hipKernelNodeAttrID attr;
2104 hipKernelNodeAttrValue* value;
2105 hipKernelNodeAttrValue value__val;
2106 } hipGraphKernelNodeGetAttribute;
2108 hipGraphNode_t node;
2109 hipKernelNodeParams* pNodeParams;
2110 hipKernelNodeParams pNodeParams__val;
2111 } hipGraphKernelNodeGetParams;
2113 hipGraphNode_t hNode;
2114 hipKernelNodeAttrID attr;
2115 const hipKernelNodeAttrValue* value;
2116 hipKernelNodeAttrValue value__val;
2117 } hipGraphKernelNodeSetAttribute;
2119 hipGraphNode_t node;
2120 const hipKernelNodeParams* pNodeParams;
2121 hipKernelNodeParams pNodeParams__val;
2122 } hipGraphKernelNodeSetParams;
2124 hipGraphExec_t graphExec;
2128 hipGraphNode_t node;
2129 hipMemAllocNodeParams* pNodeParams;
2130 hipMemAllocNodeParams pNodeParams__val;
2131 } hipGraphMemAllocNodeGetParams;
2133 hipGraphNode_t node;
2135 } hipGraphMemFreeNodeGetParams;
2137 hipGraphNode_t node;
2138 hipMemcpy3DParms* pNodeParams;
2139 hipMemcpy3DParms pNodeParams__val;
2140 } hipGraphMemcpyNodeGetParams;
2142 hipGraphNode_t node;
2143 const hipMemcpy3DParms* pNodeParams;
2144 hipMemcpy3DParms pNodeParams__val;
2145 } hipGraphMemcpyNodeSetParams;
2147 hipGraphNode_t node;
2152 } hipGraphMemcpyNodeSetParams1D;
2154 hipGraphNode_t node;
2160 } hipGraphMemcpyNodeSetParamsFromSymbol;
2162 hipGraphNode_t node;
2168 } hipGraphMemcpyNodeSetParamsToSymbol;
2170 hipGraphNode_t node;
2171 hipMemsetParams* pNodeParams;
2172 hipMemsetParams pNodeParams__val;
2173 } hipGraphMemsetNodeGetParams;
2175 hipGraphNode_t node;
2176 const hipMemsetParams* pNodeParams;
2177 hipMemsetParams pNodeParams__val;
2178 } hipGraphMemsetNodeSetParams;
2180 hipGraphNode_t* pNode;
2181 hipGraphNode_t pNode__val;
2182 hipGraphNode_t originalNode;
2183 hipGraph_t clonedGraph;
2184 } hipGraphNodeFindInClone;
2186 hipGraphNode_t node;
2187 hipGraphNode_t* pDependencies;
2188 hipGraphNode_t pDependencies__val;
2189 size_t* pNumDependencies;
2190 size_t pNumDependencies__val;
2191 } hipGraphNodeGetDependencies;
2193 hipGraphNode_t node;
2194 hipGraphNode_t* pDependentNodes;
2195 hipGraphNode_t pDependentNodes__val;
2196 size_t* pNumDependentNodes;
2197 size_t pNumDependentNodes__val;
2198 } hipGraphNodeGetDependentNodes;
2200 hipGraphExec_t hGraphExec;
2201 hipGraphNode_t hNode;
2202 unsigned int* isEnabled;
2203 unsigned int isEnabled__val;
2204 } hipGraphNodeGetEnabled;
2206 hipGraphNode_t node;
2207 hipGraphNodeType* pType;
2208 hipGraphNodeType pType__val;
2209 } hipGraphNodeGetType;
2211 hipGraphExec_t hGraphExec;
2212 hipGraphNode_t hNode;
2213 unsigned int isEnabled;
2214 } hipGraphNodeSetEnabled;
2217 hipUserObject_t object;
2219 } hipGraphReleaseUserObject;
2222 const hipGraphNode_t* from;
2223 hipGraphNode_t from__val;
2224 const hipGraphNode_t* to;
2225 hipGraphNode_t to__val;
2226 size_t numDependencies;
2227 } hipGraphRemoveDependencies;
2230 hipUserObject_t object;
2233 } hipGraphRetainUserObject;
2235 hipGraphExec_t graphExec;
2239 hipGraphicsResource** resource;
2240 hipGraphicsResource* resource__val;
2243 } hipGraphicsGLRegisterBuffer;
2245 hipGraphicsResource** resource;
2246 hipGraphicsResource* resource__val;
2250 } hipGraphicsGLRegisterImage;
2253 hipGraphicsResource_t* resources;
2254 hipGraphicsResource_t resources__val;
2256 } hipGraphicsMapResources;
2262 hipGraphicsResource_t resource;
2263 } hipGraphicsResourceGetMappedPointer;
2266 hipArray_t array__val;
2267 hipGraphicsResource_t resource;
2268 unsigned int arrayIndex;
2269 unsigned int mipLevel;
2270 } hipGraphicsSubResourceGetMappedArray;
2273 hipGraphicsResource_t* resources;
2274 hipGraphicsResource_t resources__val;
2276 } hipGraphicsUnmapResources;
2278 hipGraphicsResource_t resource;
2279 } hipGraphicsUnregisterResource;
2282 unsigned int globalWorkSizeX;
2283 unsigned int globalWorkSizeY;
2284 unsigned int globalWorkSizeZ;
2285 unsigned int blockDimX;
2286 unsigned int blockDimY;
2287 unsigned int blockDimZ;
2288 size_t sharedMemBytes;
2289 hipStream_t hStream;
2290 void** kernelParams;
2291 void* kernelParams__val;
2294 hipEvent_t startEvent;
2295 hipEvent_t stopEvent;
2296 } hipHccModuleLaunchKernel;
2311 } hipHostGetDevicePointer;
2313 unsigned int* flagsPtr;
2314 unsigned int flagsPtr__val;
2330 } hipHostUnregister;
2332 hipExternalMemory_t* extMem_out;
2333 hipExternalMemory_t extMem_out__val;
2334 const hipExternalMemoryHandleDesc* memHandleDesc;
2335 hipExternalMemoryHandleDesc memHandleDesc__val;
2336 } hipImportExternalMemory;
2338 hipExternalSemaphore_t* extSem_out;
2339 hipExternalSemaphore_t extSem_out__val;
2340 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2341 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2342 } hipImportExternalSemaphore;
2348 } hipIpcCloseMemHandle;
2350 hipIpcEventHandle_t* handle;
2351 hipIpcEventHandle_t handle__val;
2353 } hipIpcGetEventHandle;
2355 hipIpcMemHandle_t* handle;
2356 hipIpcMemHandle_t handle__val;
2358 } hipIpcGetMemHandle;
2361 hipEvent_t event__val;
2362 hipIpcEventHandle_t handle;
2363 } hipIpcOpenEventHandle;
2367 hipIpcMemHandle_t handle;
2369 } hipIpcOpenMemHandle;
2371 const void* hostFunction;
2377 void** kernelParams;
2378 void* kernelParams__val;
2379 unsigned int sharedMemBytes;
2381 } hipLaunchCooperativeKernel;
2383 hipLaunchParams* launchParamsList;
2384 hipLaunchParams launchParamsList__val;
2387 } hipLaunchCooperativeKernelMultiDevice;
2392 } hipLaunchHostFunc;
2394 const void* function_address;
2399 size_t sharedMemBytes;
2408 hipPitchedPtr* pitchedDevPtr;
2409 hipPitchedPtr pitchedDevPtr__val;
2414 hipArray_t array__val;
2415 const hipChannelFormatDesc* desc;
2416 hipChannelFormatDesc desc__val;
2422 hipArray_t array__val;
2423 const hipChannelFormatDesc* desc;
2424 hipChannelFormatDesc desc__val;
2439 hipMemPool_t mem_pool;
2441 } hipMallocFromPoolAsync;
2454 hipMipmappedArray_t* mipmappedArray;
2455 hipMipmappedArray_t mipmappedArray__val;
2456 const hipChannelFormatDesc* desc;
2457 hipChannelFormatDesc desc__val;
2459 unsigned int numLevels;
2461 } hipMallocMipmappedArray;
2473 } hipMemAddressFree;
2480 unsigned long long flags;
2481 } hipMemAddressReserve;
2483 const void* dev_ptr;
2485 hipMemoryAdvise advice;
2494 hipDeviceptr_t* dptr;
2495 hipDeviceptr_t dptr__val;
2498 size_t widthInBytes;
2500 unsigned int elementSizeBytes;
2503 hipMemGenericAllocationHandle_t* handle;
2504 hipMemGenericAllocationHandle_t handle__val;
2506 const hipMemAllocationProp* prop;
2507 hipMemAllocationProp prop__val;
2508 unsigned long long flags;
2511 void* shareableHandle;
2512 hipMemGenericAllocationHandle_t handle;
2513 hipMemAllocationHandleType handleType;
2514 unsigned long long flags;
2515 } hipMemExportToShareableHandle;
2517 unsigned long long* flags;
2518 unsigned long long flags__val;
2519 const hipMemLocation* location;
2520 hipMemLocation location__val;
2524 hipDeviceptr_t* pbase;
2525 hipDeviceptr_t pbase__val;
2528 hipDeviceptr_t dptr;
2529 } hipMemGetAddressRange;
2531 size_t* granularity;
2532 size_t granularity__val;
2533 const hipMemAllocationProp* prop;
2534 hipMemAllocationProp prop__val;
2535 hipMemAllocationGranularity_flags option;
2536 } hipMemGetAllocationGranularity;
2538 hipMemAllocationProp* prop;
2539 hipMemAllocationProp prop__val;
2540 hipMemGenericAllocationHandle_t handle;
2541 } hipMemGetAllocationPropertiesFromHandle;
2549 hipMemGenericAllocationHandle_t* handle;
2550 hipMemGenericAllocationHandle_t handle__val;
2552 hipMemAllocationHandleType shHandleType;
2553 } hipMemImportFromShareableHandle;
2558 hipMemGenericAllocationHandle_t handle;
2559 unsigned long long flags;
2562 hipArrayMapInfo* mapInfoList;
2563 hipArrayMapInfo mapInfoList__val;
2566 } hipMemMapArrayAsync;
2568 hipMemPool_t* mem_pool;
2569 hipMemPool_t mem_pool__val;
2570 const hipMemPoolProps* pool_props;
2571 hipMemPoolProps pool_props__val;
2574 hipMemPool_t mem_pool;
2575 } hipMemPoolDestroy;
2577 hipMemPoolPtrExportData* export_data;
2578 hipMemPoolPtrExportData export_data__val;
2580 } hipMemPoolExportPointer;
2582 void* shared_handle;
2583 hipMemPool_t mem_pool;
2584 hipMemAllocationHandleType handle_type;
2586 } hipMemPoolExportToShareableHandle;
2588 hipMemAccessFlags* flags;
2589 hipMemAccessFlags flags__val;
2590 hipMemPool_t mem_pool;
2591 hipMemLocation* location;
2592 hipMemLocation location__val;
2593 } hipMemPoolGetAccess;
2595 hipMemPool_t mem_pool;
2596 hipMemPoolAttr attr;
2598 } hipMemPoolGetAttribute;
2600 hipMemPool_t* mem_pool;
2601 hipMemPool_t mem_pool__val;
2602 void* shared_handle;
2603 hipMemAllocationHandleType handle_type;
2605 } hipMemPoolImportFromShareableHandle;
2609 hipMemPool_t mem_pool;
2610 hipMemPoolPtrExportData* export_data;
2611 hipMemPoolPtrExportData export_data__val;
2612 } hipMemPoolImportPointer;
2614 hipMemPool_t mem_pool;
2615 const hipMemAccessDesc* desc_list;
2616 hipMemAccessDesc desc_list__val;
2618 } hipMemPoolSetAccess;
2620 hipMemPool_t mem_pool;
2621 hipMemPoolAttr attr;
2623 } hipMemPoolSetAttribute;
2625 hipMemPool_t mem_pool;
2626 size_t min_bytes_to_hold;
2629 const void* dev_ptr;
2633 } hipMemPrefetchAsync;
2642 hipMemRangeAttribute attribute;
2643 const void* dev_ptr;
2645 } hipMemRangeGetAttribute;
2650 size_t data_sizes__val;
2651 hipMemRangeAttribute* attributes;
2652 hipMemRangeAttribute attributes__val;
2653 size_t num_attributes;
2654 const void* dev_ptr;
2656 } hipMemRangeGetAttributes;
2658 hipMemGenericAllocationHandle_t handle;
2661 hipMemGenericAllocationHandle_t* handle;
2662 hipMemGenericAllocationHandle_t handle__val;
2664 } hipMemRetainAllocationHandle;
2668 const hipMemAccessDesc* desc;
2669 hipMemAccessDesc desc__val;
2704 hipArray_const_t src;
2710 } hipMemcpy2DFromArray;
2714 hipArray_const_t src;
2721 } hipMemcpy2DFromArrayAsync;
2731 } hipMemcpy2DToArray;
2742 } hipMemcpy2DToArrayAsync;
2744 const hipMemcpy3DParms* p;
2745 hipMemcpy3DParms p__val;
2748 const hipMemcpy3DParms* p;
2749 hipMemcpy3DParms p__val;
2761 hipArray_t srcArray;
2775 } hipMemcpyDtoDAsync;
2786 } hipMemcpyDtoHAsync;
2789 hipArray_const_t srcArray;
2794 } hipMemcpyFromArray;
2801 } hipMemcpyFromSymbol;
2809 } hipMemcpyFromSymbolAsync;
2811 hipArray_t dstArray;
2813 const void* srcHost;
2826 } hipMemcpyHtoDAsync;
2828 const hip_Memcpy2D* pCopy;
2829 hip_Memcpy2D pCopy__val;
2832 const hip_Memcpy2D* pCopy;
2833 hip_Memcpy2D pCopy__val;
2835 } hipMemcpyParam2DAsync;
2850 } hipMemcpyPeerAsync;
2865 } hipMemcpyToSymbol;
2873 } hipMemcpyToSymbolAsync;
2880 } hipMemcpyWithStream;
2902 hipPitchedPtr pitchedDevPtr;
2907 hipPitchedPtr pitchedDevPtr;
2919 hipDeviceptr_t dest;
2920 unsigned short value;
2924 hipDeviceptr_t dest;
2925 unsigned short value;
2928 } hipMemsetD16Async;
2930 hipDeviceptr_t dest;
2939 } hipMemsetD32Async;
2941 hipDeviceptr_t dest;
2942 unsigned char value;
2946 hipDeviceptr_t dest;
2947 unsigned char value;
2952 hipMipmappedArray_t* pHandle;
2953 hipMipmappedArray_t pHandle__val;
2954 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
2955 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
2956 unsigned int numMipmapLevels;
2957 } hipMipmappedArrayCreate;
2959 hipMipmappedArray_t hMipmappedArray;
2960 } hipMipmappedArrayDestroy;
2962 hipArray_t* pLevelArray;
2963 hipArray_t pLevelArray__val;
2964 hipMipmappedArray_t hMipMappedArray;
2966 } hipMipmappedArrayGetLevel;
2968 hipFunction_t* function;
2969 hipFunction_t function__val;
2973 } hipModuleGetFunction;
2975 hipDeviceptr_t* dptr;
2976 hipDeviceptr_t dptr__val;
2982 } hipModuleGetGlobal;
2984 textureReference** texRef;
2985 textureReference* texRef__val;
2989 } hipModuleGetTexRef;
2992 unsigned int gridDimX;
2993 unsigned int gridDimY;
2994 unsigned int gridDimZ;
2995 unsigned int blockDimX;
2996 unsigned int blockDimY;
2997 unsigned int blockDimZ;
2998 unsigned int sharedMemBytes;
3000 void** kernelParams;
3001 void* kernelParams__val;
3002 } hipModuleLaunchCooperativeKernel;
3004 hipFunctionLaunchParams* launchParamsList;
3005 hipFunctionLaunchParams launchParamsList__val;
3006 unsigned int numDevices;
3008 } hipModuleLaunchCooperativeKernelMultiDevice;
3011 unsigned int gridDimX;
3012 unsigned int gridDimY;
3013 unsigned int gridDimZ;
3014 unsigned int blockDimX;
3015 unsigned int blockDimY;
3016 unsigned int blockDimZ;
3017 unsigned int sharedMemBytes;
3019 void** kernelParams;
3020 void* kernelParams__val;
3023 } hipModuleLaunchKernel;
3025 hipModule_t*
module;
3026 hipModule_t module__val;
3031 hipModule_t*
module;
3032 hipModule_t module__val;
3034 } hipModuleLoadData;
3036 hipModule_t*
module;
3037 hipModule_t module__val;
3039 unsigned int numOptions;
3040 hipJitOption* options;
3041 hipJitOption options__val;
3042 void** optionsValues;
3043 void* optionsValues__val;
3044 } hipModuleLoadDataEx;
3050 size_t dynSharedMemPerBlk;
3051 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3057 size_t dynSharedMemPerBlk;
3059 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3066 size_t dynSharedMemPerBlk;
3068 } hipModuleOccupancyMaxPotentialBlockSize;
3075 size_t dynSharedMemPerBlk;
3078 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3087 size_t dynamicSMemSize;
3088 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3094 size_t dynamicSMemSize;
3096 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3103 size_t dynSharedMemPerBlk;
3105 } hipOccupancyMaxPotentialBlockSize;
3108 hipPointer_attribute attribute;
3110 } hipPointerGetAttribute;
3112 hipPointerAttribute_t* attributes;
3113 hipPointerAttribute_t attributes__val;
3115 } hipPointerGetAttributes;
3118 hipPointer_attribute attribute;
3120 } hipPointerSetAttribute;
3122 int* runtimeVersion;
3123 int runtimeVersion__val;
3124 } hipRuntimeGetVersion;
3130 } hipSetDeviceFlags;
3137 const hipExternalSemaphore_t* extSemArray;
3138 hipExternalSemaphore_t extSemArray__val;
3139 const hipExternalSemaphoreSignalParams* paramsArray;
3140 hipExternalSemaphoreSignalParams paramsArray__val;
3141 unsigned int numExtSems;
3143 } hipSignalExternalSemaphoresAsync;
3146 hipStreamCallback_t callback;
3149 } hipStreamAddCallback;
3155 } hipStreamAttachMemAsync;
3158 hipStreamCaptureMode mode;
3159 } hipStreamBeginCapture;
3161 hipStream_t* stream;
3162 hipStream_t stream__val;
3165 hipStream_t* stream;
3166 hipStream_t stream__val;
3168 } hipStreamCreateWithFlags;
3170 hipStream_t* stream;
3171 hipStream_t stream__val;
3174 } hipStreamCreateWithPriority;
3181 hipGraph_t pGraph__val;
3182 } hipStreamEndCapture;
3185 hipStreamCaptureStatus* pCaptureStatus;
3186 hipStreamCaptureStatus pCaptureStatus__val;
3187 unsigned long long* pId;
3188 unsigned long long pId__val;
3189 } hipStreamGetCaptureInfo;
3192 hipStreamCaptureStatus* captureStatus_out;
3193 hipStreamCaptureStatus captureStatus_out__val;
3194 unsigned long long* id_out;
3195 unsigned long long id_out__val;
3196 hipGraph_t* graph_out;
3197 hipGraph_t graph_out__val;
3198 const hipGraphNode_t** dependencies_out;
3199 const hipGraphNode_t* dependencies_out__val;
3200 size_t* numDependencies_out;
3201 size_t numDependencies_out__val;
3202 } hipStreamGetCaptureInfo_v2;
3205 hipDevice_t* device;
3206 hipDevice_t device__val;
3207 } hipStreamGetDevice;
3210 unsigned int* flags;
3211 unsigned int flags__val;
3212 } hipStreamGetFlags;
3217 } hipStreamGetPriority;
3220 hipStreamCaptureStatus* pCaptureStatus;
3221 hipStreamCaptureStatus pCaptureStatus__val;
3222 } hipStreamIsCapturing;
3228 } hipStreamSynchronize;
3231 hipGraphNode_t* dependencies;
3232 hipGraphNode_t dependencies__val;
3233 size_t numDependencies;
3235 } hipStreamUpdateCaptureDependencies;
3240 } hipStreamWaitEvent;
3247 } hipStreamWaitValue32;
3254 } hipStreamWaitValue64;
3260 } hipStreamWriteValue32;
3266 } hipStreamWriteValue64;
3268 hipDeviceptr_t* dev_ptr;
3269 hipDeviceptr_t dev_ptr__val;
3270 const textureReference* texRef;
3271 textureReference texRef__val;
3272 } hipTexRefGetAddress;
3274 unsigned int* pFlags;
3275 unsigned int pFlags__val;
3276 const textureReference* texRef;
3277 textureReference texRef__val;
3278 } hipTexRefGetFlags;
3280 hipArray_Format* pFormat;
3281 hipArray_Format pFormat__val;
3283 int pNumChannels__val;
3284 const textureReference* texRef;
3285 textureReference texRef__val;
3286 } hipTexRefGetFormat;
3290 const textureReference* texRef;
3291 textureReference texRef__val;
3292 } hipTexRefGetMaxAnisotropy;
3294 hipMipmappedArray_t* pArray;
3295 hipMipmappedArray_t pArray__val;
3296 const textureReference* texRef;
3297 textureReference texRef__val;
3298 } hipTexRefGetMipMappedArray;
3302 const textureReference* texRef;
3303 textureReference texRef__val;
3304 } hipTexRefGetMipmapLevelBias;
3306 float* pminMipmapLevelClamp;
3307 float pminMipmapLevelClamp__val;
3308 float* pmaxMipmapLevelClamp;
3309 float pmaxMipmapLevelClamp__val;
3310 const textureReference* texRef;
3311 textureReference texRef__val;
3312 } hipTexRefGetMipmapLevelClamp;
3315 size_t ByteOffset__val;
3316 textureReference* texRef;
3317 textureReference texRef__val;
3318 hipDeviceptr_t dptr;
3320 } hipTexRefSetAddress;
3322 textureReference* texRef;
3323 textureReference texRef__val;
3324 const HIP_ARRAY_DESCRIPTOR* desc;
3325 HIP_ARRAY_DESCRIPTOR desc__val;
3326 hipDeviceptr_t dptr;
3328 } hipTexRefSetAddress2D;
3330 textureReference* tex;
3331 textureReference tex__val;
3332 hipArray_const_t array;
3334 } hipTexRefSetArray;
3336 textureReference* texRef;
3337 textureReference texRef__val;
3338 float* pBorderColor;
3339 float pBorderColor__val;
3340 } hipTexRefSetBorderColor;
3342 textureReference* texRef;
3343 textureReference texRef__val;
3345 } hipTexRefSetFlags;
3347 textureReference* texRef;
3348 textureReference texRef__val;
3349 hipArray_Format fmt;
3350 int NumPackedComponents;
3351 } hipTexRefSetFormat;
3353 textureReference* texRef;
3354 textureReference texRef__val;
3355 unsigned int maxAniso;
3356 } hipTexRefSetMaxAnisotropy;
3358 textureReference* texRef;
3359 textureReference texRef__val;
3361 } hipTexRefSetMipmapLevelBias;
3363 textureReference* texRef;
3364 textureReference texRef__val;
3365 float minMipMapLevelClamp;
3366 float maxMipMapLevelClamp;
3367 } hipTexRefSetMipmapLevelClamp;
3369 textureReference* texRef;
3370 textureReference texRef__val;
3371 hipMipmappedArray* mipmappedArray;
3372 hipMipmappedArray mipmappedArray__val;
3374 } hipTexRefSetMipmappedArray;
3376 hipStreamCaptureMode* mode;
3377 hipStreamCaptureMode mode__val;
3378 } hipThreadExchangeStreamCaptureMode;
3380 hipUserObject_t* object_out;
3381 hipUserObject_t object_out__val;
3383 hipHostFn_t destroy;
3384 unsigned int initialRefcount;
3386 } hipUserObjectCreate;
3388 hipUserObject_t object;
3390 } hipUserObjectRelease;
3392 hipUserObject_t object;
3394 } hipUserObjectRetain;
3396 const hipExternalSemaphore_t* extSemArray;
3397 hipExternalSemaphore_t extSemArray__val;
3398 const hipExternalSemaphoreWaitParams* paramsArray;
3399 hipExternalSemaphoreWaitParams paramsArray__val;
3400 unsigned int numExtSems;
3402 } hipWaitExternalSemaphoresAsync;
3404 uint64_t *phase_data;
3409#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3410 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3411 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3412 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3413 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3416#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3417 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3418 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3419 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3420 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3423#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3424 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3425 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3428#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3429 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3430 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3433#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3434 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3435 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3438#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3439 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3442#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3443 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3444 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3447#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3448 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3449 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3450 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3451 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3454#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3455 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3456 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3459#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3460 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3461 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3464#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3465 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3466 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3467 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3468 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3471#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3472 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3473 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3476#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3477 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3478 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3479 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3482#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3483 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3486#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3487 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3490#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3491 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3492 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3495#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3496 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3497 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3500#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3501 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3504#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3505 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3508#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3509 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3512#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3513 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3516#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3517 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3520#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3521 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3524#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3525 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3528#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3529 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3532#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3533 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3536#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3537 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3540#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3543#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3544 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3547#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3548 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3551#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3552 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3555#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3556 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3557 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3558 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3561#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3562 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3563 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3564 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3567#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3568 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3571#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3572 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3573 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3576#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3577 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3578 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3581#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3582 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3583 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3584 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3587#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3588 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3589 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3592#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3593 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3596#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3597 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3598 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3601#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3602 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3603 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3604 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3607#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3608 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3609 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3612#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3613 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3614 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3617#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3618 cb_data.args.hipDeviceGetName.name = (char*)name; \
3619 cb_data.args.hipDeviceGetName.len = (int)len; \
3620 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3623#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3624 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3625 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3626 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3627 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3630#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3631 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3632 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3633 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3636#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3640#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3641 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3642 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3645#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3646 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3647 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3650#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3651 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3654#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3655 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3656 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3657 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3660#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3661 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3664#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3665 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3668#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3669 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3670 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3673#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3674 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3675 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3678#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3681#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3682 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3685#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3686 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3687 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3688 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3691#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3692 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3693 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3696#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3697 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3698 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3701#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3702 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3705#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3708#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3710 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3713#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3714 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3717#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3720#define INIT_hipDrvGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
3723#define INIT_hipDrvGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3726#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3727 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3730#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3731 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3734#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3735 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3736 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3739#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3740 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3741 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3742 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3743 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3746#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3747 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3750#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3751 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3752 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3755#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3756 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3759#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3760 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3761 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3762 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3765#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3766 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3769#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3770 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3771 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3774#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3775 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3778#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
3781#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3782 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3783 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3784 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3785 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3788#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3789 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3790 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3791 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3792 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3793 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3794 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3795 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3796 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3797 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3800#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3801 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3802 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3803 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3806#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3807 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3808 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3809 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3812#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3813 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3814 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3815 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3816 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3817 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3818 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3819 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3820 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3821 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3822 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3823 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3824 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3825 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3826 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3829#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3830 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3831 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3832 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3835#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3836 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3837 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3838 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3841#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3842 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3843 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3844 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3847#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
3848 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
3849 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
3850 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
3853#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
3854 cb_data.args.hipFree.ptr = (void*)ptr; \
3857#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
3858 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
3861#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
3862 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
3863 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
3866#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
3867 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
3870#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
3871 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
3874#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
3875 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
3876 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
3877 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
3880#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
3881 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
3882 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
3885#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
3886 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
3887 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
3888 cb_data.args.hipFuncSetAttribute.value = (int)value; \
3891#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3892 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
3893 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
3896#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3897 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
3898 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3901#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
3902 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
3903 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
3904 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
3905 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
3908#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
3909 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
3910 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
3913#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
3914 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
3917#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
3918 cb_data.args.hipGetDeviceCount.count = (int*)count; \
3921#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
3922 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
3925#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
3926 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
3927 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
3930#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
3931 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
3932 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
3935#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
3938#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
3941#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
3942 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
3943 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
3944 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
3947#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
3948 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
3949 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
3952#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
3953 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
3954 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
3957#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
3958 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3959 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
3960 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3961 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
3962 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
3965#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
3966 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
3967 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
3968 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
3969 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
3972#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
3973 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3974 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
3975 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3976 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
3979#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
3980 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3981 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
3982 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3983 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
3984 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
3987#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
3988 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3989 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
3990 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3991 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
3992 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
3995#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
3998#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4001#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4002 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4003 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4004 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4005 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4006 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4009#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4010 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4011 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4012 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4013 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4014 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4017#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4018 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4019 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4020 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4021 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4022 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4025#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4026 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4027 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4028 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4029 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4030 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4033#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4034 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4035 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4036 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4037 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4038 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4041#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4042 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4043 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4044 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4045 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4046 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4047 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4048 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4049 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4052#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4053 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4054 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4055 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4056 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4057 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4058 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4059 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4060 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4061 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4064#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4065 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4066 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4067 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4068 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4069 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4070 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4071 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4072 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4073 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4076#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4077 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4078 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4079 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4080 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4081 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4084#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4085 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4086 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4089#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4090 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4091 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4094#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4095 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4096 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4099#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4100 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4101 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4102 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4105#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4106 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4109#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4110 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4113#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4114 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4115 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4118#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4119 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4120 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4123#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4124 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4125 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4128#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4129 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4130 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4133#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4134 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4135 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4136 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4139#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4140 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4143#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4144 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4145 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4146 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4149#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4150 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4151 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4152 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4155#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4158#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4161#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4162 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4163 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4164 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4167#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4168 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4169 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4170 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4173#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4174 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4175 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4176 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4179#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4180 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4181 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4182 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4183 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4184 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4185 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4188#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4189 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4190 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4191 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4192 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4193 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4194 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4195 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4198#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4199 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4200 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4201 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4202 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4203 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4204 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4205 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4208#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4209 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4210 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4211 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4214#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4215 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4216 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4217 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4218 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4221#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4224#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4227#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4230#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4233#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4234 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4235 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4236 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4237 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4240#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4241 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4242 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4243 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4246#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4247 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4248 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4249 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4252#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4253 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4254 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4257#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4258 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4259 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4262#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4263 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4264 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4265 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4266 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4267 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4270#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4271 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4272 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4273 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4276#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4277 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4278 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4281#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4282 cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
4283 cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
4284 cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
4287#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4288 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4289 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4292#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4293 cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
4294 cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
4295 cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
4298#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4299 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4300 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4303#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4304 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4305 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4308#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4309 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4310 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4313#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4314 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4315 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4318#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4319 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4320 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4323#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4324 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4325 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4328#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4329 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4330 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4331 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4332 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4333 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4336#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4337 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4338 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4339 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4340 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4341 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4342 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4345#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4346 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4347 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4348 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4349 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4350 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4351 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4354#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4355 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4356 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4359#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4360 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4361 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4364#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4365 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4366 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4367 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4370#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4371 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4372 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4373 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4376#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4377 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4378 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4379 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4382#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4383 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4384 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4385 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4388#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4389 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4390 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4393#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4394 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4395 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4396 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4399#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4400 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4401 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4402 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4405#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4406 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4407 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4408 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4409 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4412#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4413 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4414 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4415 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4416 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4419#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4420 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4421 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4424#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4425 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4426 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4427 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4430#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4431 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4432 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4433 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4434 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4437#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4438 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4439 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4440 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4443#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4444 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4445 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4446 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4449#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4450 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4451 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4452 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4453 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4456#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4457 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4458 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4459 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4462#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4463 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4466#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4467 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4468 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4469 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4470 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4471 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4472 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4473 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4474 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4475 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4476 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4477 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4478 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4479 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4482#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4483 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4484 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4485 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4488#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4489 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4492#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4493 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4494 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4495 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4498#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4499 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4500 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4503#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4504 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4505 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4506 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4509#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4510 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4511 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4512 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4515#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4516 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4519#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4520 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4521 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4524#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4525 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4526 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4529#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4530 cb_data.args.hipInit.flags = (unsigned int)flags; \
4533#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4534 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4537#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4538 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4539 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4542#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4543 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4544 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4547#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4548 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4549 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4552#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4553 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4554 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4555 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4558#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4559 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4562#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4563 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4564 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4565 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4566 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4567 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4568 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4571#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4572 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4573 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4574 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4577#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4578 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4579 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4580 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4583#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4584 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4585 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4586 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4587 cb_data.args.hipLaunchKernel.args = (void**)args; \
4588 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4589 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4592#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4593 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4594 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4597#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4598 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4599 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4602#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4603 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4604 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4605 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4606 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4609#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4610 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4611 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4612 cb_data.args.hipMallocArray.width = (size_t)width; \
4613 cb_data.args.hipMallocArray.height = (size_t)height; \
4614 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4617#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4618 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4619 cb_data.args.hipMallocAsync.size = (size_t)size; \
4620 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4623#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4624 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4625 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4626 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4627 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4630#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4631 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4632 cb_data.args.hipMallocHost.size = (size_t)size; \
4635#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4636 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4637 cb_data.args.hipMallocManaged.size = (size_t)size; \
4638 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4641#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4642 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4643 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4644 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4645 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4646 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4649#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4650 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4651 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4652 cb_data.args.hipMallocPitch.width = (size_t)width; \
4653 cb_data.args.hipMallocPitch.height = (size_t)height; \
4656#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4657 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4658 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4661#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4662 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4663 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4664 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4665 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4666 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4669#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4670 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4671 cb_data.args.hipMemAdvise.count = (size_t)count; \
4672 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4673 cb_data.args.hipMemAdvise.device = (int)device; \
4676#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4677 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4678 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4681#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4682 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4683 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4684 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4685 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4686 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4689#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4690 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4691 cb_data.args.hipMemCreate.size = (size_t)size; \
4692 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4693 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4696#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4697 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4698 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4699 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4700 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4703#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4704 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4705 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4706 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4709#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4710 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4711 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4712 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4715#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4716 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4717 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4718 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4721#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4722 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4723 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4726#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4727 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4728 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4731#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4732 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4733 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4734 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4737#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4738 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4739 cb_data.args.hipMemMap.size = (size_t)size; \
4740 cb_data.args.hipMemMap.offset = (size_t)offset; \
4741 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4742 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4745#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4746 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4747 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4748 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4751#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4752 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4753 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4756#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4757 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4760#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4761 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4762 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4765#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4766 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4767 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4768 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4769 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4772#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4773 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4774 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4775 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4778#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4779 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4780 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4781 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4784#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4785 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4786 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4787 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4788 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4791#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4792 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4793 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4794 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4797#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4798 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4799 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4800 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4803#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4804 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4805 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
4806 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
4809#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
4810 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
4811 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
4814#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
4815 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
4816 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
4817 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
4818 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
4821#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
4822 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
4823 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
4826#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
4827 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
4828 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
4829 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
4830 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
4831 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
4834#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
4835 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
4836 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
4837 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
4838 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
4839 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
4840 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
4843#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
4844 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
4847#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
4848 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4849 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
4852#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
4853 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
4854 cb_data.args.hipMemSetAccess.size = (size_t)size; \
4855 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
4856 cb_data.args.hipMemSetAccess.count = (size_t)count; \
4859#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
4860 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
4861 cb_data.args.hipMemUnmap.size = (size_t)size; \
4864#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
4865 cb_data.args.hipMemcpy.dst = (void*)dst; \
4866 cb_data.args.hipMemcpy.src = (const void*)src; \
4867 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
4868 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
4871#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
4872 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
4873 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
4874 cb_data.args.hipMemcpy2D.src = (const void*)src; \
4875 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
4876 cb_data.args.hipMemcpy2D.width = (size_t)width; \
4877 cb_data.args.hipMemcpy2D.height = (size_t)height; \
4878 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
4881#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
4882 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
4883 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
4884 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
4885 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
4886 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
4887 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
4888 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
4889 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
4892#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
4893 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
4894 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
4895 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
4896 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
4897 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
4898 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
4899 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
4900 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
4903#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
4904 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
4905 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
4906 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
4907 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
4908 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
4909 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
4910 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
4911 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
4912 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
4915#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
4916 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
4917 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
4918 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
4919 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
4920 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
4921 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
4922 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
4923 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
4926#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
4927 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
4928 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
4929 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
4930 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
4931 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
4932 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
4933 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
4934 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
4935 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
4938#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
4939 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
4942#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
4943 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
4944 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
4947#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
4948 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
4949 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
4950 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
4951 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
4952 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
4955#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
4956 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
4957 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
4958 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
4959 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
4962#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
4963 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
4964 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
4965 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
4968#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
4969 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4970 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
4971 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
4972 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
4975#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
4976 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
4977 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
4978 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
4981#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
4982 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
4983 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
4984 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
4985 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
4988#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
4989 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
4990 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
4991 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
4992 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
4993 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
4994 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
4997#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
4998 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
4999 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5000 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5001 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5002 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5005#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5006 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5007 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5008 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5009 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5010 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5011 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5014#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5015 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5016 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5017 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5018 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5021#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5022 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5023 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5024 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5027#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5028 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5029 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5030 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5031 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5034#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5035 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5038#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5039 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5040 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5043#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5044 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5045 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5046 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5047 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5048 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5051#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5052 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5053 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5054 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5055 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5056 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5057 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5060#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5061 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5062 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5063 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5064 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5065 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5066 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5069#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5070 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5071 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5072 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5073 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5074 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5077#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5078 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5079 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5080 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5081 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5082 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5083 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5086#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5087 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5088 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5089 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5090 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5091 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5094#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5095 cb_data.args.hipMemset.dst = (void*)dst; \
5096 cb_data.args.hipMemset.value = (int)value; \
5097 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5100#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5101 cb_data.args.hipMemset2D.dst = (void*)dst; \
5102 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5103 cb_data.args.hipMemset2D.value = (int)value; \
5104 cb_data.args.hipMemset2D.width = (size_t)width; \
5105 cb_data.args.hipMemset2D.height = (size_t)height; \
5108#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5109 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5110 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5111 cb_data.args.hipMemset2DAsync.value = (int)value; \
5112 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5113 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5114 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5117#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5118 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5119 cb_data.args.hipMemset3D.value = (int)value; \
5120 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5123#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5124 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5125 cb_data.args.hipMemset3DAsync.value = (int)value; \
5126 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5127 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5130#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5131 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5132 cb_data.args.hipMemsetAsync.value = (int)value; \
5133 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5134 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5137#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5138 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5139 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5140 cb_data.args.hipMemsetD16.count = (size_t)count; \
5143#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5144 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5145 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5146 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5147 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5150#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5151 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5152 cb_data.args.hipMemsetD32.value = (int)value; \
5153 cb_data.args.hipMemsetD32.count = (size_t)count; \
5156#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5157 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5158 cb_data.args.hipMemsetD32Async.value = (int)value; \
5159 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5160 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5163#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5164 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5165 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5166 cb_data.args.hipMemsetD8.count = (size_t)count; \
5169#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5170 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5171 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5172 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5173 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5176#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5177 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5178 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5179 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5182#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5183 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5186#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5187 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5188 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5189 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5192#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5193 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5194 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5195 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5198#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5199 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5200 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5201 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5202 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5205#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5206 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5207 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5208 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5211#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5212 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5213 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5214 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5215 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5216 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5217 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5218 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5219 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5220 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5221 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5224#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5225 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5226 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5227 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5230#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5231 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5232 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5233 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5234 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5235 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5236 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5237 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5238 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5239 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5240 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5241 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5244#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5245 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5246 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5249#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5250 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5251 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5254#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5255 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5256 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5257 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5258 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5259 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5262#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5263 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5264 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5265 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5266 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5269#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5270 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5271 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5272 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5273 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5274 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5277#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5278 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5279 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5280 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5281 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5282 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5285#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5286 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5287 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5288 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5289 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5290 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5291 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5294#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5295 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5298#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5299 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5300 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5301 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5302 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5305#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5306 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5307 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5308 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5309 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5310 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5313#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5314 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5315 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5316 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5317 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5318 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5321#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5324#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5325 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5326 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5327 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5330#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5331 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5332 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5335#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5336 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5337 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5338 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5341#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5344#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5347#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5348 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5351#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5352 cb_data.args.hipSetDevice.deviceId = (int)device; \
5355#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5356 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5359#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5360 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5361 cb_data.args.hipSetupArgument.size = (size_t)size; \
5362 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5365#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5366 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5367 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5368 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5369 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5372#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5373 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5374 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5375 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5376 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5379#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5380 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5381 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5382 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5383 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5386#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5387 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5388 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5391#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5392 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5395#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5396 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5397 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5400#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5401 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5402 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5403 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5406#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5407 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5410#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5411 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5412 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5415#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5416 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5417 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5418 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5421#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5422 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5423 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5424 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5425 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5426 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5427 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5430#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5431 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5432 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5435#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5436 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5437 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5440#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5441 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5442 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5445#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5446 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5447 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5450#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5451 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5454#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5455 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5458#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5459 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5460 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5461 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5462 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5465#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5466 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5467 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5468 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5471#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5472 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5473 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5474 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5475 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5476 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5479#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5480 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5481 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5482 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5483 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5484 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5487#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5488 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5489 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5490 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5491 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5494#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5495 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5496 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5497 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5498 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5501#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5502 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5503 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5506#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5507 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5508 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5511#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5512 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5513 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5514 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5517#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5518 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5519 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5522#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5525#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5526 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5527 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5530#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5531 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5532 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5533 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5536#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5537 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5538 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5539 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5540 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5543#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5544 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5545 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5546 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5547 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5550#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5551 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5552 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5553 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5556#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5557 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5558 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5561#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5562 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5563 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5566#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5567 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5568 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5569 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5572#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5573 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5574 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5577#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5578 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5579 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5582#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5583 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5584 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5585 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5588#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5589 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5590 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5591 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5594#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5595 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5598#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5599 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5600 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5601 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5602 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5603 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5606#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5607 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5608 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5611#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5612 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5613 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5616#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5617 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5618 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5619 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5620 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5622#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5626#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5628#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5630#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5632#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5634#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5636#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5638#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5640#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5642#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5644#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5646#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5648#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5650#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
5652#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
5654#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
5656#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
5658#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
5660#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
5662#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
5664#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5666#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5668#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5670#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5672#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5674#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5676#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
5678#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
5680#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5682#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5684#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
5686#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5688#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5690#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5692#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5694#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5696#if HIP_PROF_HIP_API_STRING
5698static inline void hipApiArgsInit(hip_api_id_t
id,
hip_api_data_t* data) {
5701 case HIP_API_ID___hipPopCallConfiguration:
5702 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5703 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5704 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5705 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5708 case HIP_API_ID___hipPushCallConfiguration:
5711 case HIP_API_ID_hipArray3DCreate:
5712 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5713 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5716 case HIP_API_ID_hipArray3DGetDescriptor:
5717 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5720 case HIP_API_ID_hipArrayCreate:
5721 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5722 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5725 case HIP_API_ID_hipArrayDestroy:
5728 case HIP_API_ID_hipArrayGetDescriptor:
5729 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5732 case HIP_API_ID_hipArrayGetInfo:
5733 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5734 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5735 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5738 case HIP_API_ID_hipChooseDeviceR0000:
5739 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
5740 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
5743 case HIP_API_ID_hipChooseDeviceR0600:
5744 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
5745 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
5748 case HIP_API_ID_hipConfigureCall:
5751 case HIP_API_ID_hipCreateSurfaceObject:
5752 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
5753 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
5756 case HIP_API_ID_hipCtxCreate:
5757 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
5760 case HIP_API_ID_hipCtxDestroy:
5763 case HIP_API_ID_hipCtxDisablePeerAccess:
5766 case HIP_API_ID_hipCtxEnablePeerAccess:
5769 case HIP_API_ID_hipCtxGetApiVersion:
5770 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
5773 case HIP_API_ID_hipCtxGetCacheConfig:
5774 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
5777 case HIP_API_ID_hipCtxGetCurrent:
5778 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
5781 case HIP_API_ID_hipCtxGetDevice:
5782 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
5785 case HIP_API_ID_hipCtxGetFlags:
5786 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
5789 case HIP_API_ID_hipCtxGetSharedMemConfig:
5790 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
5793 case HIP_API_ID_hipCtxPopCurrent:
5794 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
5797 case HIP_API_ID_hipCtxPushCurrent:
5800 case HIP_API_ID_hipCtxSetCacheConfig:
5803 case HIP_API_ID_hipCtxSetCurrent:
5806 case HIP_API_ID_hipCtxSetSharedMemConfig:
5809 case HIP_API_ID_hipCtxSynchronize:
5812 case HIP_API_ID_hipDestroyExternalMemory:
5815 case HIP_API_ID_hipDestroyExternalSemaphore:
5818 case HIP_API_ID_hipDestroySurfaceObject:
5821 case HIP_API_ID_hipDeviceCanAccessPeer:
5822 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
5825 case HIP_API_ID_hipDeviceComputeCapability:
5826 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
5827 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
5830 case HIP_API_ID_hipDeviceDisablePeerAccess:
5833 case HIP_API_ID_hipDeviceEnablePeerAccess:
5836 case HIP_API_ID_hipDeviceGet:
5837 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
5840 case HIP_API_ID_hipDeviceGetAttribute:
5841 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
5844 case HIP_API_ID_hipDeviceGetByPCIBusId:
5845 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
5846 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
5849 case HIP_API_ID_hipDeviceGetCacheConfig:
5850 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
5853 case HIP_API_ID_hipDeviceGetDefaultMemPool:
5854 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
5857 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
5860 case HIP_API_ID_hipDeviceGetLimit:
5861 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
5864 case HIP_API_ID_hipDeviceGetMemPool:
5865 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
5868 case HIP_API_ID_hipDeviceGetName:
5869 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
5872 case HIP_API_ID_hipDeviceGetP2PAttribute:
5873 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
5876 case HIP_API_ID_hipDeviceGetPCIBusId:
5877 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
5880 case HIP_API_ID_hipDeviceGetSharedMemConfig:
5881 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
5884 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
5885 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
5886 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
5889 case HIP_API_ID_hipDeviceGetUuid:
5890 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
5893 case HIP_API_ID_hipDeviceGraphMemTrim:
5896 case HIP_API_ID_hipDevicePrimaryCtxGetState:
5897 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
5898 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
5901 case HIP_API_ID_hipDevicePrimaryCtxRelease:
5904 case HIP_API_ID_hipDevicePrimaryCtxReset:
5907 case HIP_API_ID_hipDevicePrimaryCtxRetain:
5908 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
5911 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
5914 case HIP_API_ID_hipDeviceReset:
5917 case HIP_API_ID_hipDeviceSetCacheConfig:
5920 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
5923 case HIP_API_ID_hipDeviceSetLimit:
5926 case HIP_API_ID_hipDeviceSetMemPool:
5929 case HIP_API_ID_hipDeviceSetSharedMemConfig:
5932 case HIP_API_ID_hipDeviceSynchronize:
5935 case HIP_API_ID_hipDeviceTotalMem:
5936 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
5939 case HIP_API_ID_hipDriverGetVersion:
5940 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
5943 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
5944 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
5945 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
5946 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
5949 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
5950 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
5953 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
5954 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
5957 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
5958 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
5961 case HIP_API_ID_hipDrvMemcpy3D:
5962 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
5965 case HIP_API_ID_hipDrvMemcpy3DAsync:
5966 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
5969 case HIP_API_ID_hipDrvPointerGetAttributes:
5970 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
5971 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
5974 case HIP_API_ID_hipEventCreate:
5975 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
5978 case HIP_API_ID_hipEventCreateWithFlags:
5979 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
5982 case HIP_API_ID_hipEventDestroy:
5985 case HIP_API_ID_hipEventElapsedTime:
5986 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
5989 case HIP_API_ID_hipEventQuery:
5992 case HIP_API_ID_hipEventRecord:
5995 case HIP_API_ID_hipEventSynchronize:
5998 case HIP_API_ID_hipExtGetLastError:
6001 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6002 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6003 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6006 case HIP_API_ID_hipExtLaunchKernel:
6007 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6010 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6011 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6014 case HIP_API_ID_hipExtMallocWithFlags:
6015 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6018 case HIP_API_ID_hipExtModuleLaunchKernel:
6019 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6020 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6023 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6024 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6025 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6028 case HIP_API_ID_hipExtStreamGetCUMask:
6029 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6032 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6033 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6034 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6037 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6038 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6039 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6042 case HIP_API_ID_hipFree:
6045 case HIP_API_ID_hipFreeArray:
6048 case HIP_API_ID_hipFreeAsync:
6051 case HIP_API_ID_hipFreeHost:
6054 case HIP_API_ID_hipFreeMipmappedArray:
6057 case HIP_API_ID_hipFuncGetAttribute:
6058 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6061 case HIP_API_ID_hipFuncGetAttributes:
6062 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6065 case HIP_API_ID_hipFuncSetAttribute:
6068 case HIP_API_ID_hipFuncSetCacheConfig:
6071 case HIP_API_ID_hipFuncSetSharedMemConfig:
6074 case HIP_API_ID_hipGLGetDevices:
6075 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6076 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6079 case HIP_API_ID_hipGetChannelDesc:
6080 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6083 case HIP_API_ID_hipGetDevice:
6084 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6087 case HIP_API_ID_hipGetDeviceCount:
6088 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6091 case HIP_API_ID_hipGetDeviceFlags:
6092 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6095 case HIP_API_ID_hipGetDevicePropertiesR0000:
6096 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6099 case HIP_API_ID_hipGetDevicePropertiesR0600:
6100 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6103 case HIP_API_ID_hipGetErrorString:
6106 case HIP_API_ID_hipGetLastError:
6109 case HIP_API_ID_hipGetMipmappedArrayLevel:
6110 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6113 case HIP_API_ID_hipGetSymbolAddress:
6114 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6117 case HIP_API_ID_hipGetSymbolSize:
6118 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6121 case HIP_API_ID_hipGraphAddChildGraphNode:
6122 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6123 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6126 case HIP_API_ID_hipGraphAddDependencies:
6127 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6128 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6131 case HIP_API_ID_hipGraphAddEmptyNode:
6132 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6133 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6136 case HIP_API_ID_hipGraphAddEventRecordNode:
6137 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6138 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6141 case HIP_API_ID_hipGraphAddEventWaitNode:
6142 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6143 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6146 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6147 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6148 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6149 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6152 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6153 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6154 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6155 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6158 case HIP_API_ID_hipGraphAddHostNode:
6159 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6160 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6161 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6164 case HIP_API_ID_hipGraphAddKernelNode:
6165 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6166 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6167 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6170 case HIP_API_ID_hipGraphAddMemAllocNode:
6171 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6172 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6173 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6176 case HIP_API_ID_hipGraphAddMemFreeNode:
6177 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6178 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6181 case HIP_API_ID_hipGraphAddMemcpyNode:
6182 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6183 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6184 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6187 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6188 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6189 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6192 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6193 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6194 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6197 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6198 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6199 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6202 case HIP_API_ID_hipGraphAddMemsetNode:
6203 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6204 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6205 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6208 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6209 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6212 case HIP_API_ID_hipGraphClone:
6213 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6216 case HIP_API_ID_hipGraphCreate:
6217 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6220 case HIP_API_ID_hipGraphDebugDotPrint:
6221 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6224 case HIP_API_ID_hipGraphDestroy:
6227 case HIP_API_ID_hipGraphDestroyNode:
6230 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6231 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6234 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6237 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6238 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6241 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6244 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6247 case HIP_API_ID_hipGraphExecDestroy:
6250 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6253 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6256 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6257 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6260 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6261 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6264 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6265 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6268 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6269 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6272 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6273 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6276 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6279 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6282 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6285 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6286 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6289 case HIP_API_ID_hipGraphExecUpdate:
6290 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6291 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6294 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6295 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6298 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6299 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6302 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6303 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6306 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6307 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6310 case HIP_API_ID_hipGraphGetEdges:
6311 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6312 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6313 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6316 case HIP_API_ID_hipGraphGetNodes:
6317 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6318 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6321 case HIP_API_ID_hipGraphGetRootNodes:
6322 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6323 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6326 case HIP_API_ID_hipGraphHostNodeGetParams:
6327 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6330 case HIP_API_ID_hipGraphHostNodeSetParams:
6331 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6334 case HIP_API_ID_hipGraphInstantiate:
6335 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6336 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6337 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6340 case HIP_API_ID_hipGraphInstantiateWithFlags:
6341 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6344 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6347 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6348 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6351 case HIP_API_ID_hipGraphKernelNodeGetParams:
6352 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6355 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6356 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6359 case HIP_API_ID_hipGraphKernelNodeSetParams:
6360 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6363 case HIP_API_ID_hipGraphLaunch:
6366 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6367 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6370 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6373 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6374 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6377 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6378 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6381 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6384 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6387 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6390 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6391 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6394 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6395 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6398 case HIP_API_ID_hipGraphNodeFindInClone:
6399 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6402 case HIP_API_ID_hipGraphNodeGetDependencies:
6403 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6404 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6407 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6408 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6409 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6412 case HIP_API_ID_hipGraphNodeGetEnabled:
6413 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6416 case HIP_API_ID_hipGraphNodeGetType:
6417 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6420 case HIP_API_ID_hipGraphNodeSetEnabled:
6423 case HIP_API_ID_hipGraphReleaseUserObject:
6426 case HIP_API_ID_hipGraphRemoveDependencies:
6427 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6428 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6431 case HIP_API_ID_hipGraphRetainUserObject:
6434 case HIP_API_ID_hipGraphUpload:
6437 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6438 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6441 case HIP_API_ID_hipGraphicsGLRegisterImage:
6442 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6445 case HIP_API_ID_hipGraphicsMapResources:
6446 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6449 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6450 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6451 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6454 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6455 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6458 case HIP_API_ID_hipGraphicsUnmapResources:
6459 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6462 case HIP_API_ID_hipGraphicsUnregisterResource:
6465 case HIP_API_ID_hipHccModuleLaunchKernel:
6466 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6467 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6470 case HIP_API_ID_hipHostAlloc:
6471 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6474 case HIP_API_ID_hipHostFree:
6477 case HIP_API_ID_hipHostGetDevicePointer:
6478 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6481 case HIP_API_ID_hipHostGetFlags:
6482 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6485 case HIP_API_ID_hipHostMalloc:
6486 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6489 case HIP_API_ID_hipHostRegister:
6492 case HIP_API_ID_hipHostUnregister:
6495 case HIP_API_ID_hipImportExternalMemory:
6496 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6497 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6500 case HIP_API_ID_hipImportExternalSemaphore:
6501 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6502 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6505 case HIP_API_ID_hipInit:
6508 case HIP_API_ID_hipIpcCloseMemHandle:
6511 case HIP_API_ID_hipIpcGetEventHandle:
6512 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6515 case HIP_API_ID_hipIpcGetMemHandle:
6516 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6519 case HIP_API_ID_hipIpcOpenEventHandle:
6520 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6523 case HIP_API_ID_hipIpcOpenMemHandle:
6524 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6527 case HIP_API_ID_hipLaunchByPtr:
6530 case HIP_API_ID_hipLaunchCooperativeKernel:
6531 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6534 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6535 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6538 case HIP_API_ID_hipLaunchHostFunc:
6541 case HIP_API_ID_hipLaunchKernel:
6542 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6545 case HIP_API_ID_hipMalloc:
6546 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6549 case HIP_API_ID_hipMalloc3D:
6550 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6553 case HIP_API_ID_hipMalloc3DArray:
6554 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6555 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6558 case HIP_API_ID_hipMallocArray:
6559 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6560 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6563 case HIP_API_ID_hipMallocAsync:
6564 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6567 case HIP_API_ID_hipMallocFromPoolAsync:
6568 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6571 case HIP_API_ID_hipMallocHost:
6572 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6575 case HIP_API_ID_hipMallocManaged:
6576 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6579 case HIP_API_ID_hipMallocMipmappedArray:
6580 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6581 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6584 case HIP_API_ID_hipMallocPitch:
6585 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6586 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6589 case HIP_API_ID_hipMemAddressFree:
6592 case HIP_API_ID_hipMemAddressReserve:
6593 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6596 case HIP_API_ID_hipMemAdvise:
6599 case HIP_API_ID_hipMemAllocHost:
6600 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6603 case HIP_API_ID_hipMemAllocPitch:
6604 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6605 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6608 case HIP_API_ID_hipMemCreate:
6609 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6610 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6613 case HIP_API_ID_hipMemExportToShareableHandle:
6616 case HIP_API_ID_hipMemGetAccess:
6617 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6618 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6621 case HIP_API_ID_hipMemGetAddressRange:
6622 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6623 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6626 case HIP_API_ID_hipMemGetAllocationGranularity:
6627 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6628 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6631 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6632 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6635 case HIP_API_ID_hipMemGetInfo:
6636 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6637 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6640 case HIP_API_ID_hipMemImportFromShareableHandle:
6641 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6644 case HIP_API_ID_hipMemMap:
6647 case HIP_API_ID_hipMemMapArrayAsync:
6648 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6651 case HIP_API_ID_hipMemPoolCreate:
6652 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6653 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6656 case HIP_API_ID_hipMemPoolDestroy:
6659 case HIP_API_ID_hipMemPoolExportPointer:
6660 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6663 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6666 case HIP_API_ID_hipMemPoolGetAccess:
6667 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6668 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6671 case HIP_API_ID_hipMemPoolGetAttribute:
6674 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6675 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6678 case HIP_API_ID_hipMemPoolImportPointer:
6679 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6680 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6683 case HIP_API_ID_hipMemPoolSetAccess:
6684 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6687 case HIP_API_ID_hipMemPoolSetAttribute:
6690 case HIP_API_ID_hipMemPoolTrimTo:
6693 case HIP_API_ID_hipMemPrefetchAsync:
6696 case HIP_API_ID_hipMemPtrGetInfo:
6697 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6700 case HIP_API_ID_hipMemRangeGetAttribute:
6703 case HIP_API_ID_hipMemRangeGetAttributes:
6704 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6705 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6706 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6709 case HIP_API_ID_hipMemRelease:
6712 case HIP_API_ID_hipMemRetainAllocationHandle:
6713 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6716 case HIP_API_ID_hipMemSetAccess:
6717 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6720 case HIP_API_ID_hipMemUnmap:
6723 case HIP_API_ID_hipMemcpy:
6726 case HIP_API_ID_hipMemcpy2D:
6729 case HIP_API_ID_hipMemcpy2DAsync:
6732 case HIP_API_ID_hipMemcpy2DFromArray:
6735 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
6738 case HIP_API_ID_hipMemcpy2DToArray:
6741 case HIP_API_ID_hipMemcpy2DToArrayAsync:
6744 case HIP_API_ID_hipMemcpy3D:
6745 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
6748 case HIP_API_ID_hipMemcpy3DAsync:
6749 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
6752 case HIP_API_ID_hipMemcpyAsync:
6755 case HIP_API_ID_hipMemcpyAtoH:
6758 case HIP_API_ID_hipMemcpyDtoD:
6761 case HIP_API_ID_hipMemcpyDtoDAsync:
6764 case HIP_API_ID_hipMemcpyDtoH:
6767 case HIP_API_ID_hipMemcpyDtoHAsync:
6770 case HIP_API_ID_hipMemcpyFromArray:
6773 case HIP_API_ID_hipMemcpyFromSymbol:
6776 case HIP_API_ID_hipMemcpyFromSymbolAsync:
6779 case HIP_API_ID_hipMemcpyHtoA:
6782 case HIP_API_ID_hipMemcpyHtoD:
6785 case HIP_API_ID_hipMemcpyHtoDAsync:
6788 case HIP_API_ID_hipMemcpyParam2D:
6789 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
6792 case HIP_API_ID_hipMemcpyParam2DAsync:
6793 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
6796 case HIP_API_ID_hipMemcpyPeer:
6799 case HIP_API_ID_hipMemcpyPeerAsync:
6802 case HIP_API_ID_hipMemcpyToArray:
6805 case HIP_API_ID_hipMemcpyToSymbol:
6808 case HIP_API_ID_hipMemcpyToSymbolAsync:
6811 case HIP_API_ID_hipMemcpyWithStream:
6814 case HIP_API_ID_hipMemset:
6817 case HIP_API_ID_hipMemset2D:
6820 case HIP_API_ID_hipMemset2DAsync:
6823 case HIP_API_ID_hipMemset3D:
6826 case HIP_API_ID_hipMemset3DAsync:
6829 case HIP_API_ID_hipMemsetAsync:
6832 case HIP_API_ID_hipMemsetD16:
6835 case HIP_API_ID_hipMemsetD16Async:
6838 case HIP_API_ID_hipMemsetD32:
6841 case HIP_API_ID_hipMemsetD32Async:
6844 case HIP_API_ID_hipMemsetD8:
6847 case HIP_API_ID_hipMemsetD8Async:
6850 case HIP_API_ID_hipMipmappedArrayCreate:
6851 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
6852 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
6855 case HIP_API_ID_hipMipmappedArrayDestroy:
6858 case HIP_API_ID_hipMipmappedArrayGetLevel:
6859 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
6862 case HIP_API_ID_hipModuleGetFunction:
6863 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
6864 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
6867 case HIP_API_ID_hipModuleGetGlobal:
6868 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
6869 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
6870 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
6873 case HIP_API_ID_hipModuleGetTexRef:
6874 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
6875 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
6878 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
6879 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
6882 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
6883 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
6886 case HIP_API_ID_hipModuleLaunchKernel:
6887 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
6888 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
6891 case HIP_API_ID_hipModuleLoad:
6892 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
6893 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
6896 case HIP_API_ID_hipModuleLoadData:
6897 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
6900 case HIP_API_ID_hipModuleLoadDataEx:
6901 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
6902 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
6903 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
6906 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
6907 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6910 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6911 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6914 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
6915 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
6916 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
6919 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
6920 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
6921 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
6924 case HIP_API_ID_hipModuleUnload:
6927 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
6928 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6931 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6932 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6935 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
6936 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
6937 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
6940 case HIP_API_ID_hipPeekAtLastError:
6943 case HIP_API_ID_hipPointerGetAttribute:
6946 case HIP_API_ID_hipPointerGetAttributes:
6947 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
6950 case HIP_API_ID_hipPointerSetAttribute:
6953 case HIP_API_ID_hipProfilerStart:
6956 case HIP_API_ID_hipProfilerStop:
6959 case HIP_API_ID_hipRuntimeGetVersion:
6960 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
6963 case HIP_API_ID_hipSetDevice:
6966 case HIP_API_ID_hipSetDeviceFlags:
6969 case HIP_API_ID_hipSetupArgument:
6972 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
6973 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
6974 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
6977 case HIP_API_ID_hipStreamAddCallback:
6980 case HIP_API_ID_hipStreamAttachMemAsync:
6983 case HIP_API_ID_hipStreamBeginCapture:
6986 case HIP_API_ID_hipStreamCreate:
6987 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
6990 case HIP_API_ID_hipStreamCreateWithFlags:
6991 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
6994 case HIP_API_ID_hipStreamCreateWithPriority:
6995 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
6998 case HIP_API_ID_hipStreamDestroy:
7001 case HIP_API_ID_hipStreamEndCapture:
7002 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7005 case HIP_API_ID_hipStreamGetCaptureInfo:
7006 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7007 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7010 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7011 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7012 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7013 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7014 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7015 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7018 case HIP_API_ID_hipStreamGetDevice:
7019 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7022 case HIP_API_ID_hipStreamGetFlags:
7023 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7026 case HIP_API_ID_hipStreamGetPriority:
7027 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7030 case HIP_API_ID_hipStreamIsCapturing:
7031 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7034 case HIP_API_ID_hipStreamQuery:
7037 case HIP_API_ID_hipStreamSynchronize:
7040 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7041 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7044 case HIP_API_ID_hipStreamWaitEvent:
7047 case HIP_API_ID_hipStreamWaitValue32:
7050 case HIP_API_ID_hipStreamWaitValue64:
7053 case HIP_API_ID_hipStreamWriteValue32:
7056 case HIP_API_ID_hipStreamWriteValue64:
7059 case HIP_API_ID_hipTexRefGetAddress:
7060 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7061 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7064 case HIP_API_ID_hipTexRefGetFlags:
7065 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7066 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7069 case HIP_API_ID_hipTexRefGetFormat:
7070 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7071 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7072 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7075 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7076 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7077 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7080 case HIP_API_ID_hipTexRefGetMipMappedArray:
7081 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7082 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7085 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7086 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7087 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7090 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7091 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7092 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7093 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7096 case HIP_API_ID_hipTexRefSetAddress:
7097 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7098 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7101 case HIP_API_ID_hipTexRefSetAddress2D:
7102 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7103 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7106 case HIP_API_ID_hipTexRefSetArray:
7107 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7110 case HIP_API_ID_hipTexRefSetBorderColor:
7111 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7112 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7115 case HIP_API_ID_hipTexRefSetFlags:
7116 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7119 case HIP_API_ID_hipTexRefSetFormat:
7120 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7123 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7124 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7127 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7128 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7131 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7132 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7135 case HIP_API_ID_hipTexRefSetMipmappedArray:
7136 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7137 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7140 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7141 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7144 case HIP_API_ID_hipUserObjectCreate:
7145 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7148 case HIP_API_ID_hipUserObjectRelease:
7151 case HIP_API_ID_hipUserObjectRetain:
7154 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7155 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7156 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7165static inline const char* hipApiString(hip_api_id_t
id,
const hip_api_data_t* data) {
7166 std::ostringstream oss;
7168 case HIP_API_ID___hipPopCallConfiguration:
7169 oss <<
"__hipPopCallConfiguration(";
7170 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss <<
"gridDim=NULL";
7171 else { oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7172 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss <<
", blockDim=NULL";
7173 else { oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7174 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss <<
", sharedMem=NULL";
7175 else { oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7176 if (data->args.__hipPopCallConfiguration.stream == NULL) oss <<
", stream=NULL";
7177 else { oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7180 case HIP_API_ID___hipPushCallConfiguration:
7181 oss <<
"__hipPushCallConfiguration(";
7182 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7183 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7184 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7185 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7188 case HIP_API_ID_hipArray3DCreate:
7189 oss <<
"hipArray3DCreate(";
7190 if (data->args.hipArray3DCreate.array == NULL) oss <<
"array=NULL";
7191 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipArray3DCreate.array__val); }
7192 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7193 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7196 case HIP_API_ID_hipArray3DGetDescriptor:
7197 oss <<
"hipArray3DGetDescriptor(";
7198 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7199 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7200 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7203 case HIP_API_ID_hipArrayCreate:
7204 oss <<
"hipArrayCreate(";
7205 if (data->args.hipArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
7206 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipArrayCreate.pHandle__val); }
7207 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7208 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7211 case HIP_API_ID_hipArrayDestroy:
7212 oss <<
"hipArrayDestroy(";
7213 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7216 case HIP_API_ID_hipArrayGetDescriptor:
7217 oss <<
"hipArrayGetDescriptor(";
7218 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7219 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7220 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7223 case HIP_API_ID_hipArrayGetInfo:
7224 oss <<
"hipArrayGetInfo(";
7225 if (data->args.hipArrayGetInfo.desc == NULL) oss <<
"desc=NULL";
7226 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7227 if (data->args.hipArrayGetInfo.extent == NULL) oss <<
", extent=NULL";
7228 else { oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7229 if (data->args.hipArrayGetInfo.flags == NULL) oss <<
", flags=NULL";
7230 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7231 if (data->args.hipArrayGetInfo.array == NULL) oss <<
", array=NULL";
7232 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7235 case HIP_API_ID_hipChooseDeviceR0000:
7236 oss <<
"hipChooseDeviceR0000(";
7237 if (data->args.hipChooseDeviceR0000.device == NULL) oss <<
"device=NULL";
7238 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7239 if (data->args.hipChooseDeviceR0000.prop == NULL) oss <<
", prop=NULL";
7240 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7243 case HIP_API_ID_hipChooseDeviceR0600:
7244 oss <<
"hipChooseDeviceR0600(";
7245 if (data->args.hipChooseDeviceR0600.device == NULL) oss <<
"device=NULL";
7246 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7247 if (data->args.hipChooseDeviceR0600.prop == NULL) oss <<
", prop=NULL";
7248 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7251 case HIP_API_ID_hipConfigureCall:
7252 oss <<
"hipConfigureCall(";
7253 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7254 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7255 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7256 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7259 case HIP_API_ID_hipCreateSurfaceObject:
7260 oss <<
"hipCreateSurfaceObject(";
7261 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss <<
"pSurfObject=NULL";
7262 else { oss <<
"pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7263 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss <<
", pResDesc=NULL";
7264 else { oss <<
", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7267 case HIP_API_ID_hipCtxCreate:
7268 oss <<
"hipCtxCreate(";
7269 if (data->args.hipCtxCreate.ctx == NULL) oss <<
"ctx=NULL";
7270 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7271 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7272 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7275 case HIP_API_ID_hipCtxDestroy:
7276 oss <<
"hipCtxDestroy(";
7277 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7280 case HIP_API_ID_hipCtxDisablePeerAccess:
7281 oss <<
"hipCtxDisablePeerAccess(";
7282 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7285 case HIP_API_ID_hipCtxEnablePeerAccess:
7286 oss <<
"hipCtxEnablePeerAccess(";
7287 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7288 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7291 case HIP_API_ID_hipCtxGetApiVersion:
7292 oss <<
"hipCtxGetApiVersion(";
7293 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7294 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss <<
", apiVersion=NULL";
7295 else { oss <<
", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7298 case HIP_API_ID_hipCtxGetCacheConfig:
7299 oss <<
"hipCtxGetCacheConfig(";
7300 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7301 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7304 case HIP_API_ID_hipCtxGetCurrent:
7305 oss <<
"hipCtxGetCurrent(";
7306 if (data->args.hipCtxGetCurrent.ctx == NULL) oss <<
"ctx=NULL";
7307 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7310 case HIP_API_ID_hipCtxGetDevice:
7311 oss <<
"hipCtxGetDevice(";
7312 if (data->args.hipCtxGetDevice.device == NULL) oss <<
"device=NULL";
7313 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7316 case HIP_API_ID_hipCtxGetFlags:
7317 oss <<
"hipCtxGetFlags(";
7318 if (data->args.hipCtxGetFlags.flags == NULL) oss <<
"flags=NULL";
7319 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7322 case HIP_API_ID_hipCtxGetSharedMemConfig:
7323 oss <<
"hipCtxGetSharedMemConfig(";
7324 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7325 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7328 case HIP_API_ID_hipCtxPopCurrent:
7329 oss <<
"hipCtxPopCurrent(";
7330 if (data->args.hipCtxPopCurrent.ctx == NULL) oss <<
"ctx=NULL";
7331 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7334 case HIP_API_ID_hipCtxPushCurrent:
7335 oss <<
"hipCtxPushCurrent(";
7336 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7339 case HIP_API_ID_hipCtxSetCacheConfig:
7340 oss <<
"hipCtxSetCacheConfig(";
7341 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7344 case HIP_API_ID_hipCtxSetCurrent:
7345 oss <<
"hipCtxSetCurrent(";
7346 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7349 case HIP_API_ID_hipCtxSetSharedMemConfig:
7350 oss <<
"hipCtxSetSharedMemConfig(";
7351 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7354 case HIP_API_ID_hipCtxSynchronize:
7355 oss <<
"hipCtxSynchronize(";
7358 case HIP_API_ID_hipDestroyExternalMemory:
7359 oss <<
"hipDestroyExternalMemory(";
7360 oss <<
"extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7363 case HIP_API_ID_hipDestroyExternalSemaphore:
7364 oss <<
"hipDestroyExternalSemaphore(";
7365 oss <<
"extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7368 case HIP_API_ID_hipDestroySurfaceObject:
7369 oss <<
"hipDestroySurfaceObject(";
7370 oss <<
"surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7373 case HIP_API_ID_hipDeviceCanAccessPeer:
7374 oss <<
"hipDeviceCanAccessPeer(";
7375 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss <<
"canAccessPeer=NULL";
7376 else { oss <<
"canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7377 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7378 oss <<
", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7381 case HIP_API_ID_hipDeviceComputeCapability:
7382 oss <<
"hipDeviceComputeCapability(";
7383 if (data->args.hipDeviceComputeCapability.major == NULL) oss <<
"major=NULL";
7384 else { oss <<
"major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7385 if (data->args.hipDeviceComputeCapability.minor == NULL) oss <<
", minor=NULL";
7386 else { oss <<
", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7387 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7390 case HIP_API_ID_hipDeviceDisablePeerAccess:
7391 oss <<
"hipDeviceDisablePeerAccess(";
7392 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7395 case HIP_API_ID_hipDeviceEnablePeerAccess:
7396 oss <<
"hipDeviceEnablePeerAccess(";
7397 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7398 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7401 case HIP_API_ID_hipDeviceGet:
7402 oss <<
"hipDeviceGet(";
7403 if (data->args.hipDeviceGet.device == NULL) oss <<
"device=NULL";
7404 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7405 oss <<
", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7408 case HIP_API_ID_hipDeviceGetAttribute:
7409 oss <<
"hipDeviceGetAttribute(";
7410 if (data->args.hipDeviceGetAttribute.pi == NULL) oss <<
"pi=NULL";
7411 else { oss <<
"pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7412 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7413 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7416 case HIP_API_ID_hipDeviceGetByPCIBusId:
7417 oss <<
"hipDeviceGetByPCIBusId(";
7418 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss <<
"device=NULL";
7419 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7420 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss <<
", pciBusId=NULL";
7421 else { oss <<
", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7424 case HIP_API_ID_hipDeviceGetCacheConfig:
7425 oss <<
"hipDeviceGetCacheConfig(";
7426 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7427 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7430 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7431 oss <<
"hipDeviceGetDefaultMemPool(";
7432 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7433 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7434 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7437 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7438 oss <<
"hipDeviceGetGraphMemAttribute(";
7439 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7440 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7441 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7444 case HIP_API_ID_hipDeviceGetLimit:
7445 oss <<
"hipDeviceGetLimit(";
7446 if (data->args.hipDeviceGetLimit.pValue == NULL) oss <<
"pValue=NULL";
7447 else { oss <<
"pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7448 oss <<
", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7451 case HIP_API_ID_hipDeviceGetMemPool:
7452 oss <<
"hipDeviceGetMemPool(";
7453 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7454 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7455 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7458 case HIP_API_ID_hipDeviceGetName:
7459 oss <<
"hipDeviceGetName(";
7460 if (data->args.hipDeviceGetName.name == NULL) oss <<
"name=NULL";
7461 else { oss <<
"name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7462 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7463 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7466 case HIP_API_ID_hipDeviceGetP2PAttribute:
7467 oss <<
"hipDeviceGetP2PAttribute(";
7468 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss <<
"value=NULL";
7469 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7470 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7471 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7472 oss <<
", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7475 case HIP_API_ID_hipDeviceGetPCIBusId:
7476 oss <<
"hipDeviceGetPCIBusId(";
7477 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss <<
"pciBusId=NULL";
7478 else { oss <<
"pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7479 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7480 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7483 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7484 oss <<
"hipDeviceGetSharedMemConfig(";
7485 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7486 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7489 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7490 oss <<
"hipDeviceGetStreamPriorityRange(";
7491 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss <<
"leastPriority=NULL";
7492 else { oss <<
"leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7493 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss <<
", greatestPriority=NULL";
7494 else { oss <<
", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7497 case HIP_API_ID_hipDeviceGetUuid:
7498 oss <<
"hipDeviceGetUuid(";
7499 if (data->args.hipDeviceGetUuid.uuid == NULL) oss <<
"uuid=NULL";
7500 else { oss <<
"uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7501 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7504 case HIP_API_ID_hipDeviceGraphMemTrim:
7505 oss <<
"hipDeviceGraphMemTrim(";
7506 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7509 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7510 oss <<
"hipDevicePrimaryCtxGetState(";
7511 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7512 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss <<
", flags=NULL";
7513 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7514 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss <<
", active=NULL";
7515 else { oss <<
", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7518 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7519 oss <<
"hipDevicePrimaryCtxRelease(";
7520 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7523 case HIP_API_ID_hipDevicePrimaryCtxReset:
7524 oss <<
"hipDevicePrimaryCtxReset(";
7525 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7528 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7529 oss <<
"hipDevicePrimaryCtxRetain(";
7530 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss <<
"pctx=NULL";
7531 else { oss <<
"pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7532 oss <<
", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7535 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7536 oss <<
"hipDevicePrimaryCtxSetFlags(";
7537 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7538 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7541 case HIP_API_ID_hipDeviceReset:
7542 oss <<
"hipDeviceReset(";
7545 case HIP_API_ID_hipDeviceSetCacheConfig:
7546 oss <<
"hipDeviceSetCacheConfig(";
7547 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7550 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7551 oss <<
"hipDeviceSetGraphMemAttribute(";
7552 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7553 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7554 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7557 case HIP_API_ID_hipDeviceSetLimit:
7558 oss <<
"hipDeviceSetLimit(";
7559 oss <<
"limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7560 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7563 case HIP_API_ID_hipDeviceSetMemPool:
7564 oss <<
"hipDeviceSetMemPool(";
7565 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7566 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7569 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7570 oss <<
"hipDeviceSetSharedMemConfig(";
7571 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7574 case HIP_API_ID_hipDeviceSynchronize:
7575 oss <<
"hipDeviceSynchronize(";
7578 case HIP_API_ID_hipDeviceTotalMem:
7579 oss <<
"hipDeviceTotalMem(";
7580 if (data->args.hipDeviceTotalMem.bytes == NULL) oss <<
"bytes=NULL";
7581 else { oss <<
"bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7582 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7585 case HIP_API_ID_hipDriverGetVersion:
7586 oss <<
"hipDriverGetVersion(";
7587 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss <<
"driverVersion=NULL";
7588 else { oss <<
"driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7591 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
7592 oss <<
"hipDrvGraphAddMemcpyNode(";
7593 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
7594 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
7595 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
7596 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss <<
", dependencies=NULL";
7597 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
7598 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
7599 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss <<
", copyParams=NULL";
7600 else { oss <<
", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
7601 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
7604 case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
7605 oss <<
"hipDrvGraphMemcpyNodeGetParams(";
7606 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
7607 if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
7608 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
7611 case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
7612 oss <<
"hipDrvGraphMemcpyNodeSetParams(";
7613 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
7614 if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
7615 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
7618 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7619 oss <<
"hipDrvMemcpy2DUnaligned(";
7620 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss <<
"pCopy=NULL";
7621 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7624 case HIP_API_ID_hipDrvMemcpy3D:
7625 oss <<
"hipDrvMemcpy3D(";
7626 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss <<
"pCopy=NULL";
7627 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7630 case HIP_API_ID_hipDrvMemcpy3DAsync:
7631 oss <<
"hipDrvMemcpy3DAsync(";
7632 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
7633 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7634 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7637 case HIP_API_ID_hipDrvPointerGetAttributes:
7638 oss <<
"hipDrvPointerGetAttributes(";
7639 oss <<
"numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7640 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
7641 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7642 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss <<
", data=NULL";
7643 else { oss <<
", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7644 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7647 case HIP_API_ID_hipEventCreate:
7648 oss <<
"hipEventCreate(";
7649 if (data->args.hipEventCreate.event == NULL) oss <<
"event=NULL";
7650 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7653 case HIP_API_ID_hipEventCreateWithFlags:
7654 oss <<
"hipEventCreateWithFlags(";
7655 if (data->args.hipEventCreateWithFlags.event == NULL) oss <<
"event=NULL";
7656 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7657 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7660 case HIP_API_ID_hipEventDestroy:
7661 oss <<
"hipEventDestroy(";
7662 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7665 case HIP_API_ID_hipEventElapsedTime:
7666 oss <<
"hipEventElapsedTime(";
7667 if (data->args.hipEventElapsedTime.ms == NULL) oss <<
"ms=NULL";
7668 else { oss <<
"ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7669 oss <<
", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7670 oss <<
", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7673 case HIP_API_ID_hipEventQuery:
7674 oss <<
"hipEventQuery(";
7675 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7678 case HIP_API_ID_hipEventRecord:
7679 oss <<
"hipEventRecord(";
7680 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7681 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7684 case HIP_API_ID_hipEventSynchronize:
7685 oss <<
"hipEventSynchronize(";
7686 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7689 case HIP_API_ID_hipExtGetLastError:
7690 oss <<
"hipExtGetLastError(";
7693 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7694 oss <<
"hipExtGetLinkTypeAndHopCount(";
7695 oss <<
"device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
7696 oss <<
", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
7697 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss <<
", linktype=NULL";
7698 else { oss <<
", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
7699 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss <<
", hopcount=NULL";
7700 else { oss <<
", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
7703 case HIP_API_ID_hipExtLaunchKernel:
7704 oss <<
"hipExtLaunchKernel(";
7705 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
7706 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
7707 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
7708 if (data->args.hipExtLaunchKernel.args == NULL) oss <<
", args=NULL";
7709 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
7710 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
7711 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
7712 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
7713 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
7714 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
7717 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
7718 oss <<
"hipExtLaunchMultiKernelMultiDevice(";
7719 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
7720 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
7721 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
7722 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
7725 case HIP_API_ID_hipExtMallocWithFlags:
7726 oss <<
"hipExtMallocWithFlags(";
7727 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss <<
"ptr=NULL";
7728 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
7729 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
7730 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
7733 case HIP_API_ID_hipExtModuleLaunchKernel:
7734 oss <<
"hipExtModuleLaunchKernel(";
7735 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
7736 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
7737 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
7738 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
7739 oss <<
", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
7740 oss <<
", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
7741 oss <<
", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
7742 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
7743 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
7744 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
7745 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
7746 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
7747 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
7748 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
7749 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
7750 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
7753 case HIP_API_ID_hipExtStreamCreateWithCUMask:
7754 oss <<
"hipExtStreamCreateWithCUMask(";
7755 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss <<
"stream=NULL";
7756 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
7757 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
7758 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
7759 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
7762 case HIP_API_ID_hipExtStreamGetCUMask:
7763 oss <<
"hipExtStreamGetCUMask(";
7764 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
7765 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
7766 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
7767 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
7770 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
7771 oss <<
"hipExternalMemoryGetMappedBuffer(";
7772 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss <<
"devPtr=NULL";
7773 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
7774 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
7775 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss <<
", bufferDesc=NULL";
7776 else { oss <<
", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
7779 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
7780 oss <<
"hipExternalMemoryGetMappedMipmappedArray(";
7781 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss <<
"mipmap=NULL";
7782 else { oss <<
"mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
7783 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
7784 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss <<
", mipmapDesc=NULL";
7785 else { oss <<
", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
7788 case HIP_API_ID_hipFree:
7790 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
7793 case HIP_API_ID_hipFreeArray:
7794 oss <<
"hipFreeArray(";
7795 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
7798 case HIP_API_ID_hipFreeAsync:
7799 oss <<
"hipFreeAsync(";
7800 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
7801 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
7804 case HIP_API_ID_hipFreeHost:
7805 oss <<
"hipFreeHost(";
7806 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
7809 case HIP_API_ID_hipFreeMipmappedArray:
7810 oss <<
"hipFreeMipmappedArray(";
7811 oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
7814 case HIP_API_ID_hipFuncGetAttribute:
7815 oss <<
"hipFuncGetAttribute(";
7816 if (data->args.hipFuncGetAttribute.value == NULL) oss <<
"value=NULL";
7817 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
7818 oss <<
", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
7819 oss <<
", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
7822 case HIP_API_ID_hipFuncGetAttributes:
7823 oss <<
"hipFuncGetAttributes(";
7824 if (data->args.hipFuncGetAttributes.attr == NULL) oss <<
"attr=NULL";
7825 else { oss <<
"attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
7826 oss <<
", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
7829 case HIP_API_ID_hipFuncSetAttribute:
7830 oss <<
"hipFuncSetAttribute(";
7831 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
7832 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
7833 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
7836 case HIP_API_ID_hipFuncSetCacheConfig:
7837 oss <<
"hipFuncSetCacheConfig(";
7838 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
7839 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
7842 case HIP_API_ID_hipFuncSetSharedMemConfig:
7843 oss <<
"hipFuncSetSharedMemConfig(";
7844 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
7845 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
7848 case HIP_API_ID_hipGLGetDevices:
7849 oss <<
"hipGLGetDevices(";
7850 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss <<
"pHipDeviceCount=NULL";
7851 else { oss <<
"pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
7852 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss <<
", pHipDevices=NULL";
7853 else { oss <<
", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
7854 oss <<
", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
7855 oss <<
", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
7858 case HIP_API_ID_hipGetChannelDesc:
7859 oss <<
"hipGetChannelDesc(";
7860 if (data->args.hipGetChannelDesc.desc == NULL) oss <<
"desc=NULL";
7861 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
7862 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
7865 case HIP_API_ID_hipGetDevice:
7866 oss <<
"hipGetDevice(";
7867 if (data->args.hipGetDevice.deviceId == NULL) oss <<
"deviceId=NULL";
7868 else { oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
7871 case HIP_API_ID_hipGetDeviceCount:
7872 oss <<
"hipGetDeviceCount(";
7873 if (data->args.hipGetDeviceCount.count == NULL) oss <<
"count=NULL";
7874 else { oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
7877 case HIP_API_ID_hipGetDeviceFlags:
7878 oss <<
"hipGetDeviceFlags(";
7879 if (data->args.hipGetDeviceFlags.flags == NULL) oss <<
"flags=NULL";
7880 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
7883 case HIP_API_ID_hipGetDevicePropertiesR0000:
7884 oss <<
"hipGetDevicePropertiesR0000(";
7885 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss <<
"prop=NULL";
7886 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
7887 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
7890 case HIP_API_ID_hipGetDevicePropertiesR0600:
7891 oss <<
"hipGetDevicePropertiesR0600(";
7892 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss <<
"prop=NULL";
7893 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
7894 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
7897 case HIP_API_ID_hipGetErrorString:
7898 oss <<
"hipGetErrorString(";
7901 case HIP_API_ID_hipGetLastError:
7902 oss <<
"hipGetLastError(";
7905 case HIP_API_ID_hipGetMipmappedArrayLevel:
7906 oss <<
"hipGetMipmappedArrayLevel(";
7907 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss <<
"levelArray=NULL";
7908 else { oss <<
"levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
7909 oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
7910 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
7913 case HIP_API_ID_hipGetSymbolAddress:
7914 oss <<
"hipGetSymbolAddress(";
7915 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss <<
"devPtr=NULL";
7916 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
7917 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
7920 case HIP_API_ID_hipGetSymbolSize:
7921 oss <<
"hipGetSymbolSize(";
7922 if (data->args.hipGetSymbolSize.size == NULL) oss <<
"size=NULL";
7923 else { oss <<
"size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
7924 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
7927 case HIP_API_ID_hipGraphAddChildGraphNode:
7928 oss <<
"hipGraphAddChildGraphNode(";
7929 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7930 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
7931 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
7932 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7933 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
7934 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
7935 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
7938 case HIP_API_ID_hipGraphAddDependencies:
7939 oss <<
"hipGraphAddDependencies(";
7940 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
7941 if (data->args.hipGraphAddDependencies.from == NULL) oss <<
", from=NULL";
7942 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
7943 if (data->args.hipGraphAddDependencies.to == NULL) oss <<
", to=NULL";
7944 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
7945 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
7948 case HIP_API_ID_hipGraphAddEmptyNode:
7949 oss <<
"hipGraphAddEmptyNode(";
7950 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7951 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
7952 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
7953 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7954 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
7955 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
7958 case HIP_API_ID_hipGraphAddEventRecordNode:
7959 oss <<
"hipGraphAddEventRecordNode(";
7960 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7961 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
7962 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
7963 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7964 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
7965 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
7966 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
7969 case HIP_API_ID_hipGraphAddEventWaitNode:
7970 oss <<
"hipGraphAddEventWaitNode(";
7971 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7972 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
7973 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
7974 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7975 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
7976 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
7977 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
7980 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
7981 oss <<
"hipGraphAddExternalSemaphoresSignalNode(";
7982 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7983 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
7984 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
7985 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7986 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
7987 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
7988 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
7989 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
7992 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
7993 oss <<
"hipGraphAddExternalSemaphoresWaitNode(";
7994 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7995 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
7996 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
7997 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7998 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
7999 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8000 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8001 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8004 case HIP_API_ID_hipGraphAddHostNode:
8005 oss <<
"hipGraphAddHostNode(";
8006 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8007 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8008 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8009 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8010 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8011 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8012 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8013 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8016 case HIP_API_ID_hipGraphAddKernelNode:
8017 oss <<
"hipGraphAddKernelNode(";
8018 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8019 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8020 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8021 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8022 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8023 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8024 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8025 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8028 case HIP_API_ID_hipGraphAddMemAllocNode:
8029 oss <<
"hipGraphAddMemAllocNode(";
8030 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8031 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8032 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8033 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8034 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8035 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8036 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8037 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8040 case HIP_API_ID_hipGraphAddMemFreeNode:
8041 oss <<
"hipGraphAddMemFreeNode(";
8042 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8043 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8044 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8045 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8046 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8047 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8048 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8051 case HIP_API_ID_hipGraphAddMemcpyNode:
8052 oss <<
"hipGraphAddMemcpyNode(";
8053 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8054 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8055 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8056 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8057 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8058 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8059 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss <<
", pCopyParams=NULL";
8060 else { oss <<
", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8063 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8064 oss <<
"hipGraphAddMemcpyNode1D(";
8065 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8066 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8067 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8068 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss <<
", pDependencies=NULL";
8069 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8070 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8071 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8072 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8073 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8074 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8077 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8078 oss <<
"hipGraphAddMemcpyNodeFromSymbol(";
8079 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8080 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8081 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8082 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8083 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8084 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8085 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8086 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8087 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8088 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8089 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8092 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8093 oss <<
"hipGraphAddMemcpyNodeToSymbol(";
8094 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8095 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8096 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8097 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8098 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8099 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8100 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8101 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8102 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8103 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8104 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8107 case HIP_API_ID_hipGraphAddMemsetNode:
8108 oss <<
"hipGraphAddMemsetNode(";
8109 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8110 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8111 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8112 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8113 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8114 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8115 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss <<
", pMemsetParams=NULL";
8116 else { oss <<
", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8119 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8120 oss <<
"hipGraphChildGraphNodeGetGraph(";
8121 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8122 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss <<
", pGraph=NULL";
8123 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8126 case HIP_API_ID_hipGraphClone:
8127 oss <<
"hipGraphClone(";
8128 if (data->args.hipGraphClone.pGraphClone == NULL) oss <<
"pGraphClone=NULL";
8129 else { oss <<
"pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8130 oss <<
", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8133 case HIP_API_ID_hipGraphCreate:
8134 oss <<
"hipGraphCreate(";
8135 if (data->args.hipGraphCreate.pGraph == NULL) oss <<
"pGraph=NULL";
8136 else { oss <<
"pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8137 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8140 case HIP_API_ID_hipGraphDebugDotPrint:
8141 oss <<
"hipGraphDebugDotPrint(";
8142 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8143 if (data->args.hipGraphDebugDotPrint.path == NULL) oss <<
", path=NULL";
8144 else { oss <<
", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8145 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8148 case HIP_API_ID_hipGraphDestroy:
8149 oss <<
"hipGraphDestroy(";
8150 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8153 case HIP_API_ID_hipGraphDestroyNode:
8154 oss <<
"hipGraphDestroyNode(";
8155 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8158 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8159 oss <<
"hipGraphEventRecordNodeGetEvent(";
8160 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8161 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8162 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8165 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8166 oss <<
"hipGraphEventRecordNodeSetEvent(";
8167 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8168 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8171 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8172 oss <<
"hipGraphEventWaitNodeGetEvent(";
8173 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8174 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8175 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8178 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8179 oss <<
"hipGraphEventWaitNodeSetEvent(";
8180 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8181 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8184 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8185 oss <<
"hipGraphExecChildGraphNodeSetParams(";
8186 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8187 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8188 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8191 case HIP_API_ID_hipGraphExecDestroy:
8192 oss <<
"hipGraphExecDestroy(";
8193 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8196 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8197 oss <<
"hipGraphExecEventRecordNodeSetEvent(";
8198 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8199 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8200 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8203 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8204 oss <<
"hipGraphExecEventWaitNodeSetEvent(";
8205 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8206 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8207 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8210 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8211 oss <<
"hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8212 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8213 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8214 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8215 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8218 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8219 oss <<
"hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8220 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8221 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8222 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8223 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8226 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8227 oss <<
"hipGraphExecHostNodeSetParams(";
8228 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8229 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8230 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8231 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8234 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8235 oss <<
"hipGraphExecKernelNodeSetParams(";
8236 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8237 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8238 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8239 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8242 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8243 oss <<
"hipGraphExecMemcpyNodeSetParams(";
8244 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8245 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8246 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8247 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8250 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8251 oss <<
"hipGraphExecMemcpyNodeSetParams1D(";
8252 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8253 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8254 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8255 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8256 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8257 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8260 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8261 oss <<
"hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8262 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8263 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8264 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8265 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8266 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8267 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8268 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8271 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8272 oss <<
"hipGraphExecMemcpyNodeSetParamsToSymbol(";
8273 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8274 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8275 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8276 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8277 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8278 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8279 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8282 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8283 oss <<
"hipGraphExecMemsetNodeSetParams(";
8284 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8285 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8286 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8287 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8290 case HIP_API_ID_hipGraphExecUpdate:
8291 oss <<
"hipGraphExecUpdate(";
8292 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8293 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8294 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss <<
", hErrorNode_out=NULL";
8295 else { oss <<
", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8296 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss <<
", updateResult_out=NULL";
8297 else { oss <<
", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8300 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8301 oss <<
"hipGraphExternalSemaphoresSignalNodeGetParams(";
8302 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8303 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8304 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8307 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8308 oss <<
"hipGraphExternalSemaphoresSignalNodeSetParams(";
8309 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8310 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8311 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8314 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8315 oss <<
"hipGraphExternalSemaphoresWaitNodeGetParams(";
8316 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8317 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8318 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8321 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8322 oss <<
"hipGraphExternalSemaphoresWaitNodeSetParams(";
8323 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8324 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8325 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8328 case HIP_API_ID_hipGraphGetEdges:
8329 oss <<
"hipGraphGetEdges(";
8330 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8331 if (data->args.hipGraphGetEdges.from == NULL) oss <<
", from=NULL";
8332 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8333 if (data->args.hipGraphGetEdges.to == NULL) oss <<
", to=NULL";
8334 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8335 if (data->args.hipGraphGetEdges.numEdges == NULL) oss <<
", numEdges=NULL";
8336 else { oss <<
", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8339 case HIP_API_ID_hipGraphGetNodes:
8340 oss <<
"hipGraphGetNodes(";
8341 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8342 if (data->args.hipGraphGetNodes.nodes == NULL) oss <<
", nodes=NULL";
8343 else { oss <<
", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8344 if (data->args.hipGraphGetNodes.numNodes == NULL) oss <<
", numNodes=NULL";
8345 else { oss <<
", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8348 case HIP_API_ID_hipGraphGetRootNodes:
8349 oss <<
"hipGraphGetRootNodes(";
8350 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8351 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss <<
", pRootNodes=NULL";
8352 else { oss <<
", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8353 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss <<
", pNumRootNodes=NULL";
8354 else { oss <<
", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8357 case HIP_API_ID_hipGraphHostNodeGetParams:
8358 oss <<
"hipGraphHostNodeGetParams(";
8359 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8360 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8361 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8364 case HIP_API_ID_hipGraphHostNodeSetParams:
8365 oss <<
"hipGraphHostNodeSetParams(";
8366 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8367 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8368 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8371 case HIP_API_ID_hipGraphInstantiate:
8372 oss <<
"hipGraphInstantiate(";
8373 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8374 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8375 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8376 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss <<
", pErrorNode=NULL";
8377 else { oss <<
", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8378 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss <<
", pLogBuffer=NULL";
8379 else { oss <<
", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8380 oss <<
", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8383 case HIP_API_ID_hipGraphInstantiateWithFlags:
8384 oss <<
"hipGraphInstantiateWithFlags(";
8385 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8386 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8387 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8388 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8391 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8392 oss <<
"hipGraphKernelNodeCopyAttributes(";
8393 oss <<
"hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8394 oss <<
", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8397 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8398 oss <<
"hipGraphKernelNodeGetAttribute(";
8399 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8400 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8401 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss <<
", value=NULL";
8402 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8405 case HIP_API_ID_hipGraphKernelNodeGetParams:
8406 oss <<
"hipGraphKernelNodeGetParams(";
8407 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8408 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8409 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8412 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8413 oss <<
"hipGraphKernelNodeSetAttribute(";
8414 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8415 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8416 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss <<
", value=NULL";
8417 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8420 case HIP_API_ID_hipGraphKernelNodeSetParams:
8421 oss <<
"hipGraphKernelNodeSetParams(";
8422 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8423 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8424 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8427 case HIP_API_ID_hipGraphLaunch:
8428 oss <<
"hipGraphLaunch(";
8429 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8430 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8433 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8434 oss <<
"hipGraphMemAllocNodeGetParams(";
8435 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8436 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8437 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8440 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8441 oss <<
"hipGraphMemFreeNodeGetParams(";
8442 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8443 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8446 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8447 oss <<
"hipGraphMemcpyNodeGetParams(";
8448 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8449 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8450 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8453 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8454 oss <<
"hipGraphMemcpyNodeSetParams(";
8455 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8456 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8457 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8460 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8461 oss <<
"hipGraphMemcpyNodeSetParams1D(";
8462 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8463 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8464 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8465 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8466 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8469 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8470 oss <<
"hipGraphMemcpyNodeSetParamsFromSymbol(";
8471 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8472 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8473 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8474 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8475 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8476 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8479 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8480 oss <<
"hipGraphMemcpyNodeSetParamsToSymbol(";
8481 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8482 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8483 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8484 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8485 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8486 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8489 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8490 oss <<
"hipGraphMemsetNodeGetParams(";
8491 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8492 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8493 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8496 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8497 oss <<
"hipGraphMemsetNodeSetParams(";
8498 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8499 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8500 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8503 case HIP_API_ID_hipGraphNodeFindInClone:
8504 oss <<
"hipGraphNodeFindInClone(";
8505 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss <<
"pNode=NULL";
8506 else { oss <<
"pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8507 oss <<
", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8508 oss <<
", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8511 case HIP_API_ID_hipGraphNodeGetDependencies:
8512 oss <<
"hipGraphNodeGetDependencies(";
8513 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8514 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss <<
", pDependencies=NULL";
8515 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8516 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss <<
", pNumDependencies=NULL";
8517 else { oss <<
", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8520 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8521 oss <<
"hipGraphNodeGetDependentNodes(";
8522 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8523 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss <<
", pDependentNodes=NULL";
8524 else { oss <<
", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8525 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss <<
", pNumDependentNodes=NULL";
8526 else { oss <<
", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8529 case HIP_API_ID_hipGraphNodeGetEnabled:
8530 oss <<
"hipGraphNodeGetEnabled(";
8531 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8532 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8533 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss <<
", isEnabled=NULL";
8534 else { oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8537 case HIP_API_ID_hipGraphNodeGetType:
8538 oss <<
"hipGraphNodeGetType(";
8539 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8540 if (data->args.hipGraphNodeGetType.pType == NULL) oss <<
", pType=NULL";
8541 else { oss <<
", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8544 case HIP_API_ID_hipGraphNodeSetEnabled:
8545 oss <<
"hipGraphNodeSetEnabled(";
8546 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8547 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8548 oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8551 case HIP_API_ID_hipGraphReleaseUserObject:
8552 oss <<
"hipGraphReleaseUserObject(";
8553 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8554 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8555 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8558 case HIP_API_ID_hipGraphRemoveDependencies:
8559 oss <<
"hipGraphRemoveDependencies(";
8560 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8561 if (data->args.hipGraphRemoveDependencies.from == NULL) oss <<
", from=NULL";
8562 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8563 if (data->args.hipGraphRemoveDependencies.to == NULL) oss <<
", to=NULL";
8564 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8565 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8568 case HIP_API_ID_hipGraphRetainUserObject:
8569 oss <<
"hipGraphRetainUserObject(";
8570 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8571 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8572 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8573 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8576 case HIP_API_ID_hipGraphUpload:
8577 oss <<
"hipGraphUpload(";
8578 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8579 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8582 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8583 oss <<
"hipGraphicsGLRegisterBuffer(";
8584 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss <<
"resource=NULL";
8585 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8586 oss <<
", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8587 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8590 case HIP_API_ID_hipGraphicsGLRegisterImage:
8591 oss <<
"hipGraphicsGLRegisterImage(";
8592 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss <<
"resource=NULL";
8593 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8594 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8595 oss <<
", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8596 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8599 case HIP_API_ID_hipGraphicsMapResources:
8600 oss <<
"hipGraphicsMapResources(";
8601 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8602 if (data->args.hipGraphicsMapResources.resources == NULL) oss <<
", resources=NULL";
8603 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8604 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8607 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8608 oss <<
"hipGraphicsResourceGetMappedPointer(";
8609 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss <<
"devPtr=NULL";
8610 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8611 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss <<
", size=NULL";
8612 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8613 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8616 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8617 oss <<
"hipGraphicsSubResourceGetMappedArray(";
8618 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss <<
"array=NULL";
8619 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8620 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8621 oss <<
", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8622 oss <<
", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8625 case HIP_API_ID_hipGraphicsUnmapResources:
8626 oss <<
"hipGraphicsUnmapResources(";
8627 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8628 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss <<
", resources=NULL";
8629 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8630 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8633 case HIP_API_ID_hipGraphicsUnregisterResource:
8634 oss <<
"hipGraphicsUnregisterResource(";
8635 oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8638 case HIP_API_ID_hipHccModuleLaunchKernel:
8639 oss <<
"hipHccModuleLaunchKernel(";
8640 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8641 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8642 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8643 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8644 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8645 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8646 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8647 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8648 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8649 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8650 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8651 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
8652 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8653 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8654 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
8657 case HIP_API_ID_hipHostAlloc:
8658 oss <<
"hipHostAlloc(";
8659 if (data->args.hipHostAlloc.ptr == NULL) oss <<
"ptr=NULL";
8660 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
8661 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
8662 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
8665 case HIP_API_ID_hipHostFree:
8666 oss <<
"hipHostFree(";
8667 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
8670 case HIP_API_ID_hipHostGetDevicePointer:
8671 oss <<
"hipHostGetDevicePointer(";
8672 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss <<
"devPtr=NULL";
8673 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
8674 oss <<
", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
8675 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
8678 case HIP_API_ID_hipHostGetFlags:
8679 oss <<
"hipHostGetFlags(";
8680 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss <<
"flagsPtr=NULL";
8681 else { oss <<
"flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
8682 oss <<
", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
8685 case HIP_API_ID_hipHostMalloc:
8686 oss <<
"hipHostMalloc(";
8687 if (data->args.hipHostMalloc.ptr == NULL) oss <<
"ptr=NULL";
8688 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
8689 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
8690 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
8693 case HIP_API_ID_hipHostRegister:
8694 oss <<
"hipHostRegister(";
8695 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
8696 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
8697 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
8700 case HIP_API_ID_hipHostUnregister:
8701 oss <<
"hipHostUnregister(";
8702 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
8705 case HIP_API_ID_hipImportExternalMemory:
8706 oss <<
"hipImportExternalMemory(";
8707 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss <<
"extMem_out=NULL";
8708 else { oss <<
"extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
8709 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss <<
", memHandleDesc=NULL";
8710 else { oss <<
", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
8713 case HIP_API_ID_hipImportExternalSemaphore:
8714 oss <<
"hipImportExternalSemaphore(";
8715 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss <<
"extSem_out=NULL";
8716 else { oss <<
"extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
8717 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss <<
", semHandleDesc=NULL";
8718 else { oss <<
", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
8721 case HIP_API_ID_hipInit:
8723 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
8726 case HIP_API_ID_hipIpcCloseMemHandle:
8727 oss <<
"hipIpcCloseMemHandle(";
8728 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
8731 case HIP_API_ID_hipIpcGetEventHandle:
8732 oss <<
"hipIpcGetEventHandle(";
8733 if (data->args.hipIpcGetEventHandle.handle == NULL) oss <<
"handle=NULL";
8734 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
8735 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
8738 case HIP_API_ID_hipIpcGetMemHandle:
8739 oss <<
"hipIpcGetMemHandle(";
8740 if (data->args.hipIpcGetMemHandle.handle == NULL) oss <<
"handle=NULL";
8741 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
8742 oss <<
", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
8745 case HIP_API_ID_hipIpcOpenEventHandle:
8746 oss <<
"hipIpcOpenEventHandle(";
8747 if (data->args.hipIpcOpenEventHandle.event == NULL) oss <<
"event=NULL";
8748 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
8749 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
8752 case HIP_API_ID_hipIpcOpenMemHandle:
8753 oss <<
"hipIpcOpenMemHandle(";
8754 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss <<
"devPtr=NULL";
8755 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
8756 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
8757 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
8760 case HIP_API_ID_hipLaunchByPtr:
8761 oss <<
"hipLaunchByPtr(";
8762 oss <<
"hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
8765 case HIP_API_ID_hipLaunchCooperativeKernel:
8766 oss <<
"hipLaunchCooperativeKernel(";
8767 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
8768 oss <<
", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
8769 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
8770 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8771 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
8772 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
8773 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
8776 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
8777 oss <<
"hipLaunchCooperativeKernelMultiDevice(";
8778 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
8779 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
8780 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
8781 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
8784 case HIP_API_ID_hipLaunchHostFunc:
8785 oss <<
"hipLaunchHostFunc(";
8786 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
8787 oss <<
", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
8788 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
8791 case HIP_API_ID_hipLaunchKernel:
8792 oss <<
"hipLaunchKernel(";
8793 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
8794 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
8795 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
8796 if (data->args.hipLaunchKernel.args == NULL) oss <<
", args=NULL";
8797 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
8798 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
8799 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
8802 case HIP_API_ID_hipMalloc:
8803 oss <<
"hipMalloc(";
8804 if (data->args.hipMalloc.ptr == NULL) oss <<
"ptr=NULL";
8805 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
8806 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
8809 case HIP_API_ID_hipMalloc3D:
8810 oss <<
"hipMalloc3D(";
8811 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss <<
"pitchedDevPtr=NULL";
8812 else { oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
8813 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
8816 case HIP_API_ID_hipMalloc3DArray:
8817 oss <<
"hipMalloc3DArray(";
8818 if (data->args.hipMalloc3DArray.array == NULL) oss <<
"array=NULL";
8819 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
8820 if (data->args.hipMalloc3DArray.desc == NULL) oss <<
", desc=NULL";
8821 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
8822 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
8823 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
8826 case HIP_API_ID_hipMallocArray:
8827 oss <<
"hipMallocArray(";
8828 if (data->args.hipMallocArray.array == NULL) oss <<
"array=NULL";
8829 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipMallocArray.array__val); }
8830 if (data->args.hipMallocArray.desc == NULL) oss <<
", desc=NULL";
8831 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
8832 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
8833 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
8834 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
8837 case HIP_API_ID_hipMallocAsync:
8838 oss <<
"hipMallocAsync(";
8839 if (data->args.hipMallocAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8840 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
8841 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
8842 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
8845 case HIP_API_ID_hipMallocFromPoolAsync:
8846 oss <<
"hipMallocFromPoolAsync(";
8847 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8848 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
8849 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
8850 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
8851 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
8854 case HIP_API_ID_hipMallocHost:
8855 oss <<
"hipMallocHost(";
8856 if (data->args.hipMallocHost.ptr == NULL) oss <<
"ptr=NULL";
8857 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
8858 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
8861 case HIP_API_ID_hipMallocManaged:
8862 oss <<
"hipMallocManaged(";
8863 if (data->args.hipMallocManaged.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8864 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
8865 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
8866 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
8869 case HIP_API_ID_hipMallocMipmappedArray:
8870 oss <<
"hipMallocMipmappedArray(";
8871 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss <<
"mipmappedArray=NULL";
8872 else { oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
8873 if (data->args.hipMallocMipmappedArray.desc == NULL) oss <<
", desc=NULL";
8874 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
8875 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
8876 oss <<
", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
8877 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
8880 case HIP_API_ID_hipMallocPitch:
8881 oss <<
"hipMallocPitch(";
8882 if (data->args.hipMallocPitch.ptr == NULL) oss <<
"ptr=NULL";
8883 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
8884 if (data->args.hipMallocPitch.pitch == NULL) oss <<
", pitch=NULL";
8885 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
8886 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
8887 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
8890 case HIP_API_ID_hipMemAddressFree:
8891 oss <<
"hipMemAddressFree(";
8892 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
8893 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
8896 case HIP_API_ID_hipMemAddressReserve:
8897 oss <<
"hipMemAddressReserve(";
8898 if (data->args.hipMemAddressReserve.ptr == NULL) oss <<
"ptr=NULL";
8899 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
8900 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
8901 oss <<
", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
8902 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
8903 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
8906 case HIP_API_ID_hipMemAdvise:
8907 oss <<
"hipMemAdvise(";
8908 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
8909 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
8910 oss <<
", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
8911 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
8914 case HIP_API_ID_hipMemAllocHost:
8915 oss <<
"hipMemAllocHost(";
8916 if (data->args.hipMemAllocHost.ptr == NULL) oss <<
"ptr=NULL";
8917 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
8918 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
8921 case HIP_API_ID_hipMemAllocPitch:
8922 oss <<
"hipMemAllocPitch(";
8923 if (data->args.hipMemAllocPitch.dptr == NULL) oss <<
"dptr=NULL";
8924 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
8925 if (data->args.hipMemAllocPitch.pitch == NULL) oss <<
", pitch=NULL";
8926 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
8927 oss <<
", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
8928 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
8929 oss <<
", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
8932 case HIP_API_ID_hipMemCreate:
8933 oss <<
"hipMemCreate(";
8934 if (data->args.hipMemCreate.handle == NULL) oss <<
"handle=NULL";
8935 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
8936 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
8937 if (data->args.hipMemCreate.prop == NULL) oss <<
", prop=NULL";
8938 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
8939 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
8942 case HIP_API_ID_hipMemExportToShareableHandle:
8943 oss <<
"hipMemExportToShareableHandle(";
8944 oss <<
"shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
8945 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
8946 oss <<
", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
8947 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
8950 case HIP_API_ID_hipMemGetAccess:
8951 oss <<
"hipMemGetAccess(";
8952 if (data->args.hipMemGetAccess.flags == NULL) oss <<
"flags=NULL";
8953 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
8954 if (data->args.hipMemGetAccess.location == NULL) oss <<
", location=NULL";
8955 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
8956 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
8959 case HIP_API_ID_hipMemGetAddressRange:
8960 oss <<
"hipMemGetAddressRange(";
8961 if (data->args.hipMemGetAddressRange.pbase == NULL) oss <<
"pbase=NULL";
8962 else { oss <<
"pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
8963 if (data->args.hipMemGetAddressRange.psize == NULL) oss <<
", psize=NULL";
8964 else { oss <<
", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
8965 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
8968 case HIP_API_ID_hipMemGetAllocationGranularity:
8969 oss <<
"hipMemGetAllocationGranularity(";
8970 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss <<
"granularity=NULL";
8971 else { oss <<
"granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
8972 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss <<
", prop=NULL";
8973 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
8974 oss <<
", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
8977 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
8978 oss <<
"hipMemGetAllocationPropertiesFromHandle(";
8979 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss <<
"prop=NULL";
8980 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
8981 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
8984 case HIP_API_ID_hipMemGetInfo:
8985 oss <<
"hipMemGetInfo(";
8986 if (data->args.hipMemGetInfo.free == NULL) oss <<
"free=NULL";
8987 else { oss <<
"free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
8988 if (data->args.hipMemGetInfo.total == NULL) oss <<
", total=NULL";
8989 else { oss <<
", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
8992 case HIP_API_ID_hipMemImportFromShareableHandle:
8993 oss <<
"hipMemImportFromShareableHandle(";
8994 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss <<
"handle=NULL";
8995 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
8996 oss <<
", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
8997 oss <<
", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9000 case HIP_API_ID_hipMemMap:
9001 oss <<
"hipMemMap(";
9002 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9003 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9004 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9005 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9006 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9009 case HIP_API_ID_hipMemMapArrayAsync:
9010 oss <<
"hipMemMapArrayAsync(";
9011 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss <<
"mapInfoList=NULL";
9012 else { oss <<
"mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9013 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9014 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9017 case HIP_API_ID_hipMemPoolCreate:
9018 oss <<
"hipMemPoolCreate(";
9019 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss <<
"mem_pool=NULL";
9020 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9021 if (data->args.hipMemPoolCreate.pool_props == NULL) oss <<
", pool_props=NULL";
9022 else { oss <<
", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9025 case HIP_API_ID_hipMemPoolDestroy:
9026 oss <<
"hipMemPoolDestroy(";
9027 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9030 case HIP_API_ID_hipMemPoolExportPointer:
9031 oss <<
"hipMemPoolExportPointer(";
9032 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss <<
"export_data=NULL";
9033 else { oss <<
"export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9034 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9037 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9038 oss <<
"hipMemPoolExportToShareableHandle(";
9039 oss <<
"shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9040 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9041 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9042 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9045 case HIP_API_ID_hipMemPoolGetAccess:
9046 oss <<
"hipMemPoolGetAccess(";
9047 if (data->args.hipMemPoolGetAccess.flags == NULL) oss <<
"flags=NULL";
9048 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9049 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9050 if (data->args.hipMemPoolGetAccess.location == NULL) oss <<
", location=NULL";
9051 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9054 case HIP_API_ID_hipMemPoolGetAttribute:
9055 oss <<
"hipMemPoolGetAttribute(";
9056 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9057 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9058 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9061 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9062 oss <<
"hipMemPoolImportFromShareableHandle(";
9063 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss <<
"mem_pool=NULL";
9064 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9065 oss <<
", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9066 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9067 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9070 case HIP_API_ID_hipMemPoolImportPointer:
9071 oss <<
"hipMemPoolImportPointer(";
9072 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9073 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9074 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9075 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss <<
", export_data=NULL";
9076 else { oss <<
", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9079 case HIP_API_ID_hipMemPoolSetAccess:
9080 oss <<
"hipMemPoolSetAccess(";
9081 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9082 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss <<
", desc_list=NULL";
9083 else { oss <<
", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9084 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9087 case HIP_API_ID_hipMemPoolSetAttribute:
9088 oss <<
"hipMemPoolSetAttribute(";
9089 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9090 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9091 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9094 case HIP_API_ID_hipMemPoolTrimTo:
9095 oss <<
"hipMemPoolTrimTo(";
9096 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9097 oss <<
", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9100 case HIP_API_ID_hipMemPrefetchAsync:
9101 oss <<
"hipMemPrefetchAsync(";
9102 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9103 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9104 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9105 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9108 case HIP_API_ID_hipMemPtrGetInfo:
9109 oss <<
"hipMemPtrGetInfo(";
9110 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9111 if (data->args.hipMemPtrGetInfo.size == NULL) oss <<
", size=NULL";
9112 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9115 case HIP_API_ID_hipMemRangeGetAttribute:
9116 oss <<
"hipMemRangeGetAttribute(";
9117 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9118 oss <<
", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9119 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9120 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9121 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9124 case HIP_API_ID_hipMemRangeGetAttributes:
9125 oss <<
"hipMemRangeGetAttributes(";
9126 if (data->args.hipMemRangeGetAttributes.data == NULL) oss <<
"data=NULL";
9127 else { oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9128 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss <<
", data_sizes=NULL";
9129 else { oss <<
", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9130 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
9131 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9132 oss <<
", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9133 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9134 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9137 case HIP_API_ID_hipMemRelease:
9138 oss <<
"hipMemRelease(";
9139 oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9142 case HIP_API_ID_hipMemRetainAllocationHandle:
9143 oss <<
"hipMemRetainAllocationHandle(";
9144 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss <<
"handle=NULL";
9145 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9146 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9149 case HIP_API_ID_hipMemSetAccess:
9150 oss <<
"hipMemSetAccess(";
9151 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9152 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9153 if (data->args.hipMemSetAccess.desc == NULL) oss <<
", desc=NULL";
9154 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9155 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9158 case HIP_API_ID_hipMemUnmap:
9159 oss <<
"hipMemUnmap(";
9160 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9161 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9164 case HIP_API_ID_hipMemcpy:
9165 oss <<
"hipMemcpy(";
9166 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9167 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9168 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9169 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9172 case HIP_API_ID_hipMemcpy2D:
9173 oss <<
"hipMemcpy2D(";
9174 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9175 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9176 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9177 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9178 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9179 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9180 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9183 case HIP_API_ID_hipMemcpy2DAsync:
9184 oss <<
"hipMemcpy2DAsync(";
9185 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9186 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9187 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9188 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9189 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9190 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9191 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9192 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9195 case HIP_API_ID_hipMemcpy2DFromArray:
9196 oss <<
"hipMemcpy2DFromArray(";
9197 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9198 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9199 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9200 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9201 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9202 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9203 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9204 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9207 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9208 oss <<
"hipMemcpy2DFromArrayAsync(";
9209 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9210 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9211 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9212 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9213 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9214 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9215 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9216 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9217 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9220 case HIP_API_ID_hipMemcpy2DToArray:
9221 oss <<
"hipMemcpy2DToArray(";
9222 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9223 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9224 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9225 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9226 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9227 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9228 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9229 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9232 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9233 oss <<
"hipMemcpy2DToArrayAsync(";
9234 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9235 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9236 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9237 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9238 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9239 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9240 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9241 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9242 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9245 case HIP_API_ID_hipMemcpy3D:
9246 oss <<
"hipMemcpy3D(";
9247 if (data->args.hipMemcpy3D.p == NULL) oss <<
"p=NULL";
9248 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9251 case HIP_API_ID_hipMemcpy3DAsync:
9252 oss <<
"hipMemcpy3DAsync(";
9253 if (data->args.hipMemcpy3DAsync.p == NULL) oss <<
"p=NULL";
9254 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9255 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9258 case HIP_API_ID_hipMemcpyAsync:
9259 oss <<
"hipMemcpyAsync(";
9260 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9261 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9262 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9263 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9264 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9267 case HIP_API_ID_hipMemcpyAtoH:
9268 oss <<
"hipMemcpyAtoH(";
9269 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9270 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9271 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9272 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9275 case HIP_API_ID_hipMemcpyDtoD:
9276 oss <<
"hipMemcpyDtoD(";
9277 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9278 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9279 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9282 case HIP_API_ID_hipMemcpyDtoDAsync:
9283 oss <<
"hipMemcpyDtoDAsync(";
9284 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9285 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9286 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9287 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9290 case HIP_API_ID_hipMemcpyDtoH:
9291 oss <<
"hipMemcpyDtoH(";
9292 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9293 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9294 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9297 case HIP_API_ID_hipMemcpyDtoHAsync:
9298 oss <<
"hipMemcpyDtoHAsync(";
9299 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9300 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9301 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9302 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9305 case HIP_API_ID_hipMemcpyFromArray:
9306 oss <<
"hipMemcpyFromArray(";
9307 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9308 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9309 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9310 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9311 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9312 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9315 case HIP_API_ID_hipMemcpyFromSymbol:
9316 oss <<
"hipMemcpyFromSymbol(";
9317 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9318 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9319 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9320 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9321 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9324 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9325 oss <<
"hipMemcpyFromSymbolAsync(";
9326 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9327 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9328 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9329 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9330 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9331 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9334 case HIP_API_ID_hipMemcpyHtoA:
9335 oss <<
"hipMemcpyHtoA(";
9336 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9337 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9338 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9339 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9342 case HIP_API_ID_hipMemcpyHtoD:
9343 oss <<
"hipMemcpyHtoD(";
9344 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9345 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9346 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9349 case HIP_API_ID_hipMemcpyHtoDAsync:
9350 oss <<
"hipMemcpyHtoDAsync(";
9351 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9352 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9353 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9354 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9357 case HIP_API_ID_hipMemcpyParam2D:
9358 oss <<
"hipMemcpyParam2D(";
9359 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss <<
"pCopy=NULL";
9360 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9363 case HIP_API_ID_hipMemcpyParam2DAsync:
9364 oss <<
"hipMemcpyParam2DAsync(";
9365 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
9366 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9367 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9370 case HIP_API_ID_hipMemcpyPeer:
9371 oss <<
"hipMemcpyPeer(";
9372 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9373 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9374 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9375 oss <<
", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9376 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9379 case HIP_API_ID_hipMemcpyPeerAsync:
9380 oss <<
"hipMemcpyPeerAsync(";
9381 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9382 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9383 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9384 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9385 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9386 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9389 case HIP_API_ID_hipMemcpyToArray:
9390 oss <<
"hipMemcpyToArray(";
9391 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
9392 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9393 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9394 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9395 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9396 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9399 case HIP_API_ID_hipMemcpyToSymbol:
9400 oss <<
"hipMemcpyToSymbol(";
9401 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9402 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9403 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9404 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9405 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9408 case HIP_API_ID_hipMemcpyToSymbolAsync:
9409 oss <<
"hipMemcpyToSymbolAsync(";
9410 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9411 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9412 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9413 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9414 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9415 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9418 case HIP_API_ID_hipMemcpyWithStream:
9419 oss <<
"hipMemcpyWithStream(";
9420 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9421 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9422 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9423 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9424 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9427 case HIP_API_ID_hipMemset:
9428 oss <<
"hipMemset(";
9429 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9430 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9431 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9434 case HIP_API_ID_hipMemset2D:
9435 oss <<
"hipMemset2D(";
9436 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9437 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9438 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9439 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9440 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9443 case HIP_API_ID_hipMemset2DAsync:
9444 oss <<
"hipMemset2DAsync(";
9445 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9446 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9447 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9448 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9449 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9450 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9453 case HIP_API_ID_hipMemset3D:
9454 oss <<
"hipMemset3D(";
9455 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9456 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9457 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9460 case HIP_API_ID_hipMemset3DAsync:
9461 oss <<
"hipMemset3DAsync(";
9462 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9463 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9464 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9465 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9468 case HIP_API_ID_hipMemsetAsync:
9469 oss <<
"hipMemsetAsync(";
9470 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9471 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9472 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9473 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9476 case HIP_API_ID_hipMemsetD16:
9477 oss <<
"hipMemsetD16(";
9478 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9479 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9480 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9483 case HIP_API_ID_hipMemsetD16Async:
9484 oss <<
"hipMemsetD16Async(";
9485 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9486 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9487 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9488 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9491 case HIP_API_ID_hipMemsetD32:
9492 oss <<
"hipMemsetD32(";
9493 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9494 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9495 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9498 case HIP_API_ID_hipMemsetD32Async:
9499 oss <<
"hipMemsetD32Async(";
9500 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9501 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9502 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9503 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9506 case HIP_API_ID_hipMemsetD8:
9507 oss <<
"hipMemsetD8(";
9508 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9509 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9510 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9513 case HIP_API_ID_hipMemsetD8Async:
9514 oss <<
"hipMemsetD8Async(";
9515 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9516 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9517 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9518 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9521 case HIP_API_ID_hipMipmappedArrayCreate:
9522 oss <<
"hipMipmappedArrayCreate(";
9523 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
9524 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9525 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss <<
", pMipmappedArrayDesc=NULL";
9526 else { oss <<
", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9527 oss <<
", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9530 case HIP_API_ID_hipMipmappedArrayDestroy:
9531 oss <<
"hipMipmappedArrayDestroy(";
9532 oss <<
"hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9535 case HIP_API_ID_hipMipmappedArrayGetLevel:
9536 oss <<
"hipMipmappedArrayGetLevel(";
9537 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss <<
"pLevelArray=NULL";
9538 else { oss <<
"pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9539 oss <<
", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9540 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9543 case HIP_API_ID_hipModuleGetFunction:
9544 oss <<
"hipModuleGetFunction(";
9545 if (data->args.hipModuleGetFunction.function == NULL) oss <<
"function=NULL";
9546 else { oss <<
"function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9547 oss <<
", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9548 if (data->args.hipModuleGetFunction.kname == NULL) oss <<
", kname=NULL";
9549 else { oss <<
", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9552 case HIP_API_ID_hipModuleGetGlobal:
9553 oss <<
"hipModuleGetGlobal(";
9554 if (data->args.hipModuleGetGlobal.dptr == NULL) oss <<
"dptr=NULL";
9555 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9556 if (data->args.hipModuleGetGlobal.bytes == NULL) oss <<
", bytes=NULL";
9557 else { oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9558 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9559 if (data->args.hipModuleGetGlobal.name == NULL) oss <<
", name=NULL";
9560 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9563 case HIP_API_ID_hipModuleGetTexRef:
9564 oss <<
"hipModuleGetTexRef(";
9565 if (data->args.hipModuleGetTexRef.texRef == NULL) oss <<
"texRef=NULL";
9566 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipModuleGetTexRef.texRef__val); }
9567 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9568 if (data->args.hipModuleGetTexRef.name == NULL) oss <<
", name=NULL";
9569 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9572 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9573 oss <<
"hipModuleLaunchCooperativeKernel(";
9574 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9575 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9576 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9577 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9578 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9579 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9580 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9581 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9582 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9583 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9584 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9587 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9588 oss <<
"hipModuleLaunchCooperativeKernelMultiDevice(";
9589 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
9590 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9591 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9592 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9595 case HIP_API_ID_hipModuleLaunchKernel:
9596 oss <<
"hipModuleLaunchKernel(";
9597 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9598 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
9599 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
9600 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
9601 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
9602 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
9603 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
9604 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
9605 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
9606 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9607 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
9608 if (data->args.hipModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
9609 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
9612 case HIP_API_ID_hipModuleLoad:
9613 oss <<
"hipModuleLoad(";
9614 if (data->args.hipModuleLoad.module == NULL) oss <<
"module=NULL";
9615 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
9616 if (data->args.hipModuleLoad.fname == NULL) oss <<
", fname=NULL";
9617 else { oss <<
", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
9620 case HIP_API_ID_hipModuleLoadData:
9621 oss <<
"hipModuleLoadData(";
9622 if (data->args.hipModuleLoadData.module == NULL) oss <<
"module=NULL";
9623 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
9624 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
9627 case HIP_API_ID_hipModuleLoadDataEx:
9628 oss <<
"hipModuleLoadDataEx(";
9629 if (data->args.hipModuleLoadDataEx.module == NULL) oss <<
"module=NULL";
9630 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
9631 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
9632 oss <<
", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
9633 if (data->args.hipModuleLoadDataEx.options == NULL) oss <<
", options=NULL";
9634 else { oss <<
", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
9635 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss <<
", optionsValues=NULL";
9636 else { oss <<
", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
9639 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
9640 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
9641 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
9642 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9643 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
9644 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9645 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
9648 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9649 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9650 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
9651 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9652 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9653 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9654 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
9655 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9658 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
9659 oss <<
"hipModuleOccupancyMaxPotentialBlockSize(";
9660 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
9661 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
9662 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
9663 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
9664 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
9665 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9666 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
9669 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
9670 oss <<
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
9671 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss <<
"gridSize=NULL";
9672 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
9673 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss <<
", blockSize=NULL";
9674 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
9675 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
9676 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
9677 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
9678 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
9681 case HIP_API_ID_hipModuleUnload:
9682 oss <<
"hipModuleUnload(";
9683 oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
9686 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
9687 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessor(";
9688 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
9689 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9690 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
9691 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9692 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
9695 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9696 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9697 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
9698 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9699 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9700 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9701 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
9702 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9705 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
9706 oss <<
"hipOccupancyMaxPotentialBlockSize(";
9707 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
9708 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
9709 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
9710 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
9711 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
9712 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9713 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
9716 case HIP_API_ID_hipPeekAtLastError:
9717 oss <<
"hipPeekAtLastError(";
9720 case HIP_API_ID_hipPointerGetAttribute:
9721 oss <<
"hipPointerGetAttribute(";
9722 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
9723 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
9724 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
9727 case HIP_API_ID_hipPointerGetAttributes:
9728 oss <<
"hipPointerGetAttributes(";
9729 if (data->args.hipPointerGetAttributes.attributes == NULL) oss <<
"attributes=NULL";
9730 else { oss <<
"attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
9731 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
9734 case HIP_API_ID_hipPointerSetAttribute:
9735 oss <<
"hipPointerSetAttribute(";
9736 oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
9737 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
9738 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
9741 case HIP_API_ID_hipProfilerStart:
9742 oss <<
"hipProfilerStart(";
9745 case HIP_API_ID_hipProfilerStop:
9746 oss <<
"hipProfilerStop(";
9749 case HIP_API_ID_hipRuntimeGetVersion:
9750 oss <<
"hipRuntimeGetVersion(";
9751 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss <<
"runtimeVersion=NULL";
9752 else { oss <<
"runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
9755 case HIP_API_ID_hipSetDevice:
9756 oss <<
"hipSetDevice(";
9757 oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
9760 case HIP_API_ID_hipSetDeviceFlags:
9761 oss <<
"hipSetDeviceFlags(";
9762 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
9765 case HIP_API_ID_hipSetupArgument:
9766 oss <<
"hipSetupArgument(";
9767 oss <<
"arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
9768 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
9769 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
9772 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
9773 oss <<
"hipSignalExternalSemaphoresAsync(";
9774 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
9775 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
9776 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
9777 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
9778 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
9779 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
9782 case HIP_API_ID_hipStreamAddCallback:
9783 oss <<
"hipStreamAddCallback(";
9784 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
9785 oss <<
", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
9786 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
9787 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
9790 case HIP_API_ID_hipStreamAttachMemAsync:
9791 oss <<
"hipStreamAttachMemAsync(";
9792 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
9793 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
9794 oss <<
", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
9795 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
9798 case HIP_API_ID_hipStreamBeginCapture:
9799 oss <<
"hipStreamBeginCapture(";
9800 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
9801 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
9804 case HIP_API_ID_hipStreamCreate:
9805 oss <<
"hipStreamCreate(";
9806 if (data->args.hipStreamCreate.stream == NULL) oss <<
"stream=NULL";
9807 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
9810 case HIP_API_ID_hipStreamCreateWithFlags:
9811 oss <<
"hipStreamCreateWithFlags(";
9812 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss <<
"stream=NULL";
9813 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
9814 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
9817 case HIP_API_ID_hipStreamCreateWithPriority:
9818 oss <<
"hipStreamCreateWithPriority(";
9819 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss <<
"stream=NULL";
9820 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
9821 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
9822 oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
9825 case HIP_API_ID_hipStreamDestroy:
9826 oss <<
"hipStreamDestroy(";
9827 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
9830 case HIP_API_ID_hipStreamEndCapture:
9831 oss <<
"hipStreamEndCapture(";
9832 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
9833 if (data->args.hipStreamEndCapture.pGraph == NULL) oss <<
", pGraph=NULL";
9834 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
9837 case HIP_API_ID_hipStreamGetCaptureInfo:
9838 oss <<
"hipStreamGetCaptureInfo(";
9839 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
9840 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
9841 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
9842 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss <<
", pId=NULL";
9843 else { oss <<
", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
9846 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
9847 oss <<
"hipStreamGetCaptureInfo_v2(";
9848 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
9849 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss <<
", captureStatus_out=NULL";
9850 else { oss <<
", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
9851 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss <<
", id_out=NULL";
9852 else { oss <<
", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
9853 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss <<
", graph_out=NULL";
9854 else { oss <<
", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
9855 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss <<
", dependencies_out=NULL";
9856 else { oss <<
", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
9857 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss <<
", numDependencies_out=NULL";
9858 else { oss <<
", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
9861 case HIP_API_ID_hipStreamGetDevice:
9862 oss <<
"hipStreamGetDevice(";
9863 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
9864 if (data->args.hipStreamGetDevice.device == NULL) oss <<
", device=NULL";
9865 else { oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
9868 case HIP_API_ID_hipStreamGetFlags:
9869 oss <<
"hipStreamGetFlags(";
9870 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
9871 if (data->args.hipStreamGetFlags.flags == NULL) oss <<
", flags=NULL";
9872 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
9875 case HIP_API_ID_hipStreamGetPriority:
9876 oss <<
"hipStreamGetPriority(";
9877 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
9878 if (data->args.hipStreamGetPriority.priority == NULL) oss <<
", priority=NULL";
9879 else { oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
9882 case HIP_API_ID_hipStreamIsCapturing:
9883 oss <<
"hipStreamIsCapturing(";
9884 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
9885 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
9886 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
9889 case HIP_API_ID_hipStreamQuery:
9890 oss <<
"hipStreamQuery(";
9891 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
9894 case HIP_API_ID_hipStreamSynchronize:
9895 oss <<
"hipStreamSynchronize(";
9896 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
9899 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
9900 oss <<
"hipStreamUpdateCaptureDependencies(";
9901 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
9902 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss <<
", dependencies=NULL";
9903 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
9904 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
9905 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
9908 case HIP_API_ID_hipStreamWaitEvent:
9909 oss <<
"hipStreamWaitEvent(";
9910 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
9911 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
9912 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
9915 case HIP_API_ID_hipStreamWaitValue32:
9916 oss <<
"hipStreamWaitValue32(";
9917 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
9918 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
9919 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
9920 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
9921 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
9924 case HIP_API_ID_hipStreamWaitValue64:
9925 oss <<
"hipStreamWaitValue64(";
9926 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
9927 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
9928 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
9929 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
9930 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
9933 case HIP_API_ID_hipStreamWriteValue32:
9934 oss <<
"hipStreamWriteValue32(";
9935 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
9936 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
9937 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
9938 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
9941 case HIP_API_ID_hipStreamWriteValue64:
9942 oss <<
"hipStreamWriteValue64(";
9943 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
9944 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
9945 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
9946 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
9949 case HIP_API_ID_hipTexRefGetAddress:
9950 oss <<
"hipTexRefGetAddress(";
9951 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9952 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
9953 if (data->args.hipTexRefGetAddress.texRef == NULL) oss <<
", texRef=NULL";
9954 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
9957 case HIP_API_ID_hipTexRefGetFlags:
9958 oss <<
"hipTexRefGetFlags(";
9959 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss <<
"pFlags=NULL";
9960 else { oss <<
"pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
9961 if (data->args.hipTexRefGetFlags.texRef == NULL) oss <<
", texRef=NULL";
9962 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
9965 case HIP_API_ID_hipTexRefGetFormat:
9966 oss <<
"hipTexRefGetFormat(";
9967 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss <<
"pFormat=NULL";
9968 else { oss <<
"pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
9969 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss <<
", pNumChannels=NULL";
9970 else { oss <<
", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
9971 if (data->args.hipTexRefGetFormat.texRef == NULL) oss <<
", texRef=NULL";
9972 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
9975 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
9976 oss <<
"hipTexRefGetMaxAnisotropy(";
9977 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss <<
"pmaxAnsio=NULL";
9978 else { oss <<
"pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
9979 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss <<
", texRef=NULL";
9980 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
9983 case HIP_API_ID_hipTexRefGetMipMappedArray:
9984 oss <<
"hipTexRefGetMipMappedArray(";
9985 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss <<
"pArray=NULL";
9986 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
9987 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss <<
", texRef=NULL";
9988 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
9991 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
9992 oss <<
"hipTexRefGetMipmapLevelBias(";
9993 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss <<
"pbias=NULL";
9994 else { oss <<
"pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
9995 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss <<
", texRef=NULL";
9996 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
9999 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10000 oss <<
"hipTexRefGetMipmapLevelClamp(";
10001 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss <<
"pminMipmapLevelClamp=NULL";
10002 else { oss <<
"pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10003 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss <<
", pmaxMipmapLevelClamp=NULL";
10004 else { oss <<
", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10005 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss <<
", texRef=NULL";
10006 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10009 case HIP_API_ID_hipTexRefSetAddress:
10010 oss <<
"hipTexRefSetAddress(";
10011 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss <<
"ByteOffset=NULL";
10012 else { oss <<
"ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10013 if (data->args.hipTexRefSetAddress.texRef == NULL) oss <<
", texRef=NULL";
10014 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10015 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10016 oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10019 case HIP_API_ID_hipTexRefSetAddress2D:
10020 oss <<
"hipTexRefSetAddress2D(";
10021 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss <<
"texRef=NULL";
10022 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10023 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss <<
", desc=NULL";
10024 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10025 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10026 oss <<
", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10029 case HIP_API_ID_hipTexRefSetArray:
10030 oss <<
"hipTexRefSetArray(";
10031 if (data->args.hipTexRefSetArray.tex == NULL) oss <<
"tex=NULL";
10032 else { oss <<
"tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10033 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10034 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10037 case HIP_API_ID_hipTexRefSetBorderColor:
10038 oss <<
"hipTexRefSetBorderColor(";
10039 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss <<
"texRef=NULL";
10040 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10041 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss <<
", pBorderColor=NULL";
10042 else { oss <<
", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10045 case HIP_API_ID_hipTexRefSetFlags:
10046 oss <<
"hipTexRefSetFlags(";
10047 if (data->args.hipTexRefSetFlags.texRef == NULL) oss <<
"texRef=NULL";
10048 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10049 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10052 case HIP_API_ID_hipTexRefSetFormat:
10053 oss <<
"hipTexRefSetFormat(";
10054 if (data->args.hipTexRefSetFormat.texRef == NULL) oss <<
"texRef=NULL";
10055 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10056 oss <<
", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10057 oss <<
", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10060 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10061 oss <<
"hipTexRefSetMaxAnisotropy(";
10062 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss <<
"texRef=NULL";
10063 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10064 oss <<
", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10067 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10068 oss <<
"hipTexRefSetMipmapLevelBias(";
10069 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss <<
"texRef=NULL";
10070 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10071 oss <<
", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10074 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10075 oss <<
"hipTexRefSetMipmapLevelClamp(";
10076 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss <<
"texRef=NULL";
10077 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10078 oss <<
", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10079 oss <<
", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10082 case HIP_API_ID_hipTexRefSetMipmappedArray:
10083 oss <<
"hipTexRefSetMipmappedArray(";
10084 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss <<
"texRef=NULL";
10085 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10086 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss <<
", mipmappedArray=NULL";
10087 else { oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10088 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10091 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10092 oss <<
"hipThreadExchangeStreamCaptureMode(";
10093 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss <<
"mode=NULL";
10094 else { oss <<
"mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10097 case HIP_API_ID_hipUserObjectCreate:
10098 oss <<
"hipUserObjectCreate(";
10099 if (data->args.hipUserObjectCreate.object_out == NULL) oss <<
"object_out=NULL";
10100 else { oss <<
"object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10101 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10102 oss <<
", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10103 oss <<
", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10104 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10107 case HIP_API_ID_hipUserObjectRelease:
10108 oss <<
"hipUserObjectRelease(";
10109 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10110 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10113 case HIP_API_ID_hipUserObjectRetain:
10114 oss <<
"hipUserObjectRetain(";
10115 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10116 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10119 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10120 oss <<
"hipWaitExternalSemaphoresAsync(";
10121 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
10122 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10123 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
10124 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10125 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10126 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10129 default: oss <<
"unknown";
10131 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:1205