10#include <hip/hip_runtime_api.h>
11#include <hip/hip_deprecated.h>
12#include "amd_hip_gl_interop.h"
14#define HIP_API_ID_CONCAT_HELPER(a,b) a##b
15#define HIP_API_ID_CONCAT(a,b) HIP_API_ID_CONCAT_HELPER(a,b)
21 HIP_API_ID___hipPopCallConfiguration = 1,
22 HIP_API_ID___hipPushCallConfiguration = 2,
23 HIP_API_ID_hipArray3DCreate = 3,
24 HIP_API_ID_hipArrayCreate = 4,
25 HIP_API_ID_hipArrayDestroy = 5,
26 HIP_API_ID_hipChooseDeviceR0000 = 6,
27 HIP_API_ID_hipConfigureCall = 7,
28 HIP_API_ID_hipCtxCreate = 8,
29 HIP_API_ID_hipCtxDestroy = 9,
30 HIP_API_ID_hipCtxDisablePeerAccess = 10,
31 HIP_API_ID_hipCtxEnablePeerAccess = 11,
32 HIP_API_ID_hipCtxGetApiVersion = 12,
33 HIP_API_ID_hipCtxGetCacheConfig = 13,
34 HIP_API_ID_hipCtxGetCurrent = 14,
35 HIP_API_ID_hipCtxGetDevice = 15,
36 HIP_API_ID_hipCtxGetFlags = 16,
37 HIP_API_ID_hipCtxGetSharedMemConfig = 17,
38 HIP_API_ID_hipCtxPopCurrent = 18,
39 HIP_API_ID_hipCtxPushCurrent = 19,
40 HIP_API_ID_hipCtxSetCacheConfig = 20,
41 HIP_API_ID_hipCtxSetCurrent = 21,
42 HIP_API_ID_hipCtxSetSharedMemConfig = 22,
43 HIP_API_ID_hipCtxSynchronize = 23,
44 HIP_API_ID_hipDestroyExternalMemory = 24,
45 HIP_API_ID_hipDestroyExternalSemaphore = 25,
46 HIP_API_ID_hipDeviceCanAccessPeer = 26,
47 HIP_API_ID_hipDeviceComputeCapability = 27,
48 HIP_API_ID_hipDeviceDisablePeerAccess = 28,
49 HIP_API_ID_hipDeviceEnablePeerAccess = 29,
50 HIP_API_ID_hipDeviceGet = 30,
51 HIP_API_ID_hipDeviceGetAttribute = 31,
52 HIP_API_ID_hipDeviceGetByPCIBusId = 32,
53 HIP_API_ID_hipDeviceGetCacheConfig = 33,
54 HIP_API_ID_hipDeviceGetLimit = 34,
55 HIP_API_ID_hipDeviceGetName = 35,
56 HIP_API_ID_hipDeviceGetP2PAttribute = 36,
57 HIP_API_ID_hipDeviceGetPCIBusId = 37,
58 HIP_API_ID_hipDeviceGetSharedMemConfig = 38,
59 HIP_API_ID_hipDeviceGetStreamPriorityRange = 39,
60 HIP_API_ID_hipDevicePrimaryCtxGetState = 40,
61 HIP_API_ID_hipDevicePrimaryCtxRelease = 41,
62 HIP_API_ID_hipDevicePrimaryCtxReset = 42,
63 HIP_API_ID_hipDevicePrimaryCtxRetain = 43,
64 HIP_API_ID_hipDevicePrimaryCtxSetFlags = 44,
65 HIP_API_ID_hipDeviceReset = 45,
66 HIP_API_ID_hipDeviceSetCacheConfig = 46,
67 HIP_API_ID_hipDeviceSetSharedMemConfig = 47,
68 HIP_API_ID_hipDeviceSynchronize = 48,
69 HIP_API_ID_hipDeviceTotalMem = 49,
70 HIP_API_ID_RESERVED_50 = 50,
71 HIP_API_ID_hipDrvMemcpy2DUnaligned = 51,
72 HIP_API_ID_hipDrvMemcpy3D = 52,
73 HIP_API_ID_hipDrvMemcpy3DAsync = 53,
74 HIP_API_ID_hipEventCreate = 54,
75 HIP_API_ID_hipEventCreateWithFlags = 55,
76 HIP_API_ID_hipEventDestroy = 56,
77 HIP_API_ID_hipEventElapsedTime = 57,
78 HIP_API_ID_hipEventQuery = 58,
79 HIP_API_ID_hipEventRecord = 59,
80 HIP_API_ID_hipEventSynchronize = 60,
81 HIP_API_ID_hipExtGetLinkTypeAndHopCount = 61,
82 HIP_API_ID_hipExtLaunchKernel = 62,
83 HIP_API_ID_hipExtLaunchMultiKernelMultiDevice = 63,
84 HIP_API_ID_hipExtMallocWithFlags = 64,
85 HIP_API_ID_hipExtModuleLaunchKernel = 65,
86 HIP_API_ID_hipExtStreamCreateWithCUMask = 66,
87 HIP_API_ID_hipExtStreamGetCUMask = 67,
88 HIP_API_ID_hipExternalMemoryGetMappedBuffer = 68,
89 HIP_API_ID_hipFree = 69,
90 HIP_API_ID_hipFreeArray = 70,
91 HIP_API_ID_hipFreeHost = 71,
92 HIP_API_ID_hipFreeMipmappedArray = 72,
93 HIP_API_ID_hipFuncGetAttribute = 73,
94 HIP_API_ID_hipFuncGetAttributes = 74,
95 HIP_API_ID_hipFuncSetAttribute = 75,
96 HIP_API_ID_hipFuncSetCacheConfig = 76,
97 HIP_API_ID_hipFuncSetSharedMemConfig = 77,
98 HIP_API_ID_hipGetDevice = 78,
99 HIP_API_ID_hipGetDeviceCount = 79,
100 HIP_API_ID_hipGetDeviceFlags = 80,
101 HIP_API_ID_hipGetDevicePropertiesR0000 = 81,
102 HIP_API_ID_RESERVED_82 = 82,
103 HIP_API_ID_hipGetErrorString = 83,
104 HIP_API_ID_hipGetLastError = 84,
105 HIP_API_ID_hipGetMipmappedArrayLevel = 85,
106 HIP_API_ID_hipGetSymbolAddress = 86,
107 HIP_API_ID_hipGetSymbolSize = 87,
108 HIP_API_ID_hipHccModuleLaunchKernel = 88,
109 HIP_API_ID_hipHostAlloc = 89,
110 HIP_API_ID_hipHostFree = 90,
111 HIP_API_ID_hipHostGetDevicePointer = 91,
112 HIP_API_ID_hipHostGetFlags = 92,
113 HIP_API_ID_hipHostMalloc = 93,
114 HIP_API_ID_hipHostRegister = 94,
115 HIP_API_ID_hipHostUnregister = 95,
116 HIP_API_ID_hipImportExternalMemory = 96,
117 HIP_API_ID_hipImportExternalSemaphore = 97,
118 HIP_API_ID_hipInit = 98,
119 HIP_API_ID_hipIpcCloseMemHandle = 99,
120 HIP_API_ID_hipIpcGetEventHandle = 100,
121 HIP_API_ID_hipIpcGetMemHandle = 101,
122 HIP_API_ID_hipIpcOpenEventHandle = 102,
123 HIP_API_ID_hipIpcOpenMemHandle = 103,
124 HIP_API_ID_hipLaunchByPtr = 104,
125 HIP_API_ID_hipLaunchCooperativeKernel = 105,
126 HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 106,
127 HIP_API_ID_hipLaunchKernel = 107,
128 HIP_API_ID_hipMalloc = 108,
129 HIP_API_ID_hipMalloc3D = 109,
130 HIP_API_ID_hipMalloc3DArray = 110,
131 HIP_API_ID_hipMallocArray = 111,
132 HIP_API_ID_hipMallocHost = 112,
133 HIP_API_ID_hipMallocManaged = 113,
134 HIP_API_ID_hipMallocMipmappedArray = 114,
135 HIP_API_ID_hipMallocPitch = 115,
136 HIP_API_ID_hipMemAdvise = 116,
137 HIP_API_ID_hipMemAllocHost = 117,
138 HIP_API_ID_hipMemAllocPitch = 118,
139 HIP_API_ID_hipMemGetAddressRange = 119,
140 HIP_API_ID_hipMemGetInfo = 120,
141 HIP_API_ID_hipMemPrefetchAsync = 121,
142 HIP_API_ID_hipMemPtrGetInfo = 122,
143 HIP_API_ID_hipMemRangeGetAttribute = 123,
144 HIP_API_ID_hipMemRangeGetAttributes = 124,
145 HIP_API_ID_hipMemcpy = 125,
146 HIP_API_ID_hipMemcpy2D = 126,
147 HIP_API_ID_hipMemcpy2DAsync = 127,
148 HIP_API_ID_hipMemcpy2DFromArray = 128,
149 HIP_API_ID_hipMemcpy2DFromArrayAsync = 129,
150 HIP_API_ID_hipMemcpy2DToArray = 130,
151 HIP_API_ID_hipMemcpy2DToArrayAsync = 131,
152 HIP_API_ID_hipMemcpy3D = 132,
153 HIP_API_ID_hipMemcpy3DAsync = 133,
154 HIP_API_ID_hipMemcpyAsync = 134,
155 HIP_API_ID_hipMemcpyAtoH = 135,
156 HIP_API_ID_hipMemcpyDtoD = 136,
157 HIP_API_ID_hipMemcpyDtoDAsync = 137,
158 HIP_API_ID_hipMemcpyDtoH = 138,
159 HIP_API_ID_hipMemcpyDtoHAsync = 139,
160 HIP_API_ID_hipMemcpyFromArray = 140,
161 HIP_API_ID_hipMemcpyFromSymbol = 141,
162 HIP_API_ID_hipMemcpyFromSymbolAsync = 142,
163 HIP_API_ID_hipMemcpyHtoA = 143,
164 HIP_API_ID_hipMemcpyHtoD = 144,
165 HIP_API_ID_hipMemcpyHtoDAsync = 145,
166 HIP_API_ID_hipMemcpyParam2D = 146,
167 HIP_API_ID_hipMemcpyParam2DAsync = 147,
168 HIP_API_ID_hipMemcpyPeer = 148,
169 HIP_API_ID_hipMemcpyPeerAsync = 149,
170 HIP_API_ID_hipMemcpyToArray = 150,
171 HIP_API_ID_hipMemcpyToSymbol = 151,
172 HIP_API_ID_hipMemcpyToSymbolAsync = 152,
173 HIP_API_ID_hipMemcpyWithStream = 153,
174 HIP_API_ID_hipMemset = 154,
175 HIP_API_ID_hipMemset2D = 155,
176 HIP_API_ID_hipMemset2DAsync = 156,
177 HIP_API_ID_hipMemset3D = 157,
178 HIP_API_ID_hipMemset3DAsync = 158,
179 HIP_API_ID_hipMemsetAsync = 159,
180 HIP_API_ID_hipMemsetD16 = 160,
181 HIP_API_ID_hipMemsetD16Async = 161,
182 HIP_API_ID_hipMemsetD32 = 162,
183 HIP_API_ID_hipMemsetD32Async = 163,
184 HIP_API_ID_hipMemsetD8 = 164,
185 HIP_API_ID_hipMemsetD8Async = 165,
186 HIP_API_ID_hipModuleGetFunction = 166,
187 HIP_API_ID_hipModuleGetGlobal = 167,
188 HIP_API_ID_hipModuleGetTexRef = 168,
189 HIP_API_ID_hipModuleLaunchKernel = 169,
190 HIP_API_ID_hipModuleLoad = 170,
191 HIP_API_ID_hipModuleLoadData = 171,
192 HIP_API_ID_hipModuleLoadDataEx = 172,
193 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor = 173,
194 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 174,
195 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize = 175,
196 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags = 176,
197 HIP_API_ID_hipModuleUnload = 177,
198 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 178,
199 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 179,
200 HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 180,
201 HIP_API_ID_hipPeekAtLastError = 181,
202 HIP_API_ID_hipPointerGetAttributes = 182,
203 HIP_API_ID_hipProfilerStart = 183,
204 HIP_API_ID_hipProfilerStop = 184,
205 HIP_API_ID_RESERVED_185 = 185,
206 HIP_API_ID_hipSetDevice = 186,
207 HIP_API_ID_hipSetDeviceFlags = 187,
208 HIP_API_ID_hipSetupArgument = 188,
209 HIP_API_ID_hipSignalExternalSemaphoresAsync = 189,
210 HIP_API_ID_hipStreamAddCallback = 190,
211 HIP_API_ID_hipStreamAttachMemAsync = 191,
212 HIP_API_ID_hipStreamCreate = 192,
213 HIP_API_ID_hipStreamCreateWithFlags = 193,
214 HIP_API_ID_hipStreamCreateWithPriority = 194,
215 HIP_API_ID_hipStreamDestroy = 195,
216 HIP_API_ID_hipStreamGetFlags = 196,
217 HIP_API_ID_hipStreamGetPriority = 197,
218 HIP_API_ID_hipStreamQuery = 198,
219 HIP_API_ID_hipStreamSynchronize = 199,
220 HIP_API_ID_hipStreamWaitEvent = 200,
221 HIP_API_ID_hipStreamWaitValue32 = 201,
222 HIP_API_ID_hipStreamWaitValue64 = 202,
223 HIP_API_ID_hipStreamWriteValue32 = 203,
224 HIP_API_ID_hipStreamWriteValue64 = 204,
225 HIP_API_ID_hipWaitExternalSemaphoresAsync = 205,
226 HIP_API_ID_hipCreateSurfaceObject = 206,
227 HIP_API_ID_hipDestroySurfaceObject = 207,
228 HIP_API_ID_hipGraphAddKernelNode = 208,
229 HIP_API_ID_hipGraphAddMemcpyNode = 209,
230 HIP_API_ID_hipGraphAddMemsetNode = 210,
231 HIP_API_ID_hipGraphCreate = 211,
232 HIP_API_ID_hipGraphDestroy = 212,
233 HIP_API_ID_hipGraphExecDestroy = 213,
234 HIP_API_ID_hipGraphInstantiate = 214,
235 HIP_API_ID_hipGraphLaunch = 215,
236 HIP_API_ID_hipMipmappedArrayCreate = 216,
237 HIP_API_ID_hipMipmappedArrayDestroy = 217,
238 HIP_API_ID_hipMipmappedArrayGetLevel = 218,
239 HIP_API_ID_hipStreamBeginCapture = 219,
240 HIP_API_ID_hipStreamEndCapture = 220,
241 HIP_API_ID_hipTexRefGetAddress = 221,
242 HIP_API_ID_hipTexRefGetFlags = 222,
243 HIP_API_ID_hipTexRefGetFormat = 223,
244 HIP_API_ID_hipTexRefGetMaxAnisotropy = 224,
245 HIP_API_ID_hipTexRefGetMipMappedArray = 225,
246 HIP_API_ID_hipTexRefGetMipmapLevelBias = 226,
247 HIP_API_ID_hipTexRefGetMipmapLevelClamp = 227,
248 HIP_API_ID_hipTexRefSetAddress = 228,
249 HIP_API_ID_hipTexRefSetAddress2D = 229,
250 HIP_API_ID_hipTexRefSetBorderColor = 230,
251 HIP_API_ID_hipTexRefSetFormat = 231,
252 HIP_API_ID_hipTexRefSetMaxAnisotropy = 232,
253 HIP_API_ID_hipTexRefSetMipmapLevelClamp = 233,
254 HIP_API_ID_hipTexRefSetMipmappedArray = 234,
255 HIP_API_ID_hipGLGetDevices = 235,
256 HIP_API_ID_hipGraphAddDependencies = 236,
257 HIP_API_ID_hipGraphAddEmptyNode = 237,
258 HIP_API_ID_hipGraphExecKernelNodeSetParams = 238,
259 HIP_API_ID_hipGraphGetNodes = 239,
260 HIP_API_ID_hipGraphGetRootNodes = 240,
261 HIP_API_ID_hipGraphKernelNodeGetParams = 241,
262 HIP_API_ID_hipGraphKernelNodeSetParams = 242,
263 HIP_API_ID_hipGraphMemcpyNodeGetParams = 243,
264 HIP_API_ID_hipGraphMemcpyNodeSetParams = 244,
265 HIP_API_ID_hipGraphMemsetNodeGetParams = 245,
266 HIP_API_ID_hipGraphMemsetNodeSetParams = 246,
267 HIP_API_ID_hipGraphicsGLRegisterBuffer = 247,
268 HIP_API_ID_hipGraphicsMapResources = 248,
269 HIP_API_ID_hipGraphicsResourceGetMappedPointer = 249,
270 HIP_API_ID_hipGraphicsUnmapResources = 250,
271 HIP_API_ID_hipGraphicsUnregisterResource = 251,
272 HIP_API_ID_hipGraphAddChildGraphNode = 252,
273 HIP_API_ID_hipGraphAddEventRecordNode = 253,
274 HIP_API_ID_hipGraphAddEventWaitNode = 254,
275 HIP_API_ID_hipGraphAddHostNode = 255,
276 HIP_API_ID_hipGraphAddMemcpyNode1D = 256,
277 HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol = 257,
278 HIP_API_ID_hipGraphAddMemcpyNodeToSymbol = 258,
279 HIP_API_ID_hipGraphChildGraphNodeGetGraph = 259,
280 HIP_API_ID_hipGraphClone = 260,
281 HIP_API_ID_hipGraphDestroyNode = 261,
282 HIP_API_ID_hipGraphEventRecordNodeGetEvent = 262,
283 HIP_API_ID_hipGraphEventRecordNodeSetEvent = 263,
284 HIP_API_ID_hipGraphEventWaitNodeGetEvent = 264,
285 HIP_API_ID_hipGraphEventWaitNodeSetEvent = 265,
286 HIP_API_ID_hipGraphExecChildGraphNodeSetParams = 266,
287 HIP_API_ID_hipGraphExecEventRecordNodeSetEvent = 267,
288 HIP_API_ID_hipGraphExecEventWaitNodeSetEvent = 268,
289 HIP_API_ID_hipGraphExecHostNodeSetParams = 269,
290 HIP_API_ID_hipGraphExecMemcpyNodeSetParams = 270,
291 HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D = 271,
292 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol = 272,
293 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol = 273,
294 HIP_API_ID_hipGraphExecMemsetNodeSetParams = 274,
295 HIP_API_ID_hipGraphExecUpdate = 275,
296 HIP_API_ID_hipGraphGetEdges = 276,
297 HIP_API_ID_hipGraphHostNodeGetParams = 277,
298 HIP_API_ID_hipGraphHostNodeSetParams = 278,
299 HIP_API_ID_hipGraphInstantiateWithFlags = 279,
300 HIP_API_ID_hipGraphMemcpyNodeSetParams1D = 280,
301 HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol = 281,
302 HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol = 282,
303 HIP_API_ID_hipGraphNodeFindInClone = 283,
304 HIP_API_ID_hipGraphNodeGetDependencies = 284,
305 HIP_API_ID_hipGraphNodeGetDependentNodes = 285,
306 HIP_API_ID_hipGraphNodeGetType = 286,
307 HIP_API_ID_hipGraphRemoveDependencies = 287,
308 HIP_API_ID_hipStreamGetCaptureInfo = 288,
309 HIP_API_ID_hipStreamGetCaptureInfo_v2 = 289,
310 HIP_API_ID_hipStreamIsCapturing = 290,
311 HIP_API_ID_hipStreamUpdateCaptureDependencies = 291,
312 HIP_API_ID_hipDrvPointerGetAttributes = 292,
313 HIP_API_ID_hipGraphicsGLRegisterImage = 293,
314 HIP_API_ID_hipGraphicsSubResourceGetMappedArray = 294,
315 HIP_API_ID_hipPointerGetAttribute = 295,
316 HIP_API_ID_RESERVED_296 = 296,
317 HIP_API_ID_hipThreadExchangeStreamCaptureMode = 297,
318 HIP_API_ID_hipDeviceGetUuid = 298,
319 HIP_API_ID_hipGetChannelDesc = 299,
320 HIP_API_ID_hipGraphKernelNodeGetAttribute = 300,
321 HIP_API_ID_hipGraphKernelNodeSetAttribute = 301,
322 HIP_API_ID_hipLaunchHostFunc = 302,
323 HIP_API_ID_hipDeviceGetDefaultMemPool = 303,
324 HIP_API_ID_hipDeviceGetMemPool = 304,
325 HIP_API_ID_hipDeviceSetMemPool = 305,
326 HIP_API_ID_hipFreeAsync = 306,
327 HIP_API_ID_hipMallocAsync = 307,
328 HIP_API_ID_hipMallocFromPoolAsync = 308,
329 HIP_API_ID_hipMemPoolCreate = 309,
330 HIP_API_ID_hipMemPoolDestroy = 310,
331 HIP_API_ID_hipMemPoolExportPointer = 311,
332 HIP_API_ID_hipMemPoolExportToShareableHandle = 312,
333 HIP_API_ID_hipMemPoolGetAccess = 313,
334 HIP_API_ID_hipMemPoolGetAttribute = 314,
335 HIP_API_ID_hipMemPoolImportFromShareableHandle = 315,
336 HIP_API_ID_hipMemPoolImportPointer = 316,
337 HIP_API_ID_hipMemPoolSetAccess = 317,
338 HIP_API_ID_hipMemPoolSetAttribute = 318,
339 HIP_API_ID_hipMemPoolTrimTo = 319,
340 HIP_API_ID_hipMemAddressFree = 320,
341 HIP_API_ID_hipMemAddressReserve = 321,
342 HIP_API_ID_hipMemCreate = 322,
343 HIP_API_ID_hipMemExportToShareableHandle = 323,
344 HIP_API_ID_hipMemGetAccess = 324,
345 HIP_API_ID_hipMemGetAllocationGranularity = 325,
346 HIP_API_ID_hipMemGetAllocationPropertiesFromHandle = 326,
347 HIP_API_ID_hipMemImportFromShareableHandle = 327,
348 HIP_API_ID_hipMemMap = 328,
349 HIP_API_ID_hipMemMapArrayAsync = 329,
350 HIP_API_ID_hipMemRelease = 330,
351 HIP_API_ID_hipMemRetainAllocationHandle = 331,
352 HIP_API_ID_hipMemSetAccess = 332,
353 HIP_API_ID_hipMemUnmap = 333,
354 HIP_API_ID_hipDeviceSetGraphMemAttribute = 334,
355 HIP_API_ID_hipDeviceGetGraphMemAttribute = 335,
356 HIP_API_ID_hipDeviceGraphMemTrim = 336,
357 HIP_API_ID_hipDeviceSetLimit = 337,
358 HIP_API_ID_hipTexRefSetArray = 338,
359 HIP_API_ID_hipTexRefSetFlags = 339,
360 HIP_API_ID_hipTexRefSetMipmapLevelBias = 340,
361 HIP_API_ID_hipDriverGetVersion = 341,
362 HIP_API_ID_hipGraphUpload = 342,
363 HIP_API_ID_hipRuntimeGetVersion = 343,
364 HIP_API_ID_hipUserObjectCreate = 344,
365 HIP_API_ID_hipUserObjectRelease = 345,
366 HIP_API_ID_hipUserObjectRetain = 346,
367 HIP_API_ID_hipGraphRetainUserObject = 347,
368 HIP_API_ID_hipGraphReleaseUserObject = 348,
369 HIP_API_ID_hipGraphDebugDotPrint = 349,
370 HIP_API_ID_hipGraphKernelNodeCopyAttributes = 350,
371 HIP_API_ID_hipGraphNodeGetEnabled = 351,
372 HIP_API_ID_hipGraphNodeSetEnabled = 352,
373 HIP_API_ID_hipPointerSetAttribute = 353,
374 HIP_API_ID_hipGraphAddMemAllocNode = 354,
375 HIP_API_ID_hipGraphAddMemFreeNode = 355,
376 HIP_API_ID_hipGraphMemAllocNodeGetParams = 356,
377 HIP_API_ID_hipGraphMemFreeNodeGetParams = 357,
378 HIP_API_ID_hipModuleLaunchCooperativeKernel = 358,
379 HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice = 359,
380 HIP_API_ID_hipArray3DGetDescriptor = 360,
381 HIP_API_ID_hipArrayGetDescriptor = 361,
382 HIP_API_ID_hipArrayGetInfo = 362,
383 HIP_API_ID_hipStreamGetDevice = 363,
384 HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray = 364,
385 HIP_API_ID_hipChooseDeviceR0600 = 365,
386 HIP_API_ID_hipDrvGraphAddMemcpyNode = 366,
387 HIP_API_ID_hipDrvGraphAddMemsetNode = 367,
388 HIP_API_ID_RESERVED_368 = 368,
389 HIP_API_ID_RESERVED_369 = 369,
390 HIP_API_ID_hipGetDevicePropertiesR0600 = 370,
391 HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode = 371,
392 HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode = 372,
393 HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams = 373,
394 HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams = 374,
395 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams = 375,
396 HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams = 376,
397 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams = 377,
398 HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams = 378,
399 HIP_API_ID_hipExtGetLastError = 379,
400 HIP_API_ID_hipGraphAddNode = 380,
401 HIP_API_ID_hipGetProcAddress = 381,
402 HIP_API_ID_RESERVED_382 = 382,
403 HIP_API_ID_RESERVED_383 = 383,
404 HIP_API_ID_hipGraphInstantiateWithParams = 384,
405 HIP_API_ID_RESERVED_385 = 385,
406 HIP_API_ID_RESERVED_386 = 386,
407 HIP_API_ID_RESERVED_387 = 387,
408 HIP_API_ID_RESERVED_388 = 388,
409 HIP_API_ID_hipTexRefGetArray = 389,
410 HIP_API_ID_hipTexRefGetBorderColor = 390,
411 HIP_API_ID_hipStreamBeginCaptureToGraph = 391,
412 HIP_API_ID_hipGetFuncBySymbol = 392,
413 HIP_API_ID_hipMemcpy2DArrayToArray = 393,
414 HIP_API_ID_hipMemcpyAtoA = 394,
415 HIP_API_ID_hipMemcpyAtoD = 395,
416 HIP_API_ID_hipMemcpyAtoHAsync = 396,
417 HIP_API_ID_hipMemcpyDtoA = 397,
418 HIP_API_ID_hipMemcpyHtoAAsync = 398,
419 HIP_API_ID_hipSetValidDevices = 399,
420 HIP_API_ID_LAST = 399,
422 HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
423 HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
425 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
426 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
427 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
428 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
429 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
430 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
431 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
432 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
433 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
434 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
435 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
436 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
437 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
438 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
439 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
440 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
441 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
442 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
443 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
444 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
445 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
446 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
447 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
448 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
451#undef HIP_API_ID_CONCAT_HELPER
452#undef HIP_API_ID_CONCAT
455static inline const char* hip_api_name(
const uint32_t
id) {
457 case HIP_API_ID___hipPopCallConfiguration:
return "__hipPopCallConfiguration";
458 case HIP_API_ID___hipPushCallConfiguration:
return "__hipPushCallConfiguration";
459 case HIP_API_ID_hipArray3DCreate:
return "hipArray3DCreate";
460 case HIP_API_ID_hipArray3DGetDescriptor:
return "hipArray3DGetDescriptor";
461 case HIP_API_ID_hipArrayCreate:
return "hipArrayCreate";
462 case HIP_API_ID_hipArrayDestroy:
return "hipArrayDestroy";
463 case HIP_API_ID_hipArrayGetDescriptor:
return "hipArrayGetDescriptor";
464 case HIP_API_ID_hipArrayGetInfo:
return "hipArrayGetInfo";
465 case HIP_API_ID_hipChooseDeviceR0000:
return "hipChooseDeviceR0000";
466 case HIP_API_ID_hipChooseDeviceR0600:
return "hipChooseDeviceR0600";
467 case HIP_API_ID_hipConfigureCall:
return "hipConfigureCall";
468 case HIP_API_ID_hipCreateSurfaceObject:
return "hipCreateSurfaceObject";
469 case HIP_API_ID_hipCtxCreate:
return "hipCtxCreate";
470 case HIP_API_ID_hipCtxDestroy:
return "hipCtxDestroy";
471 case HIP_API_ID_hipCtxDisablePeerAccess:
return "hipCtxDisablePeerAccess";
472 case HIP_API_ID_hipCtxEnablePeerAccess:
return "hipCtxEnablePeerAccess";
473 case HIP_API_ID_hipCtxGetApiVersion:
return "hipCtxGetApiVersion";
474 case HIP_API_ID_hipCtxGetCacheConfig:
return "hipCtxGetCacheConfig";
475 case HIP_API_ID_hipCtxGetCurrent:
return "hipCtxGetCurrent";
476 case HIP_API_ID_hipCtxGetDevice:
return "hipCtxGetDevice";
477 case HIP_API_ID_hipCtxGetFlags:
return "hipCtxGetFlags";
478 case HIP_API_ID_hipCtxGetSharedMemConfig:
return "hipCtxGetSharedMemConfig";
479 case HIP_API_ID_hipCtxPopCurrent:
return "hipCtxPopCurrent";
480 case HIP_API_ID_hipCtxPushCurrent:
return "hipCtxPushCurrent";
481 case HIP_API_ID_hipCtxSetCacheConfig:
return "hipCtxSetCacheConfig";
482 case HIP_API_ID_hipCtxSetCurrent:
return "hipCtxSetCurrent";
483 case HIP_API_ID_hipCtxSetSharedMemConfig:
return "hipCtxSetSharedMemConfig";
484 case HIP_API_ID_hipCtxSynchronize:
return "hipCtxSynchronize";
485 case HIP_API_ID_hipDestroyExternalMemory:
return "hipDestroyExternalMemory";
486 case HIP_API_ID_hipDestroyExternalSemaphore:
return "hipDestroyExternalSemaphore";
487 case HIP_API_ID_hipDestroySurfaceObject:
return "hipDestroySurfaceObject";
488 case HIP_API_ID_hipDeviceCanAccessPeer:
return "hipDeviceCanAccessPeer";
489 case HIP_API_ID_hipDeviceComputeCapability:
return "hipDeviceComputeCapability";
490 case HIP_API_ID_hipDeviceDisablePeerAccess:
return "hipDeviceDisablePeerAccess";
491 case HIP_API_ID_hipDeviceEnablePeerAccess:
return "hipDeviceEnablePeerAccess";
492 case HIP_API_ID_hipDeviceGet:
return "hipDeviceGet";
493 case HIP_API_ID_hipDeviceGetAttribute:
return "hipDeviceGetAttribute";
494 case HIP_API_ID_hipDeviceGetByPCIBusId:
return "hipDeviceGetByPCIBusId";
495 case HIP_API_ID_hipDeviceGetCacheConfig:
return "hipDeviceGetCacheConfig";
496 case HIP_API_ID_hipDeviceGetDefaultMemPool:
return "hipDeviceGetDefaultMemPool";
497 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
return "hipDeviceGetGraphMemAttribute";
498 case HIP_API_ID_hipDeviceGetLimit:
return "hipDeviceGetLimit";
499 case HIP_API_ID_hipDeviceGetMemPool:
return "hipDeviceGetMemPool";
500 case HIP_API_ID_hipDeviceGetName:
return "hipDeviceGetName";
501 case HIP_API_ID_hipDeviceGetP2PAttribute:
return "hipDeviceGetP2PAttribute";
502 case HIP_API_ID_hipDeviceGetPCIBusId:
return "hipDeviceGetPCIBusId";
503 case HIP_API_ID_hipDeviceGetSharedMemConfig:
return "hipDeviceGetSharedMemConfig";
504 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
return "hipDeviceGetStreamPriorityRange";
505 case HIP_API_ID_hipDeviceGetUuid:
return "hipDeviceGetUuid";
506 case HIP_API_ID_hipDeviceGraphMemTrim:
return "hipDeviceGraphMemTrim";
507 case HIP_API_ID_hipDevicePrimaryCtxGetState:
return "hipDevicePrimaryCtxGetState";
508 case HIP_API_ID_hipDevicePrimaryCtxRelease:
return "hipDevicePrimaryCtxRelease";
509 case HIP_API_ID_hipDevicePrimaryCtxReset:
return "hipDevicePrimaryCtxReset";
510 case HIP_API_ID_hipDevicePrimaryCtxRetain:
return "hipDevicePrimaryCtxRetain";
511 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
return "hipDevicePrimaryCtxSetFlags";
512 case HIP_API_ID_hipDeviceReset:
return "hipDeviceReset";
513 case HIP_API_ID_hipDeviceSetCacheConfig:
return "hipDeviceSetCacheConfig";
514 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
return "hipDeviceSetGraphMemAttribute";
515 case HIP_API_ID_hipDeviceSetLimit:
return "hipDeviceSetLimit";
516 case HIP_API_ID_hipDeviceSetMemPool:
return "hipDeviceSetMemPool";
517 case HIP_API_ID_hipDeviceSetSharedMemConfig:
return "hipDeviceSetSharedMemConfig";
518 case HIP_API_ID_hipDeviceSynchronize:
return "hipDeviceSynchronize";
519 case HIP_API_ID_hipDeviceTotalMem:
return "hipDeviceTotalMem";
520 case HIP_API_ID_hipDriverGetVersion:
return "hipDriverGetVersion";
521 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
return "hipDrvGraphAddMemcpyNode";
522 case HIP_API_ID_hipDrvGraphAddMemsetNode:
return "hipDrvGraphAddMemsetNode";
523 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
return "hipDrvMemcpy2DUnaligned";
524 case HIP_API_ID_hipDrvMemcpy3D:
return "hipDrvMemcpy3D";
525 case HIP_API_ID_hipDrvMemcpy3DAsync:
return "hipDrvMemcpy3DAsync";
526 case HIP_API_ID_hipDrvPointerGetAttributes:
return "hipDrvPointerGetAttributes";
527 case HIP_API_ID_hipEventCreate:
return "hipEventCreate";
528 case HIP_API_ID_hipEventCreateWithFlags:
return "hipEventCreateWithFlags";
529 case HIP_API_ID_hipEventDestroy:
return "hipEventDestroy";
530 case HIP_API_ID_hipEventElapsedTime:
return "hipEventElapsedTime";
531 case HIP_API_ID_hipEventQuery:
return "hipEventQuery";
532 case HIP_API_ID_hipEventRecord:
return "hipEventRecord";
533 case HIP_API_ID_hipEventSynchronize:
return "hipEventSynchronize";
534 case HIP_API_ID_hipExtGetLastError:
return "hipExtGetLastError";
535 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
return "hipExtGetLinkTypeAndHopCount";
536 case HIP_API_ID_hipExtLaunchKernel:
return "hipExtLaunchKernel";
537 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
return "hipExtLaunchMultiKernelMultiDevice";
538 case HIP_API_ID_hipExtMallocWithFlags:
return "hipExtMallocWithFlags";
539 case HIP_API_ID_hipExtModuleLaunchKernel:
return "hipExtModuleLaunchKernel";
540 case HIP_API_ID_hipExtStreamCreateWithCUMask:
return "hipExtStreamCreateWithCUMask";
541 case HIP_API_ID_hipExtStreamGetCUMask:
return "hipExtStreamGetCUMask";
542 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
return "hipExternalMemoryGetMappedBuffer";
543 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
return "hipExternalMemoryGetMappedMipmappedArray";
544 case HIP_API_ID_hipFree:
return "hipFree";
545 case HIP_API_ID_hipFreeArray:
return "hipFreeArray";
546 case HIP_API_ID_hipFreeAsync:
return "hipFreeAsync";
547 case HIP_API_ID_hipFreeHost:
return "hipFreeHost";
548 case HIP_API_ID_hipFreeMipmappedArray:
return "hipFreeMipmappedArray";
549 case HIP_API_ID_hipFuncGetAttribute:
return "hipFuncGetAttribute";
550 case HIP_API_ID_hipFuncGetAttributes:
return "hipFuncGetAttributes";
551 case HIP_API_ID_hipFuncSetAttribute:
return "hipFuncSetAttribute";
552 case HIP_API_ID_hipFuncSetCacheConfig:
return "hipFuncSetCacheConfig";
553 case HIP_API_ID_hipFuncSetSharedMemConfig:
return "hipFuncSetSharedMemConfig";
554 case HIP_API_ID_hipGLGetDevices:
return "hipGLGetDevices";
555 case HIP_API_ID_hipGetChannelDesc:
return "hipGetChannelDesc";
556 case HIP_API_ID_hipGetDevice:
return "hipGetDevice";
557 case HIP_API_ID_hipGetDeviceCount:
return "hipGetDeviceCount";
558 case HIP_API_ID_hipGetDeviceFlags:
return "hipGetDeviceFlags";
559 case HIP_API_ID_hipGetDevicePropertiesR0000:
return "hipGetDevicePropertiesR0000";
560 case HIP_API_ID_hipGetDevicePropertiesR0600:
return "hipGetDevicePropertiesR0600";
561 case HIP_API_ID_hipGetErrorString:
return "hipGetErrorString";
562 case HIP_API_ID_hipGetFuncBySymbol:
return "hipGetFuncBySymbol";
563 case HIP_API_ID_hipGetLastError:
return "hipGetLastError";
564 case HIP_API_ID_hipGetMipmappedArrayLevel:
return "hipGetMipmappedArrayLevel";
565 case HIP_API_ID_hipGetProcAddress:
return "hipGetProcAddress";
566 case HIP_API_ID_hipGetSymbolAddress:
return "hipGetSymbolAddress";
567 case HIP_API_ID_hipGetSymbolSize:
return "hipGetSymbolSize";
568 case HIP_API_ID_hipGraphAddChildGraphNode:
return "hipGraphAddChildGraphNode";
569 case HIP_API_ID_hipGraphAddDependencies:
return "hipGraphAddDependencies";
570 case HIP_API_ID_hipGraphAddEmptyNode:
return "hipGraphAddEmptyNode";
571 case HIP_API_ID_hipGraphAddEventRecordNode:
return "hipGraphAddEventRecordNode";
572 case HIP_API_ID_hipGraphAddEventWaitNode:
return "hipGraphAddEventWaitNode";
573 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
return "hipGraphAddExternalSemaphoresSignalNode";
574 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
return "hipGraphAddExternalSemaphoresWaitNode";
575 case HIP_API_ID_hipGraphAddHostNode:
return "hipGraphAddHostNode";
576 case HIP_API_ID_hipGraphAddKernelNode:
return "hipGraphAddKernelNode";
577 case HIP_API_ID_hipGraphAddMemAllocNode:
return "hipGraphAddMemAllocNode";
578 case HIP_API_ID_hipGraphAddMemFreeNode:
return "hipGraphAddMemFreeNode";
579 case HIP_API_ID_hipGraphAddMemcpyNode:
return "hipGraphAddMemcpyNode";
580 case HIP_API_ID_hipGraphAddMemcpyNode1D:
return "hipGraphAddMemcpyNode1D";
581 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
return "hipGraphAddMemcpyNodeFromSymbol";
582 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
return "hipGraphAddMemcpyNodeToSymbol";
583 case HIP_API_ID_hipGraphAddMemsetNode:
return "hipGraphAddMemsetNode";
584 case HIP_API_ID_hipGraphAddNode:
return "hipGraphAddNode";
585 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
return "hipGraphChildGraphNodeGetGraph";
586 case HIP_API_ID_hipGraphClone:
return "hipGraphClone";
587 case HIP_API_ID_hipGraphCreate:
return "hipGraphCreate";
588 case HIP_API_ID_hipGraphDebugDotPrint:
return "hipGraphDebugDotPrint";
589 case HIP_API_ID_hipGraphDestroy:
return "hipGraphDestroy";
590 case HIP_API_ID_hipGraphDestroyNode:
return "hipGraphDestroyNode";
591 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
return "hipGraphEventRecordNodeGetEvent";
592 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
return "hipGraphEventRecordNodeSetEvent";
593 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
return "hipGraphEventWaitNodeGetEvent";
594 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
return "hipGraphEventWaitNodeSetEvent";
595 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
return "hipGraphExecChildGraphNodeSetParams";
596 case HIP_API_ID_hipGraphExecDestroy:
return "hipGraphExecDestroy";
597 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
return "hipGraphExecEventRecordNodeSetEvent";
598 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
return "hipGraphExecEventWaitNodeSetEvent";
599 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
return "hipGraphExecExternalSemaphoresSignalNodeSetParams";
600 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
return "hipGraphExecExternalSemaphoresWaitNodeSetParams";
601 case HIP_API_ID_hipGraphExecHostNodeSetParams:
return "hipGraphExecHostNodeSetParams";
602 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
return "hipGraphExecKernelNodeSetParams";
603 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
return "hipGraphExecMemcpyNodeSetParams";
604 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
return "hipGraphExecMemcpyNodeSetParams1D";
605 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
606 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
return "hipGraphExecMemcpyNodeSetParamsToSymbol";
607 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
return "hipGraphExecMemsetNodeSetParams";
608 case HIP_API_ID_hipGraphExecUpdate:
return "hipGraphExecUpdate";
609 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
return "hipGraphExternalSemaphoresSignalNodeGetParams";
610 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
return "hipGraphExternalSemaphoresSignalNodeSetParams";
611 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
return "hipGraphExternalSemaphoresWaitNodeGetParams";
612 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
return "hipGraphExternalSemaphoresWaitNodeSetParams";
613 case HIP_API_ID_hipGraphGetEdges:
return "hipGraphGetEdges";
614 case HIP_API_ID_hipGraphGetNodes:
return "hipGraphGetNodes";
615 case HIP_API_ID_hipGraphGetRootNodes:
return "hipGraphGetRootNodes";
616 case HIP_API_ID_hipGraphHostNodeGetParams:
return "hipGraphHostNodeGetParams";
617 case HIP_API_ID_hipGraphHostNodeSetParams:
return "hipGraphHostNodeSetParams";
618 case HIP_API_ID_hipGraphInstantiate:
return "hipGraphInstantiate";
619 case HIP_API_ID_hipGraphInstantiateWithFlags:
return "hipGraphInstantiateWithFlags";
620 case HIP_API_ID_hipGraphInstantiateWithParams:
return "hipGraphInstantiateWithParams";
621 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
return "hipGraphKernelNodeCopyAttributes";
622 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
return "hipGraphKernelNodeGetAttribute";
623 case HIP_API_ID_hipGraphKernelNodeGetParams:
return "hipGraphKernelNodeGetParams";
624 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
return "hipGraphKernelNodeSetAttribute";
625 case HIP_API_ID_hipGraphKernelNodeSetParams:
return "hipGraphKernelNodeSetParams";
626 case HIP_API_ID_hipGraphLaunch:
return "hipGraphLaunch";
627 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
return "hipGraphMemAllocNodeGetParams";
628 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
return "hipGraphMemFreeNodeGetParams";
629 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
return "hipGraphMemcpyNodeGetParams";
630 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
return "hipGraphMemcpyNodeSetParams";
631 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
return "hipGraphMemcpyNodeSetParams1D";
632 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
return "hipGraphMemcpyNodeSetParamsFromSymbol";
633 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
return "hipGraphMemcpyNodeSetParamsToSymbol";
634 case HIP_API_ID_hipGraphMemsetNodeGetParams:
return "hipGraphMemsetNodeGetParams";
635 case HIP_API_ID_hipGraphMemsetNodeSetParams:
return "hipGraphMemsetNodeSetParams";
636 case HIP_API_ID_hipGraphNodeFindInClone:
return "hipGraphNodeFindInClone";
637 case HIP_API_ID_hipGraphNodeGetDependencies:
return "hipGraphNodeGetDependencies";
638 case HIP_API_ID_hipGraphNodeGetDependentNodes:
return "hipGraphNodeGetDependentNodes";
639 case HIP_API_ID_hipGraphNodeGetEnabled:
return "hipGraphNodeGetEnabled";
640 case HIP_API_ID_hipGraphNodeGetType:
return "hipGraphNodeGetType";
641 case HIP_API_ID_hipGraphNodeSetEnabled:
return "hipGraphNodeSetEnabled";
642 case HIP_API_ID_hipGraphReleaseUserObject:
return "hipGraphReleaseUserObject";
643 case HIP_API_ID_hipGraphRemoveDependencies:
return "hipGraphRemoveDependencies";
644 case HIP_API_ID_hipGraphRetainUserObject:
return "hipGraphRetainUserObject";
645 case HIP_API_ID_hipGraphUpload:
return "hipGraphUpload";
646 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
return "hipGraphicsGLRegisterBuffer";
647 case HIP_API_ID_hipGraphicsGLRegisterImage:
return "hipGraphicsGLRegisterImage";
648 case HIP_API_ID_hipGraphicsMapResources:
return "hipGraphicsMapResources";
649 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
return "hipGraphicsResourceGetMappedPointer";
650 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
return "hipGraphicsSubResourceGetMappedArray";
651 case HIP_API_ID_hipGraphicsUnmapResources:
return "hipGraphicsUnmapResources";
652 case HIP_API_ID_hipGraphicsUnregisterResource:
return "hipGraphicsUnregisterResource";
653 case HIP_API_ID_hipHccModuleLaunchKernel:
return "hipHccModuleLaunchKernel";
654 case HIP_API_ID_hipHostAlloc:
return "hipHostAlloc";
655 case HIP_API_ID_hipHostFree:
return "hipHostFree";
656 case HIP_API_ID_hipHostGetDevicePointer:
return "hipHostGetDevicePointer";
657 case HIP_API_ID_hipHostGetFlags:
return "hipHostGetFlags";
658 case HIP_API_ID_hipHostMalloc:
return "hipHostMalloc";
659 case HIP_API_ID_hipHostRegister:
return "hipHostRegister";
660 case HIP_API_ID_hipHostUnregister:
return "hipHostUnregister";
661 case HIP_API_ID_hipImportExternalMemory:
return "hipImportExternalMemory";
662 case HIP_API_ID_hipImportExternalSemaphore:
return "hipImportExternalSemaphore";
663 case HIP_API_ID_hipInit:
return "hipInit";
664 case HIP_API_ID_hipIpcCloseMemHandle:
return "hipIpcCloseMemHandle";
665 case HIP_API_ID_hipIpcGetEventHandle:
return "hipIpcGetEventHandle";
666 case HIP_API_ID_hipIpcGetMemHandle:
return "hipIpcGetMemHandle";
667 case HIP_API_ID_hipIpcOpenEventHandle:
return "hipIpcOpenEventHandle";
668 case HIP_API_ID_hipIpcOpenMemHandle:
return "hipIpcOpenMemHandle";
669 case HIP_API_ID_hipLaunchByPtr:
return "hipLaunchByPtr";
670 case HIP_API_ID_hipLaunchCooperativeKernel:
return "hipLaunchCooperativeKernel";
671 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
return "hipLaunchCooperativeKernelMultiDevice";
672 case HIP_API_ID_hipLaunchHostFunc:
return "hipLaunchHostFunc";
673 case HIP_API_ID_hipLaunchKernel:
return "hipLaunchKernel";
674 case HIP_API_ID_hipMalloc:
return "hipMalloc";
675 case HIP_API_ID_hipMalloc3D:
return "hipMalloc3D";
676 case HIP_API_ID_hipMalloc3DArray:
return "hipMalloc3DArray";
677 case HIP_API_ID_hipMallocArray:
return "hipMallocArray";
678 case HIP_API_ID_hipMallocAsync:
return "hipMallocAsync";
679 case HIP_API_ID_hipMallocFromPoolAsync:
return "hipMallocFromPoolAsync";
680 case HIP_API_ID_hipMallocHost:
return "hipMallocHost";
681 case HIP_API_ID_hipMallocManaged:
return "hipMallocManaged";
682 case HIP_API_ID_hipMallocMipmappedArray:
return "hipMallocMipmappedArray";
683 case HIP_API_ID_hipMallocPitch:
return "hipMallocPitch";
684 case HIP_API_ID_hipMemAddressFree:
return "hipMemAddressFree";
685 case HIP_API_ID_hipMemAddressReserve:
return "hipMemAddressReserve";
686 case HIP_API_ID_hipMemAdvise:
return "hipMemAdvise";
687 case HIP_API_ID_hipMemAllocHost:
return "hipMemAllocHost";
688 case HIP_API_ID_hipMemAllocPitch:
return "hipMemAllocPitch";
689 case HIP_API_ID_hipMemCreate:
return "hipMemCreate";
690 case HIP_API_ID_hipMemExportToShareableHandle:
return "hipMemExportToShareableHandle";
691 case HIP_API_ID_hipMemGetAccess:
return "hipMemGetAccess";
692 case HIP_API_ID_hipMemGetAddressRange:
return "hipMemGetAddressRange";
693 case HIP_API_ID_hipMemGetAllocationGranularity:
return "hipMemGetAllocationGranularity";
694 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
return "hipMemGetAllocationPropertiesFromHandle";
695 case HIP_API_ID_hipMemGetInfo:
return "hipMemGetInfo";
696 case HIP_API_ID_hipMemImportFromShareableHandle:
return "hipMemImportFromShareableHandle";
697 case HIP_API_ID_hipMemMap:
return "hipMemMap";
698 case HIP_API_ID_hipMemMapArrayAsync:
return "hipMemMapArrayAsync";
699 case HIP_API_ID_hipMemPoolCreate:
return "hipMemPoolCreate";
700 case HIP_API_ID_hipMemPoolDestroy:
return "hipMemPoolDestroy";
701 case HIP_API_ID_hipMemPoolExportPointer:
return "hipMemPoolExportPointer";
702 case HIP_API_ID_hipMemPoolExportToShareableHandle:
return "hipMemPoolExportToShareableHandle";
703 case HIP_API_ID_hipMemPoolGetAccess:
return "hipMemPoolGetAccess";
704 case HIP_API_ID_hipMemPoolGetAttribute:
return "hipMemPoolGetAttribute";
705 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
return "hipMemPoolImportFromShareableHandle";
706 case HIP_API_ID_hipMemPoolImportPointer:
return "hipMemPoolImportPointer";
707 case HIP_API_ID_hipMemPoolSetAccess:
return "hipMemPoolSetAccess";
708 case HIP_API_ID_hipMemPoolSetAttribute:
return "hipMemPoolSetAttribute";
709 case HIP_API_ID_hipMemPoolTrimTo:
return "hipMemPoolTrimTo";
710 case HIP_API_ID_hipMemPrefetchAsync:
return "hipMemPrefetchAsync";
711 case HIP_API_ID_hipMemPtrGetInfo:
return "hipMemPtrGetInfo";
712 case HIP_API_ID_hipMemRangeGetAttribute:
return "hipMemRangeGetAttribute";
713 case HIP_API_ID_hipMemRangeGetAttributes:
return "hipMemRangeGetAttributes";
714 case HIP_API_ID_hipMemRelease:
return "hipMemRelease";
715 case HIP_API_ID_hipMemRetainAllocationHandle:
return "hipMemRetainAllocationHandle";
716 case HIP_API_ID_hipMemSetAccess:
return "hipMemSetAccess";
717 case HIP_API_ID_hipMemUnmap:
return "hipMemUnmap";
718 case HIP_API_ID_hipMemcpy:
return "hipMemcpy";
719 case HIP_API_ID_hipMemcpy2D:
return "hipMemcpy2D";
720 case HIP_API_ID_hipMemcpy2DArrayToArray:
return "hipMemcpy2DArrayToArray";
721 case HIP_API_ID_hipMemcpy2DAsync:
return "hipMemcpy2DAsync";
722 case HIP_API_ID_hipMemcpy2DFromArray:
return "hipMemcpy2DFromArray";
723 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
return "hipMemcpy2DFromArrayAsync";
724 case HIP_API_ID_hipMemcpy2DToArray:
return "hipMemcpy2DToArray";
725 case HIP_API_ID_hipMemcpy2DToArrayAsync:
return "hipMemcpy2DToArrayAsync";
726 case HIP_API_ID_hipMemcpy3D:
return "hipMemcpy3D";
727 case HIP_API_ID_hipMemcpy3DAsync:
return "hipMemcpy3DAsync";
728 case HIP_API_ID_hipMemcpyAsync:
return "hipMemcpyAsync";
729 case HIP_API_ID_hipMemcpyAtoA:
return "hipMemcpyAtoA";
730 case HIP_API_ID_hipMemcpyAtoD:
return "hipMemcpyAtoD";
731 case HIP_API_ID_hipMemcpyAtoH:
return "hipMemcpyAtoH";
732 case HIP_API_ID_hipMemcpyAtoHAsync:
return "hipMemcpyAtoHAsync";
733 case HIP_API_ID_hipMemcpyDtoA:
return "hipMemcpyDtoA";
734 case HIP_API_ID_hipMemcpyDtoD:
return "hipMemcpyDtoD";
735 case HIP_API_ID_hipMemcpyDtoDAsync:
return "hipMemcpyDtoDAsync";
736 case HIP_API_ID_hipMemcpyDtoH:
return "hipMemcpyDtoH";
737 case HIP_API_ID_hipMemcpyDtoHAsync:
return "hipMemcpyDtoHAsync";
738 case HIP_API_ID_hipMemcpyFromArray:
return "hipMemcpyFromArray";
739 case HIP_API_ID_hipMemcpyFromSymbol:
return "hipMemcpyFromSymbol";
740 case HIP_API_ID_hipMemcpyFromSymbolAsync:
return "hipMemcpyFromSymbolAsync";
741 case HIP_API_ID_hipMemcpyHtoA:
return "hipMemcpyHtoA";
742 case HIP_API_ID_hipMemcpyHtoAAsync:
return "hipMemcpyHtoAAsync";
743 case HIP_API_ID_hipMemcpyHtoD:
return "hipMemcpyHtoD";
744 case HIP_API_ID_hipMemcpyHtoDAsync:
return "hipMemcpyHtoDAsync";
745 case HIP_API_ID_hipMemcpyParam2D:
return "hipMemcpyParam2D";
746 case HIP_API_ID_hipMemcpyParam2DAsync:
return "hipMemcpyParam2DAsync";
747 case HIP_API_ID_hipMemcpyPeer:
return "hipMemcpyPeer";
748 case HIP_API_ID_hipMemcpyPeerAsync:
return "hipMemcpyPeerAsync";
749 case HIP_API_ID_hipMemcpyToArray:
return "hipMemcpyToArray";
750 case HIP_API_ID_hipMemcpyToSymbol:
return "hipMemcpyToSymbol";
751 case HIP_API_ID_hipMemcpyToSymbolAsync:
return "hipMemcpyToSymbolAsync";
752 case HIP_API_ID_hipMemcpyWithStream:
return "hipMemcpyWithStream";
753 case HIP_API_ID_hipMemset:
return "hipMemset";
754 case HIP_API_ID_hipMemset2D:
return "hipMemset2D";
755 case HIP_API_ID_hipMemset2DAsync:
return "hipMemset2DAsync";
756 case HIP_API_ID_hipMemset3D:
return "hipMemset3D";
757 case HIP_API_ID_hipMemset3DAsync:
return "hipMemset3DAsync";
758 case HIP_API_ID_hipMemsetAsync:
return "hipMemsetAsync";
759 case HIP_API_ID_hipMemsetD16:
return "hipMemsetD16";
760 case HIP_API_ID_hipMemsetD16Async:
return "hipMemsetD16Async";
761 case HIP_API_ID_hipMemsetD32:
return "hipMemsetD32";
762 case HIP_API_ID_hipMemsetD32Async:
return "hipMemsetD32Async";
763 case HIP_API_ID_hipMemsetD8:
return "hipMemsetD8";
764 case HIP_API_ID_hipMemsetD8Async:
return "hipMemsetD8Async";
765 case HIP_API_ID_hipMipmappedArrayCreate:
return "hipMipmappedArrayCreate";
766 case HIP_API_ID_hipMipmappedArrayDestroy:
return "hipMipmappedArrayDestroy";
767 case HIP_API_ID_hipMipmappedArrayGetLevel:
return "hipMipmappedArrayGetLevel";
768 case HIP_API_ID_hipModuleGetFunction:
return "hipModuleGetFunction";
769 case HIP_API_ID_hipModuleGetGlobal:
return "hipModuleGetGlobal";
770 case HIP_API_ID_hipModuleGetTexRef:
return "hipModuleGetTexRef";
771 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
return "hipModuleLaunchCooperativeKernel";
772 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
return "hipModuleLaunchCooperativeKernelMultiDevice";
773 case HIP_API_ID_hipModuleLaunchKernel:
return "hipModuleLaunchKernel";
774 case HIP_API_ID_hipModuleLoad:
return "hipModuleLoad";
775 case HIP_API_ID_hipModuleLoadData:
return "hipModuleLoadData";
776 case HIP_API_ID_hipModuleLoadDataEx:
return "hipModuleLoadDataEx";
777 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
778 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
779 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
return "hipModuleOccupancyMaxPotentialBlockSize";
780 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
781 case HIP_API_ID_hipModuleUnload:
return "hipModuleUnload";
782 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
783 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
784 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
return "hipOccupancyMaxPotentialBlockSize";
785 case HIP_API_ID_hipPeekAtLastError:
return "hipPeekAtLastError";
786 case HIP_API_ID_hipPointerGetAttribute:
return "hipPointerGetAttribute";
787 case HIP_API_ID_hipPointerGetAttributes:
return "hipPointerGetAttributes";
788 case HIP_API_ID_hipPointerSetAttribute:
return "hipPointerSetAttribute";
789 case HIP_API_ID_hipProfilerStart:
return "hipProfilerStart";
790 case HIP_API_ID_hipProfilerStop:
return "hipProfilerStop";
791 case HIP_API_ID_hipRuntimeGetVersion:
return "hipRuntimeGetVersion";
792 case HIP_API_ID_hipSetDevice:
return "hipSetDevice";
793 case HIP_API_ID_hipSetDeviceFlags:
return "hipSetDeviceFlags";
794 case HIP_API_ID_hipSetValidDevices:
return "hipSetValidDevices";
795 case HIP_API_ID_hipSetupArgument:
return "hipSetupArgument";
796 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
return "hipSignalExternalSemaphoresAsync";
797 case HIP_API_ID_hipStreamAddCallback:
return "hipStreamAddCallback";
798 case HIP_API_ID_hipStreamAttachMemAsync:
return "hipStreamAttachMemAsync";
799 case HIP_API_ID_hipStreamBeginCapture:
return "hipStreamBeginCapture";
800 case HIP_API_ID_hipStreamBeginCaptureToGraph:
return "hipStreamBeginCaptureToGraph";
801 case HIP_API_ID_hipStreamCreate:
return "hipStreamCreate";
802 case HIP_API_ID_hipStreamCreateWithFlags:
return "hipStreamCreateWithFlags";
803 case HIP_API_ID_hipStreamCreateWithPriority:
return "hipStreamCreateWithPriority";
804 case HIP_API_ID_hipStreamDestroy:
return "hipStreamDestroy";
805 case HIP_API_ID_hipStreamEndCapture:
return "hipStreamEndCapture";
806 case HIP_API_ID_hipStreamGetCaptureInfo:
return "hipStreamGetCaptureInfo";
807 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
return "hipStreamGetCaptureInfo_v2";
808 case HIP_API_ID_hipStreamGetDevice:
return "hipStreamGetDevice";
809 case HIP_API_ID_hipStreamGetFlags:
return "hipStreamGetFlags";
810 case HIP_API_ID_hipStreamGetPriority:
return "hipStreamGetPriority";
811 case HIP_API_ID_hipStreamIsCapturing:
return "hipStreamIsCapturing";
812 case HIP_API_ID_hipStreamQuery:
return "hipStreamQuery";
813 case HIP_API_ID_hipStreamSynchronize:
return "hipStreamSynchronize";
814 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
return "hipStreamUpdateCaptureDependencies";
815 case HIP_API_ID_hipStreamWaitEvent:
return "hipStreamWaitEvent";
816 case HIP_API_ID_hipStreamWaitValue32:
return "hipStreamWaitValue32";
817 case HIP_API_ID_hipStreamWaitValue64:
return "hipStreamWaitValue64";
818 case HIP_API_ID_hipStreamWriteValue32:
return "hipStreamWriteValue32";
819 case HIP_API_ID_hipStreamWriteValue64:
return "hipStreamWriteValue64";
820 case HIP_API_ID_hipTexRefGetAddress:
return "hipTexRefGetAddress";
821 case HIP_API_ID_hipTexRefGetArray:
return "hipTexRefGetArray";
822 case HIP_API_ID_hipTexRefGetBorderColor:
return "hipTexRefGetBorderColor";
823 case HIP_API_ID_hipTexRefGetFlags:
return "hipTexRefGetFlags";
824 case HIP_API_ID_hipTexRefGetFormat:
return "hipTexRefGetFormat";
825 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
return "hipTexRefGetMaxAnisotropy";
826 case HIP_API_ID_hipTexRefGetMipMappedArray:
return "hipTexRefGetMipMappedArray";
827 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
return "hipTexRefGetMipmapLevelBias";
828 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
return "hipTexRefGetMipmapLevelClamp";
829 case HIP_API_ID_hipTexRefSetAddress:
return "hipTexRefSetAddress";
830 case HIP_API_ID_hipTexRefSetAddress2D:
return "hipTexRefSetAddress2D";
831 case HIP_API_ID_hipTexRefSetArray:
return "hipTexRefSetArray";
832 case HIP_API_ID_hipTexRefSetBorderColor:
return "hipTexRefSetBorderColor";
833 case HIP_API_ID_hipTexRefSetFlags:
return "hipTexRefSetFlags";
834 case HIP_API_ID_hipTexRefSetFormat:
return "hipTexRefSetFormat";
835 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
return "hipTexRefSetMaxAnisotropy";
836 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
return "hipTexRefSetMipmapLevelBias";
837 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
return "hipTexRefSetMipmapLevelClamp";
838 case HIP_API_ID_hipTexRefSetMipmappedArray:
return "hipTexRefSetMipmappedArray";
839 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
return "hipThreadExchangeStreamCaptureMode";
840 case HIP_API_ID_hipUserObjectCreate:
return "hipUserObjectCreate";
841 case HIP_API_ID_hipUserObjectRelease:
return "hipUserObjectRelease";
842 case HIP_API_ID_hipUserObjectRetain:
return "hipUserObjectRetain";
843 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
return "hipWaitExternalSemaphoresAsync";
850static inline uint32_t hipApiIdByName(
const char* name) {
851 if (strcmp(
"__hipPopCallConfiguration", name) == 0)
return HIP_API_ID___hipPopCallConfiguration;
852 if (strcmp(
"__hipPushCallConfiguration", name) == 0)
return HIP_API_ID___hipPushCallConfiguration;
853 if (strcmp(
"hipArray3DCreate", name) == 0)
return HIP_API_ID_hipArray3DCreate;
854 if (strcmp(
"hipArray3DGetDescriptor", name) == 0)
return HIP_API_ID_hipArray3DGetDescriptor;
855 if (strcmp(
"hipArrayCreate", name) == 0)
return HIP_API_ID_hipArrayCreate;
856 if (strcmp(
"hipArrayDestroy", name) == 0)
return HIP_API_ID_hipArrayDestroy;
857 if (strcmp(
"hipArrayGetDescriptor", name) == 0)
return HIP_API_ID_hipArrayGetDescriptor;
858 if (strcmp(
"hipArrayGetInfo", name) == 0)
return HIP_API_ID_hipArrayGetInfo;
859 if (strcmp(
"hipChooseDeviceR0000", name) == 0)
return HIP_API_ID_hipChooseDeviceR0000;
860 if (strcmp(
"hipChooseDeviceR0600", name) == 0)
return HIP_API_ID_hipChooseDeviceR0600;
861 if (strcmp(
"hipConfigureCall", name) == 0)
return HIP_API_ID_hipConfigureCall;
862 if (strcmp(
"hipCreateSurfaceObject", name) == 0)
return HIP_API_ID_hipCreateSurfaceObject;
863 if (strcmp(
"hipCtxCreate", name) == 0)
return HIP_API_ID_hipCtxCreate;
864 if (strcmp(
"hipCtxDestroy", name) == 0)
return HIP_API_ID_hipCtxDestroy;
865 if (strcmp(
"hipCtxDisablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxDisablePeerAccess;
866 if (strcmp(
"hipCtxEnablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxEnablePeerAccess;
867 if (strcmp(
"hipCtxGetApiVersion", name) == 0)
return HIP_API_ID_hipCtxGetApiVersion;
868 if (strcmp(
"hipCtxGetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxGetCacheConfig;
869 if (strcmp(
"hipCtxGetCurrent", name) == 0)
return HIP_API_ID_hipCtxGetCurrent;
870 if (strcmp(
"hipCtxGetDevice", name) == 0)
return HIP_API_ID_hipCtxGetDevice;
871 if (strcmp(
"hipCtxGetFlags", name) == 0)
return HIP_API_ID_hipCtxGetFlags;
872 if (strcmp(
"hipCtxGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxGetSharedMemConfig;
873 if (strcmp(
"hipCtxPopCurrent", name) == 0)
return HIP_API_ID_hipCtxPopCurrent;
874 if (strcmp(
"hipCtxPushCurrent", name) == 0)
return HIP_API_ID_hipCtxPushCurrent;
875 if (strcmp(
"hipCtxSetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxSetCacheConfig;
876 if (strcmp(
"hipCtxSetCurrent", name) == 0)
return HIP_API_ID_hipCtxSetCurrent;
877 if (strcmp(
"hipCtxSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxSetSharedMemConfig;
878 if (strcmp(
"hipCtxSynchronize", name) == 0)
return HIP_API_ID_hipCtxSynchronize;
879 if (strcmp(
"hipDestroyExternalMemory", name) == 0)
return HIP_API_ID_hipDestroyExternalMemory;
880 if (strcmp(
"hipDestroyExternalSemaphore", name) == 0)
return HIP_API_ID_hipDestroyExternalSemaphore;
881 if (strcmp(
"hipDestroySurfaceObject", name) == 0)
return HIP_API_ID_hipDestroySurfaceObject;
882 if (strcmp(
"hipDeviceCanAccessPeer", name) == 0)
return HIP_API_ID_hipDeviceCanAccessPeer;
883 if (strcmp(
"hipDeviceComputeCapability", name) == 0)
return HIP_API_ID_hipDeviceComputeCapability;
884 if (strcmp(
"hipDeviceDisablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceDisablePeerAccess;
885 if (strcmp(
"hipDeviceEnablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceEnablePeerAccess;
886 if (strcmp(
"hipDeviceGet", name) == 0)
return HIP_API_ID_hipDeviceGet;
887 if (strcmp(
"hipDeviceGetAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetAttribute;
888 if (strcmp(
"hipDeviceGetByPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetByPCIBusId;
889 if (strcmp(
"hipDeviceGetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceGetCacheConfig;
890 if (strcmp(
"hipDeviceGetDefaultMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetDefaultMemPool;
891 if (strcmp(
"hipDeviceGetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetGraphMemAttribute;
892 if (strcmp(
"hipDeviceGetLimit", name) == 0)
return HIP_API_ID_hipDeviceGetLimit;
893 if (strcmp(
"hipDeviceGetMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetMemPool;
894 if (strcmp(
"hipDeviceGetName", name) == 0)
return HIP_API_ID_hipDeviceGetName;
895 if (strcmp(
"hipDeviceGetP2PAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetP2PAttribute;
896 if (strcmp(
"hipDeviceGetPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetPCIBusId;
897 if (strcmp(
"hipDeviceGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceGetSharedMemConfig;
898 if (strcmp(
"hipDeviceGetStreamPriorityRange", name) == 0)
return HIP_API_ID_hipDeviceGetStreamPriorityRange;
899 if (strcmp(
"hipDeviceGetUuid", name) == 0)
return HIP_API_ID_hipDeviceGetUuid;
900 if (strcmp(
"hipDeviceGraphMemTrim", name) == 0)
return HIP_API_ID_hipDeviceGraphMemTrim;
901 if (strcmp(
"hipDevicePrimaryCtxGetState", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxGetState;
902 if (strcmp(
"hipDevicePrimaryCtxRelease", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRelease;
903 if (strcmp(
"hipDevicePrimaryCtxReset", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxReset;
904 if (strcmp(
"hipDevicePrimaryCtxRetain", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRetain;
905 if (strcmp(
"hipDevicePrimaryCtxSetFlags", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
906 if (strcmp(
"hipDeviceReset", name) == 0)
return HIP_API_ID_hipDeviceReset;
907 if (strcmp(
"hipDeviceSetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceSetCacheConfig;
908 if (strcmp(
"hipDeviceSetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceSetGraphMemAttribute;
909 if (strcmp(
"hipDeviceSetLimit", name) == 0)
return HIP_API_ID_hipDeviceSetLimit;
910 if (strcmp(
"hipDeviceSetMemPool", name) == 0)
return HIP_API_ID_hipDeviceSetMemPool;
911 if (strcmp(
"hipDeviceSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceSetSharedMemConfig;
912 if (strcmp(
"hipDeviceSynchronize", name) == 0)
return HIP_API_ID_hipDeviceSynchronize;
913 if (strcmp(
"hipDeviceTotalMem", name) == 0)
return HIP_API_ID_hipDeviceTotalMem;
914 if (strcmp(
"hipDriverGetVersion", name) == 0)
return HIP_API_ID_hipDriverGetVersion;
915 if (strcmp(
"hipDrvGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemcpyNode;
916 if (strcmp(
"hipDrvGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipDrvGraphAddMemsetNode;
917 if (strcmp(
"hipDrvMemcpy2DUnaligned", name) == 0)
return HIP_API_ID_hipDrvMemcpy2DUnaligned;
918 if (strcmp(
"hipDrvMemcpy3D", name) == 0)
return HIP_API_ID_hipDrvMemcpy3D;
919 if (strcmp(
"hipDrvMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipDrvMemcpy3DAsync;
920 if (strcmp(
"hipDrvPointerGetAttributes", name) == 0)
return HIP_API_ID_hipDrvPointerGetAttributes;
921 if (strcmp(
"hipEventCreate", name) == 0)
return HIP_API_ID_hipEventCreate;
922 if (strcmp(
"hipEventCreateWithFlags", name) == 0)
return HIP_API_ID_hipEventCreateWithFlags;
923 if (strcmp(
"hipEventDestroy", name) == 0)
return HIP_API_ID_hipEventDestroy;
924 if (strcmp(
"hipEventElapsedTime", name) == 0)
return HIP_API_ID_hipEventElapsedTime;
925 if (strcmp(
"hipEventQuery", name) == 0)
return HIP_API_ID_hipEventQuery;
926 if (strcmp(
"hipEventRecord", name) == 0)
return HIP_API_ID_hipEventRecord;
927 if (strcmp(
"hipEventSynchronize", name) == 0)
return HIP_API_ID_hipEventSynchronize;
928 if (strcmp(
"hipExtGetLastError", name) == 0)
return HIP_API_ID_hipExtGetLastError;
929 if (strcmp(
"hipExtGetLinkTypeAndHopCount", name) == 0)
return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
930 if (strcmp(
"hipExtLaunchKernel", name) == 0)
return HIP_API_ID_hipExtLaunchKernel;
931 if (strcmp(
"hipExtLaunchMultiKernelMultiDevice", name) == 0)
return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
932 if (strcmp(
"hipExtMallocWithFlags", name) == 0)
return HIP_API_ID_hipExtMallocWithFlags;
933 if (strcmp(
"hipExtModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipExtModuleLaunchKernel;
934 if (strcmp(
"hipExtStreamCreateWithCUMask", name) == 0)
return HIP_API_ID_hipExtStreamCreateWithCUMask;
935 if (strcmp(
"hipExtStreamGetCUMask", name) == 0)
return HIP_API_ID_hipExtStreamGetCUMask;
936 if (strcmp(
"hipExternalMemoryGetMappedBuffer", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
937 if (strcmp(
"hipExternalMemoryGetMappedMipmappedArray", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray;
938 if (strcmp(
"hipFree", name) == 0)
return HIP_API_ID_hipFree;
939 if (strcmp(
"hipFreeArray", name) == 0)
return HIP_API_ID_hipFreeArray;
940 if (strcmp(
"hipFreeAsync", name) == 0)
return HIP_API_ID_hipFreeAsync;
941 if (strcmp(
"hipFreeHost", name) == 0)
return HIP_API_ID_hipFreeHost;
942 if (strcmp(
"hipFreeMipmappedArray", name) == 0)
return HIP_API_ID_hipFreeMipmappedArray;
943 if (strcmp(
"hipFuncGetAttribute", name) == 0)
return HIP_API_ID_hipFuncGetAttribute;
944 if (strcmp(
"hipFuncGetAttributes", name) == 0)
return HIP_API_ID_hipFuncGetAttributes;
945 if (strcmp(
"hipFuncSetAttribute", name) == 0)
return HIP_API_ID_hipFuncSetAttribute;
946 if (strcmp(
"hipFuncSetCacheConfig", name) == 0)
return HIP_API_ID_hipFuncSetCacheConfig;
947 if (strcmp(
"hipFuncSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipFuncSetSharedMemConfig;
948 if (strcmp(
"hipGLGetDevices", name) == 0)
return HIP_API_ID_hipGLGetDevices;
949 if (strcmp(
"hipGetChannelDesc", name) == 0)
return HIP_API_ID_hipGetChannelDesc;
950 if (strcmp(
"hipGetDevice", name) == 0)
return HIP_API_ID_hipGetDevice;
951 if (strcmp(
"hipGetDeviceCount", name) == 0)
return HIP_API_ID_hipGetDeviceCount;
952 if (strcmp(
"hipGetDeviceFlags", name) == 0)
return HIP_API_ID_hipGetDeviceFlags;
953 if (strcmp(
"hipGetDevicePropertiesR0000", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0000;
954 if (strcmp(
"hipGetDevicePropertiesR0600", name) == 0)
return HIP_API_ID_hipGetDevicePropertiesR0600;
955 if (strcmp(
"hipGetErrorString", name) == 0)
return HIP_API_ID_hipGetErrorString;
956 if (strcmp(
"hipGetFuncBySymbol", name) == 0)
return HIP_API_ID_hipGetFuncBySymbol;
957 if (strcmp(
"hipGetLastError", name) == 0)
return HIP_API_ID_hipGetLastError;
958 if (strcmp(
"hipGetMipmappedArrayLevel", name) == 0)
return HIP_API_ID_hipGetMipmappedArrayLevel;
959 if (strcmp(
"hipGetProcAddress", name) == 0)
return HIP_API_ID_hipGetProcAddress;
960 if (strcmp(
"hipGetSymbolAddress", name) == 0)
return HIP_API_ID_hipGetSymbolAddress;
961 if (strcmp(
"hipGetSymbolSize", name) == 0)
return HIP_API_ID_hipGetSymbolSize;
962 if (strcmp(
"hipGraphAddChildGraphNode", name) == 0)
return HIP_API_ID_hipGraphAddChildGraphNode;
963 if (strcmp(
"hipGraphAddDependencies", name) == 0)
return HIP_API_ID_hipGraphAddDependencies;
964 if (strcmp(
"hipGraphAddEmptyNode", name) == 0)
return HIP_API_ID_hipGraphAddEmptyNode;
965 if (strcmp(
"hipGraphAddEventRecordNode", name) == 0)
return HIP_API_ID_hipGraphAddEventRecordNode;
966 if (strcmp(
"hipGraphAddEventWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddEventWaitNode;
967 if (strcmp(
"hipGraphAddExternalSemaphoresSignalNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode;
968 if (strcmp(
"hipGraphAddExternalSemaphoresWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode;
969 if (strcmp(
"hipGraphAddHostNode", name) == 0)
return HIP_API_ID_hipGraphAddHostNode;
970 if (strcmp(
"hipGraphAddKernelNode", name) == 0)
return HIP_API_ID_hipGraphAddKernelNode;
971 if (strcmp(
"hipGraphAddMemAllocNode", name) == 0)
return HIP_API_ID_hipGraphAddMemAllocNode;
972 if (strcmp(
"hipGraphAddMemFreeNode", name) == 0)
return HIP_API_ID_hipGraphAddMemFreeNode;
973 if (strcmp(
"hipGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode;
974 if (strcmp(
"hipGraphAddMemcpyNode1D", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode1D;
975 if (strcmp(
"hipGraphAddMemcpyNodeFromSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
976 if (strcmp(
"hipGraphAddMemcpyNodeToSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
977 if (strcmp(
"hipGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipGraphAddMemsetNode;
978 if (strcmp(
"hipGraphAddNode", name) == 0)
return HIP_API_ID_hipGraphAddNode;
979 if (strcmp(
"hipGraphChildGraphNodeGetGraph", name) == 0)
return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
980 if (strcmp(
"hipGraphClone", name) == 0)
return HIP_API_ID_hipGraphClone;
981 if (strcmp(
"hipGraphCreate", name) == 0)
return HIP_API_ID_hipGraphCreate;
982 if (strcmp(
"hipGraphDebugDotPrint", name) == 0)
return HIP_API_ID_hipGraphDebugDotPrint;
983 if (strcmp(
"hipGraphDestroy", name) == 0)
return HIP_API_ID_hipGraphDestroy;
984 if (strcmp(
"hipGraphDestroyNode", name) == 0)
return HIP_API_ID_hipGraphDestroyNode;
985 if (strcmp(
"hipGraphEventRecordNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
986 if (strcmp(
"hipGraphEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
987 if (strcmp(
"hipGraphEventWaitNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
988 if (strcmp(
"hipGraphEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
989 if (strcmp(
"hipGraphExecChildGraphNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
990 if (strcmp(
"hipGraphExecDestroy", name) == 0)
return HIP_API_ID_hipGraphExecDestroy;
991 if (strcmp(
"hipGraphExecEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
992 if (strcmp(
"hipGraphExecEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
993 if (strcmp(
"hipGraphExecExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams;
994 if (strcmp(
"hipGraphExecExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams;
995 if (strcmp(
"hipGraphExecHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecHostNodeSetParams;
996 if (strcmp(
"hipGraphExecKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecKernelNodeSetParams;
997 if (strcmp(
"hipGraphExecMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
998 if (strcmp(
"hipGraphExecMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
999 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
1000 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
1001 if (strcmp(
"hipGraphExecMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
1002 if (strcmp(
"hipGraphExecUpdate", name) == 0)
return HIP_API_ID_hipGraphExecUpdate;
1003 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams;
1004 if (strcmp(
"hipGraphExternalSemaphoresSignalNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams;
1005 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams;
1006 if (strcmp(
"hipGraphExternalSemaphoresWaitNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams;
1007 if (strcmp(
"hipGraphGetEdges", name) == 0)
return HIP_API_ID_hipGraphGetEdges;
1008 if (strcmp(
"hipGraphGetNodes", name) == 0)
return HIP_API_ID_hipGraphGetNodes;
1009 if (strcmp(
"hipGraphGetRootNodes", name) == 0)
return HIP_API_ID_hipGraphGetRootNodes;
1010 if (strcmp(
"hipGraphHostNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeGetParams;
1011 if (strcmp(
"hipGraphHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeSetParams;
1012 if (strcmp(
"hipGraphInstantiate", name) == 0)
return HIP_API_ID_hipGraphInstantiate;
1013 if (strcmp(
"hipGraphInstantiateWithFlags", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithFlags;
1014 if (strcmp(
"hipGraphInstantiateWithParams", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithParams;
1015 if (strcmp(
"hipGraphKernelNodeCopyAttributes", name) == 0)
return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
1016 if (strcmp(
"hipGraphKernelNodeGetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetAttribute;
1017 if (strcmp(
"hipGraphKernelNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetParams;
1018 if (strcmp(
"hipGraphKernelNodeSetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetAttribute;
1019 if (strcmp(
"hipGraphKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetParams;
1020 if (strcmp(
"hipGraphLaunch", name) == 0)
return HIP_API_ID_hipGraphLaunch;
1021 if (strcmp(
"hipGraphMemAllocNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemAllocNodeGetParams;
1022 if (strcmp(
"hipGraphMemFreeNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemFreeNodeGetParams;
1023 if (strcmp(
"hipGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeGetParams;
1024 if (strcmp(
"hipGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams;
1025 if (strcmp(
"hipGraphMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
1026 if (strcmp(
"hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
1027 if (strcmp(
"hipGraphMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
1028 if (strcmp(
"hipGraphMemsetNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeGetParams;
1029 if (strcmp(
"hipGraphMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeSetParams;
1030 if (strcmp(
"hipGraphNodeFindInClone", name) == 0)
return HIP_API_ID_hipGraphNodeFindInClone;
1031 if (strcmp(
"hipGraphNodeGetDependencies", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependencies;
1032 if (strcmp(
"hipGraphNodeGetDependentNodes", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependentNodes;
1033 if (strcmp(
"hipGraphNodeGetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeGetEnabled;
1034 if (strcmp(
"hipGraphNodeGetType", name) == 0)
return HIP_API_ID_hipGraphNodeGetType;
1035 if (strcmp(
"hipGraphNodeSetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeSetEnabled;
1036 if (strcmp(
"hipGraphReleaseUserObject", name) == 0)
return HIP_API_ID_hipGraphReleaseUserObject;
1037 if (strcmp(
"hipGraphRemoveDependencies", name) == 0)
return HIP_API_ID_hipGraphRemoveDependencies;
1038 if (strcmp(
"hipGraphRetainUserObject", name) == 0)
return HIP_API_ID_hipGraphRetainUserObject;
1039 if (strcmp(
"hipGraphUpload", name) == 0)
return HIP_API_ID_hipGraphUpload;
1040 if (strcmp(
"hipGraphicsGLRegisterBuffer", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterBuffer;
1041 if (strcmp(
"hipGraphicsGLRegisterImage", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterImage;
1042 if (strcmp(
"hipGraphicsMapResources", name) == 0)
return HIP_API_ID_hipGraphicsMapResources;
1043 if (strcmp(
"hipGraphicsResourceGetMappedPointer", name) == 0)
return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
1044 if (strcmp(
"hipGraphicsSubResourceGetMappedArray", name) == 0)
return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
1045 if (strcmp(
"hipGraphicsUnmapResources", name) == 0)
return HIP_API_ID_hipGraphicsUnmapResources;
1046 if (strcmp(
"hipGraphicsUnregisterResource", name) == 0)
return HIP_API_ID_hipGraphicsUnregisterResource;
1047 if (strcmp(
"hipHccModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipHccModuleLaunchKernel;
1048 if (strcmp(
"hipHostAlloc", name) == 0)
return HIP_API_ID_hipHostAlloc;
1049 if (strcmp(
"hipHostFree", name) == 0)
return HIP_API_ID_hipHostFree;
1050 if (strcmp(
"hipHostGetDevicePointer", name) == 0)
return HIP_API_ID_hipHostGetDevicePointer;
1051 if (strcmp(
"hipHostGetFlags", name) == 0)
return HIP_API_ID_hipHostGetFlags;
1052 if (strcmp(
"hipHostMalloc", name) == 0)
return HIP_API_ID_hipHostMalloc;
1053 if (strcmp(
"hipHostRegister", name) == 0)
return HIP_API_ID_hipHostRegister;
1054 if (strcmp(
"hipHostUnregister", name) == 0)
return HIP_API_ID_hipHostUnregister;
1055 if (strcmp(
"hipImportExternalMemory", name) == 0)
return HIP_API_ID_hipImportExternalMemory;
1056 if (strcmp(
"hipImportExternalSemaphore", name) == 0)
return HIP_API_ID_hipImportExternalSemaphore;
1057 if (strcmp(
"hipInit", name) == 0)
return HIP_API_ID_hipInit;
1058 if (strcmp(
"hipIpcCloseMemHandle", name) == 0)
return HIP_API_ID_hipIpcCloseMemHandle;
1059 if (strcmp(
"hipIpcGetEventHandle", name) == 0)
return HIP_API_ID_hipIpcGetEventHandle;
1060 if (strcmp(
"hipIpcGetMemHandle", name) == 0)
return HIP_API_ID_hipIpcGetMemHandle;
1061 if (strcmp(
"hipIpcOpenEventHandle", name) == 0)
return HIP_API_ID_hipIpcOpenEventHandle;
1062 if (strcmp(
"hipIpcOpenMemHandle", name) == 0)
return HIP_API_ID_hipIpcOpenMemHandle;
1063 if (strcmp(
"hipLaunchByPtr", name) == 0)
return HIP_API_ID_hipLaunchByPtr;
1064 if (strcmp(
"hipLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernel;
1065 if (strcmp(
"hipLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
1066 if (strcmp(
"hipLaunchHostFunc", name) == 0)
return HIP_API_ID_hipLaunchHostFunc;
1067 if (strcmp(
"hipLaunchKernel", name) == 0)
return HIP_API_ID_hipLaunchKernel;
1068 if (strcmp(
"hipMalloc", name) == 0)
return HIP_API_ID_hipMalloc;
1069 if (strcmp(
"hipMalloc3D", name) == 0)
return HIP_API_ID_hipMalloc3D;
1070 if (strcmp(
"hipMalloc3DArray", name) == 0)
return HIP_API_ID_hipMalloc3DArray;
1071 if (strcmp(
"hipMallocArray", name) == 0)
return HIP_API_ID_hipMallocArray;
1072 if (strcmp(
"hipMallocAsync", name) == 0)
return HIP_API_ID_hipMallocAsync;
1073 if (strcmp(
"hipMallocFromPoolAsync", name) == 0)
return HIP_API_ID_hipMallocFromPoolAsync;
1074 if (strcmp(
"hipMallocHost", name) == 0)
return HIP_API_ID_hipMallocHost;
1075 if (strcmp(
"hipMallocManaged", name) == 0)
return HIP_API_ID_hipMallocManaged;
1076 if (strcmp(
"hipMallocMipmappedArray", name) == 0)
return HIP_API_ID_hipMallocMipmappedArray;
1077 if (strcmp(
"hipMallocPitch", name) == 0)
return HIP_API_ID_hipMallocPitch;
1078 if (strcmp(
"hipMemAddressFree", name) == 0)
return HIP_API_ID_hipMemAddressFree;
1079 if (strcmp(
"hipMemAddressReserve", name) == 0)
return HIP_API_ID_hipMemAddressReserve;
1080 if (strcmp(
"hipMemAdvise", name) == 0)
return HIP_API_ID_hipMemAdvise;
1081 if (strcmp(
"hipMemAllocHost", name) == 0)
return HIP_API_ID_hipMemAllocHost;
1082 if (strcmp(
"hipMemAllocPitch", name) == 0)
return HIP_API_ID_hipMemAllocPitch;
1083 if (strcmp(
"hipMemCreate", name) == 0)
return HIP_API_ID_hipMemCreate;
1084 if (strcmp(
"hipMemExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemExportToShareableHandle;
1085 if (strcmp(
"hipMemGetAccess", name) == 0)
return HIP_API_ID_hipMemGetAccess;
1086 if (strcmp(
"hipMemGetAddressRange", name) == 0)
return HIP_API_ID_hipMemGetAddressRange;
1087 if (strcmp(
"hipMemGetAllocationGranularity", name) == 0)
return HIP_API_ID_hipMemGetAllocationGranularity;
1088 if (strcmp(
"hipMemGetAllocationPropertiesFromHandle", name) == 0)
return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1089 if (strcmp(
"hipMemGetInfo", name) == 0)
return HIP_API_ID_hipMemGetInfo;
1090 if (strcmp(
"hipMemImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemImportFromShareableHandle;
1091 if (strcmp(
"hipMemMap", name) == 0)
return HIP_API_ID_hipMemMap;
1092 if (strcmp(
"hipMemMapArrayAsync", name) == 0)
return HIP_API_ID_hipMemMapArrayAsync;
1093 if (strcmp(
"hipMemPoolCreate", name) == 0)
return HIP_API_ID_hipMemPoolCreate;
1094 if (strcmp(
"hipMemPoolDestroy", name) == 0)
return HIP_API_ID_hipMemPoolDestroy;
1095 if (strcmp(
"hipMemPoolExportPointer", name) == 0)
return HIP_API_ID_hipMemPoolExportPointer;
1096 if (strcmp(
"hipMemPoolExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolExportToShareableHandle;
1097 if (strcmp(
"hipMemPoolGetAccess", name) == 0)
return HIP_API_ID_hipMemPoolGetAccess;
1098 if (strcmp(
"hipMemPoolGetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolGetAttribute;
1099 if (strcmp(
"hipMemPoolImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1100 if (strcmp(
"hipMemPoolImportPointer", name) == 0)
return HIP_API_ID_hipMemPoolImportPointer;
1101 if (strcmp(
"hipMemPoolSetAccess", name) == 0)
return HIP_API_ID_hipMemPoolSetAccess;
1102 if (strcmp(
"hipMemPoolSetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolSetAttribute;
1103 if (strcmp(
"hipMemPoolTrimTo", name) == 0)
return HIP_API_ID_hipMemPoolTrimTo;
1104 if (strcmp(
"hipMemPrefetchAsync", name) == 0)
return HIP_API_ID_hipMemPrefetchAsync;
1105 if (strcmp(
"hipMemPtrGetInfo", name) == 0)
return HIP_API_ID_hipMemPtrGetInfo;
1106 if (strcmp(
"hipMemRangeGetAttribute", name) == 0)
return HIP_API_ID_hipMemRangeGetAttribute;
1107 if (strcmp(
"hipMemRangeGetAttributes", name) == 0)
return HIP_API_ID_hipMemRangeGetAttributes;
1108 if (strcmp(
"hipMemRelease", name) == 0)
return HIP_API_ID_hipMemRelease;
1109 if (strcmp(
"hipMemRetainAllocationHandle", name) == 0)
return HIP_API_ID_hipMemRetainAllocationHandle;
1110 if (strcmp(
"hipMemSetAccess", name) == 0)
return HIP_API_ID_hipMemSetAccess;
1111 if (strcmp(
"hipMemUnmap", name) == 0)
return HIP_API_ID_hipMemUnmap;
1112 if (strcmp(
"hipMemcpy", name) == 0)
return HIP_API_ID_hipMemcpy;
1113 if (strcmp(
"hipMemcpy2D", name) == 0)
return HIP_API_ID_hipMemcpy2D;
1114 if (strcmp(
"hipMemcpy2DArrayToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DArrayToArray;
1115 if (strcmp(
"hipMemcpy2DAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DAsync;
1116 if (strcmp(
"hipMemcpy2DFromArray", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArray;
1117 if (strcmp(
"hipMemcpy2DFromArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1118 if (strcmp(
"hipMemcpy2DToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DToArray;
1119 if (strcmp(
"hipMemcpy2DToArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DToArrayAsync;
1120 if (strcmp(
"hipMemcpy3D", name) == 0)
return HIP_API_ID_hipMemcpy3D;
1121 if (strcmp(
"hipMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipMemcpy3DAsync;
1122 if (strcmp(
"hipMemcpyAsync", name) == 0)
return HIP_API_ID_hipMemcpyAsync;
1123 if (strcmp(
"hipMemcpyAtoA", name) == 0)
return HIP_API_ID_hipMemcpyAtoA;
1124 if (strcmp(
"hipMemcpyAtoD", name) == 0)
return HIP_API_ID_hipMemcpyAtoD;
1125 if (strcmp(
"hipMemcpyAtoH", name) == 0)
return HIP_API_ID_hipMemcpyAtoH;
1126 if (strcmp(
"hipMemcpyAtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyAtoHAsync;
1127 if (strcmp(
"hipMemcpyDtoA", name) == 0)
return HIP_API_ID_hipMemcpyDtoA;
1128 if (strcmp(
"hipMemcpyDtoD", name) == 0)
return HIP_API_ID_hipMemcpyDtoD;
1129 if (strcmp(
"hipMemcpyDtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoDAsync;
1130 if (strcmp(
"hipMemcpyDtoH", name) == 0)
return HIP_API_ID_hipMemcpyDtoH;
1131 if (strcmp(
"hipMemcpyDtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoHAsync;
1132 if (strcmp(
"hipMemcpyFromArray", name) == 0)
return HIP_API_ID_hipMemcpyFromArray;
1133 if (strcmp(
"hipMemcpyFromSymbol", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbol;
1134 if (strcmp(
"hipMemcpyFromSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbolAsync;
1135 if (strcmp(
"hipMemcpyHtoA", name) == 0)
return HIP_API_ID_hipMemcpyHtoA;
1136 if (strcmp(
"hipMemcpyHtoAAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoAAsync;
1137 if (strcmp(
"hipMemcpyHtoD", name) == 0)
return HIP_API_ID_hipMemcpyHtoD;
1138 if (strcmp(
"hipMemcpyHtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoDAsync;
1139 if (strcmp(
"hipMemcpyParam2D", name) == 0)
return HIP_API_ID_hipMemcpyParam2D;
1140 if (strcmp(
"hipMemcpyParam2DAsync", name) == 0)
return HIP_API_ID_hipMemcpyParam2DAsync;
1141 if (strcmp(
"hipMemcpyPeer", name) == 0)
return HIP_API_ID_hipMemcpyPeer;
1142 if (strcmp(
"hipMemcpyPeerAsync", name) == 0)
return HIP_API_ID_hipMemcpyPeerAsync;
1143 if (strcmp(
"hipMemcpyToArray", name) == 0)
return HIP_API_ID_hipMemcpyToArray;
1144 if (strcmp(
"hipMemcpyToSymbol", name) == 0)
return HIP_API_ID_hipMemcpyToSymbol;
1145 if (strcmp(
"hipMemcpyToSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyToSymbolAsync;
1146 if (strcmp(
"hipMemcpyWithStream", name) == 0)
return HIP_API_ID_hipMemcpyWithStream;
1147 if (strcmp(
"hipMemset", name) == 0)
return HIP_API_ID_hipMemset;
1148 if (strcmp(
"hipMemset2D", name) == 0)
return HIP_API_ID_hipMemset2D;
1149 if (strcmp(
"hipMemset2DAsync", name) == 0)
return HIP_API_ID_hipMemset2DAsync;
1150 if (strcmp(
"hipMemset3D", name) == 0)
return HIP_API_ID_hipMemset3D;
1151 if (strcmp(
"hipMemset3DAsync", name) == 0)
return HIP_API_ID_hipMemset3DAsync;
1152 if (strcmp(
"hipMemsetAsync", name) == 0)
return HIP_API_ID_hipMemsetAsync;
1153 if (strcmp(
"hipMemsetD16", name) == 0)
return HIP_API_ID_hipMemsetD16;
1154 if (strcmp(
"hipMemsetD16Async", name) == 0)
return HIP_API_ID_hipMemsetD16Async;
1155 if (strcmp(
"hipMemsetD32", name) == 0)
return HIP_API_ID_hipMemsetD32;
1156 if (strcmp(
"hipMemsetD32Async", name) == 0)
return HIP_API_ID_hipMemsetD32Async;
1157 if (strcmp(
"hipMemsetD8", name) == 0)
return HIP_API_ID_hipMemsetD8;
1158 if (strcmp(
"hipMemsetD8Async", name) == 0)
return HIP_API_ID_hipMemsetD8Async;
1159 if (strcmp(
"hipMipmappedArrayCreate", name) == 0)
return HIP_API_ID_hipMipmappedArrayCreate;
1160 if (strcmp(
"hipMipmappedArrayDestroy", name) == 0)
return HIP_API_ID_hipMipmappedArrayDestroy;
1161 if (strcmp(
"hipMipmappedArrayGetLevel", name) == 0)
return HIP_API_ID_hipMipmappedArrayGetLevel;
1162 if (strcmp(
"hipModuleGetFunction", name) == 0)
return HIP_API_ID_hipModuleGetFunction;
1163 if (strcmp(
"hipModuleGetGlobal", name) == 0)
return HIP_API_ID_hipModuleGetGlobal;
1164 if (strcmp(
"hipModuleGetTexRef", name) == 0)
return HIP_API_ID_hipModuleGetTexRef;
1165 if (strcmp(
"hipModuleLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1166 if (strcmp(
"hipModuleLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1167 if (strcmp(
"hipModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchKernel;
1168 if (strcmp(
"hipModuleLoad", name) == 0)
return HIP_API_ID_hipModuleLoad;
1169 if (strcmp(
"hipModuleLoadData", name) == 0)
return HIP_API_ID_hipModuleLoadData;
1170 if (strcmp(
"hipModuleLoadDataEx", name) == 0)
return HIP_API_ID_hipModuleLoadDataEx;
1171 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1172 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1173 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1174 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1175 if (strcmp(
"hipModuleUnload", name) == 0)
return HIP_API_ID_hipModuleUnload;
1176 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1177 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1178 if (strcmp(
"hipOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1179 if (strcmp(
"hipPeekAtLastError", name) == 0)
return HIP_API_ID_hipPeekAtLastError;
1180 if (strcmp(
"hipPointerGetAttribute", name) == 0)
return HIP_API_ID_hipPointerGetAttribute;
1181 if (strcmp(
"hipPointerGetAttributes", name) == 0)
return HIP_API_ID_hipPointerGetAttributes;
1182 if (strcmp(
"hipPointerSetAttribute", name) == 0)
return HIP_API_ID_hipPointerSetAttribute;
1183 if (strcmp(
"hipProfilerStart", name) == 0)
return HIP_API_ID_hipProfilerStart;
1184 if (strcmp(
"hipProfilerStop", name) == 0)
return HIP_API_ID_hipProfilerStop;
1185 if (strcmp(
"hipRuntimeGetVersion", name) == 0)
return HIP_API_ID_hipRuntimeGetVersion;
1186 if (strcmp(
"hipSetDevice", name) == 0)
return HIP_API_ID_hipSetDevice;
1187 if (strcmp(
"hipSetDeviceFlags", name) == 0)
return HIP_API_ID_hipSetDeviceFlags;
1188 if (strcmp(
"hipSetValidDevices", name) == 0)
return HIP_API_ID_hipSetValidDevices;
1189 if (strcmp(
"hipSetupArgument", name) == 0)
return HIP_API_ID_hipSetupArgument;
1190 if (strcmp(
"hipSignalExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1191 if (strcmp(
"hipStreamAddCallback", name) == 0)
return HIP_API_ID_hipStreamAddCallback;
1192 if (strcmp(
"hipStreamAttachMemAsync", name) == 0)
return HIP_API_ID_hipStreamAttachMemAsync;
1193 if (strcmp(
"hipStreamBeginCapture", name) == 0)
return HIP_API_ID_hipStreamBeginCapture;
1194 if (strcmp(
"hipStreamBeginCaptureToGraph", name) == 0)
return HIP_API_ID_hipStreamBeginCaptureToGraph;
1195 if (strcmp(
"hipStreamCreate", name) == 0)
return HIP_API_ID_hipStreamCreate;
1196 if (strcmp(
"hipStreamCreateWithFlags", name) == 0)
return HIP_API_ID_hipStreamCreateWithFlags;
1197 if (strcmp(
"hipStreamCreateWithPriority", name) == 0)
return HIP_API_ID_hipStreamCreateWithPriority;
1198 if (strcmp(
"hipStreamDestroy", name) == 0)
return HIP_API_ID_hipStreamDestroy;
1199 if (strcmp(
"hipStreamEndCapture", name) == 0)
return HIP_API_ID_hipStreamEndCapture;
1200 if (strcmp(
"hipStreamGetCaptureInfo", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo;
1201 if (strcmp(
"hipStreamGetCaptureInfo_v2", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1202 if (strcmp(
"hipStreamGetDevice", name) == 0)
return HIP_API_ID_hipStreamGetDevice;
1203 if (strcmp(
"hipStreamGetFlags", name) == 0)
return HIP_API_ID_hipStreamGetFlags;
1204 if (strcmp(
"hipStreamGetPriority", name) == 0)
return HIP_API_ID_hipStreamGetPriority;
1205 if (strcmp(
"hipStreamIsCapturing", name) == 0)
return HIP_API_ID_hipStreamIsCapturing;
1206 if (strcmp(
"hipStreamQuery", name) == 0)
return HIP_API_ID_hipStreamQuery;
1207 if (strcmp(
"hipStreamSynchronize", name) == 0)
return HIP_API_ID_hipStreamSynchronize;
1208 if (strcmp(
"hipStreamUpdateCaptureDependencies", name) == 0)
return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1209 if (strcmp(
"hipStreamWaitEvent", name) == 0)
return HIP_API_ID_hipStreamWaitEvent;
1210 if (strcmp(
"hipStreamWaitValue32", name) == 0)
return HIP_API_ID_hipStreamWaitValue32;
1211 if (strcmp(
"hipStreamWaitValue64", name) == 0)
return HIP_API_ID_hipStreamWaitValue64;
1212 if (strcmp(
"hipStreamWriteValue32", name) == 0)
return HIP_API_ID_hipStreamWriteValue32;
1213 if (strcmp(
"hipStreamWriteValue64", name) == 0)
return HIP_API_ID_hipStreamWriteValue64;
1214 if (strcmp(
"hipTexRefGetAddress", name) == 0)
return HIP_API_ID_hipTexRefGetAddress;
1215 if (strcmp(
"hipTexRefGetArray", name) == 0)
return HIP_API_ID_hipTexRefGetArray;
1216 if (strcmp(
"hipTexRefGetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefGetBorderColor;
1217 if (strcmp(
"hipTexRefGetFlags", name) == 0)
return HIP_API_ID_hipTexRefGetFlags;
1218 if (strcmp(
"hipTexRefGetFormat", name) == 0)
return HIP_API_ID_hipTexRefGetFormat;
1219 if (strcmp(
"hipTexRefGetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1220 if (strcmp(
"hipTexRefGetMipMappedArray", name) == 0)
return HIP_API_ID_hipTexRefGetMipMappedArray;
1221 if (strcmp(
"hipTexRefGetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1222 if (strcmp(
"hipTexRefGetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1223 if (strcmp(
"hipTexRefSetAddress", name) == 0)
return HIP_API_ID_hipTexRefSetAddress;
1224 if (strcmp(
"hipTexRefSetAddress2D", name) == 0)
return HIP_API_ID_hipTexRefSetAddress2D;
1225 if (strcmp(
"hipTexRefSetArray", name) == 0)
return HIP_API_ID_hipTexRefSetArray;
1226 if (strcmp(
"hipTexRefSetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefSetBorderColor;
1227 if (strcmp(
"hipTexRefSetFlags", name) == 0)
return HIP_API_ID_hipTexRefSetFlags;
1228 if (strcmp(
"hipTexRefSetFormat", name) == 0)
return HIP_API_ID_hipTexRefSetFormat;
1229 if (strcmp(
"hipTexRefSetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1230 if (strcmp(
"hipTexRefSetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1231 if (strcmp(
"hipTexRefSetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1232 if (strcmp(
"hipTexRefSetMipmappedArray", name) == 0)
return HIP_API_ID_hipTexRefSetMipmappedArray;
1233 if (strcmp(
"hipThreadExchangeStreamCaptureMode", name) == 0)
return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1234 if (strcmp(
"hipUserObjectCreate", name) == 0)
return HIP_API_ID_hipUserObjectCreate;
1235 if (strcmp(
"hipUserObjectRelease", name) == 0)
return HIP_API_ID_hipUserObjectRelease;
1236 if (strcmp(
"hipUserObjectRetain", name) == 0)
return HIP_API_ID_hipUserObjectRetain;
1237 if (strcmp(
"hipWaitExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1238 return HIP_API_ID_NONE;
1243 uint64_t correlation_id;
1252 size_t sharedMem__val;
1253 hipStream_t* stream;
1254 hipStream_t stream__val;
1255 } __hipPopCallConfiguration;
1261 } __hipPushCallConfiguration;
1264 hipArray_t array__val;
1265 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1266 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1269 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1270 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1272 } hipArray3DGetDescriptor;
1274 hipArray_t* pHandle;
1275 hipArray_t pHandle__val;
1276 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1277 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1283 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1284 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1286 } hipArrayGetDescriptor;
1288 hipChannelFormatDesc* desc;
1289 hipChannelFormatDesc desc__val;
1291 hipExtent extent__val;
1292 unsigned int* flags;
1293 unsigned int flags__val;
1299 const hipDeviceProp_tR0000* prop;
1300 hipDeviceProp_tR0000 prop__val;
1301 } hipChooseDeviceR0000;
1305 const hipDeviceProp_tR0600* prop;
1306 hipDeviceProp_tR0600 prop__val;
1307 } hipChooseDeviceR0600;
1315 hipSurfaceObject_t* pSurfObject;
1316 hipSurfaceObject_t pSurfObject__val;
1317 const hipResourceDesc* pResDesc;
1318 hipResourceDesc pResDesc__val;
1319 } hipCreateSurfaceObject;
1331 } hipCtxDisablePeerAccess;
1335 } hipCtxEnablePeerAccess;
1339 int apiVersion__val;
1340 } hipCtxGetApiVersion;
1342 hipFuncCache_t* cacheConfig;
1343 hipFuncCache_t cacheConfig__val;
1344 } hipCtxGetCacheConfig;
1350 hipDevice_t* device;
1351 hipDevice_t device__val;
1354 unsigned int* flags;
1355 unsigned int flags__val;
1358 hipSharedMemConfig* pConfig;
1359 hipSharedMemConfig pConfig__val;
1360 } hipCtxGetSharedMemConfig;
1367 } hipCtxPushCurrent;
1369 hipFuncCache_t cacheConfig;
1370 } hipCtxSetCacheConfig;
1375 hipSharedMemConfig config;
1376 } hipCtxSetSharedMemConfig;
1378 hipExternalMemory_t extMem;
1379 } hipDestroyExternalMemory;
1381 hipExternalSemaphore_t extSem;
1382 } hipDestroyExternalSemaphore;
1384 hipSurfaceObject_t surfaceObject;
1385 } hipDestroySurfaceObject;
1388 int canAccessPeer__val;
1391 } hipDeviceCanAccessPeer;
1398 } hipDeviceComputeCapability;
1401 } hipDeviceDisablePeerAccess;
1405 } hipDeviceEnablePeerAccess;
1407 hipDevice_t* device;
1408 hipDevice_t device__val;
1414 hipDeviceAttribute_t attr;
1416 } hipDeviceGetAttribute;
1420 const char* pciBusId;
1422 } hipDeviceGetByPCIBusId;
1424 hipFuncCache_t* cacheConfig;
1425 hipFuncCache_t cacheConfig__val;
1426 } hipDeviceGetCacheConfig;
1428 hipMemPool_t* mem_pool;
1429 hipMemPool_t mem_pool__val;
1431 } hipDeviceGetDefaultMemPool;
1434 hipGraphMemAttributeType attr;
1436 } hipDeviceGetGraphMemAttribute;
1440 enum hipLimit_t limit;
1441 } hipDeviceGetLimit;
1443 hipMemPool_t* mem_pool;
1444 hipMemPool_t mem_pool__val;
1446 } hipDeviceGetMemPool;
1456 hipDeviceP2PAttr attr;
1459 } hipDeviceGetP2PAttribute;
1465 } hipDeviceGetPCIBusId;
1467 hipSharedMemConfig* pConfig;
1468 hipSharedMemConfig pConfig__val;
1469 } hipDeviceGetSharedMemConfig;
1472 int leastPriority__val;
1473 int* greatestPriority;
1474 int greatestPriority__val;
1475 } hipDeviceGetStreamPriorityRange;
1483 } hipDeviceGraphMemTrim;
1486 unsigned int* flags;
1487 unsigned int flags__val;
1490 } hipDevicePrimaryCtxGetState;
1493 } hipDevicePrimaryCtxRelease;
1496 } hipDevicePrimaryCtxReset;
1501 } hipDevicePrimaryCtxRetain;
1505 } hipDevicePrimaryCtxSetFlags;
1507 hipFuncCache_t cacheConfig;
1508 } hipDeviceSetCacheConfig;
1511 hipGraphMemAttributeType attr;
1513 } hipDeviceSetGraphMemAttribute;
1515 enum hipLimit_t limit;
1517 } hipDeviceSetLimit;
1520 hipMemPool_t mem_pool;
1521 } hipDeviceSetMemPool;
1523 hipSharedMemConfig config;
1524 } hipDeviceSetSharedMemConfig;
1529 } hipDeviceTotalMem;
1532 int driverVersion__val;
1533 } hipDriverGetVersion;
1535 hipGraphNode_t* phGraphNode;
1536 hipGraphNode_t phGraphNode__val;
1538 const hipGraphNode_t* dependencies;
1539 hipGraphNode_t dependencies__val;
1540 size_t numDependencies;
1541 const HIP_MEMCPY3D* copyParams;
1542 HIP_MEMCPY3D copyParams__val;
1544 } hipDrvGraphAddMemcpyNode;
1546 hipGraphNode_t* phGraphNode;
1547 hipGraphNode_t phGraphNode__val;
1549 const hipGraphNode_t* dependencies;
1550 hipGraphNode_t dependencies__val;
1551 size_t numDependencies;
1552 const HIP_MEMSET_NODE_PARAMS* memsetParams;
1553 HIP_MEMSET_NODE_PARAMS memsetParams__val;
1555 } hipDrvGraphAddMemsetNode;
1557 const hip_Memcpy2D* pCopy;
1558 hip_Memcpy2D pCopy__val;
1559 } hipDrvMemcpy2DUnaligned;
1561 const HIP_MEMCPY3D* pCopy;
1562 HIP_MEMCPY3D pCopy__val;
1565 const HIP_MEMCPY3D* pCopy;
1566 HIP_MEMCPY3D pCopy__val;
1568 } hipDrvMemcpy3DAsync;
1570 unsigned int numAttributes;
1571 hipPointer_attribute* attributes;
1572 hipPointer_attribute attributes__val;
1576 } hipDrvPointerGetAttributes;
1579 hipEvent_t event__val;
1583 hipEvent_t event__val;
1585 } hipEventCreateWithFlags;
1594 } hipEventElapsedTime;
1604 } hipEventSynchronize;
1608 unsigned int* linktype;
1609 unsigned int linktype__val;
1610 unsigned int* hopcount;
1611 unsigned int hopcount__val;
1612 } hipExtGetLinkTypeAndHopCount;
1614 const void* function_address;
1619 size_t sharedMemBytes;
1621 hipEvent_t startEvent;
1622 hipEvent_t stopEvent;
1624 } hipExtLaunchKernel;
1626 hipLaunchParams* launchParamsList;
1627 hipLaunchParams launchParamsList__val;
1630 } hipExtLaunchMultiKernelMultiDevice;
1636 } hipExtMallocWithFlags;
1639 unsigned int globalWorkSizeX;
1640 unsigned int globalWorkSizeY;
1641 unsigned int globalWorkSizeZ;
1642 unsigned int localWorkSizeX;
1643 unsigned int localWorkSizeY;
1644 unsigned int localWorkSizeZ;
1645 size_t sharedMemBytes;
1646 hipStream_t hStream;
1647 void** kernelParams;
1648 void* kernelParams__val;
1651 hipEvent_t startEvent;
1652 hipEvent_t stopEvent;
1654 } hipExtModuleLaunchKernel;
1656 hipStream_t* stream;
1657 hipStream_t stream__val;
1658 unsigned int cuMaskSize;
1659 const unsigned int* cuMask;
1660 unsigned int cuMask__val;
1661 } hipExtStreamCreateWithCUMask;
1664 unsigned int cuMaskSize;
1665 unsigned int* cuMask;
1666 unsigned int cuMask__val;
1667 } hipExtStreamGetCUMask;
1671 hipExternalMemory_t extMem;
1672 const hipExternalMemoryBufferDesc* bufferDesc;
1673 hipExternalMemoryBufferDesc bufferDesc__val;
1674 } hipExternalMemoryGetMappedBuffer;
1676 hipMipmappedArray_t* mipmap;
1677 hipMipmappedArray_t mipmap__val;
1678 hipExternalMemory_t extMem;
1679 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
1680 hipExternalMemoryMipmappedArrayDesc mipmapDesc__val;
1681 } hipExternalMemoryGetMappedMipmappedArray;
1696 hipMipmappedArray_t mipmappedArray;
1697 } hipFreeMipmappedArray;
1701 hipFunction_attribute attrib;
1702 hipFunction_t hfunc;
1703 } hipFuncGetAttribute;
1705 hipFuncAttributes* attr;
1706 hipFuncAttributes attr__val;
1708 } hipFuncGetAttributes;
1711 hipFuncAttribute attr;
1713 } hipFuncSetAttribute;
1716 hipFuncCache_t config;
1717 } hipFuncSetCacheConfig;
1720 hipSharedMemConfig config;
1721 } hipFuncSetSharedMemConfig;
1723 unsigned int* pHipDeviceCount;
1724 unsigned int pHipDeviceCount__val;
1726 int pHipDevices__val;
1727 unsigned int hipDeviceCount;
1731 hipChannelFormatDesc* desc;
1732 hipChannelFormatDesc desc__val;
1733 hipArray_const_t array;
1734 } hipGetChannelDesc;
1742 } hipGetDeviceCount;
1744 unsigned int* flags;
1745 unsigned int flags__val;
1746 } hipGetDeviceFlags;
1748 hipDeviceProp_tR0000* prop;
1749 hipDeviceProp_tR0000 prop__val;
1751 } hipGetDevicePropertiesR0000;
1753 hipDeviceProp_tR0600* prop;
1754 hipDeviceProp_tR0600 prop__val;
1756 } hipGetDevicePropertiesR0600;
1758 hipFunction_t* functionPtr;
1759 hipFunction_t functionPtr__val;
1760 const void* symbolPtr;
1761 } hipGetFuncBySymbol;
1763 hipArray_t* levelArray;
1764 hipArray_t levelArray__val;
1765 hipMipmappedArray_const_t mipmappedArray;
1767 } hipGetMipmappedArrayLevel;
1775 hipDriverProcAddressQueryResult* symbolStatus;
1776 hipDriverProcAddressQueryResult symbolStatus__val;
1777 } hipGetProcAddress;
1782 } hipGetSymbolAddress;
1789 hipGraphNode_t* pGraphNode;
1790 hipGraphNode_t pGraphNode__val;
1792 const hipGraphNode_t* pDependencies;
1793 hipGraphNode_t pDependencies__val;
1794 size_t numDependencies;
1795 hipGraph_t childGraph;
1796 } hipGraphAddChildGraphNode;
1799 const hipGraphNode_t* from;
1800 hipGraphNode_t from__val;
1801 const hipGraphNode_t* to;
1802 hipGraphNode_t to__val;
1803 size_t numDependencies;
1804 } hipGraphAddDependencies;
1806 hipGraphNode_t* pGraphNode;
1807 hipGraphNode_t pGraphNode__val;
1809 const hipGraphNode_t* pDependencies;
1810 hipGraphNode_t pDependencies__val;
1811 size_t numDependencies;
1812 } hipGraphAddEmptyNode;
1814 hipGraphNode_t* pGraphNode;
1815 hipGraphNode_t pGraphNode__val;
1817 const hipGraphNode_t* pDependencies;
1818 hipGraphNode_t pDependencies__val;
1819 size_t numDependencies;
1821 } hipGraphAddEventRecordNode;
1823 hipGraphNode_t* pGraphNode;
1824 hipGraphNode_t pGraphNode__val;
1826 const hipGraphNode_t* pDependencies;
1827 hipGraphNode_t pDependencies__val;
1828 size_t numDependencies;
1830 } hipGraphAddEventWaitNode;
1832 hipGraphNode_t* pGraphNode;
1833 hipGraphNode_t pGraphNode__val;
1835 const hipGraphNode_t* pDependencies;
1836 hipGraphNode_t pDependencies__val;
1837 size_t numDependencies;
1838 const hipExternalSemaphoreSignalNodeParams* nodeParams;
1839 hipExternalSemaphoreSignalNodeParams nodeParams__val;
1840 } hipGraphAddExternalSemaphoresSignalNode;
1842 hipGraphNode_t* pGraphNode;
1843 hipGraphNode_t pGraphNode__val;
1845 const hipGraphNode_t* pDependencies;
1846 hipGraphNode_t pDependencies__val;
1847 size_t numDependencies;
1848 const hipExternalSemaphoreWaitNodeParams* nodeParams;
1849 hipExternalSemaphoreWaitNodeParams nodeParams__val;
1850 } hipGraphAddExternalSemaphoresWaitNode;
1852 hipGraphNode_t* pGraphNode;
1853 hipGraphNode_t pGraphNode__val;
1855 const hipGraphNode_t* pDependencies;
1856 hipGraphNode_t pDependencies__val;
1857 size_t numDependencies;
1858 const hipHostNodeParams* pNodeParams;
1859 hipHostNodeParams pNodeParams__val;
1860 } hipGraphAddHostNode;
1862 hipGraphNode_t* pGraphNode;
1863 hipGraphNode_t pGraphNode__val;
1865 const hipGraphNode_t* pDependencies;
1866 hipGraphNode_t pDependencies__val;
1867 size_t numDependencies;
1868 const hipKernelNodeParams* pNodeParams;
1869 hipKernelNodeParams pNodeParams__val;
1870 } hipGraphAddKernelNode;
1872 hipGraphNode_t* pGraphNode;
1873 hipGraphNode_t pGraphNode__val;
1875 const hipGraphNode_t* pDependencies;
1876 hipGraphNode_t pDependencies__val;
1877 size_t numDependencies;
1878 hipMemAllocNodeParams* pNodeParams;
1879 hipMemAllocNodeParams pNodeParams__val;
1880 } hipGraphAddMemAllocNode;
1882 hipGraphNode_t* pGraphNode;
1883 hipGraphNode_t pGraphNode__val;
1885 const hipGraphNode_t* pDependencies;
1886 hipGraphNode_t pDependencies__val;
1887 size_t numDependencies;
1889 } hipGraphAddMemFreeNode;
1891 hipGraphNode_t* pGraphNode;
1892 hipGraphNode_t pGraphNode__val;
1894 const hipGraphNode_t* pDependencies;
1895 hipGraphNode_t pDependencies__val;
1896 size_t numDependencies;
1897 const hipMemcpy3DParms* pCopyParams;
1898 hipMemcpy3DParms pCopyParams__val;
1899 } hipGraphAddMemcpyNode;
1901 hipGraphNode_t* pGraphNode;
1902 hipGraphNode_t pGraphNode__val;
1904 const hipGraphNode_t* pDependencies;
1905 hipGraphNode_t pDependencies__val;
1906 size_t numDependencies;
1911 } hipGraphAddMemcpyNode1D;
1913 hipGraphNode_t* pGraphNode;
1914 hipGraphNode_t pGraphNode__val;
1916 const hipGraphNode_t* pDependencies;
1917 hipGraphNode_t pDependencies__val;
1918 size_t numDependencies;
1924 } hipGraphAddMemcpyNodeFromSymbol;
1926 hipGraphNode_t* pGraphNode;
1927 hipGraphNode_t pGraphNode__val;
1929 const hipGraphNode_t* pDependencies;
1930 hipGraphNode_t pDependencies__val;
1931 size_t numDependencies;
1937 } hipGraphAddMemcpyNodeToSymbol;
1939 hipGraphNode_t* pGraphNode;
1940 hipGraphNode_t pGraphNode__val;
1942 const hipGraphNode_t* pDependencies;
1943 hipGraphNode_t pDependencies__val;
1944 size_t numDependencies;
1945 const hipMemsetParams* pMemsetParams;
1946 hipMemsetParams pMemsetParams__val;
1947 } hipGraphAddMemsetNode;
1949 hipGraphNode_t* pGraphNode;
1950 hipGraphNode_t pGraphNode__val;
1952 const hipGraphNode_t* pDependencies;
1953 hipGraphNode_t pDependencies__val;
1954 size_t numDependencies;
1955 hipGraphNodeParams* nodeParams;
1956 hipGraphNodeParams nodeParams__val;
1959 hipGraphNode_t node;
1961 hipGraph_t pGraph__val;
1962 } hipGraphChildGraphNodeGetGraph;
1964 hipGraph_t* pGraphClone;
1965 hipGraph_t pGraphClone__val;
1966 hipGraph_t originalGraph;
1970 hipGraph_t pGraph__val;
1978 } hipGraphDebugDotPrint;
1983 hipGraphNode_t node;
1984 } hipGraphDestroyNode;
1986 hipGraphNode_t node;
1987 hipEvent_t* event_out;
1988 hipEvent_t event_out__val;
1989 } hipGraphEventRecordNodeGetEvent;
1991 hipGraphNode_t node;
1993 } hipGraphEventRecordNodeSetEvent;
1995 hipGraphNode_t node;
1996 hipEvent_t* event_out;
1997 hipEvent_t event_out__val;
1998 } hipGraphEventWaitNodeGetEvent;
2000 hipGraphNode_t node;
2002 } hipGraphEventWaitNodeSetEvent;
2004 hipGraphExec_t hGraphExec;
2005 hipGraphNode_t node;
2006 hipGraph_t childGraph;
2007 } hipGraphExecChildGraphNodeSetParams;
2009 hipGraphExec_t graphExec;
2010 } hipGraphExecDestroy;
2012 hipGraphExec_t hGraphExec;
2013 hipGraphNode_t hNode;
2015 } hipGraphExecEventRecordNodeSetEvent;
2017 hipGraphExec_t hGraphExec;
2018 hipGraphNode_t hNode;
2020 } hipGraphExecEventWaitNodeSetEvent;
2022 hipGraphExec_t hGraphExec;
2023 hipGraphNode_t hNode;
2024 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2025 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2026 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
2028 hipGraphExec_t hGraphExec;
2029 hipGraphNode_t hNode;
2030 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2031 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2032 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
2034 hipGraphExec_t hGraphExec;
2035 hipGraphNode_t node;
2036 const hipHostNodeParams* pNodeParams;
2037 hipHostNodeParams pNodeParams__val;
2038 } hipGraphExecHostNodeSetParams;
2040 hipGraphExec_t hGraphExec;
2041 hipGraphNode_t node;
2042 const hipKernelNodeParams* pNodeParams;
2043 hipKernelNodeParams pNodeParams__val;
2044 } hipGraphExecKernelNodeSetParams;
2046 hipGraphExec_t hGraphExec;
2047 hipGraphNode_t node;
2048 hipMemcpy3DParms* pNodeParams;
2049 hipMemcpy3DParms pNodeParams__val;
2050 } hipGraphExecMemcpyNodeSetParams;
2052 hipGraphExec_t hGraphExec;
2053 hipGraphNode_t node;
2058 } hipGraphExecMemcpyNodeSetParams1D;
2060 hipGraphExec_t hGraphExec;
2061 hipGraphNode_t node;
2067 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
2069 hipGraphExec_t hGraphExec;
2070 hipGraphNode_t node;
2076 } hipGraphExecMemcpyNodeSetParamsToSymbol;
2078 hipGraphExec_t hGraphExec;
2079 hipGraphNode_t node;
2080 const hipMemsetParams* pNodeParams;
2081 hipMemsetParams pNodeParams__val;
2082 } hipGraphExecMemsetNodeSetParams;
2084 hipGraphExec_t hGraphExec;
2086 hipGraphNode_t* hErrorNode_out;
2087 hipGraphNode_t hErrorNode_out__val;
2088 hipGraphExecUpdateResult* updateResult_out;
2089 hipGraphExecUpdateResult updateResult_out__val;
2090 } hipGraphExecUpdate;
2092 hipGraphNode_t hNode;
2093 hipExternalSemaphoreSignalNodeParams* params_out;
2094 hipExternalSemaphoreSignalNodeParams params_out__val;
2095 } hipGraphExternalSemaphoresSignalNodeGetParams;
2097 hipGraphNode_t hNode;
2098 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2099 hipExternalSemaphoreSignalNodeParams nodeParams__val;
2100 } hipGraphExternalSemaphoresSignalNodeSetParams;
2102 hipGraphNode_t hNode;
2103 hipExternalSemaphoreWaitNodeParams* params_out;
2104 hipExternalSemaphoreWaitNodeParams params_out__val;
2105 } hipGraphExternalSemaphoresWaitNodeGetParams;
2107 hipGraphNode_t hNode;
2108 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2109 hipExternalSemaphoreWaitNodeParams nodeParams__val;
2110 } hipGraphExternalSemaphoresWaitNodeSetParams;
2113 hipGraphNode_t* from;
2114 hipGraphNode_t from__val;
2116 hipGraphNode_t to__val;
2118 size_t numEdges__val;
2122 hipGraphNode_t* nodes;
2123 hipGraphNode_t nodes__val;
2125 size_t numNodes__val;
2129 hipGraphNode_t* pRootNodes;
2130 hipGraphNode_t pRootNodes__val;
2131 size_t* pNumRootNodes;
2132 size_t pNumRootNodes__val;
2133 } hipGraphGetRootNodes;
2135 hipGraphNode_t node;
2136 hipHostNodeParams* pNodeParams;
2137 hipHostNodeParams pNodeParams__val;
2138 } hipGraphHostNodeGetParams;
2140 hipGraphNode_t node;
2141 const hipHostNodeParams* pNodeParams;
2142 hipHostNodeParams pNodeParams__val;
2143 } hipGraphHostNodeSetParams;
2145 hipGraphExec_t* pGraphExec;
2146 hipGraphExec_t pGraphExec__val;
2148 hipGraphNode_t* pErrorNode;
2149 hipGraphNode_t pErrorNode__val;
2151 char pLogBuffer__val;
2153 } hipGraphInstantiate;
2155 hipGraphExec_t* pGraphExec;
2156 hipGraphExec_t pGraphExec__val;
2158 unsigned long long flags;
2159 } hipGraphInstantiateWithFlags;
2161 hipGraphExec_t* pGraphExec;
2162 hipGraphExec_t pGraphExec__val;
2164 hipGraphInstantiateParams* instantiateParams;
2165 hipGraphInstantiateParams instantiateParams__val;
2166 } hipGraphInstantiateWithParams;
2168 hipGraphNode_t hSrc;
2169 hipGraphNode_t hDst;
2170 } hipGraphKernelNodeCopyAttributes;
2172 hipGraphNode_t hNode;
2173 hipLaunchAttributeID attr;
2174 hipLaunchAttributeValue* value;
2175 hipLaunchAttributeValue value__val;
2176 } hipGraphKernelNodeGetAttribute;
2178 hipGraphNode_t node;
2179 hipKernelNodeParams* pNodeParams;
2180 hipKernelNodeParams pNodeParams__val;
2181 } hipGraphKernelNodeGetParams;
2183 hipGraphNode_t hNode;
2184 hipLaunchAttributeID attr;
2185 const hipLaunchAttributeValue* value;
2186 hipLaunchAttributeValue value__val;
2187 } hipGraphKernelNodeSetAttribute;
2189 hipGraphNode_t node;
2190 const hipKernelNodeParams* pNodeParams;
2191 hipKernelNodeParams pNodeParams__val;
2192 } hipGraphKernelNodeSetParams;
2194 hipGraphExec_t graphExec;
2198 hipGraphNode_t node;
2199 hipMemAllocNodeParams* pNodeParams;
2200 hipMemAllocNodeParams pNodeParams__val;
2201 } hipGraphMemAllocNodeGetParams;
2203 hipGraphNode_t node;
2205 } hipGraphMemFreeNodeGetParams;
2207 hipGraphNode_t node;
2208 hipMemcpy3DParms* pNodeParams;
2209 hipMemcpy3DParms pNodeParams__val;
2210 } hipGraphMemcpyNodeGetParams;
2212 hipGraphNode_t node;
2213 const hipMemcpy3DParms* pNodeParams;
2214 hipMemcpy3DParms pNodeParams__val;
2215 } hipGraphMemcpyNodeSetParams;
2217 hipGraphNode_t node;
2222 } hipGraphMemcpyNodeSetParams1D;
2224 hipGraphNode_t node;
2230 } hipGraphMemcpyNodeSetParamsFromSymbol;
2232 hipGraphNode_t node;
2238 } hipGraphMemcpyNodeSetParamsToSymbol;
2240 hipGraphNode_t node;
2241 hipMemsetParams* pNodeParams;
2242 hipMemsetParams pNodeParams__val;
2243 } hipGraphMemsetNodeGetParams;
2245 hipGraphNode_t node;
2246 const hipMemsetParams* pNodeParams;
2247 hipMemsetParams pNodeParams__val;
2248 } hipGraphMemsetNodeSetParams;
2250 hipGraphNode_t* pNode;
2251 hipGraphNode_t pNode__val;
2252 hipGraphNode_t originalNode;
2253 hipGraph_t clonedGraph;
2254 } hipGraphNodeFindInClone;
2256 hipGraphNode_t node;
2257 hipGraphNode_t* pDependencies;
2258 hipGraphNode_t pDependencies__val;
2259 size_t* pNumDependencies;
2260 size_t pNumDependencies__val;
2261 } hipGraphNodeGetDependencies;
2263 hipGraphNode_t node;
2264 hipGraphNode_t* pDependentNodes;
2265 hipGraphNode_t pDependentNodes__val;
2266 size_t* pNumDependentNodes;
2267 size_t pNumDependentNodes__val;
2268 } hipGraphNodeGetDependentNodes;
2270 hipGraphExec_t hGraphExec;
2271 hipGraphNode_t hNode;
2272 unsigned int* isEnabled;
2273 unsigned int isEnabled__val;
2274 } hipGraphNodeGetEnabled;
2276 hipGraphNode_t node;
2277 hipGraphNodeType* pType;
2278 hipGraphNodeType pType__val;
2279 } hipGraphNodeGetType;
2281 hipGraphExec_t hGraphExec;
2282 hipGraphNode_t hNode;
2283 unsigned int isEnabled;
2284 } hipGraphNodeSetEnabled;
2287 hipUserObject_t object;
2289 } hipGraphReleaseUserObject;
2292 const hipGraphNode_t* from;
2293 hipGraphNode_t from__val;
2294 const hipGraphNode_t* to;
2295 hipGraphNode_t to__val;
2296 size_t numDependencies;
2297 } hipGraphRemoveDependencies;
2300 hipUserObject_t object;
2303 } hipGraphRetainUserObject;
2305 hipGraphExec_t graphExec;
2309 hipGraphicsResource** resource;
2310 hipGraphicsResource* resource__val;
2313 } hipGraphicsGLRegisterBuffer;
2315 hipGraphicsResource** resource;
2316 hipGraphicsResource* resource__val;
2320 } hipGraphicsGLRegisterImage;
2323 hipGraphicsResource_t* resources;
2324 hipGraphicsResource_t resources__val;
2326 } hipGraphicsMapResources;
2332 hipGraphicsResource_t resource;
2333 } hipGraphicsResourceGetMappedPointer;
2336 hipArray_t array__val;
2337 hipGraphicsResource_t resource;
2338 unsigned int arrayIndex;
2339 unsigned int mipLevel;
2340 } hipGraphicsSubResourceGetMappedArray;
2343 hipGraphicsResource_t* resources;
2344 hipGraphicsResource_t resources__val;
2346 } hipGraphicsUnmapResources;
2348 hipGraphicsResource_t resource;
2349 } hipGraphicsUnregisterResource;
2352 unsigned int globalWorkSizeX;
2353 unsigned int globalWorkSizeY;
2354 unsigned int globalWorkSizeZ;
2355 unsigned int blockDimX;
2356 unsigned int blockDimY;
2357 unsigned int blockDimZ;
2358 size_t sharedMemBytes;
2359 hipStream_t hStream;
2360 void** kernelParams;
2361 void* kernelParams__val;
2364 hipEvent_t startEvent;
2365 hipEvent_t stopEvent;
2366 } hipHccModuleLaunchKernel;
2381 } hipHostGetDevicePointer;
2383 unsigned int* flagsPtr;
2384 unsigned int flagsPtr__val;
2400 } hipHostUnregister;
2402 hipExternalMemory_t* extMem_out;
2403 hipExternalMemory_t extMem_out__val;
2404 const hipExternalMemoryHandleDesc* memHandleDesc;
2405 hipExternalMemoryHandleDesc memHandleDesc__val;
2406 } hipImportExternalMemory;
2408 hipExternalSemaphore_t* extSem_out;
2409 hipExternalSemaphore_t extSem_out__val;
2410 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2411 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2412 } hipImportExternalSemaphore;
2418 } hipIpcCloseMemHandle;
2420 hipIpcEventHandle_t* handle;
2421 hipIpcEventHandle_t handle__val;
2423 } hipIpcGetEventHandle;
2425 hipIpcMemHandle_t* handle;
2426 hipIpcMemHandle_t handle__val;
2428 } hipIpcGetMemHandle;
2431 hipEvent_t event__val;
2432 hipIpcEventHandle_t handle;
2433 } hipIpcOpenEventHandle;
2437 hipIpcMemHandle_t handle;
2439 } hipIpcOpenMemHandle;
2441 const void* hostFunction;
2447 void** kernelParams;
2448 void* kernelParams__val;
2449 unsigned int sharedMemBytes;
2451 } hipLaunchCooperativeKernel;
2453 hipLaunchParams* launchParamsList;
2454 hipLaunchParams launchParamsList__val;
2457 } hipLaunchCooperativeKernelMultiDevice;
2462 } hipLaunchHostFunc;
2464 const void* function_address;
2469 size_t sharedMemBytes;
2478 hipPitchedPtr* pitchedDevPtr;
2479 hipPitchedPtr pitchedDevPtr__val;
2484 hipArray_t array__val;
2485 const hipChannelFormatDesc* desc;
2486 hipChannelFormatDesc desc__val;
2492 hipArray_t array__val;
2493 const hipChannelFormatDesc* desc;
2494 hipChannelFormatDesc desc__val;
2509 hipMemPool_t mem_pool;
2511 } hipMallocFromPoolAsync;
2524 hipMipmappedArray_t* mipmappedArray;
2525 hipMipmappedArray_t mipmappedArray__val;
2526 const hipChannelFormatDesc* desc;
2527 hipChannelFormatDesc desc__val;
2529 unsigned int numLevels;
2531 } hipMallocMipmappedArray;
2543 } hipMemAddressFree;
2550 unsigned long long flags;
2551 } hipMemAddressReserve;
2553 const void* dev_ptr;
2555 hipMemoryAdvise advice;
2564 hipDeviceptr_t* dptr;
2565 hipDeviceptr_t dptr__val;
2568 size_t widthInBytes;
2570 unsigned int elementSizeBytes;
2573 hipMemGenericAllocationHandle_t* handle;
2574 hipMemGenericAllocationHandle_t handle__val;
2576 const hipMemAllocationProp* prop;
2577 hipMemAllocationProp prop__val;
2578 unsigned long long flags;
2581 void* shareableHandle;
2582 hipMemGenericAllocationHandle_t handle;
2583 hipMemAllocationHandleType handleType;
2584 unsigned long long flags;
2585 } hipMemExportToShareableHandle;
2587 unsigned long long* flags;
2588 unsigned long long flags__val;
2589 const hipMemLocation* location;
2590 hipMemLocation location__val;
2594 hipDeviceptr_t* pbase;
2595 hipDeviceptr_t pbase__val;
2598 hipDeviceptr_t dptr;
2599 } hipMemGetAddressRange;
2601 size_t* granularity;
2602 size_t granularity__val;
2603 const hipMemAllocationProp* prop;
2604 hipMemAllocationProp prop__val;
2605 hipMemAllocationGranularity_flags option;
2606 } hipMemGetAllocationGranularity;
2608 hipMemAllocationProp* prop;
2609 hipMemAllocationProp prop__val;
2610 hipMemGenericAllocationHandle_t handle;
2611 } hipMemGetAllocationPropertiesFromHandle;
2619 hipMemGenericAllocationHandle_t* handle;
2620 hipMemGenericAllocationHandle_t handle__val;
2622 hipMemAllocationHandleType shHandleType;
2623 } hipMemImportFromShareableHandle;
2628 hipMemGenericAllocationHandle_t handle;
2629 unsigned long long flags;
2632 hipArrayMapInfo* mapInfoList;
2633 hipArrayMapInfo mapInfoList__val;
2636 } hipMemMapArrayAsync;
2638 hipMemPool_t* mem_pool;
2639 hipMemPool_t mem_pool__val;
2640 const hipMemPoolProps* pool_props;
2641 hipMemPoolProps pool_props__val;
2644 hipMemPool_t mem_pool;
2645 } hipMemPoolDestroy;
2647 hipMemPoolPtrExportData* export_data;
2648 hipMemPoolPtrExportData export_data__val;
2650 } hipMemPoolExportPointer;
2652 void* shared_handle;
2653 hipMemPool_t mem_pool;
2654 hipMemAllocationHandleType handle_type;
2656 } hipMemPoolExportToShareableHandle;
2658 hipMemAccessFlags* flags;
2659 hipMemAccessFlags flags__val;
2660 hipMemPool_t mem_pool;
2661 hipMemLocation* location;
2662 hipMemLocation location__val;
2663 } hipMemPoolGetAccess;
2665 hipMemPool_t mem_pool;
2666 hipMemPoolAttr attr;
2668 } hipMemPoolGetAttribute;
2670 hipMemPool_t* mem_pool;
2671 hipMemPool_t mem_pool__val;
2672 void* shared_handle;
2673 hipMemAllocationHandleType handle_type;
2675 } hipMemPoolImportFromShareableHandle;
2679 hipMemPool_t mem_pool;
2680 hipMemPoolPtrExportData* export_data;
2681 hipMemPoolPtrExportData export_data__val;
2682 } hipMemPoolImportPointer;
2684 hipMemPool_t mem_pool;
2685 const hipMemAccessDesc* desc_list;
2686 hipMemAccessDesc desc_list__val;
2688 } hipMemPoolSetAccess;
2690 hipMemPool_t mem_pool;
2691 hipMemPoolAttr attr;
2693 } hipMemPoolSetAttribute;
2695 hipMemPool_t mem_pool;
2696 size_t min_bytes_to_hold;
2699 const void* dev_ptr;
2703 } hipMemPrefetchAsync;
2712 hipMemRangeAttribute attribute;
2713 const void* dev_ptr;
2715 } hipMemRangeGetAttribute;
2720 size_t data_sizes__val;
2721 hipMemRangeAttribute* attributes;
2722 hipMemRangeAttribute attributes__val;
2723 size_t num_attributes;
2724 const void* dev_ptr;
2726 } hipMemRangeGetAttributes;
2728 hipMemGenericAllocationHandle_t handle;
2731 hipMemGenericAllocationHandle_t* handle;
2732 hipMemGenericAllocationHandle_t handle__val;
2734 } hipMemRetainAllocationHandle;
2738 const hipMemAccessDesc* desc;
2739 hipMemAccessDesc desc__val;
2765 hipArray_const_t src;
2771 } hipMemcpy2DArrayToArray;
2785 hipArray_const_t src;
2791 } hipMemcpy2DFromArray;
2795 hipArray_const_t src;
2802 } hipMemcpy2DFromArrayAsync;
2812 } hipMemcpy2DToArray;
2823 } hipMemcpy2DToArrayAsync;
2825 const hipMemcpy3DParms* p;
2826 hipMemcpy3DParms p__val;
2829 const hipMemcpy3DParms* p;
2830 hipMemcpy3DParms p__val;
2841 hipArray_t dstArray;
2843 hipArray_t srcArray;
2848 hipDeviceptr_t dstDevice;
2849 hipArray_t srcArray;
2855 hipArray_t srcArray;
2861 hipArray_t srcArray;
2865 } hipMemcpyAtoHAsync;
2867 hipArray_t dstArray;
2869 hipDeviceptr_t srcDevice;
2882 } hipMemcpyDtoDAsync;
2893 } hipMemcpyDtoHAsync;
2896 hipArray_const_t srcArray;
2901 } hipMemcpyFromArray;
2908 } hipMemcpyFromSymbol;
2916 } hipMemcpyFromSymbolAsync;
2918 hipArray_t dstArray;
2920 const void* srcHost;
2924 hipArray_t dstArray;
2926 const void* srcHost;
2929 } hipMemcpyHtoAAsync;
2940 } hipMemcpyHtoDAsync;
2942 const hip_Memcpy2D* pCopy;
2943 hip_Memcpy2D pCopy__val;
2946 const hip_Memcpy2D* pCopy;
2947 hip_Memcpy2D pCopy__val;
2949 } hipMemcpyParam2DAsync;
2964 } hipMemcpyPeerAsync;
2979 } hipMemcpyToSymbol;
2987 } hipMemcpyToSymbolAsync;
2994 } hipMemcpyWithStream;
3016 hipPitchedPtr pitchedDevPtr;
3021 hipPitchedPtr pitchedDevPtr;
3033 hipDeviceptr_t dest;
3034 unsigned short value;
3038 hipDeviceptr_t dest;
3039 unsigned short value;
3042 } hipMemsetD16Async;
3044 hipDeviceptr_t dest;
3053 } hipMemsetD32Async;
3055 hipDeviceptr_t dest;
3056 unsigned char value;
3060 hipDeviceptr_t dest;
3061 unsigned char value;
3066 hipMipmappedArray_t* pHandle;
3067 hipMipmappedArray_t pHandle__val;
3068 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
3069 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
3070 unsigned int numMipmapLevels;
3071 } hipMipmappedArrayCreate;
3073 hipMipmappedArray_t hMipmappedArray;
3074 } hipMipmappedArrayDestroy;
3076 hipArray_t* pLevelArray;
3077 hipArray_t pLevelArray__val;
3078 hipMipmappedArray_t hMipMappedArray;
3080 } hipMipmappedArrayGetLevel;
3082 hipFunction_t* function;
3083 hipFunction_t function__val;
3087 } hipModuleGetFunction;
3089 hipDeviceptr_t* dptr;
3090 hipDeviceptr_t dptr__val;
3096 } hipModuleGetGlobal;
3098 textureReference** texRef;
3099 textureReference* texRef__val;
3103 } hipModuleGetTexRef;
3106 unsigned int gridDimX;
3107 unsigned int gridDimY;
3108 unsigned int gridDimZ;
3109 unsigned int blockDimX;
3110 unsigned int blockDimY;
3111 unsigned int blockDimZ;
3112 unsigned int sharedMemBytes;
3114 void** kernelParams;
3115 void* kernelParams__val;
3116 } hipModuleLaunchCooperativeKernel;
3118 hipFunctionLaunchParams* launchParamsList;
3119 hipFunctionLaunchParams launchParamsList__val;
3120 unsigned int numDevices;
3122 } hipModuleLaunchCooperativeKernelMultiDevice;
3125 unsigned int gridDimX;
3126 unsigned int gridDimY;
3127 unsigned int gridDimZ;
3128 unsigned int blockDimX;
3129 unsigned int blockDimY;
3130 unsigned int blockDimZ;
3131 unsigned int sharedMemBytes;
3133 void** kernelParams;
3134 void* kernelParams__val;
3137 } hipModuleLaunchKernel;
3139 hipModule_t* module;
3140 hipModule_t module__val;
3145 hipModule_t* module;
3146 hipModule_t module__val;
3148 } hipModuleLoadData;
3150 hipModule_t* module;
3151 hipModule_t module__val;
3153 unsigned int numOptions;
3154 hipJitOption* options;
3155 hipJitOption options__val;
3156 void** optionsValues;
3157 void* optionsValues__val;
3158 } hipModuleLoadDataEx;
3164 size_t dynSharedMemPerBlk;
3165 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
3171 size_t dynSharedMemPerBlk;
3173 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3180 size_t dynSharedMemPerBlk;
3182 } hipModuleOccupancyMaxPotentialBlockSize;
3189 size_t dynSharedMemPerBlk;
3192 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
3201 size_t dynamicSMemSize;
3202 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
3208 size_t dynamicSMemSize;
3210 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
3217 size_t dynSharedMemPerBlk;
3219 } hipOccupancyMaxPotentialBlockSize;
3222 hipPointer_attribute attribute;
3224 } hipPointerGetAttribute;
3226 hipPointerAttribute_t* attributes;
3227 hipPointerAttribute_t attributes__val;
3229 } hipPointerGetAttributes;
3232 hipPointer_attribute attribute;
3234 } hipPointerSetAttribute;
3236 int* runtimeVersion;
3237 int runtimeVersion__val;
3238 } hipRuntimeGetVersion;
3244 } hipSetDeviceFlags;
3247 int device_arr__val;
3249 } hipSetValidDevices;
3256 const hipExternalSemaphore_t* extSemArray;
3257 hipExternalSemaphore_t extSemArray__val;
3258 const hipExternalSemaphoreSignalParams* paramsArray;
3259 hipExternalSemaphoreSignalParams paramsArray__val;
3260 unsigned int numExtSems;
3262 } hipSignalExternalSemaphoresAsync;
3265 hipStreamCallback_t callback;
3268 } hipStreamAddCallback;
3274 } hipStreamAttachMemAsync;
3277 hipStreamCaptureMode mode;
3278 } hipStreamBeginCapture;
3282 const hipGraphNode_t* dependencies;
3283 hipGraphNode_t dependencies__val;
3284 const hipGraphEdgeData* dependencyData;
3285 hipGraphEdgeData dependencyData__val;
3286 size_t numDependencies;
3287 hipStreamCaptureMode mode;
3288 } hipStreamBeginCaptureToGraph;
3290 hipStream_t* stream;
3291 hipStream_t stream__val;
3294 hipStream_t* stream;
3295 hipStream_t stream__val;
3297 } hipStreamCreateWithFlags;
3299 hipStream_t* stream;
3300 hipStream_t stream__val;
3303 } hipStreamCreateWithPriority;
3310 hipGraph_t pGraph__val;
3311 } hipStreamEndCapture;
3314 hipStreamCaptureStatus* pCaptureStatus;
3315 hipStreamCaptureStatus pCaptureStatus__val;
3316 unsigned long long* pId;
3317 unsigned long long pId__val;
3318 } hipStreamGetCaptureInfo;
3321 hipStreamCaptureStatus* captureStatus_out;
3322 hipStreamCaptureStatus captureStatus_out__val;
3323 unsigned long long* id_out;
3324 unsigned long long id_out__val;
3325 hipGraph_t* graph_out;
3326 hipGraph_t graph_out__val;
3327 const hipGraphNode_t** dependencies_out;
3328 const hipGraphNode_t* dependencies_out__val;
3329 size_t* numDependencies_out;
3330 size_t numDependencies_out__val;
3331 } hipStreamGetCaptureInfo_v2;
3334 hipDevice_t* device;
3335 hipDevice_t device__val;
3336 } hipStreamGetDevice;
3339 unsigned int* flags;
3340 unsigned int flags__val;
3341 } hipStreamGetFlags;
3346 } hipStreamGetPriority;
3349 hipStreamCaptureStatus* pCaptureStatus;
3350 hipStreamCaptureStatus pCaptureStatus__val;
3351 } hipStreamIsCapturing;
3357 } hipStreamSynchronize;
3360 hipGraphNode_t* dependencies;
3361 hipGraphNode_t dependencies__val;
3362 size_t numDependencies;
3364 } hipStreamUpdateCaptureDependencies;
3369 } hipStreamWaitEvent;
3376 } hipStreamWaitValue32;
3383 } hipStreamWaitValue64;
3389 } hipStreamWriteValue32;
3395 } hipStreamWriteValue64;
3397 hipDeviceptr_t* dev_ptr;
3398 hipDeviceptr_t dev_ptr__val;
3399 const textureReference* texRef;
3400 textureReference texRef__val;
3401 } hipTexRefGetAddress;
3404 hipArray_t pArray__val;
3405 const textureReference* texRef;
3406 textureReference texRef__val;
3407 } hipTexRefGetArray;
3409 float* pBorderColor;
3410 float pBorderColor__val;
3411 const textureReference* texRef;
3412 textureReference texRef__val;
3413 } hipTexRefGetBorderColor;
3415 unsigned int* pFlags;
3416 unsigned int pFlags__val;
3417 const textureReference* texRef;
3418 textureReference texRef__val;
3419 } hipTexRefGetFlags;
3421 hipArray_Format* pFormat;
3422 hipArray_Format pFormat__val;
3424 int pNumChannels__val;
3425 const textureReference* texRef;
3426 textureReference texRef__val;
3427 } hipTexRefGetFormat;
3431 const textureReference* texRef;
3432 textureReference texRef__val;
3433 } hipTexRefGetMaxAnisotropy;
3435 hipMipmappedArray_t* pArray;
3436 hipMipmappedArray_t pArray__val;
3437 const textureReference* texRef;
3438 textureReference texRef__val;
3439 } hipTexRefGetMipMappedArray;
3443 const textureReference* texRef;
3444 textureReference texRef__val;
3445 } hipTexRefGetMipmapLevelBias;
3447 float* pminMipmapLevelClamp;
3448 float pminMipmapLevelClamp__val;
3449 float* pmaxMipmapLevelClamp;
3450 float pmaxMipmapLevelClamp__val;
3451 const textureReference* texRef;
3452 textureReference texRef__val;
3453 } hipTexRefGetMipmapLevelClamp;
3456 size_t ByteOffset__val;
3457 textureReference* texRef;
3458 textureReference texRef__val;
3459 hipDeviceptr_t dptr;
3461 } hipTexRefSetAddress;
3463 textureReference* texRef;
3464 textureReference texRef__val;
3465 const HIP_ARRAY_DESCRIPTOR* desc;
3466 HIP_ARRAY_DESCRIPTOR desc__val;
3467 hipDeviceptr_t dptr;
3469 } hipTexRefSetAddress2D;
3471 textureReference* tex;
3472 textureReference tex__val;
3473 hipArray_const_t array;
3475 } hipTexRefSetArray;
3477 textureReference* texRef;
3478 textureReference texRef__val;
3479 float* pBorderColor;
3480 float pBorderColor__val;
3481 } hipTexRefSetBorderColor;
3483 textureReference* texRef;
3484 textureReference texRef__val;
3486 } hipTexRefSetFlags;
3488 textureReference* texRef;
3489 textureReference texRef__val;
3490 hipArray_Format fmt;
3491 int NumPackedComponents;
3492 } hipTexRefSetFormat;
3494 textureReference* texRef;
3495 textureReference texRef__val;
3496 unsigned int maxAniso;
3497 } hipTexRefSetMaxAnisotropy;
3499 textureReference* texRef;
3500 textureReference texRef__val;
3502 } hipTexRefSetMipmapLevelBias;
3504 textureReference* texRef;
3505 textureReference texRef__val;
3506 float minMipMapLevelClamp;
3507 float maxMipMapLevelClamp;
3508 } hipTexRefSetMipmapLevelClamp;
3510 textureReference* texRef;
3511 textureReference texRef__val;
3512 hipMipmappedArray* mipmappedArray;
3513 hipMipmappedArray mipmappedArray__val;
3515 } hipTexRefSetMipmappedArray;
3517 hipStreamCaptureMode* mode;
3518 hipStreamCaptureMode mode__val;
3519 } hipThreadExchangeStreamCaptureMode;
3521 hipUserObject_t* object_out;
3522 hipUserObject_t object_out__val;
3524 hipHostFn_t destroy;
3525 unsigned int initialRefcount;
3527 } hipUserObjectCreate;
3529 hipUserObject_t object;
3531 } hipUserObjectRelease;
3533 hipUserObject_t object;
3535 } hipUserObjectRetain;
3537 const hipExternalSemaphore_t* extSemArray;
3538 hipExternalSemaphore_t extSemArray__val;
3539 const hipExternalSemaphoreWaitParams* paramsArray;
3540 hipExternalSemaphoreWaitParams paramsArray__val;
3541 unsigned int numExtSems;
3543 } hipWaitExternalSemaphoresAsync;
3545 uint64_t *phase_data;
3550#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3551 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3552 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3553 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3554 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3557#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3558 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3559 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3560 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3561 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3564#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3565 cb_data.args.hipArray3DCreate.array = (hipArray_t*)array; \
3566 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3569#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3570 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3571 cb_data.args.hipArray3DGetDescriptor.array = (hipArray_t)array; \
3574#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3575 cb_data.args.hipArrayCreate.pHandle = (hipArray_t*)array; \
3576 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3579#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3580 cb_data.args.hipArrayDestroy.array = (hipArray_t)array; \
3583#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3584 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3585 cb_data.args.hipArrayGetDescriptor.array = (hipArray_t)array; \
3588#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3589 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3590 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3591 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3592 cb_data.args.hipArrayGetInfo.array = (hipArray_t)array; \
3595#define INIT_hipChooseDeviceR0000_CB_ARGS_DATA(cb_data) { \
3596 cb_data.args.hipChooseDeviceR0000.device = (int*)device; \
3597 cb_data.args.hipChooseDeviceR0000.prop = (const hipDeviceProp_tR0000*)properties; \
3600#define INIT_hipChooseDeviceR0600_CB_ARGS_DATA(cb_data) { \
3601 cb_data.args.hipChooseDeviceR0600.device = (int*)device; \
3602 cb_data.args.hipChooseDeviceR0600.prop = (const hipDeviceProp_tR0600*)properties; \
3605#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3606 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3607 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3608 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3609 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3612#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3613 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3614 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3617#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3618 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3619 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3620 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3623#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3624 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3627#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3628 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3631#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3632 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3633 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3636#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3638 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3641#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3642 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3645#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3646 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3649#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3650 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3653#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3654 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3657#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3658 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3661#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3662 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3665#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3666 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3669#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3670 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3673#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3674 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3677#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3678 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3681#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3684#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3685 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3688#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3689 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3692#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3693 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3696#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3697 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3698 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3699 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3702#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3703 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3704 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3705 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3708#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3712#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3713 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3714 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3717#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3718 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3719 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3722#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3723 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3724 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3725 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3728#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3729 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3730 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3733#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3734 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3737#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3738 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3739 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3742#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3743 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3744 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3745 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3748#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3749 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3750 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3753#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3754 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3755 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3758#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3759 cb_data.args.hipDeviceGetName.name = (char*)name; \
3760 cb_data.args.hipDeviceGetName.len = (int)len; \
3761 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3764#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3765 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3766 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3767 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3768 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3771#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3772 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3773 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3774 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3777#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3778 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3781#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3782 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3783 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3786#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3787 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3788 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3791#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3792 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3795#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3796 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3797 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3798 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3801#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3802 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3805#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3806 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3809#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3810 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3811 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3814#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3815 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3816 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3819#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3822#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3823 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3826#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3827 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3828 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3829 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3832#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3833 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3834 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3837#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3838 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3839 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3842#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3843 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3846#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3849#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3850 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3851 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3854#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3855 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3858#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3859 cb_data.args.hipDrvGraphAddMemcpyNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3860 cb_data.args.hipDrvGraphAddMemcpyNode.hGraph = (hipGraph_t)hGraph; \
3861 cb_data.args.hipDrvGraphAddMemcpyNode.dependencies = (const hipGraphNode_t*)dependencies; \
3862 cb_data.args.hipDrvGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
3863 cb_data.args.hipDrvGraphAddMemcpyNode.copyParams = (const HIP_MEMCPY3D*)copyParams; \
3864 cb_data.args.hipDrvGraphAddMemcpyNode.ctx = (hipCtx_t)ctx; \
3867#define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3868 cb_data.args.hipDrvGraphAddMemsetNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
3869 cb_data.args.hipDrvGraphAddMemsetNode.hGraph = (hipGraph_t)hGraph; \
3870 cb_data.args.hipDrvGraphAddMemsetNode.dependencies = (const hipGraphNode_t*)dependencies; \
3871 cb_data.args.hipDrvGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
3872 cb_data.args.hipDrvGraphAddMemsetNode.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
3873 cb_data.args.hipDrvGraphAddMemsetNode.ctx = (hipCtx_t)ctx; \
3876#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3877 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3880#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3881 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3884#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3885 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3886 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3889#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3890 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3891 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3892 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3893 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3896#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3897 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3900#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3901 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3902 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3905#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3906 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3909#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3910 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3911 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3912 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3915#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3916 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3919#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3920 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3921 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3924#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3925 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3928#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
3931#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3932 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3933 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3934 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3935 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3938#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3939 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3940 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3941 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3942 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3943 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3944 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3945 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3946 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3947 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3950#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3951 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3952 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3953 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3956#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3957 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3958 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3959 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3962#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3963 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3964 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3965 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3966 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3967 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3968 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3969 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3970 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3971 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3972 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3973 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3974 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3975 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3976 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3979#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3980 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3981 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3982 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3985#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3986 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3987 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3988 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3991#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3992 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3993 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3994 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3997#define INIT_hipExternalMemoryGetMappedMipmappedArray_CB_ARGS_DATA(cb_data) { \
3998 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmap = (hipMipmappedArray_t*)mipmap; \
3999 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.extMem = (hipExternalMemory_t)extMem; \
4000 cb_data.args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc = (const hipExternalMemoryMipmappedArrayDesc*)mipmapDesc; \
4003#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
4004 cb_data.args.hipFree.ptr = (void*)ptr; \
4007#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
4008 cb_data.args.hipFreeArray.array = (hipArray_t)array; \
4011#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
4012 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
4013 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
4016#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
4017 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
4020#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
4021 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
4024#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
4025 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
4026 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
4027 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
4030#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
4031 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
4032 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
4035#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
4036 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
4037 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
4038 cb_data.args.hipFuncSetAttribute.value = (int)value; \
4041#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
4042 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
4043 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
4046#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
4047 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
4048 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
4051#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
4052 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
4053 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
4054 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
4055 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
4058#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
4059 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
4060 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
4063#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
4064 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
4067#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
4068 cb_data.args.hipGetDeviceCount.count = (int*)count; \
4071#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
4072 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
4075#define INIT_hipGetDevicePropertiesR0000_CB_ARGS_DATA(cb_data) { \
4076 cb_data.args.hipGetDevicePropertiesR0000.prop = (hipDeviceProp_tR0000*)prop; \
4077 cb_data.args.hipGetDevicePropertiesR0000.device = (int)device; \
4080#define INIT_hipGetDevicePropertiesR0600_CB_ARGS_DATA(cb_data) { \
4081 cb_data.args.hipGetDevicePropertiesR0600.prop = (hipDeviceProp_tR0600*)prop; \
4082 cb_data.args.hipGetDevicePropertiesR0600.deviceId = (int)device; \
4085#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
4088#define INIT_hipGetFuncBySymbol_CB_ARGS_DATA(cb_data) { \
4089 cb_data.args.hipGetFuncBySymbol.functionPtr = (hipFunction_t*)functionPtr; \
4090 cb_data.args.hipGetFuncBySymbol.symbolPtr = (const void*)symbolPtr; \
4093#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
4096#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
4097 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
4098 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
4099 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
4102#define INIT_hipGetProcAddress_CB_ARGS_DATA(cb_data) { \
4103 cb_data.args.hipGetProcAddress.symbol = (symbol) ? strdup(symbol) : NULL; \
4104 cb_data.args.hipGetProcAddress.pfn = (void**)pfn; \
4105 cb_data.args.hipGetProcAddress.hipVersion = (int)hipVersion; \
4106 cb_data.args.hipGetProcAddress.flags = (uint64_t)flags; \
4107 cb_data.args.hipGetProcAddress.symbolStatus = (hipDriverProcAddressQueryResult*)symbolStatus; \
4110#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
4111 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
4112 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
4115#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
4116 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
4117 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
4120#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
4121 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4122 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
4123 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4124 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
4125 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
4128#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
4129 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
4130 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
4131 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
4132 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
4135#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
4136 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4137 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
4138 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4139 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
4142#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
4143 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4144 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
4145 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4146 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
4147 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
4150#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
4151 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4152 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
4153 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4154 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
4155 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
4158#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
4159 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4160 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.graph = (hipGraph_t)graph; \
4161 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4162 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.numDependencies = (size_t)numDependencies; \
4163 cb_data.args.hipGraphAddExternalSemaphoresSignalNode.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4166#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
4167 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4168 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.graph = (hipGraph_t)graph; \
4169 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4170 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.numDependencies = (size_t)numDependencies; \
4171 cb_data.args.hipGraphAddExternalSemaphoresWaitNode.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4174#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
4175 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4176 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
4177 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4178 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
4179 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4182#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
4183 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4184 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
4185 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4186 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
4187 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4190#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
4191 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4192 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
4193 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4194 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
4195 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4198#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
4199 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4200 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
4201 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4202 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
4203 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
4206#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
4207 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4208 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
4209 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4210 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
4211 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
4214#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
4215 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4216 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
4217 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
4218 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
4219 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
4220 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
4221 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
4222 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
4225#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
4226 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4227 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
4228 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4229 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
4230 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
4231 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
4232 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
4233 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
4234 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
4237#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
4238 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4239 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
4240 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
4241 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
4242 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
4243 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
4244 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
4245 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
4246 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
4249#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
4250 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4251 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
4252 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4253 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
4254 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
4257#define INIT_hipGraphAddNode_CB_ARGS_DATA(cb_data) { \
4258 cb_data.args.hipGraphAddNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
4259 cb_data.args.hipGraphAddNode.graph = (hipGraph_t)graph; \
4260 cb_data.args.hipGraphAddNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
4261 cb_data.args.hipGraphAddNode.numDependencies = (size_t)numDependencies; \
4262 cb_data.args.hipGraphAddNode.nodeParams = (hipGraphNodeParams*)nodeParams; \
4265#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
4266 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
4267 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
4270#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
4271 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
4272 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
4275#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
4276 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
4277 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
4280#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
4281 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
4282 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
4283 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
4286#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
4287 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
4290#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
4291 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
4294#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4295 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
4296 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4299#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4300 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
4301 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4304#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
4305 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
4306 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
4309#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4310 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
4311 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4314#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
4315 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4316 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
4317 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
4320#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
4321 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
4324#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4325 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4326 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4327 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
4330#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
4331 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
4332 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
4333 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
4336#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4337 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4338 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4339 cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4342#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4343 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4344 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4345 cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4348#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4349 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4350 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
4351 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4354#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4355 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4356 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
4357 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4360#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4361 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4362 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4363 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4366#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4367 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4368 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4369 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4370 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4371 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4372 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4375#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4376 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4377 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4378 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4379 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4380 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4381 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4382 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4385#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4386 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4387 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4388 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4389 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4390 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4391 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4392 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4395#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4396 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4397 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4398 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4401#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4402 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4403 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4404 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4405 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4408#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
4409 cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4410 cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out = (hipExternalSemaphoreSignalNodeParams*)params_out; \
4413#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
4414 cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4415 cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
4418#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
4419 cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode = (hipGraphNode_t)hNode; \
4420 cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out = (hipExternalSemaphoreWaitNodeParams*)params_out; \
4423#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
4424 cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
4425 cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
4428#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4429 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4430 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4431 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4432 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4435#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4436 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4437 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4438 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4441#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4442 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4443 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4444 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4447#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4448 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4449 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4452#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4453 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4454 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4457#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4458 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4459 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4460 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4461 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4462 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4465#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4466 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4467 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4468 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4471#define INIT_hipGraphInstantiateWithParams_CB_ARGS_DATA(cb_data) { \
4472 cb_data.args.hipGraphInstantiateWithParams.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4473 cb_data.args.hipGraphInstantiateWithParams.graph = (hipGraph_t)graph; \
4474 cb_data.args.hipGraphInstantiateWithParams.instantiateParams = (hipGraphInstantiateParams*)instantiateParams; \
4477#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4478 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4479 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4482#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4485#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4486 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4487 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4490#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4493#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4494 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4495 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4498#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4499 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4500 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4503#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4504 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4505 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4508#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4509 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4510 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4513#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4514 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4515 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4518#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4519 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4520 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4523#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4524 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4525 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4526 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4527 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4528 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4531#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4532 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4533 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4534 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4535 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4536 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4537 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4540#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4541 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4542 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4543 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4544 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4545 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4546 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4549#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4550 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4551 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4554#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4555 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4556 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4559#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4560 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4561 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4562 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4565#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4566 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4567 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4568 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4571#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4572 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4573 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4574 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4577#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4578 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4579 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4580 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4583#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4584 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4585 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4588#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4589 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4590 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4591 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4594#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4595 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4596 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4597 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4600#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4601 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4602 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4603 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4604 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4607#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4608 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4609 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4610 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4611 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4614#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4615 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4616 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4619#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4620 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4621 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4622 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4625#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4626 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4627 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4628 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4629 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4632#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4633 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4634 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4635 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4638#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4639 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4640 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4641 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4644#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4645 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4646 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4647 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4648 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4651#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4652 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4653 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4654 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4657#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4658 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4661#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4662 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4663 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4664 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4665 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4666 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4667 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4668 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4669 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4670 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4671 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4672 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4673 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4674 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4677#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4678 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4679 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4680 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4683#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4684 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4687#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4688 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4689 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4690 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4693#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4694 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4695 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4698#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4699 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4700 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4701 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4704#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4705 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4706 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4707 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4710#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4711 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4714#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4715 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4716 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4719#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4720 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4721 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4724#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4725 cb_data.args.hipInit.flags = (unsigned int)flags; \
4728#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4729 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4732#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4733 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4734 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4737#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4738 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4739 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4742#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4743 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4744 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4747#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4748 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4749 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4750 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4753#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4754 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4757#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4758 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4759 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4760 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4761 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4762 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4763 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4766#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4767 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4768 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4769 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4772#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4773 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4774 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4775 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4778#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4779 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4780 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4781 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4782 cb_data.args.hipLaunchKernel.args = (void**)args; \
4783 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4784 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4787#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4788 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4789 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4792#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4793 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4794 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4797#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4798 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4799 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4800 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4801 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4804#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4805 cb_data.args.hipMallocArray.array = (hipArray_t*)array; \
4806 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4807 cb_data.args.hipMallocArray.width = (size_t)width; \
4808 cb_data.args.hipMallocArray.height = (size_t)height; \
4809 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4812#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4813 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4814 cb_data.args.hipMallocAsync.size = (size_t)size; \
4815 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4818#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4819 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4820 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4821 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4822 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4825#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4826 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4827 cb_data.args.hipMallocHost.size = (size_t)size; \
4830#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4831 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4832 cb_data.args.hipMallocManaged.size = (size_t)size; \
4833 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4836#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4837 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4838 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4839 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4840 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4841 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4844#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4845 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4846 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4847 cb_data.args.hipMallocPitch.width = (size_t)width; \
4848 cb_data.args.hipMallocPitch.height = (size_t)height; \
4851#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4852 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4853 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4856#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4857 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4858 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4859 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4860 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4861 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4864#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4865 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4866 cb_data.args.hipMemAdvise.count = (size_t)count; \
4867 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4868 cb_data.args.hipMemAdvise.device = (int)device; \
4871#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4872 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4873 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4876#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4877 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4878 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4879 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4880 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4881 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4884#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4885 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4886 cb_data.args.hipMemCreate.size = (size_t)size; \
4887 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4888 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4891#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4892 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4893 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4894 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4895 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4898#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4899 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4900 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4901 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4904#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4905 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4906 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4907 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4910#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4911 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4912 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4913 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4916#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4917 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4918 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4921#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4922 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4923 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4926#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4927 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4928 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4929 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4932#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4933 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4934 cb_data.args.hipMemMap.size = (size_t)size; \
4935 cb_data.args.hipMemMap.offset = (size_t)offset; \
4936 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4937 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4940#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4941 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4942 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4943 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4946#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4947 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4948 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4951#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4952 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4955#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4956 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4957 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4960#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4961 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4962 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4963 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4964 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4967#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4968 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4969 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4970 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4973#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4974 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4975 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4976 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4979#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4980 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4981 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4982 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4983 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4986#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4987 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4988 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4989 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4992#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4993 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4994 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4995 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4998#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4999 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
5000 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
5001 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
5004#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
5005 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
5006 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
5009#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
5010 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
5011 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
5012 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
5013 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
5016#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
5017 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
5018 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
5021#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
5022 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
5023 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
5024 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
5025 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
5026 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
5029#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
5030 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
5031 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
5032 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
5033 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
5034 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
5035 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
5038#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
5039 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
5042#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
5043 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
5044 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
5047#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
5048 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
5049 cb_data.args.hipMemSetAccess.size = (size_t)size; \
5050 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
5051 cb_data.args.hipMemSetAccess.count = (size_t)count; \
5054#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
5055 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
5056 cb_data.args.hipMemUnmap.size = (size_t)size; \
5059#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
5060 cb_data.args.hipMemcpy.dst = (void*)dst; \
5061 cb_data.args.hipMemcpy.src = (const void*)src; \
5062 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
5063 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
5066#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
5067 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
5068 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
5069 cb_data.args.hipMemcpy2D.src = (const void*)src; \
5070 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
5071 cb_data.args.hipMemcpy2D.width = (size_t)width; \
5072 cb_data.args.hipMemcpy2D.height = (size_t)height; \
5073 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
5076#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) { \
5077 cb_data.args.hipMemcpy2DArrayToArray.dst = (hipArray_t)dst; \
5078 cb_data.args.hipMemcpy2DArrayToArray.wOffsetDst = (size_t)wOffsetDst; \
5079 cb_data.args.hipMemcpy2DArrayToArray.hOffsetDst = (size_t)hOffsetDst; \
5080 cb_data.args.hipMemcpy2DArrayToArray.src = (hipArray_const_t)src; \
5081 cb_data.args.hipMemcpy2DArrayToArray.wOffsetSrc = (size_t)wOffsetSrc; \
5082 cb_data.args.hipMemcpy2DArrayToArray.hOffsetSrc = (size_t)hOffsetSrc; \
5083 cb_data.args.hipMemcpy2DArrayToArray.width = (size_t)width; \
5084 cb_data.args.hipMemcpy2DArrayToArray.height = (size_t)height; \
5085 cb_data.args.hipMemcpy2DArrayToArray.kind = (hipMemcpyKind)kind; \
5088#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
5089 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
5090 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
5091 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
5092 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
5093 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
5094 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
5095 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
5096 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
5099#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
5100 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
5101 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
5102 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
5103 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
5104 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
5105 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
5106 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
5107 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
5110#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
5111 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
5112 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
5113 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
5114 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
5115 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
5116 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
5117 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
5118 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
5119 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
5122#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
5123 cb_data.args.hipMemcpy2DToArray.dst = (hipArray_t)dst; \
5124 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
5125 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
5126 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
5127 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
5128 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
5129 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
5130 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
5133#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
5134 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray_t)dst; \
5135 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
5136 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
5137 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
5138 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
5139 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
5140 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
5141 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
5142 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
5145#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
5146 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
5149#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
5150 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
5151 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
5154#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
5155 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
5156 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
5157 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
5158 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
5159 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
5162#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) { \
5163 cb_data.args.hipMemcpyAtoA.dstArray = (hipArray_t)dstArray; \
5164 cb_data.args.hipMemcpyAtoA.dstOffset = (size_t)dstOffset; \
5165 cb_data.args.hipMemcpyAtoA.srcArray = (hipArray_t)srcArray; \
5166 cb_data.args.hipMemcpyAtoA.srcOffset = (size_t)srcOffset; \
5167 cb_data.args.hipMemcpyAtoA.ByteCount = (size_t)ByteCount; \
5170#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) { \
5171 cb_data.args.hipMemcpyAtoD.dstDevice = (hipDeviceptr_t)dstDevice; \
5172 cb_data.args.hipMemcpyAtoD.srcArray = (hipArray_t)srcArray; \
5173 cb_data.args.hipMemcpyAtoD.srcOffset = (size_t)srcOffset; \
5174 cb_data.args.hipMemcpyAtoD.ByteCount = (size_t)ByteCount; \
5177#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
5178 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
5179 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray_t)srcArray; \
5180 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
5181 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
5184#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) { \
5185 cb_data.args.hipMemcpyAtoHAsync.dstHost = (void*)dstHost; \
5186 cb_data.args.hipMemcpyAtoHAsync.srcArray = (hipArray_t)srcArray; \
5187 cb_data.args.hipMemcpyAtoHAsync.srcOffset = (size_t)srcOffset; \
5188 cb_data.args.hipMemcpyAtoHAsync.ByteCount = (size_t)ByteCount; \
5189 cb_data.args.hipMemcpyAtoHAsync.stream = (hipStream_t)stream; \
5192#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) { \
5193 cb_data.args.hipMemcpyDtoA.dstArray = (hipArray_t)dstArray; \
5194 cb_data.args.hipMemcpyDtoA.dstOffset = (size_t)dstOffset; \
5195 cb_data.args.hipMemcpyDtoA.srcDevice = (hipDeviceptr_t)srcDevice; \
5196 cb_data.args.hipMemcpyDtoA.ByteCount = (size_t)ByteCount; \
5199#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
5200 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
5201 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
5202 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
5205#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
5206 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5207 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
5208 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
5209 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
5212#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
5213 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
5214 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
5215 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
5218#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
5219 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
5220 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
5221 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
5222 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
5225#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
5226 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
5227 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
5228 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
5229 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
5230 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
5231 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
5234#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
5235 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
5236 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
5237 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
5238 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
5239 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
5242#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
5243 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
5244 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
5245 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5246 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
5247 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
5248 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
5251#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
5252 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray_t)dstArray; \
5253 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
5254 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
5255 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
5258#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipMemcpyHtoAAsync.dstArray = (hipArray_t)dstArray; \
5260 cb_data.args.hipMemcpyHtoAAsync.dstOffset = (size_t)dstOffset; \
5261 cb_data.args.hipMemcpyHtoAAsync.srcHost = (const void*)srcHost; \
5262 cb_data.args.hipMemcpyHtoAAsync.ByteCount = (size_t)ByteCount; \
5263 cb_data.args.hipMemcpyHtoAAsync.stream = (hipStream_t)stream; \
5266#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
5267 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
5268 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
5269 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
5272#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
5273 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
5274 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
5275 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
5276 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
5279#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
5280 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
5283#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
5284 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
5285 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
5288#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
5289 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
5290 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
5291 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
5292 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
5293 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
5296#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
5297 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
5298 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
5299 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
5300 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
5301 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
5302 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
5305#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
5306 cb_data.args.hipMemcpyToArray.dst = (hipArray_t)dst; \
5307 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
5308 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
5309 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
5310 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
5311 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
5314#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
5315 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
5316 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
5317 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
5318 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
5319 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
5322#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
5323 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
5324 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
5325 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
5326 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
5327 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
5328 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
5331#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
5332 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
5333 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
5334 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
5335 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
5336 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
5339#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
5340 cb_data.args.hipMemset.dst = (void*)dst; \
5341 cb_data.args.hipMemset.value = (int)value; \
5342 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
5345#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
5346 cb_data.args.hipMemset2D.dst = (void*)dst; \
5347 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
5348 cb_data.args.hipMemset2D.value = (int)value; \
5349 cb_data.args.hipMemset2D.width = (size_t)width; \
5350 cb_data.args.hipMemset2D.height = (size_t)height; \
5353#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
5354 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
5355 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
5356 cb_data.args.hipMemset2DAsync.value = (int)value; \
5357 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
5358 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
5359 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
5362#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
5363 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5364 cb_data.args.hipMemset3D.value = (int)value; \
5365 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
5368#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
5369 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
5370 cb_data.args.hipMemset3DAsync.value = (int)value; \
5371 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
5372 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
5375#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
5376 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
5377 cb_data.args.hipMemsetAsync.value = (int)value; \
5378 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
5379 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
5382#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
5383 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
5384 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
5385 cb_data.args.hipMemsetD16.count = (size_t)count; \
5388#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
5389 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
5390 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
5391 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
5392 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
5395#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
5396 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
5397 cb_data.args.hipMemsetD32.value = (int)value; \
5398 cb_data.args.hipMemsetD32.count = (size_t)count; \
5401#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
5402 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
5403 cb_data.args.hipMemsetD32Async.value = (int)value; \
5404 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
5405 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
5408#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
5409 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
5410 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
5411 cb_data.args.hipMemsetD8.count = (size_t)count; \
5414#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
5415 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
5416 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
5417 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
5418 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
5421#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
5422 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
5423 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
5424 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
5427#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
5428 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5431#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5432 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5433 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5434 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5437#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5438 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5439 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5440 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5443#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5444 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5445 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5446 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5447 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5450#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5451 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5452 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5453 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5456#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5457 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5458 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5459 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5460 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5461 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5462 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5463 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5464 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5465 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5466 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5469#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5470 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5471 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5472 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5475#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5476 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5477 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5478 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5479 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5480 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5481 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5482 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5483 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5484 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5485 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5486 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5489#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5490 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5491 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5494#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5495 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5496 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5499#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5500 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5501 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5502 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5503 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5504 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5507#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5508 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5509 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5510 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5511 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5514#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5515 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5516 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5517 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5518 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5519 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5522#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5523 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5524 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5525 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5526 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5527 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5530#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5531 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5532 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5533 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5534 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5535 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5536 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5539#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5540 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5543#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5544 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5545 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5546 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5547 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5550#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5551 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5552 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5553 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5554 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5555 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5558#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5559 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5560 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5561 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5562 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5563 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5566#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5569#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5570 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5571 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5572 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5575#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5576 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5577 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5580#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5581 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5582 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5583 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5586#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5589#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5592#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5593 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5596#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5597 cb_data.args.hipSetDevice.deviceId = (int)device; \
5600#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5601 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5604#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) { \
5605 cb_data.args.hipSetValidDevices.device_arr = (int*)device_arr; \
5606 cb_data.args.hipSetValidDevices.len = (int)len; \
5609#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5610 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5611 cb_data.args.hipSetupArgument.size = (size_t)size; \
5612 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5615#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5616 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5617 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5618 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5619 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5622#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5623 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5624 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5625 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5626 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5629#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5630 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5631 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5632 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5633 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5636#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5637 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5638 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5641#define INIT_hipStreamBeginCaptureToGraph_CB_ARGS_DATA(cb_data) { \
5642 cb_data.args.hipStreamBeginCaptureToGraph.stream = (hipStream_t)stream; \
5643 cb_data.args.hipStreamBeginCaptureToGraph.graph = (hipGraph_t)graph; \
5644 cb_data.args.hipStreamBeginCaptureToGraph.dependencies = (const hipGraphNode_t*)dependencies; \
5645 cb_data.args.hipStreamBeginCaptureToGraph.dependencyData = (const hipGraphEdgeData*)dependencyData; \
5646 cb_data.args.hipStreamBeginCaptureToGraph.numDependencies = (size_t)numDependencies; \
5647 cb_data.args.hipStreamBeginCaptureToGraph.mode = (hipStreamCaptureMode)mode; \
5650#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5651 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5654#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5655 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5656 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5659#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5660 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5661 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5662 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5665#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5666 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5669#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5670 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5671 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5674#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5675 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5676 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5677 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5680#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5681 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5682 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5683 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5684 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5685 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5686 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5689#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5690 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5691 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5694#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5695 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5696 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5699#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5700 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5701 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5704#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5705 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5706 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5709#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5710 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5713#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5714 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5717#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5718 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5719 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5720 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5721 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5724#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5725 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5726 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5727 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5730#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5731 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5732 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5733 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5734 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5735 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5738#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5739 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5740 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5741 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5742 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5743 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5746#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5747 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5748 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5749 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5750 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5753#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5754 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5755 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5756 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5757 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5760#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5761 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5762 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5765#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) { \
5766 cb_data.args.hipTexRefGetArray.pArray = (hipArray_t*)pArray; \
5767 cb_data.args.hipTexRefGetArray.texRef = (const textureReference*)texRef; \
5770#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) { \
5771 cb_data.args.hipTexRefGetBorderColor.pBorderColor = (float*)pBorderColor; \
5772 cb_data.args.hipTexRefGetBorderColor.texRef = (const textureReference*)texRef; \
5775#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5776 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5777 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5780#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5781 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5782 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5783 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5786#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5787 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5788 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5791#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5792 cb_data.args.hipTexRefGetMipMappedArray.pArray = (hipMipmappedArray_t*)pArray; \
5793 cb_data.args.hipTexRefGetMipMappedArray.texRef = (const textureReference*)texRef; \
5796#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5797 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5798 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5801#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5802 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5803 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5804 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5807#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5808 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5809 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5810 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5811 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5814#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5815 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5816 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5817 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5818 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5821#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5822 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5823 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5824 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5827#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5828 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5829 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5832#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5833 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5834 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5837#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5838 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5839 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5840 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5843#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5844 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5845 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5848#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5849 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5850 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5853#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5854 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5855 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5856 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5859#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5860 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5861 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5862 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5865#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5866 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5869#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5870 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5871 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5872 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5873 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5874 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5877#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5878 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5879 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5882#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5883 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5884 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5887#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5888 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5889 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5890 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5891 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5893#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5897#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5899#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5901#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5903#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5905#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5907#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5909#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5911#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5913#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5915#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5917#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5919#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5921#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5923#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5925#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5927#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5929#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5931#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5933#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5935#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5937#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5939#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5941#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5943#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5945#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5947#if HIP_PROF_HIP_API_STRING
5949static inline void hipApiArgsInit(hip_api_id_t
id,
hip_api_data_t* data) {
5952 case HIP_API_ID___hipPopCallConfiguration:
5953 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5954 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5955 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5956 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5959 case HIP_API_ID___hipPushCallConfiguration:
5962 case HIP_API_ID_hipArray3DCreate:
5963 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5964 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5967 case HIP_API_ID_hipArray3DGetDescriptor:
5968 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5971 case HIP_API_ID_hipArrayCreate:
5972 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5973 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5976 case HIP_API_ID_hipArrayDestroy:
5979 case HIP_API_ID_hipArrayGetDescriptor:
5980 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5983 case HIP_API_ID_hipArrayGetInfo:
5984 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5985 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5986 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5989 case HIP_API_ID_hipChooseDeviceR0000:
5990 if (data->args.hipChooseDeviceR0000.device) data->args.hipChooseDeviceR0000.device__val = *(data->args.hipChooseDeviceR0000.device);
5991 if (data->args.hipChooseDeviceR0000.prop) data->args.hipChooseDeviceR0000.prop__val = *(data->args.hipChooseDeviceR0000.prop);
5994 case HIP_API_ID_hipChooseDeviceR0600:
5995 if (data->args.hipChooseDeviceR0600.device) data->args.hipChooseDeviceR0600.device__val = *(data->args.hipChooseDeviceR0600.device);
5996 if (data->args.hipChooseDeviceR0600.prop) data->args.hipChooseDeviceR0600.prop__val = *(data->args.hipChooseDeviceR0600.prop);
5999 case HIP_API_ID_hipConfigureCall:
6002 case HIP_API_ID_hipCreateSurfaceObject:
6003 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
6004 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
6007 case HIP_API_ID_hipCtxCreate:
6008 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
6011 case HIP_API_ID_hipCtxDestroy:
6014 case HIP_API_ID_hipCtxDisablePeerAccess:
6017 case HIP_API_ID_hipCtxEnablePeerAccess:
6020 case HIP_API_ID_hipCtxGetApiVersion:
6021 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
6024 case HIP_API_ID_hipCtxGetCacheConfig:
6025 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
6028 case HIP_API_ID_hipCtxGetCurrent:
6029 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
6032 case HIP_API_ID_hipCtxGetDevice:
6033 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
6036 case HIP_API_ID_hipCtxGetFlags:
6037 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
6040 case HIP_API_ID_hipCtxGetSharedMemConfig:
6041 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
6044 case HIP_API_ID_hipCtxPopCurrent:
6045 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
6048 case HIP_API_ID_hipCtxPushCurrent:
6051 case HIP_API_ID_hipCtxSetCacheConfig:
6054 case HIP_API_ID_hipCtxSetCurrent:
6057 case HIP_API_ID_hipCtxSetSharedMemConfig:
6060 case HIP_API_ID_hipCtxSynchronize:
6063 case HIP_API_ID_hipDestroyExternalMemory:
6066 case HIP_API_ID_hipDestroyExternalSemaphore:
6069 case HIP_API_ID_hipDestroySurfaceObject:
6072 case HIP_API_ID_hipDeviceCanAccessPeer:
6073 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
6076 case HIP_API_ID_hipDeviceComputeCapability:
6077 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
6078 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
6081 case HIP_API_ID_hipDeviceDisablePeerAccess:
6084 case HIP_API_ID_hipDeviceEnablePeerAccess:
6087 case HIP_API_ID_hipDeviceGet:
6088 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
6091 case HIP_API_ID_hipDeviceGetAttribute:
6092 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
6095 case HIP_API_ID_hipDeviceGetByPCIBusId:
6096 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
6097 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
6100 case HIP_API_ID_hipDeviceGetCacheConfig:
6101 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
6104 case HIP_API_ID_hipDeviceGetDefaultMemPool:
6105 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
6108 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
6111 case HIP_API_ID_hipDeviceGetLimit:
6112 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
6115 case HIP_API_ID_hipDeviceGetMemPool:
6116 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
6119 case HIP_API_ID_hipDeviceGetName:
6120 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
6123 case HIP_API_ID_hipDeviceGetP2PAttribute:
6124 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
6127 case HIP_API_ID_hipDeviceGetPCIBusId:
6128 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
6131 case HIP_API_ID_hipDeviceGetSharedMemConfig:
6132 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
6135 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
6136 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
6137 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
6140 case HIP_API_ID_hipDeviceGetUuid:
6141 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
6144 case HIP_API_ID_hipDeviceGraphMemTrim:
6147 case HIP_API_ID_hipDevicePrimaryCtxGetState:
6148 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
6149 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
6152 case HIP_API_ID_hipDevicePrimaryCtxRelease:
6155 case HIP_API_ID_hipDevicePrimaryCtxReset:
6158 case HIP_API_ID_hipDevicePrimaryCtxRetain:
6159 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
6162 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
6165 case HIP_API_ID_hipDeviceReset:
6168 case HIP_API_ID_hipDeviceSetCacheConfig:
6171 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
6174 case HIP_API_ID_hipDeviceSetLimit:
6177 case HIP_API_ID_hipDeviceSetMemPool:
6180 case HIP_API_ID_hipDeviceSetSharedMemConfig:
6183 case HIP_API_ID_hipDeviceSynchronize:
6186 case HIP_API_ID_hipDeviceTotalMem:
6187 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
6190 case HIP_API_ID_hipDriverGetVersion:
6191 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
6194 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
6195 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode) data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemcpyNode.phGraphNode);
6196 if (data->args.hipDrvGraphAddMemcpyNode.dependencies) data->args.hipDrvGraphAddMemcpyNode.dependencies__val = *(data->args.hipDrvGraphAddMemcpyNode.dependencies);
6197 if (data->args.hipDrvGraphAddMemcpyNode.copyParams) data->args.hipDrvGraphAddMemcpyNode.copyParams__val = *(data->args.hipDrvGraphAddMemcpyNode.copyParams);
6200 case HIP_API_ID_hipDrvGraphAddMemsetNode:
6201 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode) data->args.hipDrvGraphAddMemsetNode.phGraphNode__val = *(data->args.hipDrvGraphAddMemsetNode.phGraphNode);
6202 if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
6203 if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
6206 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
6207 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
6210 case HIP_API_ID_hipDrvMemcpy3D:
6211 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
6214 case HIP_API_ID_hipDrvMemcpy3DAsync:
6215 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
6218 case HIP_API_ID_hipDrvPointerGetAttributes:
6219 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
6220 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
6223 case HIP_API_ID_hipEventCreate:
6224 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
6227 case HIP_API_ID_hipEventCreateWithFlags:
6228 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
6231 case HIP_API_ID_hipEventDestroy:
6234 case HIP_API_ID_hipEventElapsedTime:
6235 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
6238 case HIP_API_ID_hipEventQuery:
6241 case HIP_API_ID_hipEventRecord:
6244 case HIP_API_ID_hipEventSynchronize:
6247 case HIP_API_ID_hipExtGetLastError:
6250 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
6251 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
6252 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
6255 case HIP_API_ID_hipExtLaunchKernel:
6256 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
6259 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
6260 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
6263 case HIP_API_ID_hipExtMallocWithFlags:
6264 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
6267 case HIP_API_ID_hipExtModuleLaunchKernel:
6268 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
6269 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
6272 case HIP_API_ID_hipExtStreamCreateWithCUMask:
6273 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
6274 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
6277 case HIP_API_ID_hipExtStreamGetCUMask:
6278 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
6281 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
6282 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
6283 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
6286 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
6287 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap);
6288 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc) data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val = *(data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc);
6291 case HIP_API_ID_hipFree:
6294 case HIP_API_ID_hipFreeArray:
6297 case HIP_API_ID_hipFreeAsync:
6300 case HIP_API_ID_hipFreeHost:
6303 case HIP_API_ID_hipFreeMipmappedArray:
6306 case HIP_API_ID_hipFuncGetAttribute:
6307 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
6310 case HIP_API_ID_hipFuncGetAttributes:
6311 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
6314 case HIP_API_ID_hipFuncSetAttribute:
6317 case HIP_API_ID_hipFuncSetCacheConfig:
6320 case HIP_API_ID_hipFuncSetSharedMemConfig:
6323 case HIP_API_ID_hipGLGetDevices:
6324 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
6325 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
6328 case HIP_API_ID_hipGetChannelDesc:
6329 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
6332 case HIP_API_ID_hipGetDevice:
6333 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
6336 case HIP_API_ID_hipGetDeviceCount:
6337 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
6340 case HIP_API_ID_hipGetDeviceFlags:
6341 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
6344 case HIP_API_ID_hipGetDevicePropertiesR0000:
6345 if (data->args.hipGetDevicePropertiesR0000.prop) data->args.hipGetDevicePropertiesR0000.prop__val = *(data->args.hipGetDevicePropertiesR0000.prop);
6348 case HIP_API_ID_hipGetDevicePropertiesR0600:
6349 if (data->args.hipGetDevicePropertiesR0600.prop) data->args.hipGetDevicePropertiesR0600.prop__val = *(data->args.hipGetDevicePropertiesR0600.prop);
6352 case HIP_API_ID_hipGetErrorString:
6355 case HIP_API_ID_hipGetFuncBySymbol:
6356 if (data->args.hipGetFuncBySymbol.functionPtr) data->args.hipGetFuncBySymbol.functionPtr__val = *(data->args.hipGetFuncBySymbol.functionPtr);
6359 case HIP_API_ID_hipGetLastError:
6362 case HIP_API_ID_hipGetMipmappedArrayLevel:
6363 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
6366 case HIP_API_ID_hipGetProcAddress:
6367 if (data->args.hipGetProcAddress.symbol) data->args.hipGetProcAddress.symbol__val = *(data->args.hipGetProcAddress.symbol);
6368 if (data->args.hipGetProcAddress.pfn) data->args.hipGetProcAddress.pfn__val = *(data->args.hipGetProcAddress.pfn);
6369 if (data->args.hipGetProcAddress.symbolStatus) data->args.hipGetProcAddress.symbolStatus__val = *(data->args.hipGetProcAddress.symbolStatus);
6372 case HIP_API_ID_hipGetSymbolAddress:
6373 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
6376 case HIP_API_ID_hipGetSymbolSize:
6377 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
6380 case HIP_API_ID_hipGraphAddChildGraphNode:
6381 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
6382 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
6385 case HIP_API_ID_hipGraphAddDependencies:
6386 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
6387 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
6390 case HIP_API_ID_hipGraphAddEmptyNode:
6391 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
6392 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
6395 case HIP_API_ID_hipGraphAddEventRecordNode:
6396 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
6397 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
6400 case HIP_API_ID_hipGraphAddEventWaitNode:
6401 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
6402 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
6405 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
6406 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode);
6407 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies) data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies);
6408 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams) data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams);
6411 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
6412 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode) data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode);
6413 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies) data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies);
6414 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams) data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val = *(data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams);
6417 case HIP_API_ID_hipGraphAddHostNode:
6418 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
6419 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
6420 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
6423 case HIP_API_ID_hipGraphAddKernelNode:
6424 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
6425 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
6426 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
6429 case HIP_API_ID_hipGraphAddMemAllocNode:
6430 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
6431 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
6432 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
6435 case HIP_API_ID_hipGraphAddMemFreeNode:
6436 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
6437 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
6440 case HIP_API_ID_hipGraphAddMemcpyNode:
6441 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
6442 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
6443 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
6446 case HIP_API_ID_hipGraphAddMemcpyNode1D:
6447 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
6448 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
6451 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
6452 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
6453 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
6456 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
6457 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
6458 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
6461 case HIP_API_ID_hipGraphAddMemsetNode:
6462 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
6463 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
6464 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
6467 case HIP_API_ID_hipGraphAddNode:
6468 if (data->args.hipGraphAddNode.pGraphNode) data->args.hipGraphAddNode.pGraphNode__val = *(data->args.hipGraphAddNode.pGraphNode);
6469 if (data->args.hipGraphAddNode.pDependencies) data->args.hipGraphAddNode.pDependencies__val = *(data->args.hipGraphAddNode.pDependencies);
6470 if (data->args.hipGraphAddNode.nodeParams) data->args.hipGraphAddNode.nodeParams__val = *(data->args.hipGraphAddNode.nodeParams);
6473 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
6474 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
6477 case HIP_API_ID_hipGraphClone:
6478 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
6481 case HIP_API_ID_hipGraphCreate:
6482 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6485 case HIP_API_ID_hipGraphDebugDotPrint:
6486 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6489 case HIP_API_ID_hipGraphDestroy:
6492 case HIP_API_ID_hipGraphDestroyNode:
6495 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6496 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6499 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6502 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6503 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6506 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6509 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6512 case HIP_API_ID_hipGraphExecDestroy:
6515 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6518 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6521 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
6522 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams);
6525 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
6526 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams);
6529 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6530 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6533 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6534 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6537 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6538 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6541 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6544 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6547 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6550 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6551 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6554 case HIP_API_ID_hipGraphExecUpdate:
6555 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6556 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6559 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
6560 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out);
6563 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
6564 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams);
6567 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
6568 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out) data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val = *(data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out);
6571 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
6572 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams) data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val = *(data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams);
6575 case HIP_API_ID_hipGraphGetEdges:
6576 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6577 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6578 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6581 case HIP_API_ID_hipGraphGetNodes:
6582 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6583 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6586 case HIP_API_ID_hipGraphGetRootNodes:
6587 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6588 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6591 case HIP_API_ID_hipGraphHostNodeGetParams:
6592 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6595 case HIP_API_ID_hipGraphHostNodeSetParams:
6596 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6599 case HIP_API_ID_hipGraphInstantiate:
6600 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6601 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6602 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6605 case HIP_API_ID_hipGraphInstantiateWithFlags:
6606 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6609 case HIP_API_ID_hipGraphInstantiateWithParams:
6610 if (data->args.hipGraphInstantiateWithParams.pGraphExec) data->args.hipGraphInstantiateWithParams.pGraphExec__val = *(data->args.hipGraphInstantiateWithParams.pGraphExec);
6611 if (data->args.hipGraphInstantiateWithParams.instantiateParams) data->args.hipGraphInstantiateWithParams.instantiateParams__val = *(data->args.hipGraphInstantiateWithParams.instantiateParams);
6614 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6617 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6618 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6621 case HIP_API_ID_hipGraphKernelNodeGetParams:
6622 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6625 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6626 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6629 case HIP_API_ID_hipGraphKernelNodeSetParams:
6630 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6633 case HIP_API_ID_hipGraphLaunch:
6636 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6637 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6640 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6643 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6644 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6647 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6648 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6651 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6654 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6657 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6660 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6661 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6664 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6665 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6668 case HIP_API_ID_hipGraphNodeFindInClone:
6669 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6672 case HIP_API_ID_hipGraphNodeGetDependencies:
6673 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6674 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6677 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6678 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6679 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6682 case HIP_API_ID_hipGraphNodeGetEnabled:
6683 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6686 case HIP_API_ID_hipGraphNodeGetType:
6687 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6690 case HIP_API_ID_hipGraphNodeSetEnabled:
6693 case HIP_API_ID_hipGraphReleaseUserObject:
6696 case HIP_API_ID_hipGraphRemoveDependencies:
6697 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6698 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6701 case HIP_API_ID_hipGraphRetainUserObject:
6704 case HIP_API_ID_hipGraphUpload:
6707 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6708 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6711 case HIP_API_ID_hipGraphicsGLRegisterImage:
6712 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6715 case HIP_API_ID_hipGraphicsMapResources:
6716 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6719 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6720 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6721 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6724 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6725 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6728 case HIP_API_ID_hipGraphicsUnmapResources:
6729 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6732 case HIP_API_ID_hipGraphicsUnregisterResource:
6735 case HIP_API_ID_hipHccModuleLaunchKernel:
6736 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6737 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6740 case HIP_API_ID_hipHostAlloc:
6741 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6744 case HIP_API_ID_hipHostFree:
6747 case HIP_API_ID_hipHostGetDevicePointer:
6748 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6751 case HIP_API_ID_hipHostGetFlags:
6752 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6755 case HIP_API_ID_hipHostMalloc:
6756 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6759 case HIP_API_ID_hipHostRegister:
6762 case HIP_API_ID_hipHostUnregister:
6765 case HIP_API_ID_hipImportExternalMemory:
6766 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6767 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6770 case HIP_API_ID_hipImportExternalSemaphore:
6771 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6772 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6775 case HIP_API_ID_hipInit:
6778 case HIP_API_ID_hipIpcCloseMemHandle:
6781 case HIP_API_ID_hipIpcGetEventHandle:
6782 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6785 case HIP_API_ID_hipIpcGetMemHandle:
6786 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6789 case HIP_API_ID_hipIpcOpenEventHandle:
6790 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6793 case HIP_API_ID_hipIpcOpenMemHandle:
6794 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6797 case HIP_API_ID_hipLaunchByPtr:
6800 case HIP_API_ID_hipLaunchCooperativeKernel:
6801 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6804 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6805 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6808 case HIP_API_ID_hipLaunchHostFunc:
6811 case HIP_API_ID_hipLaunchKernel:
6812 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6815 case HIP_API_ID_hipMalloc:
6816 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6819 case HIP_API_ID_hipMalloc3D:
6820 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6823 case HIP_API_ID_hipMalloc3DArray:
6824 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6825 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6828 case HIP_API_ID_hipMallocArray:
6829 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6830 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6833 case HIP_API_ID_hipMallocAsync:
6834 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6837 case HIP_API_ID_hipMallocFromPoolAsync:
6838 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6841 case HIP_API_ID_hipMallocHost:
6842 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6845 case HIP_API_ID_hipMallocManaged:
6846 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6849 case HIP_API_ID_hipMallocMipmappedArray:
6850 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6851 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6854 case HIP_API_ID_hipMallocPitch:
6855 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6856 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6859 case HIP_API_ID_hipMemAddressFree:
6862 case HIP_API_ID_hipMemAddressReserve:
6863 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6866 case HIP_API_ID_hipMemAdvise:
6869 case HIP_API_ID_hipMemAllocHost:
6870 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6873 case HIP_API_ID_hipMemAllocPitch:
6874 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6875 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6878 case HIP_API_ID_hipMemCreate:
6879 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6880 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6883 case HIP_API_ID_hipMemExportToShareableHandle:
6886 case HIP_API_ID_hipMemGetAccess:
6887 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6888 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6891 case HIP_API_ID_hipMemGetAddressRange:
6892 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6893 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6896 case HIP_API_ID_hipMemGetAllocationGranularity:
6897 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6898 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6901 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6902 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6905 case HIP_API_ID_hipMemGetInfo:
6906 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6907 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6910 case HIP_API_ID_hipMemImportFromShareableHandle:
6911 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6914 case HIP_API_ID_hipMemMap:
6917 case HIP_API_ID_hipMemMapArrayAsync:
6918 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6921 case HIP_API_ID_hipMemPoolCreate:
6922 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6923 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6926 case HIP_API_ID_hipMemPoolDestroy:
6929 case HIP_API_ID_hipMemPoolExportPointer:
6930 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6933 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6936 case HIP_API_ID_hipMemPoolGetAccess:
6937 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6938 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6941 case HIP_API_ID_hipMemPoolGetAttribute:
6944 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6945 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6948 case HIP_API_ID_hipMemPoolImportPointer:
6949 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6950 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6953 case HIP_API_ID_hipMemPoolSetAccess:
6954 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6957 case HIP_API_ID_hipMemPoolSetAttribute:
6960 case HIP_API_ID_hipMemPoolTrimTo:
6963 case HIP_API_ID_hipMemPrefetchAsync:
6966 case HIP_API_ID_hipMemPtrGetInfo:
6967 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6970 case HIP_API_ID_hipMemRangeGetAttribute:
6973 case HIP_API_ID_hipMemRangeGetAttributes:
6974 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6975 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6976 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6979 case HIP_API_ID_hipMemRelease:
6982 case HIP_API_ID_hipMemRetainAllocationHandle:
6983 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6986 case HIP_API_ID_hipMemSetAccess:
6987 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6990 case HIP_API_ID_hipMemUnmap:
6993 case HIP_API_ID_hipMemcpy:
6996 case HIP_API_ID_hipMemcpy2D:
6999 case HIP_API_ID_hipMemcpy2DArrayToArray:
7002 case HIP_API_ID_hipMemcpy2DAsync:
7005 case HIP_API_ID_hipMemcpy2DFromArray:
7008 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
7011 case HIP_API_ID_hipMemcpy2DToArray:
7014 case HIP_API_ID_hipMemcpy2DToArrayAsync:
7017 case HIP_API_ID_hipMemcpy3D:
7018 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
7021 case HIP_API_ID_hipMemcpy3DAsync:
7022 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
7025 case HIP_API_ID_hipMemcpyAsync:
7028 case HIP_API_ID_hipMemcpyAtoA:
7031 case HIP_API_ID_hipMemcpyAtoD:
7034 case HIP_API_ID_hipMemcpyAtoH:
7037 case HIP_API_ID_hipMemcpyAtoHAsync:
7040 case HIP_API_ID_hipMemcpyDtoA:
7043 case HIP_API_ID_hipMemcpyDtoD:
7046 case HIP_API_ID_hipMemcpyDtoDAsync:
7049 case HIP_API_ID_hipMemcpyDtoH:
7052 case HIP_API_ID_hipMemcpyDtoHAsync:
7055 case HIP_API_ID_hipMemcpyFromArray:
7058 case HIP_API_ID_hipMemcpyFromSymbol:
7061 case HIP_API_ID_hipMemcpyFromSymbolAsync:
7064 case HIP_API_ID_hipMemcpyHtoA:
7067 case HIP_API_ID_hipMemcpyHtoAAsync:
7070 case HIP_API_ID_hipMemcpyHtoD:
7073 case HIP_API_ID_hipMemcpyHtoDAsync:
7076 case HIP_API_ID_hipMemcpyParam2D:
7077 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
7080 case HIP_API_ID_hipMemcpyParam2DAsync:
7081 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
7084 case HIP_API_ID_hipMemcpyPeer:
7087 case HIP_API_ID_hipMemcpyPeerAsync:
7090 case HIP_API_ID_hipMemcpyToArray:
7093 case HIP_API_ID_hipMemcpyToSymbol:
7096 case HIP_API_ID_hipMemcpyToSymbolAsync:
7099 case HIP_API_ID_hipMemcpyWithStream:
7102 case HIP_API_ID_hipMemset:
7105 case HIP_API_ID_hipMemset2D:
7108 case HIP_API_ID_hipMemset2DAsync:
7111 case HIP_API_ID_hipMemset3D:
7114 case HIP_API_ID_hipMemset3DAsync:
7117 case HIP_API_ID_hipMemsetAsync:
7120 case HIP_API_ID_hipMemsetD16:
7123 case HIP_API_ID_hipMemsetD16Async:
7126 case HIP_API_ID_hipMemsetD32:
7129 case HIP_API_ID_hipMemsetD32Async:
7132 case HIP_API_ID_hipMemsetD8:
7135 case HIP_API_ID_hipMemsetD8Async:
7138 case HIP_API_ID_hipMipmappedArrayCreate:
7139 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
7140 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
7143 case HIP_API_ID_hipMipmappedArrayDestroy:
7146 case HIP_API_ID_hipMipmappedArrayGetLevel:
7147 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
7150 case HIP_API_ID_hipModuleGetFunction:
7151 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
7152 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
7155 case HIP_API_ID_hipModuleGetGlobal:
7156 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
7157 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
7158 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
7161 case HIP_API_ID_hipModuleGetTexRef:
7162 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
7163 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
7166 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
7167 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
7170 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
7171 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
7174 case HIP_API_ID_hipModuleLaunchKernel:
7175 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
7176 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
7179 case HIP_API_ID_hipModuleLoad:
7180 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
7181 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
7184 case HIP_API_ID_hipModuleLoadData:
7185 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
7188 case HIP_API_ID_hipModuleLoadDataEx:
7189 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
7190 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
7191 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
7194 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
7195 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7198 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7199 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7202 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
7203 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
7204 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
7207 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
7208 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
7209 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
7212 case HIP_API_ID_hipModuleUnload:
7215 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
7216 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
7219 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
7220 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
7223 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
7224 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
7225 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
7228 case HIP_API_ID_hipPeekAtLastError:
7231 case HIP_API_ID_hipPointerGetAttribute:
7234 case HIP_API_ID_hipPointerGetAttributes:
7235 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
7238 case HIP_API_ID_hipPointerSetAttribute:
7241 case HIP_API_ID_hipProfilerStart:
7244 case HIP_API_ID_hipProfilerStop:
7247 case HIP_API_ID_hipRuntimeGetVersion:
7248 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
7251 case HIP_API_ID_hipSetDevice:
7254 case HIP_API_ID_hipSetDeviceFlags:
7257 case HIP_API_ID_hipSetValidDevices:
7258 if (data->args.hipSetValidDevices.device_arr) data->args.hipSetValidDevices.device_arr__val = *(data->args.hipSetValidDevices.device_arr);
7261 case HIP_API_ID_hipSetupArgument:
7264 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
7265 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
7266 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
7269 case HIP_API_ID_hipStreamAddCallback:
7272 case HIP_API_ID_hipStreamAttachMemAsync:
7275 case HIP_API_ID_hipStreamBeginCapture:
7278 case HIP_API_ID_hipStreamBeginCaptureToGraph:
7279 if (data->args.hipStreamBeginCaptureToGraph.dependencies) data->args.hipStreamBeginCaptureToGraph.dependencies__val = *(data->args.hipStreamBeginCaptureToGraph.dependencies);
7280 if (data->args.hipStreamBeginCaptureToGraph.dependencyData) data->args.hipStreamBeginCaptureToGraph.dependencyData__val = *(data->args.hipStreamBeginCaptureToGraph.dependencyData);
7283 case HIP_API_ID_hipStreamCreate:
7284 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
7287 case HIP_API_ID_hipStreamCreateWithFlags:
7288 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
7291 case HIP_API_ID_hipStreamCreateWithPriority:
7292 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
7295 case HIP_API_ID_hipStreamDestroy:
7298 case HIP_API_ID_hipStreamEndCapture:
7299 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
7302 case HIP_API_ID_hipStreamGetCaptureInfo:
7303 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
7304 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
7307 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
7308 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
7309 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
7310 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
7311 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
7312 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
7315 case HIP_API_ID_hipStreamGetDevice:
7316 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
7319 case HIP_API_ID_hipStreamGetFlags:
7320 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
7323 case HIP_API_ID_hipStreamGetPriority:
7324 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
7327 case HIP_API_ID_hipStreamIsCapturing:
7328 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
7331 case HIP_API_ID_hipStreamQuery:
7334 case HIP_API_ID_hipStreamSynchronize:
7337 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
7338 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
7341 case HIP_API_ID_hipStreamWaitEvent:
7344 case HIP_API_ID_hipStreamWaitValue32:
7347 case HIP_API_ID_hipStreamWaitValue64:
7350 case HIP_API_ID_hipStreamWriteValue32:
7353 case HIP_API_ID_hipStreamWriteValue64:
7356 case HIP_API_ID_hipTexRefGetAddress:
7357 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
7358 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
7361 case HIP_API_ID_hipTexRefGetArray:
7362 if (data->args.hipTexRefGetArray.pArray) data->args.hipTexRefGetArray.pArray__val = *(data->args.hipTexRefGetArray.pArray);
7363 if (data->args.hipTexRefGetArray.texRef) data->args.hipTexRefGetArray.texRef__val = *(data->args.hipTexRefGetArray.texRef);
7366 case HIP_API_ID_hipTexRefGetBorderColor:
7367 if (data->args.hipTexRefGetBorderColor.pBorderColor) data->args.hipTexRefGetBorderColor.pBorderColor__val = *(data->args.hipTexRefGetBorderColor.pBorderColor);
7368 if (data->args.hipTexRefGetBorderColor.texRef) data->args.hipTexRefGetBorderColor.texRef__val = *(data->args.hipTexRefGetBorderColor.texRef);
7371 case HIP_API_ID_hipTexRefGetFlags:
7372 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
7373 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
7376 case HIP_API_ID_hipTexRefGetFormat:
7377 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
7378 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
7379 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
7382 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
7383 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
7384 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
7387 case HIP_API_ID_hipTexRefGetMipMappedArray:
7388 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
7389 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
7392 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
7393 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
7394 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
7397 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
7398 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
7399 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
7400 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
7403 case HIP_API_ID_hipTexRefSetAddress:
7404 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
7405 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
7408 case HIP_API_ID_hipTexRefSetAddress2D:
7409 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
7410 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
7413 case HIP_API_ID_hipTexRefSetArray:
7414 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
7417 case HIP_API_ID_hipTexRefSetBorderColor:
7418 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
7419 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
7422 case HIP_API_ID_hipTexRefSetFlags:
7423 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
7426 case HIP_API_ID_hipTexRefSetFormat:
7427 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
7430 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
7431 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
7434 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
7435 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
7438 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
7439 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
7442 case HIP_API_ID_hipTexRefSetMipmappedArray:
7443 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
7444 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
7447 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
7448 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
7451 case HIP_API_ID_hipUserObjectCreate:
7452 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
7455 case HIP_API_ID_hipUserObjectRelease:
7458 case HIP_API_ID_hipUserObjectRetain:
7461 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
7462 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
7463 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
7472static inline const char* hipApiString(hip_api_id_t
id,
const hip_api_data_t* data) {
7473 std::ostringstream oss;
7475 case HIP_API_ID___hipPopCallConfiguration:
7476 oss <<
"__hipPopCallConfiguration(";
7477 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss <<
"gridDim=NULL";
7478 else { oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
7479 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss <<
", blockDim=NULL";
7480 else { oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
7481 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss <<
", sharedMem=NULL";
7482 else { oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
7483 if (data->args.__hipPopCallConfiguration.stream == NULL) oss <<
", stream=NULL";
7484 else { oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
7487 case HIP_API_ID___hipPushCallConfiguration:
7488 oss <<
"__hipPushCallConfiguration(";
7489 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
7490 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
7491 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
7492 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
7495 case HIP_API_ID_hipArray3DCreate:
7496 oss <<
"hipArray3DCreate(";
7497 if (data->args.hipArray3DCreate.array == NULL) oss <<
"array=NULL";
7498 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.array__val); }
7499 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7500 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
7503 case HIP_API_ID_hipArray3DGetDescriptor:
7504 oss <<
"hipArray3DGetDescriptor(";
7505 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7506 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
7507 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array);
7510 case HIP_API_ID_hipArrayCreate:
7511 oss <<
"hipArrayCreate(";
7512 if (data->args.hipArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
7513 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pHandle__val); }
7514 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
7515 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
7518 case HIP_API_ID_hipArrayDestroy:
7519 oss <<
"hipArrayDestroy(";
7520 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array);
7523 case HIP_API_ID_hipArrayGetDescriptor:
7524 oss <<
"hipArrayGetDescriptor(";
7525 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
7526 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
7527 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array);
7530 case HIP_API_ID_hipArrayGetInfo:
7531 oss <<
"hipArrayGetInfo(";
7532 if (data->args.hipArrayGetInfo.desc == NULL) oss <<
"desc=NULL";
7533 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
7534 if (data->args.hipArrayGetInfo.extent == NULL) oss <<
", extent=NULL";
7535 else { oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
7536 if (data->args.hipArrayGetInfo.flags == NULL) oss <<
", flags=NULL";
7537 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
7538 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array);
7541 case HIP_API_ID_hipChooseDeviceR0000:
7542 oss <<
"hipChooseDeviceR0000(";
7543 if (data->args.hipChooseDeviceR0000.device == NULL) oss <<
"device=NULL";
7544 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.device__val); }
7545 if (data->args.hipChooseDeviceR0000.prop == NULL) oss <<
", prop=NULL";
7546 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0000.prop__val); }
7549 case HIP_API_ID_hipChooseDeviceR0600:
7550 oss <<
"hipChooseDeviceR0600(";
7551 if (data->args.hipChooseDeviceR0600.device == NULL) oss <<
"device=NULL";
7552 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.device__val); }
7553 if (data->args.hipChooseDeviceR0600.prop == NULL) oss <<
", prop=NULL";
7554 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDeviceR0600.prop__val); }
7557 case HIP_API_ID_hipConfigureCall:
7558 oss <<
"hipConfigureCall(";
7559 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7560 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7561 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7562 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7565 case HIP_API_ID_hipCreateSurfaceObject:
7566 oss <<
"hipCreateSurfaceObject(";
7567 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss <<
"pSurfObject=NULL";
7568 else { oss <<
"pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7569 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss <<
", pResDesc=NULL";
7570 else { oss <<
", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7573 case HIP_API_ID_hipCtxCreate:
7574 oss <<
"hipCtxCreate(";
7575 if (data->args.hipCtxCreate.ctx == NULL) oss <<
"ctx=NULL";
7576 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7577 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7578 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7581 case HIP_API_ID_hipCtxDestroy:
7582 oss <<
"hipCtxDestroy(";
7583 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7586 case HIP_API_ID_hipCtxDisablePeerAccess:
7587 oss <<
"hipCtxDisablePeerAccess(";
7588 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7591 case HIP_API_ID_hipCtxEnablePeerAccess:
7592 oss <<
"hipCtxEnablePeerAccess(";
7593 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7594 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7597 case HIP_API_ID_hipCtxGetApiVersion:
7598 oss <<
"hipCtxGetApiVersion(";
7599 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7600 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss <<
", apiVersion=NULL";
7601 else { oss <<
", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7604 case HIP_API_ID_hipCtxGetCacheConfig:
7605 oss <<
"hipCtxGetCacheConfig(";
7606 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7607 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7610 case HIP_API_ID_hipCtxGetCurrent:
7611 oss <<
"hipCtxGetCurrent(";
7612 if (data->args.hipCtxGetCurrent.ctx == NULL) oss <<
"ctx=NULL";
7613 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7616 case HIP_API_ID_hipCtxGetDevice:
7617 oss <<
"hipCtxGetDevice(";
7618 if (data->args.hipCtxGetDevice.device == NULL) oss <<
"device=NULL";
7619 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7622 case HIP_API_ID_hipCtxGetFlags:
7623 oss <<
"hipCtxGetFlags(";
7624 if (data->args.hipCtxGetFlags.flags == NULL) oss <<
"flags=NULL";
7625 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7628 case HIP_API_ID_hipCtxGetSharedMemConfig:
7629 oss <<
"hipCtxGetSharedMemConfig(";
7630 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7631 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7634 case HIP_API_ID_hipCtxPopCurrent:
7635 oss <<
"hipCtxPopCurrent(";
7636 if (data->args.hipCtxPopCurrent.ctx == NULL) oss <<
"ctx=NULL";
7637 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7640 case HIP_API_ID_hipCtxPushCurrent:
7641 oss <<
"hipCtxPushCurrent(";
7642 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7645 case HIP_API_ID_hipCtxSetCacheConfig:
7646 oss <<
"hipCtxSetCacheConfig(";
7647 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7650 case HIP_API_ID_hipCtxSetCurrent:
7651 oss <<
"hipCtxSetCurrent(";
7652 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7655 case HIP_API_ID_hipCtxSetSharedMemConfig:
7656 oss <<
"hipCtxSetSharedMemConfig(";
7657 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7660 case HIP_API_ID_hipCtxSynchronize:
7661 oss <<
"hipCtxSynchronize(";
7664 case HIP_API_ID_hipDestroyExternalMemory:
7665 oss <<
"hipDestroyExternalMemory(";
7666 oss <<
"extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7669 case HIP_API_ID_hipDestroyExternalSemaphore:
7670 oss <<
"hipDestroyExternalSemaphore(";
7671 oss <<
"extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7674 case HIP_API_ID_hipDestroySurfaceObject:
7675 oss <<
"hipDestroySurfaceObject(";
7676 oss <<
"surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7679 case HIP_API_ID_hipDeviceCanAccessPeer:
7680 oss <<
"hipDeviceCanAccessPeer(";
7681 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss <<
"canAccessPeer=NULL";
7682 else { oss <<
"canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7683 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7684 oss <<
", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7687 case HIP_API_ID_hipDeviceComputeCapability:
7688 oss <<
"hipDeviceComputeCapability(";
7689 if (data->args.hipDeviceComputeCapability.major == NULL) oss <<
"major=NULL";
7690 else { oss <<
"major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7691 if (data->args.hipDeviceComputeCapability.minor == NULL) oss <<
", minor=NULL";
7692 else { oss <<
", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7693 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7696 case HIP_API_ID_hipDeviceDisablePeerAccess:
7697 oss <<
"hipDeviceDisablePeerAccess(";
7698 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7701 case HIP_API_ID_hipDeviceEnablePeerAccess:
7702 oss <<
"hipDeviceEnablePeerAccess(";
7703 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7704 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7707 case HIP_API_ID_hipDeviceGet:
7708 oss <<
"hipDeviceGet(";
7709 if (data->args.hipDeviceGet.device == NULL) oss <<
"device=NULL";
7710 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7711 oss <<
", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7714 case HIP_API_ID_hipDeviceGetAttribute:
7715 oss <<
"hipDeviceGetAttribute(";
7716 if (data->args.hipDeviceGetAttribute.pi == NULL) oss <<
"pi=NULL";
7717 else { oss <<
"pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7718 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7719 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7722 case HIP_API_ID_hipDeviceGetByPCIBusId:
7723 oss <<
"hipDeviceGetByPCIBusId(";
7724 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss <<
"device=NULL";
7725 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7726 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss <<
", pciBusId=NULL";
7727 else { oss <<
", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7730 case HIP_API_ID_hipDeviceGetCacheConfig:
7731 oss <<
"hipDeviceGetCacheConfig(";
7732 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7733 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7736 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7737 oss <<
"hipDeviceGetDefaultMemPool(";
7738 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7739 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7740 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7743 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7744 oss <<
"hipDeviceGetGraphMemAttribute(";
7745 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7746 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7747 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7750 case HIP_API_ID_hipDeviceGetLimit:
7751 oss <<
"hipDeviceGetLimit(";
7752 if (data->args.hipDeviceGetLimit.pValue == NULL) oss <<
"pValue=NULL";
7753 else { oss <<
"pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7754 oss <<
", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7757 case HIP_API_ID_hipDeviceGetMemPool:
7758 oss <<
"hipDeviceGetMemPool(";
7759 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7760 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7761 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7764 case HIP_API_ID_hipDeviceGetName:
7765 oss <<
"hipDeviceGetName(";
7766 if (data->args.hipDeviceGetName.name == NULL) oss <<
"name=NULL";
7767 else { oss <<
"name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7768 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7769 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7772 case HIP_API_ID_hipDeviceGetP2PAttribute:
7773 oss <<
"hipDeviceGetP2PAttribute(";
7774 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss <<
"value=NULL";
7775 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7776 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7777 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7778 oss <<
", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7781 case HIP_API_ID_hipDeviceGetPCIBusId:
7782 oss <<
"hipDeviceGetPCIBusId(";
7783 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss <<
"pciBusId=NULL";
7784 else { oss <<
"pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7785 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7786 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7789 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7790 oss <<
"hipDeviceGetSharedMemConfig(";
7791 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7792 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7795 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7796 oss <<
"hipDeviceGetStreamPriorityRange(";
7797 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss <<
"leastPriority=NULL";
7798 else { oss <<
"leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7799 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss <<
", greatestPriority=NULL";
7800 else { oss <<
", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7803 case HIP_API_ID_hipDeviceGetUuid:
7804 oss <<
"hipDeviceGetUuid(";
7805 if (data->args.hipDeviceGetUuid.uuid == NULL) oss <<
"uuid=NULL";
7806 else { oss <<
"uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7807 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7810 case HIP_API_ID_hipDeviceGraphMemTrim:
7811 oss <<
"hipDeviceGraphMemTrim(";
7812 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7815 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7816 oss <<
"hipDevicePrimaryCtxGetState(";
7817 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7818 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss <<
", flags=NULL";
7819 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7820 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss <<
", active=NULL";
7821 else { oss <<
", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7824 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7825 oss <<
"hipDevicePrimaryCtxRelease(";
7826 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7829 case HIP_API_ID_hipDevicePrimaryCtxReset:
7830 oss <<
"hipDevicePrimaryCtxReset(";
7831 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7834 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7835 oss <<
"hipDevicePrimaryCtxRetain(";
7836 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss <<
"pctx=NULL";
7837 else { oss <<
"pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7838 oss <<
", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7841 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7842 oss <<
"hipDevicePrimaryCtxSetFlags(";
7843 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7844 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7847 case HIP_API_ID_hipDeviceReset:
7848 oss <<
"hipDeviceReset(";
7851 case HIP_API_ID_hipDeviceSetCacheConfig:
7852 oss <<
"hipDeviceSetCacheConfig(";
7853 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7856 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7857 oss <<
"hipDeviceSetGraphMemAttribute(";
7858 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7859 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7860 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7863 case HIP_API_ID_hipDeviceSetLimit:
7864 oss <<
"hipDeviceSetLimit(";
7865 oss <<
"limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7866 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7869 case HIP_API_ID_hipDeviceSetMemPool:
7870 oss <<
"hipDeviceSetMemPool(";
7871 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7872 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7875 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7876 oss <<
"hipDeviceSetSharedMemConfig(";
7877 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7880 case HIP_API_ID_hipDeviceSynchronize:
7881 oss <<
"hipDeviceSynchronize(";
7884 case HIP_API_ID_hipDeviceTotalMem:
7885 oss <<
"hipDeviceTotalMem(";
7886 if (data->args.hipDeviceTotalMem.bytes == NULL) oss <<
"bytes=NULL";
7887 else { oss <<
"bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7888 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7891 case HIP_API_ID_hipDriverGetVersion:
7892 oss <<
"hipDriverGetVersion(";
7893 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss <<
"driverVersion=NULL";
7894 else { oss <<
"driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7897 case HIP_API_ID_hipDrvGraphAddMemcpyNode:
7898 oss <<
"hipDrvGraphAddMemcpyNode(";
7899 if (data->args.hipDrvGraphAddMemcpyNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
7900 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.phGraphNode__val); }
7901 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.hGraph);
7902 if (data->args.hipDrvGraphAddMemcpyNode.dependencies == NULL) oss <<
", dependencies=NULL";
7903 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.dependencies__val); }
7904 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.numDependencies);
7905 if (data->args.hipDrvGraphAddMemcpyNode.copyParams == NULL) oss <<
", copyParams=NULL";
7906 else { oss <<
", copyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.copyParams__val); }
7907 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemcpyNode.ctx);
7910 case HIP_API_ID_hipDrvGraphAddMemsetNode:
7911 oss <<
"hipDrvGraphAddMemsetNode(";
7912 if (data->args.hipDrvGraphAddMemsetNode.phGraphNode == NULL) oss <<
"phGraphNode=NULL";
7913 else { oss <<
"phGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.phGraphNode__val); }
7914 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.hGraph);
7915 if (data->args.hipDrvGraphAddMemsetNode.dependencies == NULL) oss <<
", dependencies=NULL";
7916 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.dependencies__val); }
7917 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.numDependencies);
7918 if (data->args.hipDrvGraphAddMemsetNode.memsetParams == NULL) oss <<
", memsetParams=NULL";
7919 else { oss <<
", memsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.memsetParams__val); }
7920 oss <<
", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
7923 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7924 oss <<
"hipDrvMemcpy2DUnaligned(";
7925 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss <<
"pCopy=NULL";
7926 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7929 case HIP_API_ID_hipDrvMemcpy3D:
7930 oss <<
"hipDrvMemcpy3D(";
7931 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss <<
"pCopy=NULL";
7932 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7935 case HIP_API_ID_hipDrvMemcpy3DAsync:
7936 oss <<
"hipDrvMemcpy3DAsync(";
7937 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
7938 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7939 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7942 case HIP_API_ID_hipDrvPointerGetAttributes:
7943 oss <<
"hipDrvPointerGetAttributes(";
7944 oss <<
"numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7945 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
7946 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7947 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss <<
", data=NULL";
7948 else { oss <<
", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7949 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7952 case HIP_API_ID_hipEventCreate:
7953 oss <<
"hipEventCreate(";
7954 if (data->args.hipEventCreate.event == NULL) oss <<
"event=NULL";
7955 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7958 case HIP_API_ID_hipEventCreateWithFlags:
7959 oss <<
"hipEventCreateWithFlags(";
7960 if (data->args.hipEventCreateWithFlags.event == NULL) oss <<
"event=NULL";
7961 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7962 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7965 case HIP_API_ID_hipEventDestroy:
7966 oss <<
"hipEventDestroy(";
7967 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7970 case HIP_API_ID_hipEventElapsedTime:
7971 oss <<
"hipEventElapsedTime(";
7972 if (data->args.hipEventElapsedTime.ms == NULL) oss <<
"ms=NULL";
7973 else { oss <<
"ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7974 oss <<
", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7975 oss <<
", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7978 case HIP_API_ID_hipEventQuery:
7979 oss <<
"hipEventQuery(";
7980 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7983 case HIP_API_ID_hipEventRecord:
7984 oss <<
"hipEventRecord(";
7985 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7986 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7989 case HIP_API_ID_hipEventSynchronize:
7990 oss <<
"hipEventSynchronize(";
7991 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7994 case HIP_API_ID_hipExtGetLastError:
7995 oss <<
"hipExtGetLastError(";
7998 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7999 oss <<
"hipExtGetLinkTypeAndHopCount(";
8000 oss <<
"device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
8001 oss <<
", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
8002 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss <<
", linktype=NULL";
8003 else { oss <<
", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
8004 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss <<
", hopcount=NULL";
8005 else { oss <<
", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
8008 case HIP_API_ID_hipExtLaunchKernel:
8009 oss <<
"hipExtLaunchKernel(";
8010 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
8011 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
8012 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
8013 if (data->args.hipExtLaunchKernel.args == NULL) oss <<
", args=NULL";
8014 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
8015 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
8016 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
8017 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
8018 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
8019 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
8022 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
8023 oss <<
"hipExtLaunchMultiKernelMultiDevice(";
8024 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
8025 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
8026 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
8027 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
8030 case HIP_API_ID_hipExtMallocWithFlags:
8031 oss <<
"hipExtMallocWithFlags(";
8032 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss <<
"ptr=NULL";
8033 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
8034 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
8035 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
8038 case HIP_API_ID_hipExtModuleLaunchKernel:
8039 oss <<
"hipExtModuleLaunchKernel(";
8040 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
8041 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
8042 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
8043 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
8044 oss <<
", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
8045 oss <<
", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
8046 oss <<
", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
8047 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
8048 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
8049 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8050 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
8051 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
8052 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
8053 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
8054 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
8055 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
8058 case HIP_API_ID_hipExtStreamCreateWithCUMask:
8059 oss <<
"hipExtStreamCreateWithCUMask(";
8060 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss <<
"stream=NULL";
8061 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
8062 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
8063 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
8064 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
8067 case HIP_API_ID_hipExtStreamGetCUMask:
8068 oss <<
"hipExtStreamGetCUMask(";
8069 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
8070 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
8071 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
8072 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
8075 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
8076 oss <<
"hipExternalMemoryGetMappedBuffer(";
8077 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss <<
"devPtr=NULL";
8078 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
8079 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
8080 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss <<
", bufferDesc=NULL";
8081 else { oss <<
", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
8084 case HIP_API_ID_hipExternalMemoryGetMappedMipmappedArray:
8085 oss <<
"hipExternalMemoryGetMappedMipmappedArray(";
8086 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap == NULL) oss <<
"mipmap=NULL";
8087 else { oss <<
"mipmap="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmap__val); }
8088 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.extMem);
8089 if (data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc == NULL) oss <<
", mipmapDesc=NULL";
8090 else { oss <<
", mipmapDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedMipmappedArray.mipmapDesc__val); }
8093 case HIP_API_ID_hipFree:
8095 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
8098 case HIP_API_ID_hipFreeArray:
8099 oss <<
"hipFreeArray(";
8100 oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array);
8103 case HIP_API_ID_hipFreeAsync:
8104 oss <<
"hipFreeAsync(";
8105 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
8106 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
8109 case HIP_API_ID_hipFreeHost:
8110 oss <<
"hipFreeHost(";
8111 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
8114 case HIP_API_ID_hipFreeMipmappedArray:
8115 oss <<
"hipFreeMipmappedArray(";
8116 oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
8119 case HIP_API_ID_hipFuncGetAttribute:
8120 oss <<
"hipFuncGetAttribute(";
8121 if (data->args.hipFuncGetAttribute.value == NULL) oss <<
"value=NULL";
8122 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
8123 oss <<
", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
8124 oss <<
", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
8127 case HIP_API_ID_hipFuncGetAttributes:
8128 oss <<
"hipFuncGetAttributes(";
8129 if (data->args.hipFuncGetAttributes.attr == NULL) oss <<
"attr=NULL";
8130 else { oss <<
"attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
8131 oss <<
", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
8134 case HIP_API_ID_hipFuncSetAttribute:
8135 oss <<
"hipFuncSetAttribute(";
8136 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
8137 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
8138 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
8141 case HIP_API_ID_hipFuncSetCacheConfig:
8142 oss <<
"hipFuncSetCacheConfig(";
8143 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
8144 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
8147 case HIP_API_ID_hipFuncSetSharedMemConfig:
8148 oss <<
"hipFuncSetSharedMemConfig(";
8149 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
8150 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
8153 case HIP_API_ID_hipGLGetDevices:
8154 oss <<
"hipGLGetDevices(";
8155 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss <<
"pHipDeviceCount=NULL";
8156 else { oss <<
"pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
8157 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss <<
", pHipDevices=NULL";
8158 else { oss <<
", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
8159 oss <<
", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
8160 oss <<
", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
8163 case HIP_API_ID_hipGetChannelDesc:
8164 oss <<
"hipGetChannelDesc(";
8165 if (data->args.hipGetChannelDesc.desc == NULL) oss <<
"desc=NULL";
8166 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
8167 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
8170 case HIP_API_ID_hipGetDevice:
8171 oss <<
"hipGetDevice(";
8172 if (data->args.hipGetDevice.deviceId == NULL) oss <<
"deviceId=NULL";
8173 else { oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
8176 case HIP_API_ID_hipGetDeviceCount:
8177 oss <<
"hipGetDeviceCount(";
8178 if (data->args.hipGetDeviceCount.count == NULL) oss <<
"count=NULL";
8179 else { oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
8182 case HIP_API_ID_hipGetDeviceFlags:
8183 oss <<
"hipGetDeviceFlags(";
8184 if (data->args.hipGetDeviceFlags.flags == NULL) oss <<
"flags=NULL";
8185 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
8188 case HIP_API_ID_hipGetDevicePropertiesR0000:
8189 oss <<
"hipGetDevicePropertiesR0000(";
8190 if (data->args.hipGetDevicePropertiesR0000.prop == NULL) oss <<
"prop=NULL";
8191 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.prop__val); }
8192 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0000.device);
8195 case HIP_API_ID_hipGetDevicePropertiesR0600:
8196 oss <<
"hipGetDevicePropertiesR0600(";
8197 if (data->args.hipGetDevicePropertiesR0600.prop == NULL) oss <<
"prop=NULL";
8198 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.prop__val); }
8199 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevicePropertiesR0600.deviceId);
8202 case HIP_API_ID_hipGetErrorString:
8203 oss <<
"hipGetErrorString(";
8206 case HIP_API_ID_hipGetFuncBySymbol:
8207 oss <<
"hipGetFuncBySymbol(";
8208 if (data->args.hipGetFuncBySymbol.functionPtr == NULL) oss <<
"functionPtr=NULL";
8209 else { oss <<
"functionPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.functionPtr__val); }
8210 oss <<
", symbolPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.symbolPtr);
8213 case HIP_API_ID_hipGetLastError:
8214 oss <<
"hipGetLastError(";
8217 case HIP_API_ID_hipGetMipmappedArrayLevel:
8218 oss <<
"hipGetMipmappedArrayLevel(";
8219 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss <<
"levelArray=NULL";
8220 else { oss <<
"levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
8221 oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
8222 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
8225 case HIP_API_ID_hipGetProcAddress:
8226 oss <<
"hipGetProcAddress(";
8227 if (data->args.hipGetProcAddress.symbol == NULL) oss <<
"symbol=NULL";
8228 else { oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbol__val); }
8229 if (data->args.hipGetProcAddress.pfn == NULL) oss <<
", pfn=NULL";
8230 else { oss <<
", pfn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.pfn__val); }
8231 oss <<
", hipVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.hipVersion);
8232 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.flags);
8233 if (data->args.hipGetProcAddress.symbolStatus == NULL) oss <<
", symbolStatus=NULL";
8234 else { oss <<
", symbolStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbolStatus__val); }
8237 case HIP_API_ID_hipGetSymbolAddress:
8238 oss <<
"hipGetSymbolAddress(";
8239 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss <<
"devPtr=NULL";
8240 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
8241 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
8244 case HIP_API_ID_hipGetSymbolSize:
8245 oss <<
"hipGetSymbolSize(";
8246 if (data->args.hipGetSymbolSize.size == NULL) oss <<
"size=NULL";
8247 else { oss <<
"size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
8248 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
8251 case HIP_API_ID_hipGraphAddChildGraphNode:
8252 oss <<
"hipGraphAddChildGraphNode(";
8253 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8254 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
8255 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
8256 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8257 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
8258 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
8259 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
8262 case HIP_API_ID_hipGraphAddDependencies:
8263 oss <<
"hipGraphAddDependencies(";
8264 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
8265 if (data->args.hipGraphAddDependencies.from == NULL) oss <<
", from=NULL";
8266 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
8267 if (data->args.hipGraphAddDependencies.to == NULL) oss <<
", to=NULL";
8268 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
8269 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
8272 case HIP_API_ID_hipGraphAddEmptyNode:
8273 oss <<
"hipGraphAddEmptyNode(";
8274 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8275 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
8276 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
8277 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8278 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
8279 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
8282 case HIP_API_ID_hipGraphAddEventRecordNode:
8283 oss <<
"hipGraphAddEventRecordNode(";
8284 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8285 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
8286 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
8287 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8288 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
8289 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
8290 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
8293 case HIP_API_ID_hipGraphAddEventWaitNode:
8294 oss <<
"hipGraphAddEventWaitNode(";
8295 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8296 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
8297 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
8298 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8299 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
8300 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
8301 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
8304 case HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode:
8305 oss <<
"hipGraphAddExternalSemaphoresSignalNode(";
8306 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8307 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode__val); }
8308 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.graph);
8309 if (data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8310 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.pDependencies__val); }
8311 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.numDependencies);
8312 if (data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8313 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresSignalNode.nodeParams__val); }
8316 case HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode:
8317 oss <<
"hipGraphAddExternalSemaphoresWaitNode(";
8318 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8319 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode__val); }
8320 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.graph);
8321 if (data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8322 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.pDependencies__val); }
8323 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.numDependencies);
8324 if (data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8325 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddExternalSemaphoresWaitNode.nodeParams__val); }
8328 case HIP_API_ID_hipGraphAddHostNode:
8329 oss <<
"hipGraphAddHostNode(";
8330 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8331 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
8332 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
8333 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8334 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
8335 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
8336 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8337 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
8340 case HIP_API_ID_hipGraphAddKernelNode:
8341 oss <<
"hipGraphAddKernelNode(";
8342 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8343 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
8344 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
8345 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8346 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
8347 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
8348 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8349 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
8352 case HIP_API_ID_hipGraphAddMemAllocNode:
8353 oss <<
"hipGraphAddMemAllocNode(";
8354 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8355 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
8356 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
8357 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8358 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
8359 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
8360 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8361 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
8364 case HIP_API_ID_hipGraphAddMemFreeNode:
8365 oss <<
"hipGraphAddMemFreeNode(";
8366 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8367 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
8368 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
8369 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8370 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
8371 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
8372 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
8375 case HIP_API_ID_hipGraphAddMemcpyNode:
8376 oss <<
"hipGraphAddMemcpyNode(";
8377 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8378 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
8379 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
8380 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8381 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
8382 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
8383 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss <<
", pCopyParams=NULL";
8384 else { oss <<
", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
8387 case HIP_API_ID_hipGraphAddMemcpyNode1D:
8388 oss <<
"hipGraphAddMemcpyNode1D(";
8389 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8390 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
8391 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
8392 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss <<
", pDependencies=NULL";
8393 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
8394 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
8395 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
8396 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
8397 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
8398 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
8401 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
8402 oss <<
"hipGraphAddMemcpyNodeFromSymbol(";
8403 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8404 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
8405 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
8406 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8407 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
8408 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
8409 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
8410 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
8411 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
8412 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
8413 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
8416 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
8417 oss <<
"hipGraphAddMemcpyNodeToSymbol(";
8418 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8419 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
8420 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
8421 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
8422 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
8423 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
8424 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
8425 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
8426 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
8427 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
8428 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
8431 case HIP_API_ID_hipGraphAddMemsetNode:
8432 oss <<
"hipGraphAddMemsetNode(";
8433 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8434 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
8435 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
8436 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8437 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
8438 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
8439 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss <<
", pMemsetParams=NULL";
8440 else { oss <<
", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
8443 case HIP_API_ID_hipGraphAddNode:
8444 oss <<
"hipGraphAddNode(";
8445 if (data->args.hipGraphAddNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
8446 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pGraphNode__val); }
8447 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.graph);
8448 if (data->args.hipGraphAddNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
8449 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pDependencies__val); }
8450 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.numDependencies);
8451 if (data->args.hipGraphAddNode.nodeParams == NULL) oss <<
", nodeParams=NULL";
8452 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.nodeParams__val); }
8455 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
8456 oss <<
"hipGraphChildGraphNodeGetGraph(";
8457 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
8458 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss <<
", pGraph=NULL";
8459 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
8462 case HIP_API_ID_hipGraphClone:
8463 oss <<
"hipGraphClone(";
8464 if (data->args.hipGraphClone.pGraphClone == NULL) oss <<
"pGraphClone=NULL";
8465 else { oss <<
"pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
8466 oss <<
", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
8469 case HIP_API_ID_hipGraphCreate:
8470 oss <<
"hipGraphCreate(";
8471 if (data->args.hipGraphCreate.pGraph == NULL) oss <<
"pGraph=NULL";
8472 else { oss <<
"pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
8473 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
8476 case HIP_API_ID_hipGraphDebugDotPrint:
8477 oss <<
"hipGraphDebugDotPrint(";
8478 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
8479 if (data->args.hipGraphDebugDotPrint.path == NULL) oss <<
", path=NULL";
8480 else { oss <<
", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
8481 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
8484 case HIP_API_ID_hipGraphDestroy:
8485 oss <<
"hipGraphDestroy(";
8486 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
8489 case HIP_API_ID_hipGraphDestroyNode:
8490 oss <<
"hipGraphDestroyNode(";
8491 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
8494 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
8495 oss <<
"hipGraphEventRecordNodeGetEvent(";
8496 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
8497 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8498 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
8501 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
8502 oss <<
"hipGraphEventRecordNodeSetEvent(";
8503 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
8504 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
8507 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
8508 oss <<
"hipGraphEventWaitNodeGetEvent(";
8509 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
8510 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
8511 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
8514 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
8515 oss <<
"hipGraphEventWaitNodeSetEvent(";
8516 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
8517 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
8520 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
8521 oss <<
"hipGraphExecChildGraphNodeSetParams(";
8522 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
8523 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
8524 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
8527 case HIP_API_ID_hipGraphExecDestroy:
8528 oss <<
"hipGraphExecDestroy(";
8529 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
8532 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
8533 oss <<
"hipGraphExecEventRecordNodeSetEvent(";
8534 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
8535 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
8536 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
8539 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
8540 oss <<
"hipGraphExecEventWaitNodeSetEvent(";
8541 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
8542 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
8543 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
8546 case HIP_API_ID_hipGraphExecExternalSemaphoresSignalNodeSetParams:
8547 oss <<
"hipGraphExecExternalSemaphoresSignalNodeSetParams(";
8548 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec);
8549 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode);
8550 if (data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8551 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8554 case HIP_API_ID_hipGraphExecExternalSemaphoresWaitNodeSetParams:
8555 oss <<
"hipGraphExecExternalSemaphoresWaitNodeSetParams(";
8556 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec);
8557 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode);
8558 if (data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8559 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8562 case HIP_API_ID_hipGraphExecHostNodeSetParams:
8563 oss <<
"hipGraphExecHostNodeSetParams(";
8564 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
8565 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
8566 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8567 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
8570 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
8571 oss <<
"hipGraphExecKernelNodeSetParams(";
8572 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
8573 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
8574 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8575 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
8578 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
8579 oss <<
"hipGraphExecMemcpyNodeSetParams(";
8580 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
8581 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
8582 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8583 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
8586 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
8587 oss <<
"hipGraphExecMemcpyNodeSetParams1D(";
8588 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
8589 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
8590 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
8591 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
8592 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
8593 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
8596 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
8597 oss <<
"hipGraphExecMemcpyNodeSetParamsFromSymbol(";
8598 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
8599 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
8600 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
8601 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
8602 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
8603 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
8604 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
8607 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
8608 oss <<
"hipGraphExecMemcpyNodeSetParamsToSymbol(";
8609 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
8610 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
8611 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
8612 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
8613 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
8614 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
8615 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
8618 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
8619 oss <<
"hipGraphExecMemsetNodeSetParams(";
8620 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
8621 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
8622 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8623 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
8626 case HIP_API_ID_hipGraphExecUpdate:
8627 oss <<
"hipGraphExecUpdate(";
8628 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
8629 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
8630 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss <<
", hErrorNode_out=NULL";
8631 else { oss <<
", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
8632 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss <<
", updateResult_out=NULL";
8633 else { oss <<
", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
8636 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeGetParams:
8637 oss <<
"hipGraphExternalSemaphoresSignalNodeGetParams(";
8638 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode);
8639 if (data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8640 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out__val); }
8643 case HIP_API_ID_hipGraphExternalSemaphoresSignalNodeSetParams:
8644 oss <<
"hipGraphExternalSemaphoresSignalNodeSetParams(";
8645 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode);
8646 if (data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8647 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams__val); }
8650 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams:
8651 oss <<
"hipGraphExternalSemaphoresWaitNodeGetParams(";
8652 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode);
8653 if (data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out == NULL) oss <<
", params_out=NULL";
8654 else { oss <<
", params_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out__val); }
8657 case HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams:
8658 oss <<
"hipGraphExternalSemaphoresWaitNodeSetParams(";
8659 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode);
8660 if (data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams == NULL) oss <<
", nodeParams=NULL";
8661 else { oss <<
", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams__val); }
8664 case HIP_API_ID_hipGraphGetEdges:
8665 oss <<
"hipGraphGetEdges(";
8666 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
8667 if (data->args.hipGraphGetEdges.from == NULL) oss <<
", from=NULL";
8668 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
8669 if (data->args.hipGraphGetEdges.to == NULL) oss <<
", to=NULL";
8670 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
8671 if (data->args.hipGraphGetEdges.numEdges == NULL) oss <<
", numEdges=NULL";
8672 else { oss <<
", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
8675 case HIP_API_ID_hipGraphGetNodes:
8676 oss <<
"hipGraphGetNodes(";
8677 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
8678 if (data->args.hipGraphGetNodes.nodes == NULL) oss <<
", nodes=NULL";
8679 else { oss <<
", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
8680 if (data->args.hipGraphGetNodes.numNodes == NULL) oss <<
", numNodes=NULL";
8681 else { oss <<
", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
8684 case HIP_API_ID_hipGraphGetRootNodes:
8685 oss <<
"hipGraphGetRootNodes(";
8686 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
8687 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss <<
", pRootNodes=NULL";
8688 else { oss <<
", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
8689 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss <<
", pNumRootNodes=NULL";
8690 else { oss <<
", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8693 case HIP_API_ID_hipGraphHostNodeGetParams:
8694 oss <<
"hipGraphHostNodeGetParams(";
8695 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8696 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8697 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8700 case HIP_API_ID_hipGraphHostNodeSetParams:
8701 oss <<
"hipGraphHostNodeSetParams(";
8702 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8703 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8704 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8707 case HIP_API_ID_hipGraphInstantiate:
8708 oss <<
"hipGraphInstantiate(";
8709 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8710 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8711 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8712 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss <<
", pErrorNode=NULL";
8713 else { oss <<
", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8714 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss <<
", pLogBuffer=NULL";
8715 else { oss <<
", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8716 oss <<
", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8719 case HIP_API_ID_hipGraphInstantiateWithFlags:
8720 oss <<
"hipGraphInstantiateWithFlags(";
8721 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8722 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8723 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8724 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8727 case HIP_API_ID_hipGraphInstantiateWithParams:
8728 oss <<
"hipGraphInstantiateWithParams(";
8729 if (data->args.hipGraphInstantiateWithParams.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8730 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.pGraphExec__val); }
8731 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.graph);
8732 if (data->args.hipGraphInstantiateWithParams.instantiateParams == NULL) oss <<
", instantiateParams=NULL";
8733 else { oss <<
", instantiateParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.instantiateParams__val); }
8736 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8737 oss <<
"hipGraphKernelNodeCopyAttributes(";
8738 oss <<
"hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8739 oss <<
", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8742 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8743 oss <<
"hipGraphKernelNodeGetAttribute(";
8744 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8745 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8746 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss <<
", value=NULL";
8747 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8750 case HIP_API_ID_hipGraphKernelNodeGetParams:
8751 oss <<
"hipGraphKernelNodeGetParams(";
8752 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8753 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8754 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8757 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8758 oss <<
"hipGraphKernelNodeSetAttribute(";
8759 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8760 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8761 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss <<
", value=NULL";
8762 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8765 case HIP_API_ID_hipGraphKernelNodeSetParams:
8766 oss <<
"hipGraphKernelNodeSetParams(";
8767 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8768 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8769 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8772 case HIP_API_ID_hipGraphLaunch:
8773 oss <<
"hipGraphLaunch(";
8774 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8775 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8778 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8779 oss <<
"hipGraphMemAllocNodeGetParams(";
8780 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8781 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8782 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8785 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8786 oss <<
"hipGraphMemFreeNodeGetParams(";
8787 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8788 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8791 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8792 oss <<
"hipGraphMemcpyNodeGetParams(";
8793 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8794 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8795 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8798 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8799 oss <<
"hipGraphMemcpyNodeSetParams(";
8800 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8801 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8802 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8805 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8806 oss <<
"hipGraphMemcpyNodeSetParams1D(";
8807 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8808 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8809 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8810 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8811 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8814 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8815 oss <<
"hipGraphMemcpyNodeSetParamsFromSymbol(";
8816 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8817 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8818 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8819 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8820 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8821 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8824 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8825 oss <<
"hipGraphMemcpyNodeSetParamsToSymbol(";
8826 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8827 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8828 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8829 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8830 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8831 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8834 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8835 oss <<
"hipGraphMemsetNodeGetParams(";
8836 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8837 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8838 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8841 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8842 oss <<
"hipGraphMemsetNodeSetParams(";
8843 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8844 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8845 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8848 case HIP_API_ID_hipGraphNodeFindInClone:
8849 oss <<
"hipGraphNodeFindInClone(";
8850 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss <<
"pNode=NULL";
8851 else { oss <<
"pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8852 oss <<
", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8853 oss <<
", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8856 case HIP_API_ID_hipGraphNodeGetDependencies:
8857 oss <<
"hipGraphNodeGetDependencies(";
8858 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8859 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss <<
", pDependencies=NULL";
8860 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8861 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss <<
", pNumDependencies=NULL";
8862 else { oss <<
", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8865 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8866 oss <<
"hipGraphNodeGetDependentNodes(";
8867 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8868 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss <<
", pDependentNodes=NULL";
8869 else { oss <<
", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8870 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss <<
", pNumDependentNodes=NULL";
8871 else { oss <<
", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8874 case HIP_API_ID_hipGraphNodeGetEnabled:
8875 oss <<
"hipGraphNodeGetEnabled(";
8876 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8877 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8878 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss <<
", isEnabled=NULL";
8879 else { oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8882 case HIP_API_ID_hipGraphNodeGetType:
8883 oss <<
"hipGraphNodeGetType(";
8884 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8885 if (data->args.hipGraphNodeGetType.pType == NULL) oss <<
", pType=NULL";
8886 else { oss <<
", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8889 case HIP_API_ID_hipGraphNodeSetEnabled:
8890 oss <<
"hipGraphNodeSetEnabled(";
8891 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8892 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8893 oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8896 case HIP_API_ID_hipGraphReleaseUserObject:
8897 oss <<
"hipGraphReleaseUserObject(";
8898 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8899 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8900 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8903 case HIP_API_ID_hipGraphRemoveDependencies:
8904 oss <<
"hipGraphRemoveDependencies(";
8905 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8906 if (data->args.hipGraphRemoveDependencies.from == NULL) oss <<
", from=NULL";
8907 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8908 if (data->args.hipGraphRemoveDependencies.to == NULL) oss <<
", to=NULL";
8909 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8910 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8913 case HIP_API_ID_hipGraphRetainUserObject:
8914 oss <<
"hipGraphRetainUserObject(";
8915 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8916 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8917 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8918 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8921 case HIP_API_ID_hipGraphUpload:
8922 oss <<
"hipGraphUpload(";
8923 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8924 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8927 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8928 oss <<
"hipGraphicsGLRegisterBuffer(";
8929 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss <<
"resource=NULL";
8930 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8931 oss <<
", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8932 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8935 case HIP_API_ID_hipGraphicsGLRegisterImage:
8936 oss <<
"hipGraphicsGLRegisterImage(";
8937 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss <<
"resource=NULL";
8938 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8939 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8940 oss <<
", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8941 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8944 case HIP_API_ID_hipGraphicsMapResources:
8945 oss <<
"hipGraphicsMapResources(";
8946 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8947 if (data->args.hipGraphicsMapResources.resources == NULL) oss <<
", resources=NULL";
8948 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8949 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8952 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8953 oss <<
"hipGraphicsResourceGetMappedPointer(";
8954 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss <<
"devPtr=NULL";
8955 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8956 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss <<
", size=NULL";
8957 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8958 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8961 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8962 oss <<
"hipGraphicsSubResourceGetMappedArray(";
8963 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss <<
"array=NULL";
8964 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8965 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8966 oss <<
", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8967 oss <<
", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8970 case HIP_API_ID_hipGraphicsUnmapResources:
8971 oss <<
"hipGraphicsUnmapResources(";
8972 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8973 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss <<
", resources=NULL";
8974 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8975 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8978 case HIP_API_ID_hipGraphicsUnregisterResource:
8979 oss <<
"hipGraphicsUnregisterResource(";
8980 oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8983 case HIP_API_ID_hipHccModuleLaunchKernel:
8984 oss <<
"hipHccModuleLaunchKernel(";
8985 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8986 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8987 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8988 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8989 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8990 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8991 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8992 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8993 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8994 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8995 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8996 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
8997 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8998 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8999 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
9002 case HIP_API_ID_hipHostAlloc:
9003 oss <<
"hipHostAlloc(";
9004 if (data->args.hipHostAlloc.ptr == NULL) oss <<
"ptr=NULL";
9005 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
9006 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
9007 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
9010 case HIP_API_ID_hipHostFree:
9011 oss <<
"hipHostFree(";
9012 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
9015 case HIP_API_ID_hipHostGetDevicePointer:
9016 oss <<
"hipHostGetDevicePointer(";
9017 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss <<
"devPtr=NULL";
9018 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
9019 oss <<
", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
9020 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
9023 case HIP_API_ID_hipHostGetFlags:
9024 oss <<
"hipHostGetFlags(";
9025 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss <<
"flagsPtr=NULL";
9026 else { oss <<
"flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
9027 oss <<
", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
9030 case HIP_API_ID_hipHostMalloc:
9031 oss <<
"hipHostMalloc(";
9032 if (data->args.hipHostMalloc.ptr == NULL) oss <<
"ptr=NULL";
9033 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
9034 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
9035 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
9038 case HIP_API_ID_hipHostRegister:
9039 oss <<
"hipHostRegister(";
9040 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
9041 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
9042 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
9045 case HIP_API_ID_hipHostUnregister:
9046 oss <<
"hipHostUnregister(";
9047 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
9050 case HIP_API_ID_hipImportExternalMemory:
9051 oss <<
"hipImportExternalMemory(";
9052 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss <<
"extMem_out=NULL";
9053 else { oss <<
"extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
9054 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss <<
", memHandleDesc=NULL";
9055 else { oss <<
", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
9058 case HIP_API_ID_hipImportExternalSemaphore:
9059 oss <<
"hipImportExternalSemaphore(";
9060 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss <<
"extSem_out=NULL";
9061 else { oss <<
"extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
9062 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss <<
", semHandleDesc=NULL";
9063 else { oss <<
", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
9066 case HIP_API_ID_hipInit:
9068 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
9071 case HIP_API_ID_hipIpcCloseMemHandle:
9072 oss <<
"hipIpcCloseMemHandle(";
9073 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
9076 case HIP_API_ID_hipIpcGetEventHandle:
9077 oss <<
"hipIpcGetEventHandle(";
9078 if (data->args.hipIpcGetEventHandle.handle == NULL) oss <<
"handle=NULL";
9079 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
9080 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
9083 case HIP_API_ID_hipIpcGetMemHandle:
9084 oss <<
"hipIpcGetMemHandle(";
9085 if (data->args.hipIpcGetMemHandle.handle == NULL) oss <<
"handle=NULL";
9086 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
9087 oss <<
", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
9090 case HIP_API_ID_hipIpcOpenEventHandle:
9091 oss <<
"hipIpcOpenEventHandle(";
9092 if (data->args.hipIpcOpenEventHandle.event == NULL) oss <<
"event=NULL";
9093 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
9094 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
9097 case HIP_API_ID_hipIpcOpenMemHandle:
9098 oss <<
"hipIpcOpenMemHandle(";
9099 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss <<
"devPtr=NULL";
9100 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
9101 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
9102 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
9105 case HIP_API_ID_hipLaunchByPtr:
9106 oss <<
"hipLaunchByPtr(";
9107 oss <<
"hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
9110 case HIP_API_ID_hipLaunchCooperativeKernel:
9111 oss <<
"hipLaunchCooperativeKernel(";
9112 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
9113 oss <<
", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
9114 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
9115 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9116 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
9117 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
9118 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
9121 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
9122 oss <<
"hipLaunchCooperativeKernelMultiDevice(";
9123 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
9124 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9125 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
9126 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
9129 case HIP_API_ID_hipLaunchHostFunc:
9130 oss <<
"hipLaunchHostFunc(";
9131 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
9132 oss <<
", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
9133 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
9136 case HIP_API_ID_hipLaunchKernel:
9137 oss <<
"hipLaunchKernel(";
9138 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
9139 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
9140 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
9141 if (data->args.hipLaunchKernel.args == NULL) oss <<
", args=NULL";
9142 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
9143 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
9144 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
9147 case HIP_API_ID_hipMalloc:
9148 oss <<
"hipMalloc(";
9149 if (data->args.hipMalloc.ptr == NULL) oss <<
"ptr=NULL";
9150 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
9151 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
9154 case HIP_API_ID_hipMalloc3D:
9155 oss <<
"hipMalloc3D(";
9156 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss <<
"pitchedDevPtr=NULL";
9157 else { oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
9158 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
9161 case HIP_API_ID_hipMalloc3DArray:
9162 oss <<
"hipMalloc3DArray(";
9163 if (data->args.hipMalloc3DArray.array == NULL) oss <<
"array=NULL";
9164 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
9165 if (data->args.hipMalloc3DArray.desc == NULL) oss <<
", desc=NULL";
9166 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
9167 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
9168 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
9171 case HIP_API_ID_hipMallocArray:
9172 oss <<
"hipMallocArray(";
9173 if (data->args.hipMallocArray.array == NULL) oss <<
"array=NULL";
9174 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.array__val); }
9175 if (data->args.hipMallocArray.desc == NULL) oss <<
", desc=NULL";
9176 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
9177 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
9178 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
9179 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
9182 case HIP_API_ID_hipMallocAsync:
9183 oss <<
"hipMallocAsync(";
9184 if (data->args.hipMallocAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9185 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
9186 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
9187 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
9190 case HIP_API_ID_hipMallocFromPoolAsync:
9191 oss <<
"hipMallocFromPoolAsync(";
9192 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9193 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
9194 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
9195 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
9196 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
9199 case HIP_API_ID_hipMallocHost:
9200 oss <<
"hipMallocHost(";
9201 if (data->args.hipMallocHost.ptr == NULL) oss <<
"ptr=NULL";
9202 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
9203 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
9206 case HIP_API_ID_hipMallocManaged:
9207 oss <<
"hipMallocManaged(";
9208 if (data->args.hipMallocManaged.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9209 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
9210 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
9211 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
9214 case HIP_API_ID_hipMallocMipmappedArray:
9215 oss <<
"hipMallocMipmappedArray(";
9216 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss <<
"mipmappedArray=NULL";
9217 else { oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
9218 if (data->args.hipMallocMipmappedArray.desc == NULL) oss <<
", desc=NULL";
9219 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
9220 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
9221 oss <<
", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
9222 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
9225 case HIP_API_ID_hipMallocPitch:
9226 oss <<
"hipMallocPitch(";
9227 if (data->args.hipMallocPitch.ptr == NULL) oss <<
"ptr=NULL";
9228 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
9229 if (data->args.hipMallocPitch.pitch == NULL) oss <<
", pitch=NULL";
9230 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
9231 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
9232 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
9235 case HIP_API_ID_hipMemAddressFree:
9236 oss <<
"hipMemAddressFree(";
9237 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
9238 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
9241 case HIP_API_ID_hipMemAddressReserve:
9242 oss <<
"hipMemAddressReserve(";
9243 if (data->args.hipMemAddressReserve.ptr == NULL) oss <<
"ptr=NULL";
9244 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
9245 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
9246 oss <<
", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
9247 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
9248 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
9251 case HIP_API_ID_hipMemAdvise:
9252 oss <<
"hipMemAdvise(";
9253 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
9254 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
9255 oss <<
", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
9256 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
9259 case HIP_API_ID_hipMemAllocHost:
9260 oss <<
"hipMemAllocHost(";
9261 if (data->args.hipMemAllocHost.ptr == NULL) oss <<
"ptr=NULL";
9262 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
9263 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
9266 case HIP_API_ID_hipMemAllocPitch:
9267 oss <<
"hipMemAllocPitch(";
9268 if (data->args.hipMemAllocPitch.dptr == NULL) oss <<
"dptr=NULL";
9269 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
9270 if (data->args.hipMemAllocPitch.pitch == NULL) oss <<
", pitch=NULL";
9271 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
9272 oss <<
", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
9273 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
9274 oss <<
", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
9277 case HIP_API_ID_hipMemCreate:
9278 oss <<
"hipMemCreate(";
9279 if (data->args.hipMemCreate.handle == NULL) oss <<
"handle=NULL";
9280 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
9281 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
9282 if (data->args.hipMemCreate.prop == NULL) oss <<
", prop=NULL";
9283 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
9284 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
9287 case HIP_API_ID_hipMemExportToShareableHandle:
9288 oss <<
"hipMemExportToShareableHandle(";
9289 oss <<
"shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
9290 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
9291 oss <<
", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
9292 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
9295 case HIP_API_ID_hipMemGetAccess:
9296 oss <<
"hipMemGetAccess(";
9297 if (data->args.hipMemGetAccess.flags == NULL) oss <<
"flags=NULL";
9298 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
9299 if (data->args.hipMemGetAccess.location == NULL) oss <<
", location=NULL";
9300 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
9301 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
9304 case HIP_API_ID_hipMemGetAddressRange:
9305 oss <<
"hipMemGetAddressRange(";
9306 if (data->args.hipMemGetAddressRange.pbase == NULL) oss <<
"pbase=NULL";
9307 else { oss <<
"pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
9308 if (data->args.hipMemGetAddressRange.psize == NULL) oss <<
", psize=NULL";
9309 else { oss <<
", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
9310 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
9313 case HIP_API_ID_hipMemGetAllocationGranularity:
9314 oss <<
"hipMemGetAllocationGranularity(";
9315 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss <<
"granularity=NULL";
9316 else { oss <<
"granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
9317 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss <<
", prop=NULL";
9318 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
9319 oss <<
", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
9322 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
9323 oss <<
"hipMemGetAllocationPropertiesFromHandle(";
9324 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss <<
"prop=NULL";
9325 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
9326 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
9329 case HIP_API_ID_hipMemGetInfo:
9330 oss <<
"hipMemGetInfo(";
9331 if (data->args.hipMemGetInfo.free == NULL) oss <<
"free=NULL";
9332 else { oss <<
"free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
9333 if (data->args.hipMemGetInfo.total == NULL) oss <<
", total=NULL";
9334 else { oss <<
", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
9337 case HIP_API_ID_hipMemImportFromShareableHandle:
9338 oss <<
"hipMemImportFromShareableHandle(";
9339 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss <<
"handle=NULL";
9340 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
9341 oss <<
", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
9342 oss <<
", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
9345 case HIP_API_ID_hipMemMap:
9346 oss <<
"hipMemMap(";
9347 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
9348 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
9349 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
9350 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
9351 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
9354 case HIP_API_ID_hipMemMapArrayAsync:
9355 oss <<
"hipMemMapArrayAsync(";
9356 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss <<
"mapInfoList=NULL";
9357 else { oss <<
"mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
9358 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
9359 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
9362 case HIP_API_ID_hipMemPoolCreate:
9363 oss <<
"hipMemPoolCreate(";
9364 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss <<
"mem_pool=NULL";
9365 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
9366 if (data->args.hipMemPoolCreate.pool_props == NULL) oss <<
", pool_props=NULL";
9367 else { oss <<
", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
9370 case HIP_API_ID_hipMemPoolDestroy:
9371 oss <<
"hipMemPoolDestroy(";
9372 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
9375 case HIP_API_ID_hipMemPoolExportPointer:
9376 oss <<
"hipMemPoolExportPointer(";
9377 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss <<
"export_data=NULL";
9378 else { oss <<
"export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
9379 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
9382 case HIP_API_ID_hipMemPoolExportToShareableHandle:
9383 oss <<
"hipMemPoolExportToShareableHandle(";
9384 oss <<
"shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
9385 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
9386 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
9387 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
9390 case HIP_API_ID_hipMemPoolGetAccess:
9391 oss <<
"hipMemPoolGetAccess(";
9392 if (data->args.hipMemPoolGetAccess.flags == NULL) oss <<
"flags=NULL";
9393 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
9394 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
9395 if (data->args.hipMemPoolGetAccess.location == NULL) oss <<
", location=NULL";
9396 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
9399 case HIP_API_ID_hipMemPoolGetAttribute:
9400 oss <<
"hipMemPoolGetAttribute(";
9401 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
9402 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
9403 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
9406 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
9407 oss <<
"hipMemPoolImportFromShareableHandle(";
9408 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss <<
"mem_pool=NULL";
9409 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
9410 oss <<
", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
9411 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
9412 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
9415 case HIP_API_ID_hipMemPoolImportPointer:
9416 oss <<
"hipMemPoolImportPointer(";
9417 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9418 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
9419 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
9420 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss <<
", export_data=NULL";
9421 else { oss <<
", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
9424 case HIP_API_ID_hipMemPoolSetAccess:
9425 oss <<
"hipMemPoolSetAccess(";
9426 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
9427 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss <<
", desc_list=NULL";
9428 else { oss <<
", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
9429 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
9432 case HIP_API_ID_hipMemPoolSetAttribute:
9433 oss <<
"hipMemPoolSetAttribute(";
9434 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
9435 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
9436 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
9439 case HIP_API_ID_hipMemPoolTrimTo:
9440 oss <<
"hipMemPoolTrimTo(";
9441 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
9442 oss <<
", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
9445 case HIP_API_ID_hipMemPrefetchAsync:
9446 oss <<
"hipMemPrefetchAsync(";
9447 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
9448 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
9449 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
9450 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
9453 case HIP_API_ID_hipMemPtrGetInfo:
9454 oss <<
"hipMemPtrGetInfo(";
9455 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
9456 if (data->args.hipMemPtrGetInfo.size == NULL) oss <<
", size=NULL";
9457 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
9460 case HIP_API_ID_hipMemRangeGetAttribute:
9461 oss <<
"hipMemRangeGetAttribute(";
9462 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
9463 oss <<
", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
9464 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
9465 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
9466 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
9469 case HIP_API_ID_hipMemRangeGetAttributes:
9470 oss <<
"hipMemRangeGetAttributes(";
9471 if (data->args.hipMemRangeGetAttributes.data == NULL) oss <<
"data=NULL";
9472 else { oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
9473 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss <<
", data_sizes=NULL";
9474 else { oss <<
", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
9475 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
9476 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
9477 oss <<
", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
9478 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
9479 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
9482 case HIP_API_ID_hipMemRelease:
9483 oss <<
"hipMemRelease(";
9484 oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
9487 case HIP_API_ID_hipMemRetainAllocationHandle:
9488 oss <<
"hipMemRetainAllocationHandle(";
9489 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss <<
"handle=NULL";
9490 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
9491 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
9494 case HIP_API_ID_hipMemSetAccess:
9495 oss <<
"hipMemSetAccess(";
9496 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
9497 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
9498 if (data->args.hipMemSetAccess.desc == NULL) oss <<
", desc=NULL";
9499 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
9500 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
9503 case HIP_API_ID_hipMemUnmap:
9504 oss <<
"hipMemUnmap(";
9505 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
9506 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
9509 case HIP_API_ID_hipMemcpy:
9510 oss <<
"hipMemcpy(";
9511 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
9512 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
9513 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
9514 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
9517 case HIP_API_ID_hipMemcpy2D:
9518 oss <<
"hipMemcpy2D(";
9519 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
9520 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
9521 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
9522 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
9523 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
9524 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
9525 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
9528 case HIP_API_ID_hipMemcpy2DArrayToArray:
9529 oss <<
"hipMemcpy2DArrayToArray(";
9530 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.dst);
9531 oss <<
", wOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetDst);
9532 oss <<
", hOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetDst);
9533 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.src);
9534 oss <<
", wOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetSrc);
9535 oss <<
", hOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetSrc);
9536 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.width);
9537 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.height);
9538 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.kind);
9541 case HIP_API_ID_hipMemcpy2DAsync:
9542 oss <<
"hipMemcpy2DAsync(";
9543 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
9544 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
9545 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
9546 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
9547 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
9548 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
9549 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
9550 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
9553 case HIP_API_ID_hipMemcpy2DFromArray:
9554 oss <<
"hipMemcpy2DFromArray(";
9555 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
9556 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
9557 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
9558 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
9559 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
9560 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
9561 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
9562 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
9565 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
9566 oss <<
"hipMemcpy2DFromArrayAsync(";
9567 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
9568 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
9569 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
9570 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
9571 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
9572 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
9573 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
9574 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
9575 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
9578 case HIP_API_ID_hipMemcpy2DToArray:
9579 oss <<
"hipMemcpy2DToArray(";
9580 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst);
9581 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
9582 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
9583 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
9584 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
9585 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
9586 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
9587 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
9590 case HIP_API_ID_hipMemcpy2DToArrayAsync:
9591 oss <<
"hipMemcpy2DToArrayAsync(";
9592 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst);
9593 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
9594 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
9595 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
9596 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
9597 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
9598 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
9599 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
9600 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
9603 case HIP_API_ID_hipMemcpy3D:
9604 oss <<
"hipMemcpy3D(";
9605 if (data->args.hipMemcpy3D.p == NULL) oss <<
"p=NULL";
9606 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
9609 case HIP_API_ID_hipMemcpy3DAsync:
9610 oss <<
"hipMemcpy3DAsync(";
9611 if (data->args.hipMemcpy3DAsync.p == NULL) oss <<
"p=NULL";
9612 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
9613 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
9616 case HIP_API_ID_hipMemcpyAsync:
9617 oss <<
"hipMemcpyAsync(";
9618 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
9619 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
9620 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
9621 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
9622 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
9625 case HIP_API_ID_hipMemcpyAtoA:
9626 oss <<
"hipMemcpyAtoA(";
9627 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstArray);
9628 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstOffset);
9629 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcArray);
9630 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcOffset);
9631 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.ByteCount);
9634 case HIP_API_ID_hipMemcpyAtoD:
9635 oss <<
"hipMemcpyAtoD(";
9636 oss <<
"dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.dstDevice);
9637 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcArray);
9638 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcOffset);
9639 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.ByteCount);
9642 case HIP_API_ID_hipMemcpyAtoH:
9643 oss <<
"hipMemcpyAtoH(";
9644 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
9645 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray);
9646 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
9647 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
9650 case HIP_API_ID_hipMemcpyAtoHAsync:
9651 oss <<
"hipMemcpyAtoHAsync(";
9652 oss <<
"dstHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.dstHost);
9653 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcArray);
9654 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcOffset);
9655 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.ByteCount);
9656 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.stream);
9659 case HIP_API_ID_hipMemcpyDtoA:
9660 oss <<
"hipMemcpyDtoA(";
9661 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstArray);
9662 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstOffset);
9663 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.srcDevice);
9664 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.ByteCount);
9667 case HIP_API_ID_hipMemcpyDtoD:
9668 oss <<
"hipMemcpyDtoD(";
9669 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
9670 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
9671 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
9674 case HIP_API_ID_hipMemcpyDtoDAsync:
9675 oss <<
"hipMemcpyDtoDAsync(";
9676 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
9677 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
9678 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
9679 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
9682 case HIP_API_ID_hipMemcpyDtoH:
9683 oss <<
"hipMemcpyDtoH(";
9684 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
9685 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
9686 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
9689 case HIP_API_ID_hipMemcpyDtoHAsync:
9690 oss <<
"hipMemcpyDtoHAsync(";
9691 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
9692 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
9693 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
9694 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
9697 case HIP_API_ID_hipMemcpyFromArray:
9698 oss <<
"hipMemcpyFromArray(";
9699 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
9700 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
9701 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
9702 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
9703 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
9704 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
9707 case HIP_API_ID_hipMemcpyFromSymbol:
9708 oss <<
"hipMemcpyFromSymbol(";
9709 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
9710 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
9711 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
9712 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
9713 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
9716 case HIP_API_ID_hipMemcpyFromSymbolAsync:
9717 oss <<
"hipMemcpyFromSymbolAsync(";
9718 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
9719 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
9720 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
9721 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
9722 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
9723 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
9726 case HIP_API_ID_hipMemcpyHtoA:
9727 oss <<
"hipMemcpyHtoA(";
9728 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray);
9729 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
9730 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
9731 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
9734 case HIP_API_ID_hipMemcpyHtoAAsync:
9735 oss <<
"hipMemcpyHtoAAsync(";
9736 oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstArray);
9737 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstOffset);
9738 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.srcHost);
9739 oss <<
", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.ByteCount);
9740 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.stream);
9743 case HIP_API_ID_hipMemcpyHtoD:
9744 oss <<
"hipMemcpyHtoD(";
9745 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
9746 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
9747 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
9750 case HIP_API_ID_hipMemcpyHtoDAsync:
9751 oss <<
"hipMemcpyHtoDAsync(";
9752 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9753 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9754 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9755 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9758 case HIP_API_ID_hipMemcpyParam2D:
9759 oss <<
"hipMemcpyParam2D(";
9760 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss <<
"pCopy=NULL";
9761 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9764 case HIP_API_ID_hipMemcpyParam2DAsync:
9765 oss <<
"hipMemcpyParam2DAsync(";
9766 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
9767 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9768 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9771 case HIP_API_ID_hipMemcpyPeer:
9772 oss <<
"hipMemcpyPeer(";
9773 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9774 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9775 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9776 oss <<
", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9777 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9780 case HIP_API_ID_hipMemcpyPeerAsync:
9781 oss <<
"hipMemcpyPeerAsync(";
9782 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9783 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9784 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9785 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9786 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9787 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9790 case HIP_API_ID_hipMemcpyToArray:
9791 oss <<
"hipMemcpyToArray(";
9792 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst);
9793 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9794 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9795 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9796 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9797 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9800 case HIP_API_ID_hipMemcpyToSymbol:
9801 oss <<
"hipMemcpyToSymbol(";
9802 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9803 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9804 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9805 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9806 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9809 case HIP_API_ID_hipMemcpyToSymbolAsync:
9810 oss <<
"hipMemcpyToSymbolAsync(";
9811 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9812 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9813 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9814 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9815 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9816 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9819 case HIP_API_ID_hipMemcpyWithStream:
9820 oss <<
"hipMemcpyWithStream(";
9821 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9822 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9823 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9824 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9825 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9828 case HIP_API_ID_hipMemset:
9829 oss <<
"hipMemset(";
9830 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9831 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9832 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9835 case HIP_API_ID_hipMemset2D:
9836 oss <<
"hipMemset2D(";
9837 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9838 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9839 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9840 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9841 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9844 case HIP_API_ID_hipMemset2DAsync:
9845 oss <<
"hipMemset2DAsync(";
9846 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9847 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9848 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9849 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9850 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9851 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9854 case HIP_API_ID_hipMemset3D:
9855 oss <<
"hipMemset3D(";
9856 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9857 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9858 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9861 case HIP_API_ID_hipMemset3DAsync:
9862 oss <<
"hipMemset3DAsync(";
9863 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9864 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9865 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9866 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9869 case HIP_API_ID_hipMemsetAsync:
9870 oss <<
"hipMemsetAsync(";
9871 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9872 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9873 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9874 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9877 case HIP_API_ID_hipMemsetD16:
9878 oss <<
"hipMemsetD16(";
9879 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9880 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9881 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9884 case HIP_API_ID_hipMemsetD16Async:
9885 oss <<
"hipMemsetD16Async(";
9886 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9887 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9888 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9889 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9892 case HIP_API_ID_hipMemsetD32:
9893 oss <<
"hipMemsetD32(";
9894 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9895 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9896 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9899 case HIP_API_ID_hipMemsetD32Async:
9900 oss <<
"hipMemsetD32Async(";
9901 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9902 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9903 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9904 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9907 case HIP_API_ID_hipMemsetD8:
9908 oss <<
"hipMemsetD8(";
9909 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9910 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9911 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9914 case HIP_API_ID_hipMemsetD8Async:
9915 oss <<
"hipMemsetD8Async(";
9916 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9917 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9918 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9919 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9922 case HIP_API_ID_hipMipmappedArrayCreate:
9923 oss <<
"hipMipmappedArrayCreate(";
9924 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
9925 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9926 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss <<
", pMipmappedArrayDesc=NULL";
9927 else { oss <<
", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9928 oss <<
", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9931 case HIP_API_ID_hipMipmappedArrayDestroy:
9932 oss <<
"hipMipmappedArrayDestroy(";
9933 oss <<
"hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9936 case HIP_API_ID_hipMipmappedArrayGetLevel:
9937 oss <<
"hipMipmappedArrayGetLevel(";
9938 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss <<
"pLevelArray=NULL";
9939 else { oss <<
"pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9940 oss <<
", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9941 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9944 case HIP_API_ID_hipModuleGetFunction:
9945 oss <<
"hipModuleGetFunction(";
9946 if (data->args.hipModuleGetFunction.function == NULL) oss <<
"function=NULL";
9947 else { oss <<
"function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9948 oss <<
", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9949 if (data->args.hipModuleGetFunction.kname == NULL) oss <<
", kname=NULL";
9950 else { oss <<
", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9953 case HIP_API_ID_hipModuleGetGlobal:
9954 oss <<
"hipModuleGetGlobal(";
9955 if (data->args.hipModuleGetGlobal.dptr == NULL) oss <<
"dptr=NULL";
9956 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9957 if (data->args.hipModuleGetGlobal.bytes == NULL) oss <<
", bytes=NULL";
9958 else { oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9959 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9960 if (data->args.hipModuleGetGlobal.name == NULL) oss <<
", name=NULL";
9961 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9964 case HIP_API_ID_hipModuleGetTexRef:
9965 oss <<
"hipModuleGetTexRef(";
9966 if (data->args.hipModuleGetTexRef.texRef == NULL) oss <<
"texRef=NULL";
9967 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipModuleGetTexRef.texRef__val); }
9968 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9969 if (data->args.hipModuleGetTexRef.name == NULL) oss <<
", name=NULL";
9970 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9973 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9974 oss <<
"hipModuleLaunchCooperativeKernel(";
9975 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9976 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9977 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9978 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9979 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9980 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9981 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9982 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9983 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9984 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9985 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9988 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9989 oss <<
"hipModuleLaunchCooperativeKernelMultiDevice(";
9990 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
9991 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9992 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9993 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9996 case HIP_API_ID_hipModuleLaunchKernel:
9997 oss <<
"hipModuleLaunchKernel(";
9998 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9999 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
10000 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
10001 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
10002 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
10003 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
10004 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
10005 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
10006 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
10007 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
10008 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
10009 if (data->args.hipModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
10010 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
10013 case HIP_API_ID_hipModuleLoad:
10014 oss <<
"hipModuleLoad(";
10015 if (data->args.hipModuleLoad.module == NULL) oss <<
"module=NULL";
10016 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
10017 if (data->args.hipModuleLoad.fname == NULL) oss <<
", fname=NULL";
10018 else { oss <<
", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
10021 case HIP_API_ID_hipModuleLoadData:
10022 oss <<
"hipModuleLoadData(";
10023 if (data->args.hipModuleLoadData.module == NULL) oss <<
"module=NULL";
10024 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
10025 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
10028 case HIP_API_ID_hipModuleLoadDataEx:
10029 oss <<
"hipModuleLoadDataEx(";
10030 if (data->args.hipModuleLoadDataEx.module == NULL) oss <<
"module=NULL";
10031 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
10032 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
10033 oss <<
", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
10034 if (data->args.hipModuleLoadDataEx.options == NULL) oss <<
", options=NULL";
10035 else { oss <<
", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
10036 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss <<
", optionsValues=NULL";
10037 else { oss <<
", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
10040 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
10041 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
10042 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
10043 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10044 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
10045 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10046 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
10049 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10050 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10051 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
10052 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10053 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10054 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10055 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
10056 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10059 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
10060 oss <<
"hipModuleOccupancyMaxPotentialBlockSize(";
10061 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
10062 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
10063 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
10064 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
10065 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
10066 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10067 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
10070 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
10071 oss <<
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
10072 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss <<
"gridSize=NULL";
10073 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
10074 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss <<
", blockSize=NULL";
10075 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
10076 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
10077 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
10078 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
10079 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
10082 case HIP_API_ID_hipModuleUnload:
10083 oss <<
"hipModuleUnload(";
10084 oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
10087 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
10088 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessor(";
10089 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
10090 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
10091 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
10092 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
10093 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
10096 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
10097 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
10098 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
10099 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
10100 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
10101 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
10102 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
10103 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
10106 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
10107 oss <<
"hipOccupancyMaxPotentialBlockSize(";
10108 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
10109 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
10110 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
10111 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
10112 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
10113 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
10114 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
10117 case HIP_API_ID_hipPeekAtLastError:
10118 oss <<
"hipPeekAtLastError(";
10121 case HIP_API_ID_hipPointerGetAttribute:
10122 oss <<
"hipPointerGetAttribute(";
10123 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
10124 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
10125 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
10128 case HIP_API_ID_hipPointerGetAttributes:
10129 oss <<
"hipPointerGetAttributes(";
10130 if (data->args.hipPointerGetAttributes.attributes == NULL) oss <<
"attributes=NULL";
10131 else { oss <<
"attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
10132 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
10135 case HIP_API_ID_hipPointerSetAttribute:
10136 oss <<
"hipPointerSetAttribute(";
10137 oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
10138 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
10139 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
10142 case HIP_API_ID_hipProfilerStart:
10143 oss <<
"hipProfilerStart(";
10146 case HIP_API_ID_hipProfilerStop:
10147 oss <<
"hipProfilerStop(";
10150 case HIP_API_ID_hipRuntimeGetVersion:
10151 oss <<
"hipRuntimeGetVersion(";
10152 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss <<
"runtimeVersion=NULL";
10153 else { oss <<
"runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
10156 case HIP_API_ID_hipSetDevice:
10157 oss <<
"hipSetDevice(";
10158 oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
10161 case HIP_API_ID_hipSetDeviceFlags:
10162 oss <<
"hipSetDeviceFlags(";
10163 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
10166 case HIP_API_ID_hipSetValidDevices:
10167 oss <<
"hipSetValidDevices(";
10168 if (data->args.hipSetValidDevices.device_arr == NULL) oss <<
"device_arr=NULL";
10169 else { oss <<
"device_arr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.device_arr__val); }
10170 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.len);
10173 case HIP_API_ID_hipSetupArgument:
10174 oss <<
"hipSetupArgument(";
10175 oss <<
"arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
10176 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
10177 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
10180 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
10181 oss <<
"hipSignalExternalSemaphoresAsync(";
10182 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
10183 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
10184 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
10185 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
10186 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
10187 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
10190 case HIP_API_ID_hipStreamAddCallback:
10191 oss <<
"hipStreamAddCallback(";
10192 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
10193 oss <<
", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
10194 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
10195 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
10198 case HIP_API_ID_hipStreamAttachMemAsync:
10199 oss <<
"hipStreamAttachMemAsync(";
10200 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
10201 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
10202 oss <<
", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
10203 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
10206 case HIP_API_ID_hipStreamBeginCapture:
10207 oss <<
"hipStreamBeginCapture(";
10208 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
10209 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
10212 case HIP_API_ID_hipStreamBeginCaptureToGraph:
10213 oss <<
"hipStreamBeginCaptureToGraph(";
10214 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.stream);
10215 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.graph);
10216 if (data->args.hipStreamBeginCaptureToGraph.dependencies == NULL) oss <<
", dependencies=NULL";
10217 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencies__val); }
10218 if (data->args.hipStreamBeginCaptureToGraph.dependencyData == NULL) oss <<
", dependencyData=NULL";
10219 else { oss <<
", dependencyData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencyData__val); }
10220 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.numDependencies);
10221 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.mode);
10224 case HIP_API_ID_hipStreamCreate:
10225 oss <<
"hipStreamCreate(";
10226 if (data->args.hipStreamCreate.stream == NULL) oss <<
"stream=NULL";
10227 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
10230 case HIP_API_ID_hipStreamCreateWithFlags:
10231 oss <<
"hipStreamCreateWithFlags(";
10232 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss <<
"stream=NULL";
10233 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
10234 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
10237 case HIP_API_ID_hipStreamCreateWithPriority:
10238 oss <<
"hipStreamCreateWithPriority(";
10239 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss <<
"stream=NULL";
10240 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
10241 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
10242 oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
10245 case HIP_API_ID_hipStreamDestroy:
10246 oss <<
"hipStreamDestroy(";
10247 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
10250 case HIP_API_ID_hipStreamEndCapture:
10251 oss <<
"hipStreamEndCapture(";
10252 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
10253 if (data->args.hipStreamEndCapture.pGraph == NULL) oss <<
", pGraph=NULL";
10254 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
10257 case HIP_API_ID_hipStreamGetCaptureInfo:
10258 oss <<
"hipStreamGetCaptureInfo(";
10259 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
10260 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
10261 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
10262 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss <<
", pId=NULL";
10263 else { oss <<
", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
10266 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
10267 oss <<
"hipStreamGetCaptureInfo_v2(";
10268 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
10269 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss <<
", captureStatus_out=NULL";
10270 else { oss <<
", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
10271 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss <<
", id_out=NULL";
10272 else { oss <<
", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
10273 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss <<
", graph_out=NULL";
10274 else { oss <<
", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
10275 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss <<
", dependencies_out=NULL";
10276 else { oss <<
", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
10277 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss <<
", numDependencies_out=NULL";
10278 else { oss <<
", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
10281 case HIP_API_ID_hipStreamGetDevice:
10282 oss <<
"hipStreamGetDevice(";
10283 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
10284 if (data->args.hipStreamGetDevice.device == NULL) oss <<
", device=NULL";
10285 else { oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
10288 case HIP_API_ID_hipStreamGetFlags:
10289 oss <<
"hipStreamGetFlags(";
10290 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
10291 if (data->args.hipStreamGetFlags.flags == NULL) oss <<
", flags=NULL";
10292 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
10295 case HIP_API_ID_hipStreamGetPriority:
10296 oss <<
"hipStreamGetPriority(";
10297 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
10298 if (data->args.hipStreamGetPriority.priority == NULL) oss <<
", priority=NULL";
10299 else { oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
10302 case HIP_API_ID_hipStreamIsCapturing:
10303 oss <<
"hipStreamIsCapturing(";
10304 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
10305 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
10306 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
10309 case HIP_API_ID_hipStreamQuery:
10310 oss <<
"hipStreamQuery(";
10311 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
10314 case HIP_API_ID_hipStreamSynchronize:
10315 oss <<
"hipStreamSynchronize(";
10316 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
10319 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
10320 oss <<
"hipStreamUpdateCaptureDependencies(";
10321 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
10322 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss <<
", dependencies=NULL";
10323 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
10324 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
10325 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
10328 case HIP_API_ID_hipStreamWaitEvent:
10329 oss <<
"hipStreamWaitEvent(";
10330 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
10331 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
10332 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
10335 case HIP_API_ID_hipStreamWaitValue32:
10336 oss <<
"hipStreamWaitValue32(";
10337 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
10338 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
10339 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
10340 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
10341 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
10344 case HIP_API_ID_hipStreamWaitValue64:
10345 oss <<
"hipStreamWaitValue64(";
10346 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
10347 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
10348 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
10349 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
10350 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
10353 case HIP_API_ID_hipStreamWriteValue32:
10354 oss <<
"hipStreamWriteValue32(";
10355 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
10356 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
10357 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
10358 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
10361 case HIP_API_ID_hipStreamWriteValue64:
10362 oss <<
"hipStreamWriteValue64(";
10363 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
10364 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
10365 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
10366 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
10369 case HIP_API_ID_hipTexRefGetAddress:
10370 oss <<
"hipTexRefGetAddress(";
10371 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
10372 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
10373 if (data->args.hipTexRefGetAddress.texRef == NULL) oss <<
", texRef=NULL";
10374 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
10377 case HIP_API_ID_hipTexRefGetArray:
10378 oss <<
"hipTexRefGetArray(";
10379 if (data->args.hipTexRefGetArray.pArray == NULL) oss <<
"pArray=NULL";
10380 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.pArray__val); }
10381 if (data->args.hipTexRefGetArray.texRef == NULL) oss <<
", texRef=NULL";
10382 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.texRef__val); }
10385 case HIP_API_ID_hipTexRefGetBorderColor:
10386 oss <<
"hipTexRefGetBorderColor(";
10387 if (data->args.hipTexRefGetBorderColor.pBorderColor == NULL) oss <<
"pBorderColor=NULL";
10388 else { oss <<
"pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.pBorderColor__val); }
10389 if (data->args.hipTexRefGetBorderColor.texRef == NULL) oss <<
", texRef=NULL";
10390 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.texRef__val); }
10393 case HIP_API_ID_hipTexRefGetFlags:
10394 oss <<
"hipTexRefGetFlags(";
10395 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss <<
"pFlags=NULL";
10396 else { oss <<
"pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
10397 if (data->args.hipTexRefGetFlags.texRef == NULL) oss <<
", texRef=NULL";
10398 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
10401 case HIP_API_ID_hipTexRefGetFormat:
10402 oss <<
"hipTexRefGetFormat(";
10403 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss <<
"pFormat=NULL";
10404 else { oss <<
"pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
10405 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss <<
", pNumChannels=NULL";
10406 else { oss <<
", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
10407 if (data->args.hipTexRefGetFormat.texRef == NULL) oss <<
", texRef=NULL";
10408 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
10411 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
10412 oss <<
"hipTexRefGetMaxAnisotropy(";
10413 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss <<
"pmaxAnsio=NULL";
10414 else { oss <<
"pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
10415 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss <<
", texRef=NULL";
10416 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
10419 case HIP_API_ID_hipTexRefGetMipMappedArray:
10420 oss <<
"hipTexRefGetMipMappedArray(";
10421 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss <<
"pArray=NULL";
10422 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
10423 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss <<
", texRef=NULL";
10424 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
10427 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
10428 oss <<
"hipTexRefGetMipmapLevelBias(";
10429 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss <<
"pbias=NULL";
10430 else { oss <<
"pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
10431 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss <<
", texRef=NULL";
10432 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
10435 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
10436 oss <<
"hipTexRefGetMipmapLevelClamp(";
10437 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss <<
"pminMipmapLevelClamp=NULL";
10438 else { oss <<
"pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
10439 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss <<
", pmaxMipmapLevelClamp=NULL";
10440 else { oss <<
", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
10441 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss <<
", texRef=NULL";
10442 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
10445 case HIP_API_ID_hipTexRefSetAddress:
10446 oss <<
"hipTexRefSetAddress(";
10447 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss <<
"ByteOffset=NULL";
10448 else { oss <<
"ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
10449 if (data->args.hipTexRefSetAddress.texRef == NULL) oss <<
", texRef=NULL";
10450 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
10451 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
10452 oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
10455 case HIP_API_ID_hipTexRefSetAddress2D:
10456 oss <<
"hipTexRefSetAddress2D(";
10457 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss <<
"texRef=NULL";
10458 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
10459 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss <<
", desc=NULL";
10460 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
10461 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
10462 oss <<
", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
10465 case HIP_API_ID_hipTexRefSetArray:
10466 oss <<
"hipTexRefSetArray(";
10467 if (data->args.hipTexRefSetArray.tex == NULL) oss <<
"tex=NULL";
10468 else { oss <<
"tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
10469 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
10470 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
10473 case HIP_API_ID_hipTexRefSetBorderColor:
10474 oss <<
"hipTexRefSetBorderColor(";
10475 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss <<
"texRef=NULL";
10476 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
10477 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss <<
", pBorderColor=NULL";
10478 else { oss <<
", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
10481 case HIP_API_ID_hipTexRefSetFlags:
10482 oss <<
"hipTexRefSetFlags(";
10483 if (data->args.hipTexRefSetFlags.texRef == NULL) oss <<
"texRef=NULL";
10484 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
10485 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
10488 case HIP_API_ID_hipTexRefSetFormat:
10489 oss <<
"hipTexRefSetFormat(";
10490 if (data->args.hipTexRefSetFormat.texRef == NULL) oss <<
"texRef=NULL";
10491 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
10492 oss <<
", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
10493 oss <<
", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
10496 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
10497 oss <<
"hipTexRefSetMaxAnisotropy(";
10498 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss <<
"texRef=NULL";
10499 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
10500 oss <<
", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
10503 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
10504 oss <<
"hipTexRefSetMipmapLevelBias(";
10505 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss <<
"texRef=NULL";
10506 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
10507 oss <<
", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
10510 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
10511 oss <<
"hipTexRefSetMipmapLevelClamp(";
10512 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss <<
"texRef=NULL";
10513 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
10514 oss <<
", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
10515 oss <<
", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
10518 case HIP_API_ID_hipTexRefSetMipmappedArray:
10519 oss <<
"hipTexRefSetMipmappedArray(";
10520 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss <<
"texRef=NULL";
10521 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
10522 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss <<
", mipmappedArray=NULL";
10523 else { oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
10524 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
10527 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
10528 oss <<
"hipThreadExchangeStreamCaptureMode(";
10529 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss <<
"mode=NULL";
10530 else { oss <<
"mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
10533 case HIP_API_ID_hipUserObjectCreate:
10534 oss <<
"hipUserObjectCreate(";
10535 if (data->args.hipUserObjectCreate.object_out == NULL) oss <<
"object_out=NULL";
10536 else { oss <<
"object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
10537 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
10538 oss <<
", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
10539 oss <<
", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
10540 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
10543 case HIP_API_ID_hipUserObjectRelease:
10544 oss <<
"hipUserObjectRelease(";
10545 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
10546 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
10549 case HIP_API_ID_hipUserObjectRetain:
10550 oss <<
"hipUserObjectRetain(";
10551 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
10552 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
10555 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
10556 oss <<
"hipWaitExternalSemaphoresAsync(";
10557 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
10558 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
10559 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
10560 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
10561 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
10562 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
10565 default: oss <<
"unknown";
10567 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:1242