14 HIP_API_ID___hipPopCallConfiguration = 1,
15 HIP_API_ID___hipPushCallConfiguration = 2,
16 HIP_API_ID_hipArray3DCreate = 3,
17 HIP_API_ID_hipArrayCreate = 4,
18 HIP_API_ID_hipArrayDestroy = 5,
19 HIP_API_ID_hipChooseDevice = 6,
20 HIP_API_ID_hipConfigureCall = 7,
21 HIP_API_ID_hipCtxCreate = 8,
22 HIP_API_ID_hipCtxDestroy = 9,
23 HIP_API_ID_hipCtxDisablePeerAccess = 10,
24 HIP_API_ID_hipCtxEnablePeerAccess = 11,
25 HIP_API_ID_hipCtxGetApiVersion = 12,
26 HIP_API_ID_hipCtxGetCacheConfig = 13,
27 HIP_API_ID_hipCtxGetCurrent = 14,
28 HIP_API_ID_hipCtxGetDevice = 15,
29 HIP_API_ID_hipCtxGetFlags = 16,
30 HIP_API_ID_hipCtxGetSharedMemConfig = 17,
31 HIP_API_ID_hipCtxPopCurrent = 18,
32 HIP_API_ID_hipCtxPushCurrent = 19,
33 HIP_API_ID_hipCtxSetCacheConfig = 20,
34 HIP_API_ID_hipCtxSetCurrent = 21,
35 HIP_API_ID_hipCtxSetSharedMemConfig = 22,
36 HIP_API_ID_hipCtxSynchronize = 23,
37 HIP_API_ID_hipDestroyExternalMemory = 24,
38 HIP_API_ID_hipDestroyExternalSemaphore = 25,
39 HIP_API_ID_hipDeviceCanAccessPeer = 26,
40 HIP_API_ID_hipDeviceComputeCapability = 27,
41 HIP_API_ID_hipDeviceDisablePeerAccess = 28,
42 HIP_API_ID_hipDeviceEnablePeerAccess = 29,
43 HIP_API_ID_hipDeviceGet = 30,
44 HIP_API_ID_hipDeviceGetAttribute = 31,
45 HIP_API_ID_hipDeviceGetByPCIBusId = 32,
46 HIP_API_ID_hipDeviceGetCacheConfig = 33,
47 HIP_API_ID_hipDeviceGetLimit = 34,
48 HIP_API_ID_hipDeviceGetName = 35,
49 HIP_API_ID_hipDeviceGetP2PAttribute = 36,
50 HIP_API_ID_hipDeviceGetPCIBusId = 37,
51 HIP_API_ID_hipDeviceGetSharedMemConfig = 38,
52 HIP_API_ID_hipDeviceGetStreamPriorityRange = 39,
53 HIP_API_ID_hipDevicePrimaryCtxGetState = 40,
54 HIP_API_ID_hipDevicePrimaryCtxRelease = 41,
55 HIP_API_ID_hipDevicePrimaryCtxReset = 42,
56 HIP_API_ID_hipDevicePrimaryCtxRetain = 43,
57 HIP_API_ID_hipDevicePrimaryCtxSetFlags = 44,
58 HIP_API_ID_hipDeviceReset = 45,
59 HIP_API_ID_hipDeviceSetCacheConfig = 46,
60 HIP_API_ID_hipDeviceSetSharedMemConfig = 47,
61 HIP_API_ID_hipDeviceSynchronize = 48,
62 HIP_API_ID_hipDeviceTotalMem = 49,
63 HIP_API_ID_RESERVED_50 = 50,
64 HIP_API_ID_hipDrvMemcpy2DUnaligned = 51,
65 HIP_API_ID_hipDrvMemcpy3D = 52,
66 HIP_API_ID_hipDrvMemcpy3DAsync = 53,
67 HIP_API_ID_hipEventCreate = 54,
68 HIP_API_ID_hipEventCreateWithFlags = 55,
69 HIP_API_ID_hipEventDestroy = 56,
70 HIP_API_ID_hipEventElapsedTime = 57,
71 HIP_API_ID_hipEventQuery = 58,
72 HIP_API_ID_hipEventRecord = 59,
73 HIP_API_ID_hipEventSynchronize = 60,
74 HIP_API_ID_hipExtGetLinkTypeAndHopCount = 61,
75 HIP_API_ID_hipExtLaunchKernel = 62,
76 HIP_API_ID_hipExtLaunchMultiKernelMultiDevice = 63,
77 HIP_API_ID_hipExtMallocWithFlags = 64,
78 HIP_API_ID_hipExtModuleLaunchKernel = 65,
79 HIP_API_ID_hipExtStreamCreateWithCUMask = 66,
80 HIP_API_ID_hipExtStreamGetCUMask = 67,
81 HIP_API_ID_hipExternalMemoryGetMappedBuffer = 68,
82 HIP_API_ID_hipFree = 69,
83 HIP_API_ID_hipFreeArray = 70,
84 HIP_API_ID_hipFreeHost = 71,
85 HIP_API_ID_hipFreeMipmappedArray = 72,
86 HIP_API_ID_hipFuncGetAttribute = 73,
87 HIP_API_ID_hipFuncGetAttributes = 74,
88 HIP_API_ID_hipFuncSetAttribute = 75,
89 HIP_API_ID_hipFuncSetCacheConfig = 76,
90 HIP_API_ID_hipFuncSetSharedMemConfig = 77,
91 HIP_API_ID_hipGetDevice = 78,
92 HIP_API_ID_hipGetDeviceCount = 79,
93 HIP_API_ID_hipGetDeviceFlags = 80,
94 HIP_API_ID_hipGetDeviceProperties = 81,
95 HIP_API_ID_RESERVED_82 = 82,
96 HIP_API_ID_hipGetErrorString = 83,
97 HIP_API_ID_hipGetLastError = 84,
98 HIP_API_ID_hipGetMipmappedArrayLevel = 85,
99 HIP_API_ID_hipGetSymbolAddress = 86,
100 HIP_API_ID_hipGetSymbolSize = 87,
101 HIP_API_ID_hipHccModuleLaunchKernel = 88,
102 HIP_API_ID_hipHostAlloc = 89,
103 HIP_API_ID_hipHostFree = 90,
104 HIP_API_ID_hipHostGetDevicePointer = 91,
105 HIP_API_ID_hipHostGetFlags = 92,
106 HIP_API_ID_hipHostMalloc = 93,
107 HIP_API_ID_hipHostRegister = 94,
108 HIP_API_ID_hipHostUnregister = 95,
109 HIP_API_ID_hipImportExternalMemory = 96,
110 HIP_API_ID_hipImportExternalSemaphore = 97,
111 HIP_API_ID_hipInit = 98,
112 HIP_API_ID_hipIpcCloseMemHandle = 99,
113 HIP_API_ID_hipIpcGetEventHandle = 100,
114 HIP_API_ID_hipIpcGetMemHandle = 101,
115 HIP_API_ID_hipIpcOpenEventHandle = 102,
116 HIP_API_ID_hipIpcOpenMemHandle = 103,
117 HIP_API_ID_hipLaunchByPtr = 104,
118 HIP_API_ID_hipLaunchCooperativeKernel = 105,
119 HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 106,
120 HIP_API_ID_hipLaunchKernel = 107,
121 HIP_API_ID_hipMalloc = 108,
122 HIP_API_ID_hipMalloc3D = 109,
123 HIP_API_ID_hipMalloc3DArray = 110,
124 HIP_API_ID_hipMallocArray = 111,
125 HIP_API_ID_hipMallocHost = 112,
126 HIP_API_ID_hipMallocManaged = 113,
127 HIP_API_ID_hipMallocMipmappedArray = 114,
128 HIP_API_ID_hipMallocPitch = 115,
129 HIP_API_ID_hipMemAdvise = 116,
130 HIP_API_ID_hipMemAllocHost = 117,
131 HIP_API_ID_hipMemAllocPitch = 118,
132 HIP_API_ID_hipMemGetAddressRange = 119,
133 HIP_API_ID_hipMemGetInfo = 120,
134 HIP_API_ID_hipMemPrefetchAsync = 121,
135 HIP_API_ID_hipMemPtrGetInfo = 122,
136 HIP_API_ID_hipMemRangeGetAttribute = 123,
137 HIP_API_ID_hipMemRangeGetAttributes = 124,
138 HIP_API_ID_hipMemcpy = 125,
139 HIP_API_ID_hipMemcpy2D = 126,
140 HIP_API_ID_hipMemcpy2DAsync = 127,
141 HIP_API_ID_hipMemcpy2DFromArray = 128,
142 HIP_API_ID_hipMemcpy2DFromArrayAsync = 129,
143 HIP_API_ID_hipMemcpy2DToArray = 130,
144 HIP_API_ID_hipMemcpy2DToArrayAsync = 131,
145 HIP_API_ID_hipMemcpy3D = 132,
146 HIP_API_ID_hipMemcpy3DAsync = 133,
147 HIP_API_ID_hipMemcpyAsync = 134,
148 HIP_API_ID_hipMemcpyAtoH = 135,
149 HIP_API_ID_hipMemcpyDtoD = 136,
150 HIP_API_ID_hipMemcpyDtoDAsync = 137,
151 HIP_API_ID_hipMemcpyDtoH = 138,
152 HIP_API_ID_hipMemcpyDtoHAsync = 139,
153 HIP_API_ID_hipMemcpyFromArray = 140,
154 HIP_API_ID_hipMemcpyFromSymbol = 141,
155 HIP_API_ID_hipMemcpyFromSymbolAsync = 142,
156 HIP_API_ID_hipMemcpyHtoA = 143,
157 HIP_API_ID_hipMemcpyHtoD = 144,
158 HIP_API_ID_hipMemcpyHtoDAsync = 145,
159 HIP_API_ID_hipMemcpyParam2D = 146,
160 HIP_API_ID_hipMemcpyParam2DAsync = 147,
161 HIP_API_ID_hipMemcpyPeer = 148,
162 HIP_API_ID_hipMemcpyPeerAsync = 149,
163 HIP_API_ID_hipMemcpyToArray = 150,
164 HIP_API_ID_hipMemcpyToSymbol = 151,
165 HIP_API_ID_hipMemcpyToSymbolAsync = 152,
166 HIP_API_ID_hipMemcpyWithStream = 153,
167 HIP_API_ID_hipMemset = 154,
168 HIP_API_ID_hipMemset2D = 155,
169 HIP_API_ID_hipMemset2DAsync = 156,
170 HIP_API_ID_hipMemset3D = 157,
171 HIP_API_ID_hipMemset3DAsync = 158,
172 HIP_API_ID_hipMemsetAsync = 159,
173 HIP_API_ID_hipMemsetD16 = 160,
174 HIP_API_ID_hipMemsetD16Async = 161,
175 HIP_API_ID_hipMemsetD32 = 162,
176 HIP_API_ID_hipMemsetD32Async = 163,
177 HIP_API_ID_hipMemsetD8 = 164,
178 HIP_API_ID_hipMemsetD8Async = 165,
179 HIP_API_ID_hipModuleGetFunction = 166,
180 HIP_API_ID_hipModuleGetGlobal = 167,
181 HIP_API_ID_hipModuleGetTexRef = 168,
182 HIP_API_ID_hipModuleLaunchKernel = 169,
183 HIP_API_ID_hipModuleLoad = 170,
184 HIP_API_ID_hipModuleLoadData = 171,
185 HIP_API_ID_hipModuleLoadDataEx = 172,
186 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor = 173,
187 HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 174,
188 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize = 175,
189 HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags = 176,
190 HIP_API_ID_hipModuleUnload = 177,
191 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 178,
192 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 179,
193 HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 180,
194 HIP_API_ID_hipPeekAtLastError = 181,
195 HIP_API_ID_hipPointerGetAttributes = 182,
196 HIP_API_ID_hipProfilerStart = 183,
197 HIP_API_ID_hipProfilerStop = 184,
198 HIP_API_ID_RESERVED_185 = 185,
199 HIP_API_ID_hipSetDevice = 186,
200 HIP_API_ID_hipSetDeviceFlags = 187,
201 HIP_API_ID_hipSetupArgument = 188,
202 HIP_API_ID_hipSignalExternalSemaphoresAsync = 189,
203 HIP_API_ID_hipStreamAddCallback = 190,
204 HIP_API_ID_hipStreamAttachMemAsync = 191,
205 HIP_API_ID_hipStreamCreate = 192,
206 HIP_API_ID_hipStreamCreateWithFlags = 193,
207 HIP_API_ID_hipStreamCreateWithPriority = 194,
208 HIP_API_ID_hipStreamDestroy = 195,
209 HIP_API_ID_hipStreamGetFlags = 196,
210 HIP_API_ID_hipStreamGetPriority = 197,
211 HIP_API_ID_hipStreamQuery = 198,
212 HIP_API_ID_hipStreamSynchronize = 199,
213 HIP_API_ID_hipStreamWaitEvent = 200,
214 HIP_API_ID_hipStreamWaitValue32 = 201,
215 HIP_API_ID_hipStreamWaitValue64 = 202,
216 HIP_API_ID_hipStreamWriteValue32 = 203,
217 HIP_API_ID_hipStreamWriteValue64 = 204,
218 HIP_API_ID_hipWaitExternalSemaphoresAsync = 205,
219 HIP_API_ID_hipCreateSurfaceObject = 206,
220 HIP_API_ID_hipDestroySurfaceObject = 207,
221 HIP_API_ID_hipGraphAddKernelNode = 208,
222 HIP_API_ID_hipGraphAddMemcpyNode = 209,
223 HIP_API_ID_hipGraphAddMemsetNode = 210,
224 HIP_API_ID_hipGraphCreate = 211,
225 HIP_API_ID_hipGraphDestroy = 212,
226 HIP_API_ID_hipGraphExecDestroy = 213,
227 HIP_API_ID_hipGraphInstantiate = 214,
228 HIP_API_ID_hipGraphLaunch = 215,
229 HIP_API_ID_hipMipmappedArrayCreate = 216,
230 HIP_API_ID_hipMipmappedArrayDestroy = 217,
231 HIP_API_ID_hipMipmappedArrayGetLevel = 218,
232 HIP_API_ID_hipStreamBeginCapture = 219,
233 HIP_API_ID_hipStreamEndCapture = 220,
234 HIP_API_ID_hipTexRefGetAddress = 221,
235 HIP_API_ID_hipTexRefGetFlags = 222,
236 HIP_API_ID_hipTexRefGetFormat = 223,
237 HIP_API_ID_hipTexRefGetMaxAnisotropy = 224,
238 HIP_API_ID_hipTexRefGetMipMappedArray = 225,
239 HIP_API_ID_hipTexRefGetMipmapLevelBias = 226,
240 HIP_API_ID_hipTexRefGetMipmapLevelClamp = 227,
241 HIP_API_ID_hipTexRefSetAddress = 228,
242 HIP_API_ID_hipTexRefSetAddress2D = 229,
243 HIP_API_ID_hipTexRefSetBorderColor = 230,
244 HIP_API_ID_hipTexRefSetFormat = 231,
245 HIP_API_ID_hipTexRefSetMaxAnisotropy = 232,
246 HIP_API_ID_hipTexRefSetMipmapLevelClamp = 233,
247 HIP_API_ID_hipTexRefSetMipmappedArray = 234,
248 HIP_API_ID_hipGLGetDevices = 235,
249 HIP_API_ID_hipGraphAddDependencies = 236,
250 HIP_API_ID_hipGraphAddEmptyNode = 237,
251 HIP_API_ID_hipGraphExecKernelNodeSetParams = 238,
252 HIP_API_ID_hipGraphGetNodes = 239,
253 HIP_API_ID_hipGraphGetRootNodes = 240,
254 HIP_API_ID_hipGraphKernelNodeGetParams = 241,
255 HIP_API_ID_hipGraphKernelNodeSetParams = 242,
256 HIP_API_ID_hipGraphMemcpyNodeGetParams = 243,
257 HIP_API_ID_hipGraphMemcpyNodeSetParams = 244,
258 HIP_API_ID_hipGraphMemsetNodeGetParams = 245,
259 HIP_API_ID_hipGraphMemsetNodeSetParams = 246,
260 HIP_API_ID_hipGraphicsGLRegisterBuffer = 247,
261 HIP_API_ID_hipGraphicsMapResources = 248,
262 HIP_API_ID_hipGraphicsResourceGetMappedPointer = 249,
263 HIP_API_ID_hipGraphicsUnmapResources = 250,
264 HIP_API_ID_hipGraphicsUnregisterResource = 251,
265 HIP_API_ID_hipGraphAddChildGraphNode = 252,
266 HIP_API_ID_hipGraphAddEventRecordNode = 253,
267 HIP_API_ID_hipGraphAddEventWaitNode = 254,
268 HIP_API_ID_hipGraphAddHostNode = 255,
269 HIP_API_ID_hipGraphAddMemcpyNode1D = 256,
270 HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol = 257,
271 HIP_API_ID_hipGraphAddMemcpyNodeToSymbol = 258,
272 HIP_API_ID_hipGraphChildGraphNodeGetGraph = 259,
273 HIP_API_ID_hipGraphClone = 260,
274 HIP_API_ID_hipGraphDestroyNode = 261,
275 HIP_API_ID_hipGraphEventRecordNodeGetEvent = 262,
276 HIP_API_ID_hipGraphEventRecordNodeSetEvent = 263,
277 HIP_API_ID_hipGraphEventWaitNodeGetEvent = 264,
278 HIP_API_ID_hipGraphEventWaitNodeSetEvent = 265,
279 HIP_API_ID_hipGraphExecChildGraphNodeSetParams = 266,
280 HIP_API_ID_hipGraphExecEventRecordNodeSetEvent = 267,
281 HIP_API_ID_hipGraphExecEventWaitNodeSetEvent = 268,
282 HIP_API_ID_hipGraphExecHostNodeSetParams = 269,
283 HIP_API_ID_hipGraphExecMemcpyNodeSetParams = 270,
284 HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D = 271,
285 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol = 272,
286 HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol = 273,
287 HIP_API_ID_hipGraphExecMemsetNodeSetParams = 274,
288 HIP_API_ID_hipGraphExecUpdate = 275,
289 HIP_API_ID_hipGraphGetEdges = 276,
290 HIP_API_ID_hipGraphHostNodeGetParams = 277,
291 HIP_API_ID_hipGraphHostNodeSetParams = 278,
292 HIP_API_ID_hipGraphInstantiateWithFlags = 279,
293 HIP_API_ID_hipGraphMemcpyNodeSetParams1D = 280,
294 HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol = 281,
295 HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol = 282,
296 HIP_API_ID_hipGraphNodeFindInClone = 283,
297 HIP_API_ID_hipGraphNodeGetDependencies = 284,
298 HIP_API_ID_hipGraphNodeGetDependentNodes = 285,
299 HIP_API_ID_hipGraphNodeGetType = 286,
300 HIP_API_ID_hipGraphRemoveDependencies = 287,
301 HIP_API_ID_hipStreamGetCaptureInfo = 288,
302 HIP_API_ID_hipStreamGetCaptureInfo_v2 = 289,
303 HIP_API_ID_hipStreamIsCapturing = 290,
304 HIP_API_ID_hipStreamUpdateCaptureDependencies = 291,
305 HIP_API_ID_hipDrvPointerGetAttributes = 292,
306 HIP_API_ID_hipGraphicsGLRegisterImage = 293,
307 HIP_API_ID_hipGraphicsSubResourceGetMappedArray = 294,
308 HIP_API_ID_hipPointerGetAttribute = 295,
309 HIP_API_ID_RESERVED_296 = 296,
310 HIP_API_ID_hipThreadExchangeStreamCaptureMode = 297,
311 HIP_API_ID_hipDeviceGetUuid = 298,
312 HIP_API_ID_hipGetChannelDesc = 299,
313 HIP_API_ID_hipGraphKernelNodeGetAttribute = 300,
314 HIP_API_ID_hipGraphKernelNodeSetAttribute = 301,
315 HIP_API_ID_hipLaunchHostFunc = 302,
316 HIP_API_ID_hipDeviceGetDefaultMemPool = 303,
317 HIP_API_ID_hipDeviceGetMemPool = 304,
318 HIP_API_ID_hipDeviceSetMemPool = 305,
319 HIP_API_ID_hipFreeAsync = 306,
320 HIP_API_ID_hipMallocAsync = 307,
321 HIP_API_ID_hipMallocFromPoolAsync = 308,
322 HIP_API_ID_hipMemPoolCreate = 309,
323 HIP_API_ID_hipMemPoolDestroy = 310,
324 HIP_API_ID_hipMemPoolExportPointer = 311,
325 HIP_API_ID_hipMemPoolExportToShareableHandle = 312,
326 HIP_API_ID_hipMemPoolGetAccess = 313,
327 HIP_API_ID_hipMemPoolGetAttribute = 314,
328 HIP_API_ID_hipMemPoolImportFromShareableHandle = 315,
329 HIP_API_ID_hipMemPoolImportPointer = 316,
330 HIP_API_ID_hipMemPoolSetAccess = 317,
331 HIP_API_ID_hipMemPoolSetAttribute = 318,
332 HIP_API_ID_hipMemPoolTrimTo = 319,
333 HIP_API_ID_hipMemAddressFree = 320,
334 HIP_API_ID_hipMemAddressReserve = 321,
335 HIP_API_ID_hipMemCreate = 322,
336 HIP_API_ID_hipMemExportToShareableHandle = 323,
337 HIP_API_ID_hipMemGetAccess = 324,
338 HIP_API_ID_hipMemGetAllocationGranularity = 325,
339 HIP_API_ID_hipMemGetAllocationPropertiesFromHandle = 326,
340 HIP_API_ID_hipMemImportFromShareableHandle = 327,
341 HIP_API_ID_hipMemMap = 328,
342 HIP_API_ID_hipMemMapArrayAsync = 329,
343 HIP_API_ID_hipMemRelease = 330,
344 HIP_API_ID_hipMemRetainAllocationHandle = 331,
345 HIP_API_ID_hipMemSetAccess = 332,
346 HIP_API_ID_hipMemUnmap = 333,
347 HIP_API_ID_hipDeviceSetGraphMemAttribute = 334,
348 HIP_API_ID_hipDeviceGetGraphMemAttribute = 335,
349 HIP_API_ID_hipDeviceGraphMemTrim = 336,
350 HIP_API_ID_hipDeviceSetLimit = 337,
351 HIP_API_ID_hipTexRefSetArray = 338,
352 HIP_API_ID_hipTexRefSetFlags = 339,
353 HIP_API_ID_hipTexRefSetMipmapLevelBias = 340,
354 HIP_API_ID_hipDriverGetVersion = 341,
355 HIP_API_ID_hipGraphUpload = 342,
356 HIP_API_ID_hipRuntimeGetVersion = 343,
357 HIP_API_ID_hipUserObjectCreate = 344,
358 HIP_API_ID_hipUserObjectRelease = 345,
359 HIP_API_ID_hipUserObjectRetain = 346,
360 HIP_API_ID_hipGraphRetainUserObject = 347,
361 HIP_API_ID_hipGraphReleaseUserObject = 348,
362 HIP_API_ID_hipGraphDebugDotPrint = 349,
363 HIP_API_ID_hipGraphKernelNodeCopyAttributes = 350,
364 HIP_API_ID_hipGraphNodeGetEnabled = 351,
365 HIP_API_ID_hipGraphNodeSetEnabled = 352,
366 HIP_API_ID_hipPointerSetAttribute = 353,
367 HIP_API_ID_hipGraphAddMemAllocNode = 354,
368 HIP_API_ID_hipGraphAddMemFreeNode = 355,
369 HIP_API_ID_hipGraphMemAllocNodeGetParams = 356,
370 HIP_API_ID_hipGraphMemFreeNodeGetParams = 357,
371 HIP_API_ID_hipModuleLaunchCooperativeKernel = 358,
372 HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice = 359,
373 HIP_API_ID_hipArray3DGetDescriptor = 360,
374 HIP_API_ID_hipArrayGetDescriptor = 361,
375 HIP_API_ID_hipArrayGetInfo = 362,
376 HIP_API_ID_hipStreamGetDevice = 363,
377 HIP_API_ID_LAST = 363,
379 HIP_API_ID_hipBindTexture = HIP_API_ID_NONE,
380 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NONE,
381 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NONE,
382 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NONE,
383 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NONE,
384 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NONE,
385 HIP_API_ID_hipDeviceGetCount = HIP_API_ID_NONE,
386 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NONE,
387 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NONE,
388 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
389 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
390 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
391 HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
392 HIP_API_ID_hipMemcpyArrayToArray = HIP_API_ID_NONE,
393 HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
394 HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
395 HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
396 HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
397 HIP_API_ID_hipMemcpyFromArrayAsync = HIP_API_ID_NONE,
398 HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
399 HIP_API_ID_hipMemcpyToArrayAsync = HIP_API_ID_NONE,
400 HIP_API_ID_hipModuleLaunchKernelExt = HIP_API_ID_NONE,
401 HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
402 HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
403 HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
404 HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
405 HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
406 HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
407 HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
408 HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
409 HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
410 HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
411 HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
412 HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
413 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
414 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
415 HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
416 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NONE,
420static inline const char* hip_api_name(
const uint32_t
id) {
422 case HIP_API_ID___hipPopCallConfiguration:
return "__hipPopCallConfiguration";
423 case HIP_API_ID___hipPushCallConfiguration:
return "__hipPushCallConfiguration";
424 case HIP_API_ID_hipArray3DCreate:
return "hipArray3DCreate";
425 case HIP_API_ID_hipArray3DGetDescriptor:
return "hipArray3DGetDescriptor";
426 case HIP_API_ID_hipArrayCreate:
return "hipArrayCreate";
427 case HIP_API_ID_hipArrayDestroy:
return "hipArrayDestroy";
428 case HIP_API_ID_hipArrayGetDescriptor:
return "hipArrayGetDescriptor";
429 case HIP_API_ID_hipArrayGetInfo:
return "hipArrayGetInfo";
430 case HIP_API_ID_hipChooseDevice:
return "hipChooseDevice";
431 case HIP_API_ID_hipConfigureCall:
return "hipConfigureCall";
432 case HIP_API_ID_hipCreateSurfaceObject:
return "hipCreateSurfaceObject";
433 case HIP_API_ID_hipCtxCreate:
return "hipCtxCreate";
434 case HIP_API_ID_hipCtxDestroy:
return "hipCtxDestroy";
435 case HIP_API_ID_hipCtxDisablePeerAccess:
return "hipCtxDisablePeerAccess";
436 case HIP_API_ID_hipCtxEnablePeerAccess:
return "hipCtxEnablePeerAccess";
437 case HIP_API_ID_hipCtxGetApiVersion:
return "hipCtxGetApiVersion";
438 case HIP_API_ID_hipCtxGetCacheConfig:
return "hipCtxGetCacheConfig";
439 case HIP_API_ID_hipCtxGetCurrent:
return "hipCtxGetCurrent";
440 case HIP_API_ID_hipCtxGetDevice:
return "hipCtxGetDevice";
441 case HIP_API_ID_hipCtxGetFlags:
return "hipCtxGetFlags";
442 case HIP_API_ID_hipCtxGetSharedMemConfig:
return "hipCtxGetSharedMemConfig";
443 case HIP_API_ID_hipCtxPopCurrent:
return "hipCtxPopCurrent";
444 case HIP_API_ID_hipCtxPushCurrent:
return "hipCtxPushCurrent";
445 case HIP_API_ID_hipCtxSetCacheConfig:
return "hipCtxSetCacheConfig";
446 case HIP_API_ID_hipCtxSetCurrent:
return "hipCtxSetCurrent";
447 case HIP_API_ID_hipCtxSetSharedMemConfig:
return "hipCtxSetSharedMemConfig";
448 case HIP_API_ID_hipCtxSynchronize:
return "hipCtxSynchronize";
449 case HIP_API_ID_hipDestroyExternalMemory:
return "hipDestroyExternalMemory";
450 case HIP_API_ID_hipDestroyExternalSemaphore:
return "hipDestroyExternalSemaphore";
451 case HIP_API_ID_hipDestroySurfaceObject:
return "hipDestroySurfaceObject";
452 case HIP_API_ID_hipDeviceCanAccessPeer:
return "hipDeviceCanAccessPeer";
453 case HIP_API_ID_hipDeviceComputeCapability:
return "hipDeviceComputeCapability";
454 case HIP_API_ID_hipDeviceDisablePeerAccess:
return "hipDeviceDisablePeerAccess";
455 case HIP_API_ID_hipDeviceEnablePeerAccess:
return "hipDeviceEnablePeerAccess";
456 case HIP_API_ID_hipDeviceGet:
return "hipDeviceGet";
457 case HIP_API_ID_hipDeviceGetAttribute:
return "hipDeviceGetAttribute";
458 case HIP_API_ID_hipDeviceGetByPCIBusId:
return "hipDeviceGetByPCIBusId";
459 case HIP_API_ID_hipDeviceGetCacheConfig:
return "hipDeviceGetCacheConfig";
460 case HIP_API_ID_hipDeviceGetDefaultMemPool:
return "hipDeviceGetDefaultMemPool";
461 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
return "hipDeviceGetGraphMemAttribute";
462 case HIP_API_ID_hipDeviceGetLimit:
return "hipDeviceGetLimit";
463 case HIP_API_ID_hipDeviceGetMemPool:
return "hipDeviceGetMemPool";
464 case HIP_API_ID_hipDeviceGetName:
return "hipDeviceGetName";
465 case HIP_API_ID_hipDeviceGetP2PAttribute:
return "hipDeviceGetP2PAttribute";
466 case HIP_API_ID_hipDeviceGetPCIBusId:
return "hipDeviceGetPCIBusId";
467 case HIP_API_ID_hipDeviceGetSharedMemConfig:
return "hipDeviceGetSharedMemConfig";
468 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
return "hipDeviceGetStreamPriorityRange";
469 case HIP_API_ID_hipDeviceGetUuid:
return "hipDeviceGetUuid";
470 case HIP_API_ID_hipDeviceGraphMemTrim:
return "hipDeviceGraphMemTrim";
471 case HIP_API_ID_hipDevicePrimaryCtxGetState:
return "hipDevicePrimaryCtxGetState";
472 case HIP_API_ID_hipDevicePrimaryCtxRelease:
return "hipDevicePrimaryCtxRelease";
473 case HIP_API_ID_hipDevicePrimaryCtxReset:
return "hipDevicePrimaryCtxReset";
474 case HIP_API_ID_hipDevicePrimaryCtxRetain:
return "hipDevicePrimaryCtxRetain";
475 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
return "hipDevicePrimaryCtxSetFlags";
476 case HIP_API_ID_hipDeviceReset:
return "hipDeviceReset";
477 case HIP_API_ID_hipDeviceSetCacheConfig:
return "hipDeviceSetCacheConfig";
478 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
return "hipDeviceSetGraphMemAttribute";
479 case HIP_API_ID_hipDeviceSetLimit:
return "hipDeviceSetLimit";
480 case HIP_API_ID_hipDeviceSetMemPool:
return "hipDeviceSetMemPool";
481 case HIP_API_ID_hipDeviceSetSharedMemConfig:
return "hipDeviceSetSharedMemConfig";
482 case HIP_API_ID_hipDeviceSynchronize:
return "hipDeviceSynchronize";
483 case HIP_API_ID_hipDeviceTotalMem:
return "hipDeviceTotalMem";
484 case HIP_API_ID_hipDriverGetVersion:
return "hipDriverGetVersion";
485 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
return "hipDrvMemcpy2DUnaligned";
486 case HIP_API_ID_hipDrvMemcpy3D:
return "hipDrvMemcpy3D";
487 case HIP_API_ID_hipDrvMemcpy3DAsync:
return "hipDrvMemcpy3DAsync";
488 case HIP_API_ID_hipDrvPointerGetAttributes:
return "hipDrvPointerGetAttributes";
489 case HIP_API_ID_hipEventCreate:
return "hipEventCreate";
490 case HIP_API_ID_hipEventCreateWithFlags:
return "hipEventCreateWithFlags";
491 case HIP_API_ID_hipEventDestroy:
return "hipEventDestroy";
492 case HIP_API_ID_hipEventElapsedTime:
return "hipEventElapsedTime";
493 case HIP_API_ID_hipEventQuery:
return "hipEventQuery";
494 case HIP_API_ID_hipEventRecord:
return "hipEventRecord";
495 case HIP_API_ID_hipEventSynchronize:
return "hipEventSynchronize";
496 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
return "hipExtGetLinkTypeAndHopCount";
497 case HIP_API_ID_hipExtLaunchKernel:
return "hipExtLaunchKernel";
498 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
return "hipExtLaunchMultiKernelMultiDevice";
499 case HIP_API_ID_hipExtMallocWithFlags:
return "hipExtMallocWithFlags";
500 case HIP_API_ID_hipExtModuleLaunchKernel:
return "hipExtModuleLaunchKernel";
501 case HIP_API_ID_hipExtStreamCreateWithCUMask:
return "hipExtStreamCreateWithCUMask";
502 case HIP_API_ID_hipExtStreamGetCUMask:
return "hipExtStreamGetCUMask";
503 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
return "hipExternalMemoryGetMappedBuffer";
504 case HIP_API_ID_hipFree:
return "hipFree";
505 case HIP_API_ID_hipFreeArray:
return "hipFreeArray";
506 case HIP_API_ID_hipFreeAsync:
return "hipFreeAsync";
507 case HIP_API_ID_hipFreeHost:
return "hipFreeHost";
508 case HIP_API_ID_hipFreeMipmappedArray:
return "hipFreeMipmappedArray";
509 case HIP_API_ID_hipFuncGetAttribute:
return "hipFuncGetAttribute";
510 case HIP_API_ID_hipFuncGetAttributes:
return "hipFuncGetAttributes";
511 case HIP_API_ID_hipFuncSetAttribute:
return "hipFuncSetAttribute";
512 case HIP_API_ID_hipFuncSetCacheConfig:
return "hipFuncSetCacheConfig";
513 case HIP_API_ID_hipFuncSetSharedMemConfig:
return "hipFuncSetSharedMemConfig";
514 case HIP_API_ID_hipGLGetDevices:
return "hipGLGetDevices";
515 case HIP_API_ID_hipGetChannelDesc:
return "hipGetChannelDesc";
516 case HIP_API_ID_hipGetDevice:
return "hipGetDevice";
517 case HIP_API_ID_hipGetDeviceCount:
return "hipGetDeviceCount";
518 case HIP_API_ID_hipGetDeviceFlags:
return "hipGetDeviceFlags";
519 case HIP_API_ID_hipGetDeviceProperties:
return "hipGetDeviceProperties";
520 case HIP_API_ID_hipGetErrorString:
return "hipGetErrorString";
521 case HIP_API_ID_hipGetLastError:
return "hipGetLastError";
522 case HIP_API_ID_hipGetMipmappedArrayLevel:
return "hipGetMipmappedArrayLevel";
523 case HIP_API_ID_hipGetSymbolAddress:
return "hipGetSymbolAddress";
524 case HIP_API_ID_hipGetSymbolSize:
return "hipGetSymbolSize";
525 case HIP_API_ID_hipGraphAddChildGraphNode:
return "hipGraphAddChildGraphNode";
526 case HIP_API_ID_hipGraphAddDependencies:
return "hipGraphAddDependencies";
527 case HIP_API_ID_hipGraphAddEmptyNode:
return "hipGraphAddEmptyNode";
528 case HIP_API_ID_hipGraphAddEventRecordNode:
return "hipGraphAddEventRecordNode";
529 case HIP_API_ID_hipGraphAddEventWaitNode:
return "hipGraphAddEventWaitNode";
530 case HIP_API_ID_hipGraphAddHostNode:
return "hipGraphAddHostNode";
531 case HIP_API_ID_hipGraphAddKernelNode:
return "hipGraphAddKernelNode";
532 case HIP_API_ID_hipGraphAddMemAllocNode:
return "hipGraphAddMemAllocNode";
533 case HIP_API_ID_hipGraphAddMemFreeNode:
return "hipGraphAddMemFreeNode";
534 case HIP_API_ID_hipGraphAddMemcpyNode:
return "hipGraphAddMemcpyNode";
535 case HIP_API_ID_hipGraphAddMemcpyNode1D:
return "hipGraphAddMemcpyNode1D";
536 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
return "hipGraphAddMemcpyNodeFromSymbol";
537 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
return "hipGraphAddMemcpyNodeToSymbol";
538 case HIP_API_ID_hipGraphAddMemsetNode:
return "hipGraphAddMemsetNode";
539 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
return "hipGraphChildGraphNodeGetGraph";
540 case HIP_API_ID_hipGraphClone:
return "hipGraphClone";
541 case HIP_API_ID_hipGraphCreate:
return "hipGraphCreate";
542 case HIP_API_ID_hipGraphDebugDotPrint:
return "hipGraphDebugDotPrint";
543 case HIP_API_ID_hipGraphDestroy:
return "hipGraphDestroy";
544 case HIP_API_ID_hipGraphDestroyNode:
return "hipGraphDestroyNode";
545 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
return "hipGraphEventRecordNodeGetEvent";
546 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
return "hipGraphEventRecordNodeSetEvent";
547 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
return "hipGraphEventWaitNodeGetEvent";
548 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
return "hipGraphEventWaitNodeSetEvent";
549 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
return "hipGraphExecChildGraphNodeSetParams";
550 case HIP_API_ID_hipGraphExecDestroy:
return "hipGraphExecDestroy";
551 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
return "hipGraphExecEventRecordNodeSetEvent";
552 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
return "hipGraphExecEventWaitNodeSetEvent";
553 case HIP_API_ID_hipGraphExecHostNodeSetParams:
return "hipGraphExecHostNodeSetParams";
554 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
return "hipGraphExecKernelNodeSetParams";
555 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
return "hipGraphExecMemcpyNodeSetParams";
556 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
return "hipGraphExecMemcpyNodeSetParams1D";
557 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
return "hipGraphExecMemcpyNodeSetParamsFromSymbol";
558 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
return "hipGraphExecMemcpyNodeSetParamsToSymbol";
559 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
return "hipGraphExecMemsetNodeSetParams";
560 case HIP_API_ID_hipGraphExecUpdate:
return "hipGraphExecUpdate";
561 case HIP_API_ID_hipGraphGetEdges:
return "hipGraphGetEdges";
562 case HIP_API_ID_hipGraphGetNodes:
return "hipGraphGetNodes";
563 case HIP_API_ID_hipGraphGetRootNodes:
return "hipGraphGetRootNodes";
564 case HIP_API_ID_hipGraphHostNodeGetParams:
return "hipGraphHostNodeGetParams";
565 case HIP_API_ID_hipGraphHostNodeSetParams:
return "hipGraphHostNodeSetParams";
566 case HIP_API_ID_hipGraphInstantiate:
return "hipGraphInstantiate";
567 case HIP_API_ID_hipGraphInstantiateWithFlags:
return "hipGraphInstantiateWithFlags";
568 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
return "hipGraphKernelNodeCopyAttributes";
569 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
return "hipGraphKernelNodeGetAttribute";
570 case HIP_API_ID_hipGraphKernelNodeGetParams:
return "hipGraphKernelNodeGetParams";
571 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
return "hipGraphKernelNodeSetAttribute";
572 case HIP_API_ID_hipGraphKernelNodeSetParams:
return "hipGraphKernelNodeSetParams";
573 case HIP_API_ID_hipGraphLaunch:
return "hipGraphLaunch";
574 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
return "hipGraphMemAllocNodeGetParams";
575 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
return "hipGraphMemFreeNodeGetParams";
576 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
return "hipGraphMemcpyNodeGetParams";
577 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
return "hipGraphMemcpyNodeSetParams";
578 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
return "hipGraphMemcpyNodeSetParams1D";
579 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
return "hipGraphMemcpyNodeSetParamsFromSymbol";
580 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
return "hipGraphMemcpyNodeSetParamsToSymbol";
581 case HIP_API_ID_hipGraphMemsetNodeGetParams:
return "hipGraphMemsetNodeGetParams";
582 case HIP_API_ID_hipGraphMemsetNodeSetParams:
return "hipGraphMemsetNodeSetParams";
583 case HIP_API_ID_hipGraphNodeFindInClone:
return "hipGraphNodeFindInClone";
584 case HIP_API_ID_hipGraphNodeGetDependencies:
return "hipGraphNodeGetDependencies";
585 case HIP_API_ID_hipGraphNodeGetDependentNodes:
return "hipGraphNodeGetDependentNodes";
586 case HIP_API_ID_hipGraphNodeGetEnabled:
return "hipGraphNodeGetEnabled";
587 case HIP_API_ID_hipGraphNodeGetType:
return "hipGraphNodeGetType";
588 case HIP_API_ID_hipGraphNodeSetEnabled:
return "hipGraphNodeSetEnabled";
589 case HIP_API_ID_hipGraphReleaseUserObject:
return "hipGraphReleaseUserObject";
590 case HIP_API_ID_hipGraphRemoveDependencies:
return "hipGraphRemoveDependencies";
591 case HIP_API_ID_hipGraphRetainUserObject:
return "hipGraphRetainUserObject";
592 case HIP_API_ID_hipGraphUpload:
return "hipGraphUpload";
593 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
return "hipGraphicsGLRegisterBuffer";
594 case HIP_API_ID_hipGraphicsGLRegisterImage:
return "hipGraphicsGLRegisterImage";
595 case HIP_API_ID_hipGraphicsMapResources:
return "hipGraphicsMapResources";
596 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
return "hipGraphicsResourceGetMappedPointer";
597 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
return "hipGraphicsSubResourceGetMappedArray";
598 case HIP_API_ID_hipGraphicsUnmapResources:
return "hipGraphicsUnmapResources";
599 case HIP_API_ID_hipGraphicsUnregisterResource:
return "hipGraphicsUnregisterResource";
600 case HIP_API_ID_hipHccModuleLaunchKernel:
return "hipHccModuleLaunchKernel";
601 case HIP_API_ID_hipHostAlloc:
return "hipHostAlloc";
602 case HIP_API_ID_hipHostFree:
return "hipHostFree";
603 case HIP_API_ID_hipHostGetDevicePointer:
return "hipHostGetDevicePointer";
604 case HIP_API_ID_hipHostGetFlags:
return "hipHostGetFlags";
605 case HIP_API_ID_hipHostMalloc:
return "hipHostMalloc";
606 case HIP_API_ID_hipHostRegister:
return "hipHostRegister";
607 case HIP_API_ID_hipHostUnregister:
return "hipHostUnregister";
608 case HIP_API_ID_hipImportExternalMemory:
return "hipImportExternalMemory";
609 case HIP_API_ID_hipImportExternalSemaphore:
return "hipImportExternalSemaphore";
610 case HIP_API_ID_hipInit:
return "hipInit";
611 case HIP_API_ID_hipIpcCloseMemHandle:
return "hipIpcCloseMemHandle";
612 case HIP_API_ID_hipIpcGetEventHandle:
return "hipIpcGetEventHandle";
613 case HIP_API_ID_hipIpcGetMemHandle:
return "hipIpcGetMemHandle";
614 case HIP_API_ID_hipIpcOpenEventHandle:
return "hipIpcOpenEventHandle";
615 case HIP_API_ID_hipIpcOpenMemHandle:
return "hipIpcOpenMemHandle";
616 case HIP_API_ID_hipLaunchByPtr:
return "hipLaunchByPtr";
617 case HIP_API_ID_hipLaunchCooperativeKernel:
return "hipLaunchCooperativeKernel";
618 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
return "hipLaunchCooperativeKernelMultiDevice";
619 case HIP_API_ID_hipLaunchHostFunc:
return "hipLaunchHostFunc";
620 case HIP_API_ID_hipLaunchKernel:
return "hipLaunchKernel";
621 case HIP_API_ID_hipMalloc:
return "hipMalloc";
622 case HIP_API_ID_hipMalloc3D:
return "hipMalloc3D";
623 case HIP_API_ID_hipMalloc3DArray:
return "hipMalloc3DArray";
624 case HIP_API_ID_hipMallocArray:
return "hipMallocArray";
625 case HIP_API_ID_hipMallocAsync:
return "hipMallocAsync";
626 case HIP_API_ID_hipMallocFromPoolAsync:
return "hipMallocFromPoolAsync";
627 case HIP_API_ID_hipMallocHost:
return "hipMallocHost";
628 case HIP_API_ID_hipMallocManaged:
return "hipMallocManaged";
629 case HIP_API_ID_hipMallocMipmappedArray:
return "hipMallocMipmappedArray";
630 case HIP_API_ID_hipMallocPitch:
return "hipMallocPitch";
631 case HIP_API_ID_hipMemAddressFree:
return "hipMemAddressFree";
632 case HIP_API_ID_hipMemAddressReserve:
return "hipMemAddressReserve";
633 case HIP_API_ID_hipMemAdvise:
return "hipMemAdvise";
634 case HIP_API_ID_hipMemAllocHost:
return "hipMemAllocHost";
635 case HIP_API_ID_hipMemAllocPitch:
return "hipMemAllocPitch";
636 case HIP_API_ID_hipMemCreate:
return "hipMemCreate";
637 case HIP_API_ID_hipMemExportToShareableHandle:
return "hipMemExportToShareableHandle";
638 case HIP_API_ID_hipMemGetAccess:
return "hipMemGetAccess";
639 case HIP_API_ID_hipMemGetAddressRange:
return "hipMemGetAddressRange";
640 case HIP_API_ID_hipMemGetAllocationGranularity:
return "hipMemGetAllocationGranularity";
641 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
return "hipMemGetAllocationPropertiesFromHandle";
642 case HIP_API_ID_hipMemGetInfo:
return "hipMemGetInfo";
643 case HIP_API_ID_hipMemImportFromShareableHandle:
return "hipMemImportFromShareableHandle";
644 case HIP_API_ID_hipMemMap:
return "hipMemMap";
645 case HIP_API_ID_hipMemMapArrayAsync:
return "hipMemMapArrayAsync";
646 case HIP_API_ID_hipMemPoolCreate:
return "hipMemPoolCreate";
647 case HIP_API_ID_hipMemPoolDestroy:
return "hipMemPoolDestroy";
648 case HIP_API_ID_hipMemPoolExportPointer:
return "hipMemPoolExportPointer";
649 case HIP_API_ID_hipMemPoolExportToShareableHandle:
return "hipMemPoolExportToShareableHandle";
650 case HIP_API_ID_hipMemPoolGetAccess:
return "hipMemPoolGetAccess";
651 case HIP_API_ID_hipMemPoolGetAttribute:
return "hipMemPoolGetAttribute";
652 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
return "hipMemPoolImportFromShareableHandle";
653 case HIP_API_ID_hipMemPoolImportPointer:
return "hipMemPoolImportPointer";
654 case HIP_API_ID_hipMemPoolSetAccess:
return "hipMemPoolSetAccess";
655 case HIP_API_ID_hipMemPoolSetAttribute:
return "hipMemPoolSetAttribute";
656 case HIP_API_ID_hipMemPoolTrimTo:
return "hipMemPoolTrimTo";
657 case HIP_API_ID_hipMemPrefetchAsync:
return "hipMemPrefetchAsync";
658 case HIP_API_ID_hipMemPtrGetInfo:
return "hipMemPtrGetInfo";
659 case HIP_API_ID_hipMemRangeGetAttribute:
return "hipMemRangeGetAttribute";
660 case HIP_API_ID_hipMemRangeGetAttributes:
return "hipMemRangeGetAttributes";
661 case HIP_API_ID_hipMemRelease:
return "hipMemRelease";
662 case HIP_API_ID_hipMemRetainAllocationHandle:
return "hipMemRetainAllocationHandle";
663 case HIP_API_ID_hipMemSetAccess:
return "hipMemSetAccess";
664 case HIP_API_ID_hipMemUnmap:
return "hipMemUnmap";
665 case HIP_API_ID_hipMemcpy:
return "hipMemcpy";
666 case HIP_API_ID_hipMemcpy2D:
return "hipMemcpy2D";
667 case HIP_API_ID_hipMemcpy2DAsync:
return "hipMemcpy2DAsync";
668 case HIP_API_ID_hipMemcpy2DFromArray:
return "hipMemcpy2DFromArray";
669 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
return "hipMemcpy2DFromArrayAsync";
670 case HIP_API_ID_hipMemcpy2DToArray:
return "hipMemcpy2DToArray";
671 case HIP_API_ID_hipMemcpy2DToArrayAsync:
return "hipMemcpy2DToArrayAsync";
672 case HIP_API_ID_hipMemcpy3D:
return "hipMemcpy3D";
673 case HIP_API_ID_hipMemcpy3DAsync:
return "hipMemcpy3DAsync";
674 case HIP_API_ID_hipMemcpyAsync:
return "hipMemcpyAsync";
675 case HIP_API_ID_hipMemcpyAtoH:
return "hipMemcpyAtoH";
676 case HIP_API_ID_hipMemcpyDtoD:
return "hipMemcpyDtoD";
677 case HIP_API_ID_hipMemcpyDtoDAsync:
return "hipMemcpyDtoDAsync";
678 case HIP_API_ID_hipMemcpyDtoH:
return "hipMemcpyDtoH";
679 case HIP_API_ID_hipMemcpyDtoHAsync:
return "hipMemcpyDtoHAsync";
680 case HIP_API_ID_hipMemcpyFromArray:
return "hipMemcpyFromArray";
681 case HIP_API_ID_hipMemcpyFromSymbol:
return "hipMemcpyFromSymbol";
682 case HIP_API_ID_hipMemcpyFromSymbolAsync:
return "hipMemcpyFromSymbolAsync";
683 case HIP_API_ID_hipMemcpyHtoA:
return "hipMemcpyHtoA";
684 case HIP_API_ID_hipMemcpyHtoD:
return "hipMemcpyHtoD";
685 case HIP_API_ID_hipMemcpyHtoDAsync:
return "hipMemcpyHtoDAsync";
686 case HIP_API_ID_hipMemcpyParam2D:
return "hipMemcpyParam2D";
687 case HIP_API_ID_hipMemcpyParam2DAsync:
return "hipMemcpyParam2DAsync";
688 case HIP_API_ID_hipMemcpyPeer:
return "hipMemcpyPeer";
689 case HIP_API_ID_hipMemcpyPeerAsync:
return "hipMemcpyPeerAsync";
690 case HIP_API_ID_hipMemcpyToArray:
return "hipMemcpyToArray";
691 case HIP_API_ID_hipMemcpyToSymbol:
return "hipMemcpyToSymbol";
692 case HIP_API_ID_hipMemcpyToSymbolAsync:
return "hipMemcpyToSymbolAsync";
693 case HIP_API_ID_hipMemcpyWithStream:
return "hipMemcpyWithStream";
694 case HIP_API_ID_hipMemset:
return "hipMemset";
695 case HIP_API_ID_hipMemset2D:
return "hipMemset2D";
696 case HIP_API_ID_hipMemset2DAsync:
return "hipMemset2DAsync";
697 case HIP_API_ID_hipMemset3D:
return "hipMemset3D";
698 case HIP_API_ID_hipMemset3DAsync:
return "hipMemset3DAsync";
699 case HIP_API_ID_hipMemsetAsync:
return "hipMemsetAsync";
700 case HIP_API_ID_hipMemsetD16:
return "hipMemsetD16";
701 case HIP_API_ID_hipMemsetD16Async:
return "hipMemsetD16Async";
702 case HIP_API_ID_hipMemsetD32:
return "hipMemsetD32";
703 case HIP_API_ID_hipMemsetD32Async:
return "hipMemsetD32Async";
704 case HIP_API_ID_hipMemsetD8:
return "hipMemsetD8";
705 case HIP_API_ID_hipMemsetD8Async:
return "hipMemsetD8Async";
706 case HIP_API_ID_hipMipmappedArrayCreate:
return "hipMipmappedArrayCreate";
707 case HIP_API_ID_hipMipmappedArrayDestroy:
return "hipMipmappedArrayDestroy";
708 case HIP_API_ID_hipMipmappedArrayGetLevel:
return "hipMipmappedArrayGetLevel";
709 case HIP_API_ID_hipModuleGetFunction:
return "hipModuleGetFunction";
710 case HIP_API_ID_hipModuleGetGlobal:
return "hipModuleGetGlobal";
711 case HIP_API_ID_hipModuleGetTexRef:
return "hipModuleGetTexRef";
712 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
return "hipModuleLaunchCooperativeKernel";
713 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
return "hipModuleLaunchCooperativeKernelMultiDevice";
714 case HIP_API_ID_hipModuleLaunchKernel:
return "hipModuleLaunchKernel";
715 case HIP_API_ID_hipModuleLoad:
return "hipModuleLoad";
716 case HIP_API_ID_hipModuleLoadData:
return "hipModuleLoadData";
717 case HIP_API_ID_hipModuleLoadDataEx:
return "hipModuleLoadDataEx";
718 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessor";
719 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
720 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
return "hipModuleOccupancyMaxPotentialBlockSize";
721 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
return "hipModuleOccupancyMaxPotentialBlockSizeWithFlags";
722 case HIP_API_ID_hipModuleUnload:
return "hipModuleUnload";
723 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
724 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
725 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
return "hipOccupancyMaxPotentialBlockSize";
726 case HIP_API_ID_hipPeekAtLastError:
return "hipPeekAtLastError";
727 case HIP_API_ID_hipPointerGetAttribute:
return "hipPointerGetAttribute";
728 case HIP_API_ID_hipPointerGetAttributes:
return "hipPointerGetAttributes";
729 case HIP_API_ID_hipPointerSetAttribute:
return "hipPointerSetAttribute";
730 case HIP_API_ID_hipProfilerStart:
return "hipProfilerStart";
731 case HIP_API_ID_hipProfilerStop:
return "hipProfilerStop";
732 case HIP_API_ID_hipRuntimeGetVersion:
return "hipRuntimeGetVersion";
733 case HIP_API_ID_hipSetDevice:
return "hipSetDevice";
734 case HIP_API_ID_hipSetDeviceFlags:
return "hipSetDeviceFlags";
735 case HIP_API_ID_hipSetupArgument:
return "hipSetupArgument";
736 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
return "hipSignalExternalSemaphoresAsync";
737 case HIP_API_ID_hipStreamAddCallback:
return "hipStreamAddCallback";
738 case HIP_API_ID_hipStreamAttachMemAsync:
return "hipStreamAttachMemAsync";
739 case HIP_API_ID_hipStreamBeginCapture:
return "hipStreamBeginCapture";
740 case HIP_API_ID_hipStreamCreate:
return "hipStreamCreate";
741 case HIP_API_ID_hipStreamCreateWithFlags:
return "hipStreamCreateWithFlags";
742 case HIP_API_ID_hipStreamCreateWithPriority:
return "hipStreamCreateWithPriority";
743 case HIP_API_ID_hipStreamDestroy:
return "hipStreamDestroy";
744 case HIP_API_ID_hipStreamEndCapture:
return "hipStreamEndCapture";
745 case HIP_API_ID_hipStreamGetCaptureInfo:
return "hipStreamGetCaptureInfo";
746 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
return "hipStreamGetCaptureInfo_v2";
747 case HIP_API_ID_hipStreamGetDevice:
return "hipStreamGetDevice";
748 case HIP_API_ID_hipStreamGetFlags:
return "hipStreamGetFlags";
749 case HIP_API_ID_hipStreamGetPriority:
return "hipStreamGetPriority";
750 case HIP_API_ID_hipStreamIsCapturing:
return "hipStreamIsCapturing";
751 case HIP_API_ID_hipStreamQuery:
return "hipStreamQuery";
752 case HIP_API_ID_hipStreamSynchronize:
return "hipStreamSynchronize";
753 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
return "hipStreamUpdateCaptureDependencies";
754 case HIP_API_ID_hipStreamWaitEvent:
return "hipStreamWaitEvent";
755 case HIP_API_ID_hipStreamWaitValue32:
return "hipStreamWaitValue32";
756 case HIP_API_ID_hipStreamWaitValue64:
return "hipStreamWaitValue64";
757 case HIP_API_ID_hipStreamWriteValue32:
return "hipStreamWriteValue32";
758 case HIP_API_ID_hipStreamWriteValue64:
return "hipStreamWriteValue64";
759 case HIP_API_ID_hipTexRefGetAddress:
return "hipTexRefGetAddress";
760 case HIP_API_ID_hipTexRefGetFlags:
return "hipTexRefGetFlags";
761 case HIP_API_ID_hipTexRefGetFormat:
return "hipTexRefGetFormat";
762 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
return "hipTexRefGetMaxAnisotropy";
763 case HIP_API_ID_hipTexRefGetMipMappedArray:
return "hipTexRefGetMipMappedArray";
764 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
return "hipTexRefGetMipmapLevelBias";
765 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
return "hipTexRefGetMipmapLevelClamp";
766 case HIP_API_ID_hipTexRefSetAddress:
return "hipTexRefSetAddress";
767 case HIP_API_ID_hipTexRefSetAddress2D:
return "hipTexRefSetAddress2D";
768 case HIP_API_ID_hipTexRefSetArray:
return "hipTexRefSetArray";
769 case HIP_API_ID_hipTexRefSetBorderColor:
return "hipTexRefSetBorderColor";
770 case HIP_API_ID_hipTexRefSetFlags:
return "hipTexRefSetFlags";
771 case HIP_API_ID_hipTexRefSetFormat:
return "hipTexRefSetFormat";
772 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
return "hipTexRefSetMaxAnisotropy";
773 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
return "hipTexRefSetMipmapLevelBias";
774 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
return "hipTexRefSetMipmapLevelClamp";
775 case HIP_API_ID_hipTexRefSetMipmappedArray:
return "hipTexRefSetMipmappedArray";
776 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
return "hipThreadExchangeStreamCaptureMode";
777 case HIP_API_ID_hipUserObjectCreate:
return "hipUserObjectCreate";
778 case HIP_API_ID_hipUserObjectRelease:
return "hipUserObjectRelease";
779 case HIP_API_ID_hipUserObjectRetain:
return "hipUserObjectRetain";
780 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
return "hipWaitExternalSemaphoresAsync";
787static inline uint32_t hipApiIdByName(
const char* name) {
788 if (strcmp(
"__hipPopCallConfiguration", name) == 0)
return HIP_API_ID___hipPopCallConfiguration;
789 if (strcmp(
"__hipPushCallConfiguration", name) == 0)
return HIP_API_ID___hipPushCallConfiguration;
790 if (strcmp(
"hipArray3DCreate", name) == 0)
return HIP_API_ID_hipArray3DCreate;
791 if (strcmp(
"hipArray3DGetDescriptor", name) == 0)
return HIP_API_ID_hipArray3DGetDescriptor;
792 if (strcmp(
"hipArrayCreate", name) == 0)
return HIP_API_ID_hipArrayCreate;
793 if (strcmp(
"hipArrayDestroy", name) == 0)
return HIP_API_ID_hipArrayDestroy;
794 if (strcmp(
"hipArrayGetDescriptor", name) == 0)
return HIP_API_ID_hipArrayGetDescriptor;
795 if (strcmp(
"hipArrayGetInfo", name) == 0)
return HIP_API_ID_hipArrayGetInfo;
796 if (strcmp(
"hipChooseDevice", name) == 0)
return HIP_API_ID_hipChooseDevice;
797 if (strcmp(
"hipConfigureCall", name) == 0)
return HIP_API_ID_hipConfigureCall;
798 if (strcmp(
"hipCreateSurfaceObject", name) == 0)
return HIP_API_ID_hipCreateSurfaceObject;
799 if (strcmp(
"hipCtxCreate", name) == 0)
return HIP_API_ID_hipCtxCreate;
800 if (strcmp(
"hipCtxDestroy", name) == 0)
return HIP_API_ID_hipCtxDestroy;
801 if (strcmp(
"hipCtxDisablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxDisablePeerAccess;
802 if (strcmp(
"hipCtxEnablePeerAccess", name) == 0)
return HIP_API_ID_hipCtxEnablePeerAccess;
803 if (strcmp(
"hipCtxGetApiVersion", name) == 0)
return HIP_API_ID_hipCtxGetApiVersion;
804 if (strcmp(
"hipCtxGetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxGetCacheConfig;
805 if (strcmp(
"hipCtxGetCurrent", name) == 0)
return HIP_API_ID_hipCtxGetCurrent;
806 if (strcmp(
"hipCtxGetDevice", name) == 0)
return HIP_API_ID_hipCtxGetDevice;
807 if (strcmp(
"hipCtxGetFlags", name) == 0)
return HIP_API_ID_hipCtxGetFlags;
808 if (strcmp(
"hipCtxGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxGetSharedMemConfig;
809 if (strcmp(
"hipCtxPopCurrent", name) == 0)
return HIP_API_ID_hipCtxPopCurrent;
810 if (strcmp(
"hipCtxPushCurrent", name) == 0)
return HIP_API_ID_hipCtxPushCurrent;
811 if (strcmp(
"hipCtxSetCacheConfig", name) == 0)
return HIP_API_ID_hipCtxSetCacheConfig;
812 if (strcmp(
"hipCtxSetCurrent", name) == 0)
return HIP_API_ID_hipCtxSetCurrent;
813 if (strcmp(
"hipCtxSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipCtxSetSharedMemConfig;
814 if (strcmp(
"hipCtxSynchronize", name) == 0)
return HIP_API_ID_hipCtxSynchronize;
815 if (strcmp(
"hipDestroyExternalMemory", name) == 0)
return HIP_API_ID_hipDestroyExternalMemory;
816 if (strcmp(
"hipDestroyExternalSemaphore", name) == 0)
return HIP_API_ID_hipDestroyExternalSemaphore;
817 if (strcmp(
"hipDestroySurfaceObject", name) == 0)
return HIP_API_ID_hipDestroySurfaceObject;
818 if (strcmp(
"hipDeviceCanAccessPeer", name) == 0)
return HIP_API_ID_hipDeviceCanAccessPeer;
819 if (strcmp(
"hipDeviceComputeCapability", name) == 0)
return HIP_API_ID_hipDeviceComputeCapability;
820 if (strcmp(
"hipDeviceDisablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceDisablePeerAccess;
821 if (strcmp(
"hipDeviceEnablePeerAccess", name) == 0)
return HIP_API_ID_hipDeviceEnablePeerAccess;
822 if (strcmp(
"hipDeviceGet", name) == 0)
return HIP_API_ID_hipDeviceGet;
823 if (strcmp(
"hipDeviceGetAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetAttribute;
824 if (strcmp(
"hipDeviceGetByPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetByPCIBusId;
825 if (strcmp(
"hipDeviceGetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceGetCacheConfig;
826 if (strcmp(
"hipDeviceGetDefaultMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetDefaultMemPool;
827 if (strcmp(
"hipDeviceGetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetGraphMemAttribute;
828 if (strcmp(
"hipDeviceGetLimit", name) == 0)
return HIP_API_ID_hipDeviceGetLimit;
829 if (strcmp(
"hipDeviceGetMemPool", name) == 0)
return HIP_API_ID_hipDeviceGetMemPool;
830 if (strcmp(
"hipDeviceGetName", name) == 0)
return HIP_API_ID_hipDeviceGetName;
831 if (strcmp(
"hipDeviceGetP2PAttribute", name) == 0)
return HIP_API_ID_hipDeviceGetP2PAttribute;
832 if (strcmp(
"hipDeviceGetPCIBusId", name) == 0)
return HIP_API_ID_hipDeviceGetPCIBusId;
833 if (strcmp(
"hipDeviceGetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceGetSharedMemConfig;
834 if (strcmp(
"hipDeviceGetStreamPriorityRange", name) == 0)
return HIP_API_ID_hipDeviceGetStreamPriorityRange;
835 if (strcmp(
"hipDeviceGetUuid", name) == 0)
return HIP_API_ID_hipDeviceGetUuid;
836 if (strcmp(
"hipDeviceGraphMemTrim", name) == 0)
return HIP_API_ID_hipDeviceGraphMemTrim;
837 if (strcmp(
"hipDevicePrimaryCtxGetState", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxGetState;
838 if (strcmp(
"hipDevicePrimaryCtxRelease", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRelease;
839 if (strcmp(
"hipDevicePrimaryCtxReset", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxReset;
840 if (strcmp(
"hipDevicePrimaryCtxRetain", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxRetain;
841 if (strcmp(
"hipDevicePrimaryCtxSetFlags", name) == 0)
return HIP_API_ID_hipDevicePrimaryCtxSetFlags;
842 if (strcmp(
"hipDeviceReset", name) == 0)
return HIP_API_ID_hipDeviceReset;
843 if (strcmp(
"hipDeviceSetCacheConfig", name) == 0)
return HIP_API_ID_hipDeviceSetCacheConfig;
844 if (strcmp(
"hipDeviceSetGraphMemAttribute", name) == 0)
return HIP_API_ID_hipDeviceSetGraphMemAttribute;
845 if (strcmp(
"hipDeviceSetLimit", name) == 0)
return HIP_API_ID_hipDeviceSetLimit;
846 if (strcmp(
"hipDeviceSetMemPool", name) == 0)
return HIP_API_ID_hipDeviceSetMemPool;
847 if (strcmp(
"hipDeviceSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipDeviceSetSharedMemConfig;
848 if (strcmp(
"hipDeviceSynchronize", name) == 0)
return HIP_API_ID_hipDeviceSynchronize;
849 if (strcmp(
"hipDeviceTotalMem", name) == 0)
return HIP_API_ID_hipDeviceTotalMem;
850 if (strcmp(
"hipDriverGetVersion", name) == 0)
return HIP_API_ID_hipDriverGetVersion;
851 if (strcmp(
"hipDrvMemcpy2DUnaligned", name) == 0)
return HIP_API_ID_hipDrvMemcpy2DUnaligned;
852 if (strcmp(
"hipDrvMemcpy3D", name) == 0)
return HIP_API_ID_hipDrvMemcpy3D;
853 if (strcmp(
"hipDrvMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipDrvMemcpy3DAsync;
854 if (strcmp(
"hipDrvPointerGetAttributes", name) == 0)
return HIP_API_ID_hipDrvPointerGetAttributes;
855 if (strcmp(
"hipEventCreate", name) == 0)
return HIP_API_ID_hipEventCreate;
856 if (strcmp(
"hipEventCreateWithFlags", name) == 0)
return HIP_API_ID_hipEventCreateWithFlags;
857 if (strcmp(
"hipEventDestroy", name) == 0)
return HIP_API_ID_hipEventDestroy;
858 if (strcmp(
"hipEventElapsedTime", name) == 0)
return HIP_API_ID_hipEventElapsedTime;
859 if (strcmp(
"hipEventQuery", name) == 0)
return HIP_API_ID_hipEventQuery;
860 if (strcmp(
"hipEventRecord", name) == 0)
return HIP_API_ID_hipEventRecord;
861 if (strcmp(
"hipEventSynchronize", name) == 0)
return HIP_API_ID_hipEventSynchronize;
862 if (strcmp(
"hipExtGetLinkTypeAndHopCount", name) == 0)
return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
863 if (strcmp(
"hipExtLaunchKernel", name) == 0)
return HIP_API_ID_hipExtLaunchKernel;
864 if (strcmp(
"hipExtLaunchMultiKernelMultiDevice", name) == 0)
return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
865 if (strcmp(
"hipExtMallocWithFlags", name) == 0)
return HIP_API_ID_hipExtMallocWithFlags;
866 if (strcmp(
"hipExtModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipExtModuleLaunchKernel;
867 if (strcmp(
"hipExtStreamCreateWithCUMask", name) == 0)
return HIP_API_ID_hipExtStreamCreateWithCUMask;
868 if (strcmp(
"hipExtStreamGetCUMask", name) == 0)
return HIP_API_ID_hipExtStreamGetCUMask;
869 if (strcmp(
"hipExternalMemoryGetMappedBuffer", name) == 0)
return HIP_API_ID_hipExternalMemoryGetMappedBuffer;
870 if (strcmp(
"hipFree", name) == 0)
return HIP_API_ID_hipFree;
871 if (strcmp(
"hipFreeArray", name) == 0)
return HIP_API_ID_hipFreeArray;
872 if (strcmp(
"hipFreeAsync", name) == 0)
return HIP_API_ID_hipFreeAsync;
873 if (strcmp(
"hipFreeHost", name) == 0)
return HIP_API_ID_hipFreeHost;
874 if (strcmp(
"hipFreeMipmappedArray", name) == 0)
return HIP_API_ID_hipFreeMipmappedArray;
875 if (strcmp(
"hipFuncGetAttribute", name) == 0)
return HIP_API_ID_hipFuncGetAttribute;
876 if (strcmp(
"hipFuncGetAttributes", name) == 0)
return HIP_API_ID_hipFuncGetAttributes;
877 if (strcmp(
"hipFuncSetAttribute", name) == 0)
return HIP_API_ID_hipFuncSetAttribute;
878 if (strcmp(
"hipFuncSetCacheConfig", name) == 0)
return HIP_API_ID_hipFuncSetCacheConfig;
879 if (strcmp(
"hipFuncSetSharedMemConfig", name) == 0)
return HIP_API_ID_hipFuncSetSharedMemConfig;
880 if (strcmp(
"hipGLGetDevices", name) == 0)
return HIP_API_ID_hipGLGetDevices;
881 if (strcmp(
"hipGetChannelDesc", name) == 0)
return HIP_API_ID_hipGetChannelDesc;
882 if (strcmp(
"hipGetDevice", name) == 0)
return HIP_API_ID_hipGetDevice;
883 if (strcmp(
"hipGetDeviceCount", name) == 0)
return HIP_API_ID_hipGetDeviceCount;
884 if (strcmp(
"hipGetDeviceFlags", name) == 0)
return HIP_API_ID_hipGetDeviceFlags;
885 if (strcmp(
"hipGetDeviceProperties", name) == 0)
return HIP_API_ID_hipGetDeviceProperties;
886 if (strcmp(
"hipGetErrorString", name) == 0)
return HIP_API_ID_hipGetErrorString;
887 if (strcmp(
"hipGetLastError", name) == 0)
return HIP_API_ID_hipGetLastError;
888 if (strcmp(
"hipGetMipmappedArrayLevel", name) == 0)
return HIP_API_ID_hipGetMipmappedArrayLevel;
889 if (strcmp(
"hipGetSymbolAddress", name) == 0)
return HIP_API_ID_hipGetSymbolAddress;
890 if (strcmp(
"hipGetSymbolSize", name) == 0)
return HIP_API_ID_hipGetSymbolSize;
891 if (strcmp(
"hipGraphAddChildGraphNode", name) == 0)
return HIP_API_ID_hipGraphAddChildGraphNode;
892 if (strcmp(
"hipGraphAddDependencies", name) == 0)
return HIP_API_ID_hipGraphAddDependencies;
893 if (strcmp(
"hipGraphAddEmptyNode", name) == 0)
return HIP_API_ID_hipGraphAddEmptyNode;
894 if (strcmp(
"hipGraphAddEventRecordNode", name) == 0)
return HIP_API_ID_hipGraphAddEventRecordNode;
895 if (strcmp(
"hipGraphAddEventWaitNode", name) == 0)
return HIP_API_ID_hipGraphAddEventWaitNode;
896 if (strcmp(
"hipGraphAddHostNode", name) == 0)
return HIP_API_ID_hipGraphAddHostNode;
897 if (strcmp(
"hipGraphAddKernelNode", name) == 0)
return HIP_API_ID_hipGraphAddKernelNode;
898 if (strcmp(
"hipGraphAddMemAllocNode", name) == 0)
return HIP_API_ID_hipGraphAddMemAllocNode;
899 if (strcmp(
"hipGraphAddMemFreeNode", name) == 0)
return HIP_API_ID_hipGraphAddMemFreeNode;
900 if (strcmp(
"hipGraphAddMemcpyNode", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode;
901 if (strcmp(
"hipGraphAddMemcpyNode1D", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNode1D;
902 if (strcmp(
"hipGraphAddMemcpyNodeFromSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
903 if (strcmp(
"hipGraphAddMemcpyNodeToSymbol", name) == 0)
return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
904 if (strcmp(
"hipGraphAddMemsetNode", name) == 0)
return HIP_API_ID_hipGraphAddMemsetNode;
905 if (strcmp(
"hipGraphChildGraphNodeGetGraph", name) == 0)
return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
906 if (strcmp(
"hipGraphClone", name) == 0)
return HIP_API_ID_hipGraphClone;
907 if (strcmp(
"hipGraphCreate", name) == 0)
return HIP_API_ID_hipGraphCreate;
908 if (strcmp(
"hipGraphDebugDotPrint", name) == 0)
return HIP_API_ID_hipGraphDebugDotPrint;
909 if (strcmp(
"hipGraphDestroy", name) == 0)
return HIP_API_ID_hipGraphDestroy;
910 if (strcmp(
"hipGraphDestroyNode", name) == 0)
return HIP_API_ID_hipGraphDestroyNode;
911 if (strcmp(
"hipGraphEventRecordNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeGetEvent;
912 if (strcmp(
"hipGraphEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventRecordNodeSetEvent;
913 if (strcmp(
"hipGraphEventWaitNodeGetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeGetEvent;
914 if (strcmp(
"hipGraphEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphEventWaitNodeSetEvent;
915 if (strcmp(
"hipGraphExecChildGraphNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecChildGraphNodeSetParams;
916 if (strcmp(
"hipGraphExecDestroy", name) == 0)
return HIP_API_ID_hipGraphExecDestroy;
917 if (strcmp(
"hipGraphExecEventRecordNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventRecordNodeSetEvent;
918 if (strcmp(
"hipGraphExecEventWaitNodeSetEvent", name) == 0)
return HIP_API_ID_hipGraphExecEventWaitNodeSetEvent;
919 if (strcmp(
"hipGraphExecHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecHostNodeSetParams;
920 if (strcmp(
"hipGraphExecKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecKernelNodeSetParams;
921 if (strcmp(
"hipGraphExecMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams;
922 if (strcmp(
"hipGraphExecMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D;
923 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol;
924 if (strcmp(
"hipGraphExecMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol;
925 if (strcmp(
"hipGraphExecMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphExecMemsetNodeSetParams;
926 if (strcmp(
"hipGraphExecUpdate", name) == 0)
return HIP_API_ID_hipGraphExecUpdate;
927 if (strcmp(
"hipGraphGetEdges", name) == 0)
return HIP_API_ID_hipGraphGetEdges;
928 if (strcmp(
"hipGraphGetNodes", name) == 0)
return HIP_API_ID_hipGraphGetNodes;
929 if (strcmp(
"hipGraphGetRootNodes", name) == 0)
return HIP_API_ID_hipGraphGetRootNodes;
930 if (strcmp(
"hipGraphHostNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeGetParams;
931 if (strcmp(
"hipGraphHostNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphHostNodeSetParams;
932 if (strcmp(
"hipGraphInstantiate", name) == 0)
return HIP_API_ID_hipGraphInstantiate;
933 if (strcmp(
"hipGraphInstantiateWithFlags", name) == 0)
return HIP_API_ID_hipGraphInstantiateWithFlags;
934 if (strcmp(
"hipGraphKernelNodeCopyAttributes", name) == 0)
return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
935 if (strcmp(
"hipGraphKernelNodeGetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetAttribute;
936 if (strcmp(
"hipGraphKernelNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeGetParams;
937 if (strcmp(
"hipGraphKernelNodeSetAttribute", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetAttribute;
938 if (strcmp(
"hipGraphKernelNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphKernelNodeSetParams;
939 if (strcmp(
"hipGraphLaunch", name) == 0)
return HIP_API_ID_hipGraphLaunch;
940 if (strcmp(
"hipGraphMemAllocNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemAllocNodeGetParams;
941 if (strcmp(
"hipGraphMemFreeNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemFreeNodeGetParams;
942 if (strcmp(
"hipGraphMemcpyNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeGetParams;
943 if (strcmp(
"hipGraphMemcpyNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams;
944 if (strcmp(
"hipGraphMemcpyNodeSetParams1D", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParams1D;
945 if (strcmp(
"hipGraphMemcpyNodeSetParamsFromSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol;
946 if (strcmp(
"hipGraphMemcpyNodeSetParamsToSymbol", name) == 0)
return HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol;
947 if (strcmp(
"hipGraphMemsetNodeGetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeGetParams;
948 if (strcmp(
"hipGraphMemsetNodeSetParams", name) == 0)
return HIP_API_ID_hipGraphMemsetNodeSetParams;
949 if (strcmp(
"hipGraphNodeFindInClone", name) == 0)
return HIP_API_ID_hipGraphNodeFindInClone;
950 if (strcmp(
"hipGraphNodeGetDependencies", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependencies;
951 if (strcmp(
"hipGraphNodeGetDependentNodes", name) == 0)
return HIP_API_ID_hipGraphNodeGetDependentNodes;
952 if (strcmp(
"hipGraphNodeGetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeGetEnabled;
953 if (strcmp(
"hipGraphNodeGetType", name) == 0)
return HIP_API_ID_hipGraphNodeGetType;
954 if (strcmp(
"hipGraphNodeSetEnabled", name) == 0)
return HIP_API_ID_hipGraphNodeSetEnabled;
955 if (strcmp(
"hipGraphReleaseUserObject", name) == 0)
return HIP_API_ID_hipGraphReleaseUserObject;
956 if (strcmp(
"hipGraphRemoveDependencies", name) == 0)
return HIP_API_ID_hipGraphRemoveDependencies;
957 if (strcmp(
"hipGraphRetainUserObject", name) == 0)
return HIP_API_ID_hipGraphRetainUserObject;
958 if (strcmp(
"hipGraphUpload", name) == 0)
return HIP_API_ID_hipGraphUpload;
959 if (strcmp(
"hipGraphicsGLRegisterBuffer", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterBuffer;
960 if (strcmp(
"hipGraphicsGLRegisterImage", name) == 0)
return HIP_API_ID_hipGraphicsGLRegisterImage;
961 if (strcmp(
"hipGraphicsMapResources", name) == 0)
return HIP_API_ID_hipGraphicsMapResources;
962 if (strcmp(
"hipGraphicsResourceGetMappedPointer", name) == 0)
return HIP_API_ID_hipGraphicsResourceGetMappedPointer;
963 if (strcmp(
"hipGraphicsSubResourceGetMappedArray", name) == 0)
return HIP_API_ID_hipGraphicsSubResourceGetMappedArray;
964 if (strcmp(
"hipGraphicsUnmapResources", name) == 0)
return HIP_API_ID_hipGraphicsUnmapResources;
965 if (strcmp(
"hipGraphicsUnregisterResource", name) == 0)
return HIP_API_ID_hipGraphicsUnregisterResource;
966 if (strcmp(
"hipHccModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipHccModuleLaunchKernel;
967 if (strcmp(
"hipHostAlloc", name) == 0)
return HIP_API_ID_hipHostAlloc;
968 if (strcmp(
"hipHostFree", name) == 0)
return HIP_API_ID_hipHostFree;
969 if (strcmp(
"hipHostGetDevicePointer", name) == 0)
return HIP_API_ID_hipHostGetDevicePointer;
970 if (strcmp(
"hipHostGetFlags", name) == 0)
return HIP_API_ID_hipHostGetFlags;
971 if (strcmp(
"hipHostMalloc", name) == 0)
return HIP_API_ID_hipHostMalloc;
972 if (strcmp(
"hipHostRegister", name) == 0)
return HIP_API_ID_hipHostRegister;
973 if (strcmp(
"hipHostUnregister", name) == 0)
return HIP_API_ID_hipHostUnregister;
974 if (strcmp(
"hipImportExternalMemory", name) == 0)
return HIP_API_ID_hipImportExternalMemory;
975 if (strcmp(
"hipImportExternalSemaphore", name) == 0)
return HIP_API_ID_hipImportExternalSemaphore;
976 if (strcmp(
"hipInit", name) == 0)
return HIP_API_ID_hipInit;
977 if (strcmp(
"hipIpcCloseMemHandle", name) == 0)
return HIP_API_ID_hipIpcCloseMemHandle;
978 if (strcmp(
"hipIpcGetEventHandle", name) == 0)
return HIP_API_ID_hipIpcGetEventHandle;
979 if (strcmp(
"hipIpcGetMemHandle", name) == 0)
return HIP_API_ID_hipIpcGetMemHandle;
980 if (strcmp(
"hipIpcOpenEventHandle", name) == 0)
return HIP_API_ID_hipIpcOpenEventHandle;
981 if (strcmp(
"hipIpcOpenMemHandle", name) == 0)
return HIP_API_ID_hipIpcOpenMemHandle;
982 if (strcmp(
"hipLaunchByPtr", name) == 0)
return HIP_API_ID_hipLaunchByPtr;
983 if (strcmp(
"hipLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernel;
984 if (strcmp(
"hipLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipLaunchCooperativeKernelMultiDevice;
985 if (strcmp(
"hipLaunchHostFunc", name) == 0)
return HIP_API_ID_hipLaunchHostFunc;
986 if (strcmp(
"hipLaunchKernel", name) == 0)
return HIP_API_ID_hipLaunchKernel;
987 if (strcmp(
"hipMalloc", name) == 0)
return HIP_API_ID_hipMalloc;
988 if (strcmp(
"hipMalloc3D", name) == 0)
return HIP_API_ID_hipMalloc3D;
989 if (strcmp(
"hipMalloc3DArray", name) == 0)
return HIP_API_ID_hipMalloc3DArray;
990 if (strcmp(
"hipMallocArray", name) == 0)
return HIP_API_ID_hipMallocArray;
991 if (strcmp(
"hipMallocAsync", name) == 0)
return HIP_API_ID_hipMallocAsync;
992 if (strcmp(
"hipMallocFromPoolAsync", name) == 0)
return HIP_API_ID_hipMallocFromPoolAsync;
993 if (strcmp(
"hipMallocHost", name) == 0)
return HIP_API_ID_hipMallocHost;
994 if (strcmp(
"hipMallocManaged", name) == 0)
return HIP_API_ID_hipMallocManaged;
995 if (strcmp(
"hipMallocMipmappedArray", name) == 0)
return HIP_API_ID_hipMallocMipmappedArray;
996 if (strcmp(
"hipMallocPitch", name) == 0)
return HIP_API_ID_hipMallocPitch;
997 if (strcmp(
"hipMemAddressFree", name) == 0)
return HIP_API_ID_hipMemAddressFree;
998 if (strcmp(
"hipMemAddressReserve", name) == 0)
return HIP_API_ID_hipMemAddressReserve;
999 if (strcmp(
"hipMemAdvise", name) == 0)
return HIP_API_ID_hipMemAdvise;
1000 if (strcmp(
"hipMemAllocHost", name) == 0)
return HIP_API_ID_hipMemAllocHost;
1001 if (strcmp(
"hipMemAllocPitch", name) == 0)
return HIP_API_ID_hipMemAllocPitch;
1002 if (strcmp(
"hipMemCreate", name) == 0)
return HIP_API_ID_hipMemCreate;
1003 if (strcmp(
"hipMemExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemExportToShareableHandle;
1004 if (strcmp(
"hipMemGetAccess", name) == 0)
return HIP_API_ID_hipMemGetAccess;
1005 if (strcmp(
"hipMemGetAddressRange", name) == 0)
return HIP_API_ID_hipMemGetAddressRange;
1006 if (strcmp(
"hipMemGetAllocationGranularity", name) == 0)
return HIP_API_ID_hipMemGetAllocationGranularity;
1007 if (strcmp(
"hipMemGetAllocationPropertiesFromHandle", name) == 0)
return HIP_API_ID_hipMemGetAllocationPropertiesFromHandle;
1008 if (strcmp(
"hipMemGetInfo", name) == 0)
return HIP_API_ID_hipMemGetInfo;
1009 if (strcmp(
"hipMemImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemImportFromShareableHandle;
1010 if (strcmp(
"hipMemMap", name) == 0)
return HIP_API_ID_hipMemMap;
1011 if (strcmp(
"hipMemMapArrayAsync", name) == 0)
return HIP_API_ID_hipMemMapArrayAsync;
1012 if (strcmp(
"hipMemPoolCreate", name) == 0)
return HIP_API_ID_hipMemPoolCreate;
1013 if (strcmp(
"hipMemPoolDestroy", name) == 0)
return HIP_API_ID_hipMemPoolDestroy;
1014 if (strcmp(
"hipMemPoolExportPointer", name) == 0)
return HIP_API_ID_hipMemPoolExportPointer;
1015 if (strcmp(
"hipMemPoolExportToShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolExportToShareableHandle;
1016 if (strcmp(
"hipMemPoolGetAccess", name) == 0)
return HIP_API_ID_hipMemPoolGetAccess;
1017 if (strcmp(
"hipMemPoolGetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolGetAttribute;
1018 if (strcmp(
"hipMemPoolImportFromShareableHandle", name) == 0)
return HIP_API_ID_hipMemPoolImportFromShareableHandle;
1019 if (strcmp(
"hipMemPoolImportPointer", name) == 0)
return HIP_API_ID_hipMemPoolImportPointer;
1020 if (strcmp(
"hipMemPoolSetAccess", name) == 0)
return HIP_API_ID_hipMemPoolSetAccess;
1021 if (strcmp(
"hipMemPoolSetAttribute", name) == 0)
return HIP_API_ID_hipMemPoolSetAttribute;
1022 if (strcmp(
"hipMemPoolTrimTo", name) == 0)
return HIP_API_ID_hipMemPoolTrimTo;
1023 if (strcmp(
"hipMemPrefetchAsync", name) == 0)
return HIP_API_ID_hipMemPrefetchAsync;
1024 if (strcmp(
"hipMemPtrGetInfo", name) == 0)
return HIP_API_ID_hipMemPtrGetInfo;
1025 if (strcmp(
"hipMemRangeGetAttribute", name) == 0)
return HIP_API_ID_hipMemRangeGetAttribute;
1026 if (strcmp(
"hipMemRangeGetAttributes", name) == 0)
return HIP_API_ID_hipMemRangeGetAttributes;
1027 if (strcmp(
"hipMemRelease", name) == 0)
return HIP_API_ID_hipMemRelease;
1028 if (strcmp(
"hipMemRetainAllocationHandle", name) == 0)
return HIP_API_ID_hipMemRetainAllocationHandle;
1029 if (strcmp(
"hipMemSetAccess", name) == 0)
return HIP_API_ID_hipMemSetAccess;
1030 if (strcmp(
"hipMemUnmap", name) == 0)
return HIP_API_ID_hipMemUnmap;
1031 if (strcmp(
"hipMemcpy", name) == 0)
return HIP_API_ID_hipMemcpy;
1032 if (strcmp(
"hipMemcpy2D", name) == 0)
return HIP_API_ID_hipMemcpy2D;
1033 if (strcmp(
"hipMemcpy2DAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DAsync;
1034 if (strcmp(
"hipMemcpy2DFromArray", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArray;
1035 if (strcmp(
"hipMemcpy2DFromArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DFromArrayAsync;
1036 if (strcmp(
"hipMemcpy2DToArray", name) == 0)
return HIP_API_ID_hipMemcpy2DToArray;
1037 if (strcmp(
"hipMemcpy2DToArrayAsync", name) == 0)
return HIP_API_ID_hipMemcpy2DToArrayAsync;
1038 if (strcmp(
"hipMemcpy3D", name) == 0)
return HIP_API_ID_hipMemcpy3D;
1039 if (strcmp(
"hipMemcpy3DAsync", name) == 0)
return HIP_API_ID_hipMemcpy3DAsync;
1040 if (strcmp(
"hipMemcpyAsync", name) == 0)
return HIP_API_ID_hipMemcpyAsync;
1041 if (strcmp(
"hipMemcpyAtoH", name) == 0)
return HIP_API_ID_hipMemcpyAtoH;
1042 if (strcmp(
"hipMemcpyDtoD", name) == 0)
return HIP_API_ID_hipMemcpyDtoD;
1043 if (strcmp(
"hipMemcpyDtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoDAsync;
1044 if (strcmp(
"hipMemcpyDtoH", name) == 0)
return HIP_API_ID_hipMemcpyDtoH;
1045 if (strcmp(
"hipMemcpyDtoHAsync", name) == 0)
return HIP_API_ID_hipMemcpyDtoHAsync;
1046 if (strcmp(
"hipMemcpyFromArray", name) == 0)
return HIP_API_ID_hipMemcpyFromArray;
1047 if (strcmp(
"hipMemcpyFromSymbol", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbol;
1048 if (strcmp(
"hipMemcpyFromSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyFromSymbolAsync;
1049 if (strcmp(
"hipMemcpyHtoA", name) == 0)
return HIP_API_ID_hipMemcpyHtoA;
1050 if (strcmp(
"hipMemcpyHtoD", name) == 0)
return HIP_API_ID_hipMemcpyHtoD;
1051 if (strcmp(
"hipMemcpyHtoDAsync", name) == 0)
return HIP_API_ID_hipMemcpyHtoDAsync;
1052 if (strcmp(
"hipMemcpyParam2D", name) == 0)
return HIP_API_ID_hipMemcpyParam2D;
1053 if (strcmp(
"hipMemcpyParam2DAsync", name) == 0)
return HIP_API_ID_hipMemcpyParam2DAsync;
1054 if (strcmp(
"hipMemcpyPeer", name) == 0)
return HIP_API_ID_hipMemcpyPeer;
1055 if (strcmp(
"hipMemcpyPeerAsync", name) == 0)
return HIP_API_ID_hipMemcpyPeerAsync;
1056 if (strcmp(
"hipMemcpyToArray", name) == 0)
return HIP_API_ID_hipMemcpyToArray;
1057 if (strcmp(
"hipMemcpyToSymbol", name) == 0)
return HIP_API_ID_hipMemcpyToSymbol;
1058 if (strcmp(
"hipMemcpyToSymbolAsync", name) == 0)
return HIP_API_ID_hipMemcpyToSymbolAsync;
1059 if (strcmp(
"hipMemcpyWithStream", name) == 0)
return HIP_API_ID_hipMemcpyWithStream;
1060 if (strcmp(
"hipMemset", name) == 0)
return HIP_API_ID_hipMemset;
1061 if (strcmp(
"hipMemset2D", name) == 0)
return HIP_API_ID_hipMemset2D;
1062 if (strcmp(
"hipMemset2DAsync", name) == 0)
return HIP_API_ID_hipMemset2DAsync;
1063 if (strcmp(
"hipMemset3D", name) == 0)
return HIP_API_ID_hipMemset3D;
1064 if (strcmp(
"hipMemset3DAsync", name) == 0)
return HIP_API_ID_hipMemset3DAsync;
1065 if (strcmp(
"hipMemsetAsync", name) == 0)
return HIP_API_ID_hipMemsetAsync;
1066 if (strcmp(
"hipMemsetD16", name) == 0)
return HIP_API_ID_hipMemsetD16;
1067 if (strcmp(
"hipMemsetD16Async", name) == 0)
return HIP_API_ID_hipMemsetD16Async;
1068 if (strcmp(
"hipMemsetD32", name) == 0)
return HIP_API_ID_hipMemsetD32;
1069 if (strcmp(
"hipMemsetD32Async", name) == 0)
return HIP_API_ID_hipMemsetD32Async;
1070 if (strcmp(
"hipMemsetD8", name) == 0)
return HIP_API_ID_hipMemsetD8;
1071 if (strcmp(
"hipMemsetD8Async", name) == 0)
return HIP_API_ID_hipMemsetD8Async;
1072 if (strcmp(
"hipMipmappedArrayCreate", name) == 0)
return HIP_API_ID_hipMipmappedArrayCreate;
1073 if (strcmp(
"hipMipmappedArrayDestroy", name) == 0)
return HIP_API_ID_hipMipmappedArrayDestroy;
1074 if (strcmp(
"hipMipmappedArrayGetLevel", name) == 0)
return HIP_API_ID_hipMipmappedArrayGetLevel;
1075 if (strcmp(
"hipModuleGetFunction", name) == 0)
return HIP_API_ID_hipModuleGetFunction;
1076 if (strcmp(
"hipModuleGetGlobal", name) == 0)
return HIP_API_ID_hipModuleGetGlobal;
1077 if (strcmp(
"hipModuleGetTexRef", name) == 0)
return HIP_API_ID_hipModuleGetTexRef;
1078 if (strcmp(
"hipModuleLaunchCooperativeKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernel;
1079 if (strcmp(
"hipModuleLaunchCooperativeKernelMultiDevice", name) == 0)
return HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice;
1080 if (strcmp(
"hipModuleLaunchKernel", name) == 0)
return HIP_API_ID_hipModuleLaunchKernel;
1081 if (strcmp(
"hipModuleLoad", name) == 0)
return HIP_API_ID_hipModuleLoad;
1082 if (strcmp(
"hipModuleLoadData", name) == 0)
return HIP_API_ID_hipModuleLoadData;
1083 if (strcmp(
"hipModuleLoadDataEx", name) == 0)
return HIP_API_ID_hipModuleLoadDataEx;
1084 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
1085 if (strcmp(
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1086 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize;
1087 if (strcmp(
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags", name) == 0)
return HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
1088 if (strcmp(
"hipModuleUnload", name) == 0)
return HIP_API_ID_hipModuleUnload;
1089 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessor", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor;
1090 if (strcmp(
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", name) == 0)
return HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
1091 if (strcmp(
"hipOccupancyMaxPotentialBlockSize", name) == 0)
return HIP_API_ID_hipOccupancyMaxPotentialBlockSize;
1092 if (strcmp(
"hipPeekAtLastError", name) == 0)
return HIP_API_ID_hipPeekAtLastError;
1093 if (strcmp(
"hipPointerGetAttribute", name) == 0)
return HIP_API_ID_hipPointerGetAttribute;
1094 if (strcmp(
"hipPointerGetAttributes", name) == 0)
return HIP_API_ID_hipPointerGetAttributes;
1095 if (strcmp(
"hipPointerSetAttribute", name) == 0)
return HIP_API_ID_hipPointerSetAttribute;
1096 if (strcmp(
"hipProfilerStart", name) == 0)
return HIP_API_ID_hipProfilerStart;
1097 if (strcmp(
"hipProfilerStop", name) == 0)
return HIP_API_ID_hipProfilerStop;
1098 if (strcmp(
"hipRuntimeGetVersion", name) == 0)
return HIP_API_ID_hipRuntimeGetVersion;
1099 if (strcmp(
"hipSetDevice", name) == 0)
return HIP_API_ID_hipSetDevice;
1100 if (strcmp(
"hipSetDeviceFlags", name) == 0)
return HIP_API_ID_hipSetDeviceFlags;
1101 if (strcmp(
"hipSetupArgument", name) == 0)
return HIP_API_ID_hipSetupArgument;
1102 if (strcmp(
"hipSignalExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipSignalExternalSemaphoresAsync;
1103 if (strcmp(
"hipStreamAddCallback", name) == 0)
return HIP_API_ID_hipStreamAddCallback;
1104 if (strcmp(
"hipStreamAttachMemAsync", name) == 0)
return HIP_API_ID_hipStreamAttachMemAsync;
1105 if (strcmp(
"hipStreamBeginCapture", name) == 0)
return HIP_API_ID_hipStreamBeginCapture;
1106 if (strcmp(
"hipStreamCreate", name) == 0)
return HIP_API_ID_hipStreamCreate;
1107 if (strcmp(
"hipStreamCreateWithFlags", name) == 0)
return HIP_API_ID_hipStreamCreateWithFlags;
1108 if (strcmp(
"hipStreamCreateWithPriority", name) == 0)
return HIP_API_ID_hipStreamCreateWithPriority;
1109 if (strcmp(
"hipStreamDestroy", name) == 0)
return HIP_API_ID_hipStreamDestroy;
1110 if (strcmp(
"hipStreamEndCapture", name) == 0)
return HIP_API_ID_hipStreamEndCapture;
1111 if (strcmp(
"hipStreamGetCaptureInfo", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo;
1112 if (strcmp(
"hipStreamGetCaptureInfo_v2", name) == 0)
return HIP_API_ID_hipStreamGetCaptureInfo_v2;
1113 if (strcmp(
"hipStreamGetDevice", name) == 0)
return HIP_API_ID_hipStreamGetDevice;
1114 if (strcmp(
"hipStreamGetFlags", name) == 0)
return HIP_API_ID_hipStreamGetFlags;
1115 if (strcmp(
"hipStreamGetPriority", name) == 0)
return HIP_API_ID_hipStreamGetPriority;
1116 if (strcmp(
"hipStreamIsCapturing", name) == 0)
return HIP_API_ID_hipStreamIsCapturing;
1117 if (strcmp(
"hipStreamQuery", name) == 0)
return HIP_API_ID_hipStreamQuery;
1118 if (strcmp(
"hipStreamSynchronize", name) == 0)
return HIP_API_ID_hipStreamSynchronize;
1119 if (strcmp(
"hipStreamUpdateCaptureDependencies", name) == 0)
return HIP_API_ID_hipStreamUpdateCaptureDependencies;
1120 if (strcmp(
"hipStreamWaitEvent", name) == 0)
return HIP_API_ID_hipStreamWaitEvent;
1121 if (strcmp(
"hipStreamWaitValue32", name) == 0)
return HIP_API_ID_hipStreamWaitValue32;
1122 if (strcmp(
"hipStreamWaitValue64", name) == 0)
return HIP_API_ID_hipStreamWaitValue64;
1123 if (strcmp(
"hipStreamWriteValue32", name) == 0)
return HIP_API_ID_hipStreamWriteValue32;
1124 if (strcmp(
"hipStreamWriteValue64", name) == 0)
return HIP_API_ID_hipStreamWriteValue64;
1125 if (strcmp(
"hipTexRefGetAddress", name) == 0)
return HIP_API_ID_hipTexRefGetAddress;
1126 if (strcmp(
"hipTexRefGetFlags", name) == 0)
return HIP_API_ID_hipTexRefGetFlags;
1127 if (strcmp(
"hipTexRefGetFormat", name) == 0)
return HIP_API_ID_hipTexRefGetFormat;
1128 if (strcmp(
"hipTexRefGetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefGetMaxAnisotropy;
1129 if (strcmp(
"hipTexRefGetMipMappedArray", name) == 0)
return HIP_API_ID_hipTexRefGetMipMappedArray;
1130 if (strcmp(
"hipTexRefGetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelBias;
1131 if (strcmp(
"hipTexRefGetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefGetMipmapLevelClamp;
1132 if (strcmp(
"hipTexRefSetAddress", name) == 0)
return HIP_API_ID_hipTexRefSetAddress;
1133 if (strcmp(
"hipTexRefSetAddress2D", name) == 0)
return HIP_API_ID_hipTexRefSetAddress2D;
1134 if (strcmp(
"hipTexRefSetArray", name) == 0)
return HIP_API_ID_hipTexRefSetArray;
1135 if (strcmp(
"hipTexRefSetBorderColor", name) == 0)
return HIP_API_ID_hipTexRefSetBorderColor;
1136 if (strcmp(
"hipTexRefSetFlags", name) == 0)
return HIP_API_ID_hipTexRefSetFlags;
1137 if (strcmp(
"hipTexRefSetFormat", name) == 0)
return HIP_API_ID_hipTexRefSetFormat;
1138 if (strcmp(
"hipTexRefSetMaxAnisotropy", name) == 0)
return HIP_API_ID_hipTexRefSetMaxAnisotropy;
1139 if (strcmp(
"hipTexRefSetMipmapLevelBias", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelBias;
1140 if (strcmp(
"hipTexRefSetMipmapLevelClamp", name) == 0)
return HIP_API_ID_hipTexRefSetMipmapLevelClamp;
1141 if (strcmp(
"hipTexRefSetMipmappedArray", name) == 0)
return HIP_API_ID_hipTexRefSetMipmappedArray;
1142 if (strcmp(
"hipThreadExchangeStreamCaptureMode", name) == 0)
return HIP_API_ID_hipThreadExchangeStreamCaptureMode;
1143 if (strcmp(
"hipUserObjectCreate", name) == 0)
return HIP_API_ID_hipUserObjectCreate;
1144 if (strcmp(
"hipUserObjectRelease", name) == 0)
return HIP_API_ID_hipUserObjectRelease;
1145 if (strcmp(
"hipUserObjectRetain", name) == 0)
return HIP_API_ID_hipUserObjectRetain;
1146 if (strcmp(
"hipWaitExternalSemaphoresAsync", name) == 0)
return HIP_API_ID_hipWaitExternalSemaphoresAsync;
1147 return HIP_API_ID_NONE;
1152 uint64_t correlation_id;
1161 size_t sharedMem__val;
1162 hipStream_t* stream;
1163 hipStream_t stream__val;
1164 } __hipPopCallConfiguration;
1170 } __hipPushCallConfiguration;
1173 hipArray* array__val;
1174 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
1175 HIP_ARRAY3D_DESCRIPTOR pAllocateArray__val;
1178 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
1179 HIP_ARRAY3D_DESCRIPTOR pArrayDescriptor__val;
1181 hipArray array__val;
1182 } hipArray3DGetDescriptor;
1185 hipArray* pHandle__val;
1186 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
1187 HIP_ARRAY_DESCRIPTOR pAllocateArray__val;
1191 hipArray array__val;
1194 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
1195 HIP_ARRAY_DESCRIPTOR pArrayDescriptor__val;
1197 hipArray array__val;
1198 } hipArrayGetDescriptor;
1200 hipChannelFormatDesc* desc;
1201 hipChannelFormatDesc desc__val;
1203 hipExtent extent__val;
1204 unsigned int* flags;
1205 unsigned int flags__val;
1207 hipArray array__val;
1212 const hipDeviceProp_t* prop;
1213 hipDeviceProp_t prop__val;
1222 hipSurfaceObject_t* pSurfObject;
1223 hipSurfaceObject_t pSurfObject__val;
1224 const hipResourceDesc* pResDesc;
1225 hipResourceDesc pResDesc__val;
1226 } hipCreateSurfaceObject;
1238 } hipCtxDisablePeerAccess;
1242 } hipCtxEnablePeerAccess;
1246 int apiVersion__val;
1247 } hipCtxGetApiVersion;
1249 hipFuncCache_t* cacheConfig;
1250 hipFuncCache_t cacheConfig__val;
1251 } hipCtxGetCacheConfig;
1257 hipDevice_t* device;
1258 hipDevice_t device__val;
1261 unsigned int* flags;
1262 unsigned int flags__val;
1265 hipSharedMemConfig* pConfig;
1266 hipSharedMemConfig pConfig__val;
1267 } hipCtxGetSharedMemConfig;
1274 } hipCtxPushCurrent;
1276 hipFuncCache_t cacheConfig;
1277 } hipCtxSetCacheConfig;
1282 hipSharedMemConfig config;
1283 } hipCtxSetSharedMemConfig;
1285 hipExternalMemory_t extMem;
1286 } hipDestroyExternalMemory;
1288 hipExternalSemaphore_t extSem;
1289 } hipDestroyExternalSemaphore;
1291 hipSurfaceObject_t surfaceObject;
1292 } hipDestroySurfaceObject;
1295 int canAccessPeer__val;
1298 } hipDeviceCanAccessPeer;
1305 } hipDeviceComputeCapability;
1308 } hipDeviceDisablePeerAccess;
1312 } hipDeviceEnablePeerAccess;
1314 hipDevice_t* device;
1315 hipDevice_t device__val;
1321 hipDeviceAttribute_t attr;
1323 } hipDeviceGetAttribute;
1327 const char* pciBusId;
1329 } hipDeviceGetByPCIBusId;
1331 hipFuncCache_t* cacheConfig;
1332 hipFuncCache_t cacheConfig__val;
1333 } hipDeviceGetCacheConfig;
1335 hipMemPool_t* mem_pool;
1336 hipMemPool_t mem_pool__val;
1338 } hipDeviceGetDefaultMemPool;
1341 hipGraphMemAttributeType attr;
1343 } hipDeviceGetGraphMemAttribute;
1347 enum hipLimit_t limit;
1348 } hipDeviceGetLimit;
1350 hipMemPool_t* mem_pool;
1351 hipMemPool_t mem_pool__val;
1353 } hipDeviceGetMemPool;
1363 hipDeviceP2PAttr attr;
1366 } hipDeviceGetP2PAttribute;
1372 } hipDeviceGetPCIBusId;
1374 hipSharedMemConfig* pConfig;
1375 hipSharedMemConfig pConfig__val;
1376 } hipDeviceGetSharedMemConfig;
1379 int leastPriority__val;
1380 int* greatestPriority;
1381 int greatestPriority__val;
1382 } hipDeviceGetStreamPriorityRange;
1390 } hipDeviceGraphMemTrim;
1393 unsigned int* flags;
1394 unsigned int flags__val;
1397 } hipDevicePrimaryCtxGetState;
1400 } hipDevicePrimaryCtxRelease;
1403 } hipDevicePrimaryCtxReset;
1408 } hipDevicePrimaryCtxRetain;
1412 } hipDevicePrimaryCtxSetFlags;
1414 hipFuncCache_t cacheConfig;
1415 } hipDeviceSetCacheConfig;
1418 hipGraphMemAttributeType attr;
1420 } hipDeviceSetGraphMemAttribute;
1422 enum hipLimit_t limit;
1424 } hipDeviceSetLimit;
1427 hipMemPool_t mem_pool;
1428 } hipDeviceSetMemPool;
1430 hipSharedMemConfig config;
1431 } hipDeviceSetSharedMemConfig;
1436 } hipDeviceTotalMem;
1439 int driverVersion__val;
1440 } hipDriverGetVersion;
1442 const hip_Memcpy2D* pCopy;
1443 hip_Memcpy2D pCopy__val;
1444 } hipDrvMemcpy2DUnaligned;
1446 const HIP_MEMCPY3D* pCopy;
1447 HIP_MEMCPY3D pCopy__val;
1450 const HIP_MEMCPY3D* pCopy;
1451 HIP_MEMCPY3D pCopy__val;
1453 } hipDrvMemcpy3DAsync;
1455 unsigned int numAttributes;
1456 hipPointer_attribute* attributes;
1457 hipPointer_attribute attributes__val;
1461 } hipDrvPointerGetAttributes;
1464 hipEvent_t event__val;
1468 hipEvent_t event__val;
1470 } hipEventCreateWithFlags;
1479 } hipEventElapsedTime;
1489 } hipEventSynchronize;
1493 unsigned int* linktype;
1494 unsigned int linktype__val;
1495 unsigned int* hopcount;
1496 unsigned int hopcount__val;
1497 } hipExtGetLinkTypeAndHopCount;
1499 const void* function_address;
1504 size_t sharedMemBytes;
1506 hipEvent_t startEvent;
1507 hipEvent_t stopEvent;
1509 } hipExtLaunchKernel;
1511 hipLaunchParams* launchParamsList;
1512 hipLaunchParams launchParamsList__val;
1515 } hipExtLaunchMultiKernelMultiDevice;
1521 } hipExtMallocWithFlags;
1524 unsigned int globalWorkSizeX;
1525 unsigned int globalWorkSizeY;
1526 unsigned int globalWorkSizeZ;
1527 unsigned int localWorkSizeX;
1528 unsigned int localWorkSizeY;
1529 unsigned int localWorkSizeZ;
1530 size_t sharedMemBytes;
1531 hipStream_t hStream;
1532 void** kernelParams;
1533 void* kernelParams__val;
1536 hipEvent_t startEvent;
1537 hipEvent_t stopEvent;
1539 } hipExtModuleLaunchKernel;
1541 hipStream_t* stream;
1542 hipStream_t stream__val;
1543 unsigned int cuMaskSize;
1544 const unsigned int* cuMask;
1545 unsigned int cuMask__val;
1546 } hipExtStreamCreateWithCUMask;
1549 unsigned int cuMaskSize;
1550 unsigned int* cuMask;
1551 unsigned int cuMask__val;
1552 } hipExtStreamGetCUMask;
1556 hipExternalMemory_t extMem;
1557 const hipExternalMemoryBufferDesc* bufferDesc;
1558 hipExternalMemoryBufferDesc bufferDesc__val;
1559 } hipExternalMemoryGetMappedBuffer;
1565 hipArray array__val;
1575 hipMipmappedArray_t mipmappedArray;
1576 } hipFreeMipmappedArray;
1580 hipFunction_attribute attrib;
1581 hipFunction_t hfunc;
1582 } hipFuncGetAttribute;
1584 hipFuncAttributes* attr;
1585 hipFuncAttributes attr__val;
1587 } hipFuncGetAttributes;
1590 hipFuncAttribute attr;
1592 } hipFuncSetAttribute;
1595 hipFuncCache_t config;
1596 } hipFuncSetCacheConfig;
1599 hipSharedMemConfig config;
1600 } hipFuncSetSharedMemConfig;
1602 unsigned int* pHipDeviceCount;
1603 unsigned int pHipDeviceCount__val;
1605 int pHipDevices__val;
1606 unsigned int hipDeviceCount;
1607 hipGLDeviceList deviceList;
1610 hipChannelFormatDesc* desc;
1611 hipChannelFormatDesc desc__val;
1612 hipArray_const_t array;
1613 } hipGetChannelDesc;
1621 } hipGetDeviceCount;
1623 unsigned int* flags;
1624 unsigned int flags__val;
1625 } hipGetDeviceFlags;
1627 hipDeviceProp_t* props;
1628 hipDeviceProp_t props__val;
1630 } hipGetDeviceProperties;
1632 hipArray_t* levelArray;
1633 hipArray_t levelArray__val;
1634 hipMipmappedArray_const_t mipmappedArray;
1636 } hipGetMipmappedArrayLevel;
1641 } hipGetSymbolAddress;
1648 hipGraphNode_t* pGraphNode;
1649 hipGraphNode_t pGraphNode__val;
1651 const hipGraphNode_t* pDependencies;
1652 hipGraphNode_t pDependencies__val;
1653 size_t numDependencies;
1654 hipGraph_t childGraph;
1655 } hipGraphAddChildGraphNode;
1658 const hipGraphNode_t* from;
1659 hipGraphNode_t from__val;
1660 const hipGraphNode_t* to;
1661 hipGraphNode_t to__val;
1662 size_t numDependencies;
1663 } hipGraphAddDependencies;
1665 hipGraphNode_t* pGraphNode;
1666 hipGraphNode_t pGraphNode__val;
1668 const hipGraphNode_t* pDependencies;
1669 hipGraphNode_t pDependencies__val;
1670 size_t numDependencies;
1671 } hipGraphAddEmptyNode;
1673 hipGraphNode_t* pGraphNode;
1674 hipGraphNode_t pGraphNode__val;
1676 const hipGraphNode_t* pDependencies;
1677 hipGraphNode_t pDependencies__val;
1678 size_t numDependencies;
1680 } hipGraphAddEventRecordNode;
1682 hipGraphNode_t* pGraphNode;
1683 hipGraphNode_t pGraphNode__val;
1685 const hipGraphNode_t* pDependencies;
1686 hipGraphNode_t pDependencies__val;
1687 size_t numDependencies;
1689 } hipGraphAddEventWaitNode;
1691 hipGraphNode_t* pGraphNode;
1692 hipGraphNode_t pGraphNode__val;
1694 const hipGraphNode_t* pDependencies;
1695 hipGraphNode_t pDependencies__val;
1696 size_t numDependencies;
1697 const hipHostNodeParams* pNodeParams;
1698 hipHostNodeParams pNodeParams__val;
1699 } hipGraphAddHostNode;
1701 hipGraphNode_t* pGraphNode;
1702 hipGraphNode_t pGraphNode__val;
1704 const hipGraphNode_t* pDependencies;
1705 hipGraphNode_t pDependencies__val;
1706 size_t numDependencies;
1707 const hipKernelNodeParams* pNodeParams;
1708 hipKernelNodeParams pNodeParams__val;
1709 } hipGraphAddKernelNode;
1711 hipGraphNode_t* pGraphNode;
1712 hipGraphNode_t pGraphNode__val;
1714 const hipGraphNode_t* pDependencies;
1715 hipGraphNode_t pDependencies__val;
1716 size_t numDependencies;
1717 hipMemAllocNodeParams* pNodeParams;
1718 hipMemAllocNodeParams pNodeParams__val;
1719 } hipGraphAddMemAllocNode;
1721 hipGraphNode_t* pGraphNode;
1722 hipGraphNode_t pGraphNode__val;
1724 const hipGraphNode_t* pDependencies;
1725 hipGraphNode_t pDependencies__val;
1726 size_t numDependencies;
1728 } hipGraphAddMemFreeNode;
1730 hipGraphNode_t* pGraphNode;
1731 hipGraphNode_t pGraphNode__val;
1733 const hipGraphNode_t* pDependencies;
1734 hipGraphNode_t pDependencies__val;
1735 size_t numDependencies;
1736 const hipMemcpy3DParms* pCopyParams;
1737 hipMemcpy3DParms pCopyParams__val;
1738 } hipGraphAddMemcpyNode;
1740 hipGraphNode_t* pGraphNode;
1741 hipGraphNode_t pGraphNode__val;
1743 const hipGraphNode_t* pDependencies;
1744 hipGraphNode_t pDependencies__val;
1745 size_t numDependencies;
1750 } hipGraphAddMemcpyNode1D;
1752 hipGraphNode_t* pGraphNode;
1753 hipGraphNode_t pGraphNode__val;
1755 const hipGraphNode_t* pDependencies;
1756 hipGraphNode_t pDependencies__val;
1757 size_t numDependencies;
1763 } hipGraphAddMemcpyNodeFromSymbol;
1765 hipGraphNode_t* pGraphNode;
1766 hipGraphNode_t pGraphNode__val;
1768 const hipGraphNode_t* pDependencies;
1769 hipGraphNode_t pDependencies__val;
1770 size_t numDependencies;
1776 } hipGraphAddMemcpyNodeToSymbol;
1778 hipGraphNode_t* pGraphNode;
1779 hipGraphNode_t pGraphNode__val;
1781 const hipGraphNode_t* pDependencies;
1782 hipGraphNode_t pDependencies__val;
1783 size_t numDependencies;
1784 const hipMemsetParams* pMemsetParams;
1785 hipMemsetParams pMemsetParams__val;
1786 } hipGraphAddMemsetNode;
1788 hipGraphNode_t node;
1790 hipGraph_t pGraph__val;
1791 } hipGraphChildGraphNodeGetGraph;
1793 hipGraph_t* pGraphClone;
1794 hipGraph_t pGraphClone__val;
1795 hipGraph_t originalGraph;
1799 hipGraph_t pGraph__val;
1807 } hipGraphDebugDotPrint;
1812 hipGraphNode_t node;
1813 } hipGraphDestroyNode;
1815 hipGraphNode_t node;
1816 hipEvent_t* event_out;
1817 hipEvent_t event_out__val;
1818 } hipGraphEventRecordNodeGetEvent;
1820 hipGraphNode_t node;
1822 } hipGraphEventRecordNodeSetEvent;
1824 hipGraphNode_t node;
1825 hipEvent_t* event_out;
1826 hipEvent_t event_out__val;
1827 } hipGraphEventWaitNodeGetEvent;
1829 hipGraphNode_t node;
1831 } hipGraphEventWaitNodeSetEvent;
1833 hipGraphExec_t hGraphExec;
1834 hipGraphNode_t node;
1835 hipGraph_t childGraph;
1836 } hipGraphExecChildGraphNodeSetParams;
1838 hipGraphExec_t graphExec;
1839 } hipGraphExecDestroy;
1841 hipGraphExec_t hGraphExec;
1842 hipGraphNode_t hNode;
1844 } hipGraphExecEventRecordNodeSetEvent;
1846 hipGraphExec_t hGraphExec;
1847 hipGraphNode_t hNode;
1849 } hipGraphExecEventWaitNodeSetEvent;
1851 hipGraphExec_t hGraphExec;
1852 hipGraphNode_t node;
1853 const hipHostNodeParams* pNodeParams;
1854 hipHostNodeParams pNodeParams__val;
1855 } hipGraphExecHostNodeSetParams;
1857 hipGraphExec_t hGraphExec;
1858 hipGraphNode_t node;
1859 const hipKernelNodeParams* pNodeParams;
1860 hipKernelNodeParams pNodeParams__val;
1861 } hipGraphExecKernelNodeSetParams;
1863 hipGraphExec_t hGraphExec;
1864 hipGraphNode_t node;
1865 hipMemcpy3DParms* pNodeParams;
1866 hipMemcpy3DParms pNodeParams__val;
1867 } hipGraphExecMemcpyNodeSetParams;
1869 hipGraphExec_t hGraphExec;
1870 hipGraphNode_t node;
1875 } hipGraphExecMemcpyNodeSetParams1D;
1877 hipGraphExec_t hGraphExec;
1878 hipGraphNode_t node;
1884 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
1886 hipGraphExec_t hGraphExec;
1887 hipGraphNode_t node;
1893 } hipGraphExecMemcpyNodeSetParamsToSymbol;
1895 hipGraphExec_t hGraphExec;
1896 hipGraphNode_t node;
1897 const hipMemsetParams* pNodeParams;
1898 hipMemsetParams pNodeParams__val;
1899 } hipGraphExecMemsetNodeSetParams;
1901 hipGraphExec_t hGraphExec;
1903 hipGraphNode_t* hErrorNode_out;
1904 hipGraphNode_t hErrorNode_out__val;
1905 hipGraphExecUpdateResult* updateResult_out;
1906 hipGraphExecUpdateResult updateResult_out__val;
1907 } hipGraphExecUpdate;
1910 hipGraphNode_t* from;
1911 hipGraphNode_t from__val;
1913 hipGraphNode_t to__val;
1915 size_t numEdges__val;
1919 hipGraphNode_t* nodes;
1920 hipGraphNode_t nodes__val;
1922 size_t numNodes__val;
1926 hipGraphNode_t* pRootNodes;
1927 hipGraphNode_t pRootNodes__val;
1928 size_t* pNumRootNodes;
1929 size_t pNumRootNodes__val;
1930 } hipGraphGetRootNodes;
1932 hipGraphNode_t node;
1933 hipHostNodeParams* pNodeParams;
1934 hipHostNodeParams pNodeParams__val;
1935 } hipGraphHostNodeGetParams;
1937 hipGraphNode_t node;
1938 const hipHostNodeParams* pNodeParams;
1939 hipHostNodeParams pNodeParams__val;
1940 } hipGraphHostNodeSetParams;
1942 hipGraphExec_t* pGraphExec;
1943 hipGraphExec_t pGraphExec__val;
1945 hipGraphNode_t* pErrorNode;
1946 hipGraphNode_t pErrorNode__val;
1948 char pLogBuffer__val;
1950 } hipGraphInstantiate;
1952 hipGraphExec_t* pGraphExec;
1953 hipGraphExec_t pGraphExec__val;
1955 unsigned long long flags;
1956 } hipGraphInstantiateWithFlags;
1958 hipGraphNode_t hSrc;
1959 hipGraphNode_t hDst;
1960 } hipGraphKernelNodeCopyAttributes;
1962 hipGraphNode_t hNode;
1963 hipKernelNodeAttrID attr;
1964 hipKernelNodeAttrValue* value;
1965 hipKernelNodeAttrValue value__val;
1966 } hipGraphKernelNodeGetAttribute;
1968 hipGraphNode_t node;
1969 hipKernelNodeParams* pNodeParams;
1970 hipKernelNodeParams pNodeParams__val;
1971 } hipGraphKernelNodeGetParams;
1973 hipGraphNode_t hNode;
1974 hipKernelNodeAttrID attr;
1975 const hipKernelNodeAttrValue* value;
1976 hipKernelNodeAttrValue value__val;
1977 } hipGraphKernelNodeSetAttribute;
1979 hipGraphNode_t node;
1980 const hipKernelNodeParams* pNodeParams;
1981 hipKernelNodeParams pNodeParams__val;
1982 } hipGraphKernelNodeSetParams;
1984 hipGraphExec_t graphExec;
1988 hipGraphNode_t node;
1989 hipMemAllocNodeParams* pNodeParams;
1990 hipMemAllocNodeParams pNodeParams__val;
1991 } hipGraphMemAllocNodeGetParams;
1993 hipGraphNode_t node;
1995 } hipGraphMemFreeNodeGetParams;
1997 hipGraphNode_t node;
1998 hipMemcpy3DParms* pNodeParams;
1999 hipMemcpy3DParms pNodeParams__val;
2000 } hipGraphMemcpyNodeGetParams;
2002 hipGraphNode_t node;
2003 const hipMemcpy3DParms* pNodeParams;
2004 hipMemcpy3DParms pNodeParams__val;
2005 } hipGraphMemcpyNodeSetParams;
2007 hipGraphNode_t node;
2012 } hipGraphMemcpyNodeSetParams1D;
2014 hipGraphNode_t node;
2020 } hipGraphMemcpyNodeSetParamsFromSymbol;
2022 hipGraphNode_t node;
2028 } hipGraphMemcpyNodeSetParamsToSymbol;
2030 hipGraphNode_t node;
2031 hipMemsetParams* pNodeParams;
2032 hipMemsetParams pNodeParams__val;
2033 } hipGraphMemsetNodeGetParams;
2035 hipGraphNode_t node;
2036 const hipMemsetParams* pNodeParams;
2037 hipMemsetParams pNodeParams__val;
2038 } hipGraphMemsetNodeSetParams;
2040 hipGraphNode_t* pNode;
2041 hipGraphNode_t pNode__val;
2042 hipGraphNode_t originalNode;
2043 hipGraph_t clonedGraph;
2044 } hipGraphNodeFindInClone;
2046 hipGraphNode_t node;
2047 hipGraphNode_t* pDependencies;
2048 hipGraphNode_t pDependencies__val;
2049 size_t* pNumDependencies;
2050 size_t pNumDependencies__val;
2051 } hipGraphNodeGetDependencies;
2053 hipGraphNode_t node;
2054 hipGraphNode_t* pDependentNodes;
2055 hipGraphNode_t pDependentNodes__val;
2056 size_t* pNumDependentNodes;
2057 size_t pNumDependentNodes__val;
2058 } hipGraphNodeGetDependentNodes;
2060 hipGraphExec_t hGraphExec;
2061 hipGraphNode_t hNode;
2062 unsigned int* isEnabled;
2063 unsigned int isEnabled__val;
2064 } hipGraphNodeGetEnabled;
2066 hipGraphNode_t node;
2067 hipGraphNodeType* pType;
2068 hipGraphNodeType pType__val;
2069 } hipGraphNodeGetType;
2071 hipGraphExec_t hGraphExec;
2072 hipGraphNode_t hNode;
2073 unsigned int isEnabled;
2074 } hipGraphNodeSetEnabled;
2077 hipUserObject_t object;
2079 } hipGraphReleaseUserObject;
2082 const hipGraphNode_t* from;
2083 hipGraphNode_t from__val;
2084 const hipGraphNode_t* to;
2085 hipGraphNode_t to__val;
2086 size_t numDependencies;
2087 } hipGraphRemoveDependencies;
2090 hipUserObject_t object;
2093 } hipGraphRetainUserObject;
2095 hipGraphExec_t graphExec;
2099 hipGraphicsResource** resource;
2100 hipGraphicsResource* resource__val;
2103 } hipGraphicsGLRegisterBuffer;
2105 hipGraphicsResource** resource;
2106 hipGraphicsResource* resource__val;
2110 } hipGraphicsGLRegisterImage;
2113 hipGraphicsResource_t* resources;
2114 hipGraphicsResource_t resources__val;
2116 } hipGraphicsMapResources;
2122 hipGraphicsResource_t resource;
2123 } hipGraphicsResourceGetMappedPointer;
2126 hipArray_t array__val;
2127 hipGraphicsResource_t resource;
2128 unsigned int arrayIndex;
2129 unsigned int mipLevel;
2130 } hipGraphicsSubResourceGetMappedArray;
2133 hipGraphicsResource_t* resources;
2134 hipGraphicsResource_t resources__val;
2136 } hipGraphicsUnmapResources;
2138 hipGraphicsResource_t resource;
2139 } hipGraphicsUnregisterResource;
2142 unsigned int globalWorkSizeX;
2143 unsigned int globalWorkSizeY;
2144 unsigned int globalWorkSizeZ;
2145 unsigned int blockDimX;
2146 unsigned int blockDimY;
2147 unsigned int blockDimZ;
2148 size_t sharedMemBytes;
2149 hipStream_t hStream;
2150 void** kernelParams;
2151 void* kernelParams__val;
2154 hipEvent_t startEvent;
2155 hipEvent_t stopEvent;
2156 } hipHccModuleLaunchKernel;
2171 } hipHostGetDevicePointer;
2173 unsigned int* flagsPtr;
2174 unsigned int flagsPtr__val;
2190 } hipHostUnregister;
2192 hipExternalMemory_t* extMem_out;
2193 hipExternalMemory_t extMem_out__val;
2194 const hipExternalMemoryHandleDesc* memHandleDesc;
2195 hipExternalMemoryHandleDesc memHandleDesc__val;
2196 } hipImportExternalMemory;
2198 hipExternalSemaphore_t* extSem_out;
2199 hipExternalSemaphore_t extSem_out__val;
2200 const hipExternalSemaphoreHandleDesc* semHandleDesc;
2201 hipExternalSemaphoreHandleDesc semHandleDesc__val;
2202 } hipImportExternalSemaphore;
2208 } hipIpcCloseMemHandle;
2210 hipIpcEventHandle_t* handle;
2211 hipIpcEventHandle_t handle__val;
2213 } hipIpcGetEventHandle;
2215 hipIpcMemHandle_t* handle;
2216 hipIpcMemHandle_t handle__val;
2218 } hipIpcGetMemHandle;
2221 hipEvent_t event__val;
2222 hipIpcEventHandle_t handle;
2223 } hipIpcOpenEventHandle;
2227 hipIpcMemHandle_t handle;
2229 } hipIpcOpenMemHandle;
2231 const void* hostFunction;
2237 void** kernelParams;
2238 void* kernelParams__val;
2239 unsigned int sharedMemBytes;
2241 } hipLaunchCooperativeKernel;
2243 hipLaunchParams* launchParamsList;
2244 hipLaunchParams launchParamsList__val;
2247 } hipLaunchCooperativeKernelMultiDevice;
2252 } hipLaunchHostFunc;
2254 const void* function_address;
2259 size_t sharedMemBytes;
2268 hipPitchedPtr* pitchedDevPtr;
2269 hipPitchedPtr pitchedDevPtr__val;
2274 hipArray_t array__val;
2275 const hipChannelFormatDesc* desc;
2276 hipChannelFormatDesc desc__val;
2282 hipArray* array__val;
2283 const hipChannelFormatDesc* desc;
2284 hipChannelFormatDesc desc__val;
2299 hipMemPool_t mem_pool;
2301 } hipMallocFromPoolAsync;
2314 hipMipmappedArray_t* mipmappedArray;
2315 hipMipmappedArray_t mipmappedArray__val;
2316 const hipChannelFormatDesc* desc;
2317 hipChannelFormatDesc desc__val;
2319 unsigned int numLevels;
2321 } hipMallocMipmappedArray;
2333 } hipMemAddressFree;
2340 unsigned long long flags;
2341 } hipMemAddressReserve;
2343 const void* dev_ptr;
2345 hipMemoryAdvise advice;
2354 hipDeviceptr_t* dptr;
2355 hipDeviceptr_t dptr__val;
2358 size_t widthInBytes;
2360 unsigned int elementSizeBytes;
2363 hipMemGenericAllocationHandle_t* handle;
2364 hipMemGenericAllocationHandle_t handle__val;
2366 const hipMemAllocationProp* prop;
2367 hipMemAllocationProp prop__val;
2368 unsigned long long flags;
2371 void* shareableHandle;
2372 hipMemGenericAllocationHandle_t handle;
2373 hipMemAllocationHandleType handleType;
2374 unsigned long long flags;
2375 } hipMemExportToShareableHandle;
2377 unsigned long long* flags;
2378 unsigned long long flags__val;
2379 const hipMemLocation* location;
2380 hipMemLocation location__val;
2384 hipDeviceptr_t* pbase;
2385 hipDeviceptr_t pbase__val;
2388 hipDeviceptr_t dptr;
2389 } hipMemGetAddressRange;
2391 size_t* granularity;
2392 size_t granularity__val;
2393 const hipMemAllocationProp* prop;
2394 hipMemAllocationProp prop__val;
2395 hipMemAllocationGranularity_flags option;
2396 } hipMemGetAllocationGranularity;
2398 hipMemAllocationProp* prop;
2399 hipMemAllocationProp prop__val;
2400 hipMemGenericAllocationHandle_t handle;
2401 } hipMemGetAllocationPropertiesFromHandle;
2409 hipMemGenericAllocationHandle_t* handle;
2410 hipMemGenericAllocationHandle_t handle__val;
2412 hipMemAllocationHandleType shHandleType;
2413 } hipMemImportFromShareableHandle;
2418 hipMemGenericAllocationHandle_t handle;
2419 unsigned long long flags;
2422 hipArrayMapInfo* mapInfoList;
2423 hipArrayMapInfo mapInfoList__val;
2426 } hipMemMapArrayAsync;
2428 hipMemPool_t* mem_pool;
2429 hipMemPool_t mem_pool__val;
2430 const hipMemPoolProps* pool_props;
2431 hipMemPoolProps pool_props__val;
2434 hipMemPool_t mem_pool;
2435 } hipMemPoolDestroy;
2437 hipMemPoolPtrExportData* export_data;
2438 hipMemPoolPtrExportData export_data__val;
2440 } hipMemPoolExportPointer;
2442 void* shared_handle;
2443 hipMemPool_t mem_pool;
2444 hipMemAllocationHandleType handle_type;
2446 } hipMemPoolExportToShareableHandle;
2448 hipMemAccessFlags* flags;
2449 hipMemAccessFlags flags__val;
2450 hipMemPool_t mem_pool;
2451 hipMemLocation* location;
2452 hipMemLocation location__val;
2453 } hipMemPoolGetAccess;
2455 hipMemPool_t mem_pool;
2456 hipMemPoolAttr attr;
2458 } hipMemPoolGetAttribute;
2460 hipMemPool_t* mem_pool;
2461 hipMemPool_t mem_pool__val;
2462 void* shared_handle;
2463 hipMemAllocationHandleType handle_type;
2465 } hipMemPoolImportFromShareableHandle;
2469 hipMemPool_t mem_pool;
2470 hipMemPoolPtrExportData* export_data;
2471 hipMemPoolPtrExportData export_data__val;
2472 } hipMemPoolImportPointer;
2474 hipMemPool_t mem_pool;
2475 const hipMemAccessDesc* desc_list;
2476 hipMemAccessDesc desc_list__val;
2478 } hipMemPoolSetAccess;
2480 hipMemPool_t mem_pool;
2481 hipMemPoolAttr attr;
2483 } hipMemPoolSetAttribute;
2485 hipMemPool_t mem_pool;
2486 size_t min_bytes_to_hold;
2489 const void* dev_ptr;
2493 } hipMemPrefetchAsync;
2502 hipMemRangeAttribute attribute;
2503 const void* dev_ptr;
2505 } hipMemRangeGetAttribute;
2510 size_t data_sizes__val;
2511 hipMemRangeAttribute* attributes;
2512 hipMemRangeAttribute attributes__val;
2513 size_t num_attributes;
2514 const void* dev_ptr;
2516 } hipMemRangeGetAttributes;
2518 hipMemGenericAllocationHandle_t handle;
2521 hipMemGenericAllocationHandle_t* handle;
2522 hipMemGenericAllocationHandle_t handle__val;
2524 } hipMemRetainAllocationHandle;
2528 const hipMemAccessDesc* desc;
2529 hipMemAccessDesc desc__val;
2564 hipArray_const_t src;
2570 } hipMemcpy2DFromArray;
2574 hipArray_const_t src;
2581 } hipMemcpy2DFromArrayAsync;
2592 } hipMemcpy2DToArray;
2604 } hipMemcpy2DToArrayAsync;
2606 const hipMemcpy3DParms* p;
2607 hipMemcpy3DParms p__val;
2610 const hipMemcpy3DParms* p;
2611 hipMemcpy3DParms p__val;
2624 hipArray srcArray__val;
2638 } hipMemcpyDtoDAsync;
2649 } hipMemcpyDtoHAsync;
2652 hipArray_const_t srcArray;
2657 } hipMemcpyFromArray;
2664 } hipMemcpyFromSymbol;
2672 } hipMemcpyFromSymbolAsync;
2675 hipArray dstArray__val;
2677 const void* srcHost;
2690 } hipMemcpyHtoDAsync;
2692 const hip_Memcpy2D* pCopy;
2693 hip_Memcpy2D pCopy__val;
2696 const hip_Memcpy2D* pCopy;
2697 hip_Memcpy2D pCopy__val;
2699 } hipMemcpyParam2DAsync;
2714 } hipMemcpyPeerAsync;
2730 } hipMemcpyToSymbol;
2738 } hipMemcpyToSymbolAsync;
2745 } hipMemcpyWithStream;
2767 hipPitchedPtr pitchedDevPtr;
2772 hipPitchedPtr pitchedDevPtr;
2784 hipDeviceptr_t dest;
2785 unsigned short value;
2789 hipDeviceptr_t dest;
2790 unsigned short value;
2793 } hipMemsetD16Async;
2795 hipDeviceptr_t dest;
2804 } hipMemsetD32Async;
2806 hipDeviceptr_t dest;
2807 unsigned char value;
2811 hipDeviceptr_t dest;
2812 unsigned char value;
2817 hipMipmappedArray_t* pHandle;
2818 hipMipmappedArray_t pHandle__val;
2819 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
2820 HIP_ARRAY3D_DESCRIPTOR pMipmappedArrayDesc__val;
2821 unsigned int numMipmapLevels;
2822 } hipMipmappedArrayCreate;
2824 hipMipmappedArray_t hMipmappedArray;
2825 } hipMipmappedArrayDestroy;
2827 hipArray_t* pLevelArray;
2828 hipArray_t pLevelArray__val;
2829 hipMipmappedArray_t hMipMappedArray;
2831 } hipMipmappedArrayGetLevel;
2833 hipFunction_t* function;
2834 hipFunction_t function__val;
2838 } hipModuleGetFunction;
2840 hipDeviceptr_t* dptr;
2841 hipDeviceptr_t dptr__val;
2847 } hipModuleGetGlobal;
2849 textureReference** texRef;
2850 textureReference* texRef__val;
2854 } hipModuleGetTexRef;
2857 unsigned int gridDimX;
2858 unsigned int gridDimY;
2859 unsigned int gridDimZ;
2860 unsigned int blockDimX;
2861 unsigned int blockDimY;
2862 unsigned int blockDimZ;
2863 unsigned int sharedMemBytes;
2865 void** kernelParams;
2866 void* kernelParams__val;
2867 } hipModuleLaunchCooperativeKernel;
2869 hipFunctionLaunchParams* launchParamsList;
2870 hipFunctionLaunchParams launchParamsList__val;
2871 unsigned int numDevices;
2873 } hipModuleLaunchCooperativeKernelMultiDevice;
2876 unsigned int gridDimX;
2877 unsigned int gridDimY;
2878 unsigned int gridDimZ;
2879 unsigned int blockDimX;
2880 unsigned int blockDimY;
2881 unsigned int blockDimZ;
2882 unsigned int sharedMemBytes;
2884 void** kernelParams;
2885 void* kernelParams__val;
2888 } hipModuleLaunchKernel;
2890 hipModule_t*
module;
2891 hipModule_t module__val;
2896 hipModule_t*
module;
2897 hipModule_t module__val;
2899 } hipModuleLoadData;
2901 hipModule_t*
module;
2902 hipModule_t module__val;
2904 unsigned int numOptions;
2905 hipJitOption* options;
2906 hipJitOption options__val;
2907 void** optionsValues;
2908 void* optionsValues__val;
2909 } hipModuleLoadDataEx;
2915 size_t dynSharedMemPerBlk;
2916 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
2922 size_t dynSharedMemPerBlk;
2924 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
2931 size_t dynSharedMemPerBlk;
2933 } hipModuleOccupancyMaxPotentialBlockSize;
2940 size_t dynSharedMemPerBlk;
2943 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
2952 size_t dynamicSMemSize;
2953 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
2959 size_t dynamicSMemSize;
2961 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
2968 size_t dynSharedMemPerBlk;
2970 } hipOccupancyMaxPotentialBlockSize;
2973 hipPointer_attribute attribute;
2975 } hipPointerGetAttribute;
2977 hipPointerAttribute_t* attributes;
2978 hipPointerAttribute_t attributes__val;
2980 } hipPointerGetAttributes;
2983 hipPointer_attribute attribute;
2985 } hipPointerSetAttribute;
2987 int* runtimeVersion;
2988 int runtimeVersion__val;
2989 } hipRuntimeGetVersion;
2995 } hipSetDeviceFlags;
3002 const hipExternalSemaphore_t* extSemArray;
3003 hipExternalSemaphore_t extSemArray__val;
3004 const hipExternalSemaphoreSignalParams* paramsArray;
3005 hipExternalSemaphoreSignalParams paramsArray__val;
3006 unsigned int numExtSems;
3008 } hipSignalExternalSemaphoresAsync;
3011 hipStreamCallback_t callback;
3014 } hipStreamAddCallback;
3020 } hipStreamAttachMemAsync;
3023 hipStreamCaptureMode mode;
3024 } hipStreamBeginCapture;
3026 hipStream_t* stream;
3027 hipStream_t stream__val;
3030 hipStream_t* stream;
3031 hipStream_t stream__val;
3033 } hipStreamCreateWithFlags;
3035 hipStream_t* stream;
3036 hipStream_t stream__val;
3039 } hipStreamCreateWithPriority;
3046 hipGraph_t pGraph__val;
3047 } hipStreamEndCapture;
3050 hipStreamCaptureStatus* pCaptureStatus;
3051 hipStreamCaptureStatus pCaptureStatus__val;
3052 unsigned long long* pId;
3053 unsigned long long pId__val;
3054 } hipStreamGetCaptureInfo;
3057 hipStreamCaptureStatus* captureStatus_out;
3058 hipStreamCaptureStatus captureStatus_out__val;
3059 unsigned long long* id_out;
3060 unsigned long long id_out__val;
3061 hipGraph_t* graph_out;
3062 hipGraph_t graph_out__val;
3063 const hipGraphNode_t** dependencies_out;
3064 const hipGraphNode_t* dependencies_out__val;
3065 size_t* numDependencies_out;
3066 size_t numDependencies_out__val;
3067 } hipStreamGetCaptureInfo_v2;
3070 hipDevice_t* device;
3071 hipDevice_t device__val;
3072 } hipStreamGetDevice;
3075 unsigned int* flags;
3076 unsigned int flags__val;
3077 } hipStreamGetFlags;
3082 } hipStreamGetPriority;
3085 hipStreamCaptureStatus* pCaptureStatus;
3086 hipStreamCaptureStatus pCaptureStatus__val;
3087 } hipStreamIsCapturing;
3093 } hipStreamSynchronize;
3096 hipGraphNode_t* dependencies;
3097 hipGraphNode_t dependencies__val;
3098 size_t numDependencies;
3100 } hipStreamUpdateCaptureDependencies;
3105 } hipStreamWaitEvent;
3112 } hipStreamWaitValue32;
3119 } hipStreamWaitValue64;
3125 } hipStreamWriteValue32;
3131 } hipStreamWriteValue64;
3133 hipDeviceptr_t* dev_ptr;
3134 hipDeviceptr_t dev_ptr__val;
3135 const textureReference* texRef;
3136 textureReference texRef__val;
3137 } hipTexRefGetAddress;
3139 unsigned int* pFlags;
3140 unsigned int pFlags__val;
3141 const textureReference* texRef;
3142 textureReference texRef__val;
3143 } hipTexRefGetFlags;
3145 hipArray_Format* pFormat;
3146 hipArray_Format pFormat__val;
3148 int pNumChannels__val;
3149 const textureReference* texRef;
3150 textureReference texRef__val;
3151 } hipTexRefGetFormat;
3155 const textureReference* texRef;
3156 textureReference texRef__val;
3157 } hipTexRefGetMaxAnisotropy;
3159 hipMipmappedArray_t* pArray;
3160 hipMipmappedArray_t pArray__val;
3161 const textureReference* texRef;
3162 textureReference texRef__val;
3163 } hipTexRefGetMipMappedArray;
3167 const textureReference* texRef;
3168 textureReference texRef__val;
3169 } hipTexRefGetMipmapLevelBias;
3171 float* pminMipmapLevelClamp;
3172 float pminMipmapLevelClamp__val;
3173 float* pmaxMipmapLevelClamp;
3174 float pmaxMipmapLevelClamp__val;
3175 const textureReference* texRef;
3176 textureReference texRef__val;
3177 } hipTexRefGetMipmapLevelClamp;
3180 size_t ByteOffset__val;
3181 textureReference* texRef;
3182 textureReference texRef__val;
3183 hipDeviceptr_t dptr;
3185 } hipTexRefSetAddress;
3187 textureReference* texRef;
3188 textureReference texRef__val;
3189 const HIP_ARRAY_DESCRIPTOR* desc;
3190 HIP_ARRAY_DESCRIPTOR desc__val;
3191 hipDeviceptr_t dptr;
3193 } hipTexRefSetAddress2D;
3195 textureReference* tex;
3196 textureReference tex__val;
3197 hipArray_const_t array;
3199 } hipTexRefSetArray;
3201 textureReference* texRef;
3202 textureReference texRef__val;
3203 float* pBorderColor;
3204 float pBorderColor__val;
3205 } hipTexRefSetBorderColor;
3207 textureReference* texRef;
3208 textureReference texRef__val;
3210 } hipTexRefSetFlags;
3212 textureReference* texRef;
3213 textureReference texRef__val;
3214 hipArray_Format fmt;
3215 int NumPackedComponents;
3216 } hipTexRefSetFormat;
3218 textureReference* texRef;
3219 textureReference texRef__val;
3220 unsigned int maxAniso;
3221 } hipTexRefSetMaxAnisotropy;
3223 textureReference* texRef;
3224 textureReference texRef__val;
3226 } hipTexRefSetMipmapLevelBias;
3228 textureReference* texRef;
3229 textureReference texRef__val;
3230 float minMipMapLevelClamp;
3231 float maxMipMapLevelClamp;
3232 } hipTexRefSetMipmapLevelClamp;
3234 textureReference* texRef;
3235 textureReference texRef__val;
3236 hipMipmappedArray* mipmappedArray;
3237 hipMipmappedArray mipmappedArray__val;
3239 } hipTexRefSetMipmappedArray;
3241 hipStreamCaptureMode* mode;
3242 hipStreamCaptureMode mode__val;
3243 } hipThreadExchangeStreamCaptureMode;
3245 hipUserObject_t* object_out;
3246 hipUserObject_t object_out__val;
3248 hipHostFn_t destroy;
3249 unsigned int initialRefcount;
3251 } hipUserObjectCreate;
3253 hipUserObject_t object;
3255 } hipUserObjectRelease;
3257 hipUserObject_t object;
3259 } hipUserObjectRetain;
3261 const hipExternalSemaphore_t* extSemArray;
3262 hipExternalSemaphore_t extSemArray__val;
3263 const hipExternalSemaphoreWaitParams* paramsArray;
3264 hipExternalSemaphoreWaitParams paramsArray__val;
3265 unsigned int numExtSems;
3267 } hipWaitExternalSemaphoresAsync;
3269 uint64_t *phase_data;
3274#define INIT___hipPopCallConfiguration_CB_ARGS_DATA(cb_data) { \
3275 cb_data.args.__hipPopCallConfiguration.gridDim = (dim3*)gridDim; \
3276 cb_data.args.__hipPopCallConfiguration.blockDim = (dim3*)blockDim; \
3277 cb_data.args.__hipPopCallConfiguration.sharedMem = (size_t*)sharedMem; \
3278 cb_data.args.__hipPopCallConfiguration.stream = (hipStream_t*)stream; \
3281#define INIT___hipPushCallConfiguration_CB_ARGS_DATA(cb_data) { \
3282 cb_data.args.__hipPushCallConfiguration.gridDim = (dim3)gridDim; \
3283 cb_data.args.__hipPushCallConfiguration.blockDim = (dim3)blockDim; \
3284 cb_data.args.__hipPushCallConfiguration.sharedMem = (size_t)sharedMem; \
3285 cb_data.args.__hipPushCallConfiguration.stream = (hipStream_t)stream; \
3288#define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
3289 cb_data.args.hipArray3DCreate.array = (hipArray**)array; \
3290 cb_data.args.hipArray3DCreate.pAllocateArray = (const HIP_ARRAY3D_DESCRIPTOR*)pAllocateArray; \
3293#define INIT_hipArray3DGetDescriptor_CB_ARGS_DATA(cb_data) { \
3294 cb_data.args.hipArray3DGetDescriptor.pArrayDescriptor = (HIP_ARRAY3D_DESCRIPTOR*)pArrayDescriptor; \
3295 cb_data.args.hipArray3DGetDescriptor.array = (hipArray*)array; \
3298#define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
3299 cb_data.args.hipArrayCreate.pHandle = (hipArray**)array; \
3300 cb_data.args.hipArrayCreate.pAllocateArray = (const HIP_ARRAY_DESCRIPTOR*)pAllocateArray; \
3303#define INIT_hipArrayDestroy_CB_ARGS_DATA(cb_data) { \
3304 cb_data.args.hipArrayDestroy.array = (hipArray*)array; \
3307#define INIT_hipArrayGetDescriptor_CB_ARGS_DATA(cb_data) { \
3308 cb_data.args.hipArrayGetDescriptor.pArrayDescriptor = (HIP_ARRAY_DESCRIPTOR*)pArrayDescriptor; \
3309 cb_data.args.hipArrayGetDescriptor.array = (hipArray*)array; \
3312#define INIT_hipArrayGetInfo_CB_ARGS_DATA(cb_data) { \
3313 cb_data.args.hipArrayGetInfo.desc = (hipChannelFormatDesc*)desc; \
3314 cb_data.args.hipArrayGetInfo.extent = (hipExtent*)extent; \
3315 cb_data.args.hipArrayGetInfo.flags = (unsigned int*)flags; \
3316 cb_data.args.hipArrayGetInfo.array = (hipArray*)array; \
3319#define INIT_hipChooseDevice_CB_ARGS_DATA(cb_data) { \
3320 cb_data.args.hipChooseDevice.device = (int*)device; \
3321 cb_data.args.hipChooseDevice.prop = (const hipDeviceProp_t*)properties; \
3324#define INIT_hipConfigureCall_CB_ARGS_DATA(cb_data) { \
3325 cb_data.args.hipConfigureCall.gridDim = (dim3)gridDim; \
3326 cb_data.args.hipConfigureCall.blockDim = (dim3)blockDim; \
3327 cb_data.args.hipConfigureCall.sharedMem = (size_t)sharedMem; \
3328 cb_data.args.hipConfigureCall.stream = (hipStream_t)stream; \
3331#define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) { \
3332 cb_data.args.hipCreateSurfaceObject.pSurfObject = (hipSurfaceObject_t*)pSurfObject; \
3333 cb_data.args.hipCreateSurfaceObject.pResDesc = (const hipResourceDesc*)pResDesc; \
3336#define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
3337 cb_data.args.hipCtxCreate.ctx = (hipCtx_t*)ctx; \
3338 cb_data.args.hipCtxCreate.flags = (unsigned int)flags; \
3339 cb_data.args.hipCtxCreate.device = (hipDevice_t)device; \
3342#define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
3343 cb_data.args.hipCtxDestroy.ctx = (hipCtx_t)ctx; \
3346#define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3347 cb_data.args.hipCtxDisablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3350#define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3351 cb_data.args.hipCtxEnablePeerAccess.peerCtx = (hipCtx_t)peerCtx; \
3352 cb_data.args.hipCtxEnablePeerAccess.flags = (unsigned int)flags; \
3355#define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
3356 cb_data.args.hipCtxGetApiVersion.ctx = (hipCtx_t)ctx; \
3357 cb_data.args.hipCtxGetApiVersion.apiVersion = (int*)apiVersion; \
3360#define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3361 cb_data.args.hipCtxGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3364#define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
3365 cb_data.args.hipCtxGetCurrent.ctx = (hipCtx_t*)ctx; \
3368#define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
3369 cb_data.args.hipCtxGetDevice.device = (hipDevice_t*)device; \
3372#define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
3373 cb_data.args.hipCtxGetFlags.flags = (unsigned int*)flags; \
3376#define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3377 cb_data.args.hipCtxGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3380#define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
3381 cb_data.args.hipCtxPopCurrent.ctx = (hipCtx_t*)ctx; \
3384#define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
3385 cb_data.args.hipCtxPushCurrent.ctx = (hipCtx_t)ctx; \
3388#define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3389 cb_data.args.hipCtxSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3392#define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
3393 cb_data.args.hipCtxSetCurrent.ctx = (hipCtx_t)ctx; \
3396#define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3397 cb_data.args.hipCtxSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3400#define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
3403#define INIT_hipDestroyExternalMemory_CB_ARGS_DATA(cb_data) { \
3404 cb_data.args.hipDestroyExternalMemory.extMem = (hipExternalMemory_t)extMem; \
3407#define INIT_hipDestroyExternalSemaphore_CB_ARGS_DATA(cb_data) { \
3408 cb_data.args.hipDestroyExternalSemaphore.extSem = (hipExternalSemaphore_t)extSem; \
3411#define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) { \
3412 cb_data.args.hipDestroySurfaceObject.surfaceObject = (hipSurfaceObject_t)surfaceObject; \
3415#define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
3416 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = (int*)canAccess; \
3417 cb_data.args.hipDeviceCanAccessPeer.deviceId = (int)deviceId; \
3418 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = (int)peerDeviceId; \
3421#define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
3422 cb_data.args.hipDeviceComputeCapability.major = (int*)major; \
3423 cb_data.args.hipDeviceComputeCapability.minor = (int*)minor; \
3424 cb_data.args.hipDeviceComputeCapability.device = (hipDevice_t)device; \
3427#define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
3428 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3431#define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
3432 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = (int)peerDeviceId; \
3433 cb_data.args.hipDeviceEnablePeerAccess.flags = (unsigned int)flags; \
3436#define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
3437 cb_data.args.hipDeviceGet.device = (hipDevice_t*)device; \
3438 cb_data.args.hipDeviceGet.ordinal = (int)deviceId; \
3441#define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
3442 cb_data.args.hipDeviceGetAttribute.pi = (int*)pi; \
3443 cb_data.args.hipDeviceGetAttribute.attr = (hipDeviceAttribute_t)attr; \
3444 cb_data.args.hipDeviceGetAttribute.deviceId = (int)device; \
3447#define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
3448 cb_data.args.hipDeviceGetByPCIBusId.device = (int*)device; \
3449 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = (pciBusIdstr) ? strdup(pciBusIdstr) : NULL; \
3452#define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
3453 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = (hipFuncCache_t*)cacheConfig; \
3456#define INIT_hipDeviceGetDefaultMemPool_CB_ARGS_DATA(cb_data) { \
3457 cb_data.args.hipDeviceGetDefaultMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3458 cb_data.args.hipDeviceGetDefaultMemPool.device = (int)device; \
3461#define INIT_hipDeviceGetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3462 cb_data.args.hipDeviceGetGraphMemAttribute.device = (int)device; \
3463 cb_data.args.hipDeviceGetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3464 cb_data.args.hipDeviceGetGraphMemAttribute.value = (void*)value; \
3467#define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
3468 cb_data.args.hipDeviceGetLimit.pValue = (size_t*)pValue; \
3469 cb_data.args.hipDeviceGetLimit.limit = (hipLimit_t)limit; \
3472#define INIT_hipDeviceGetMemPool_CB_ARGS_DATA(cb_data) { \
3473 cb_data.args.hipDeviceGetMemPool.mem_pool = (hipMemPool_t*)mem_pool; \
3474 cb_data.args.hipDeviceGetMemPool.device = (int)device; \
3477#define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
3478 cb_data.args.hipDeviceGetName.name = (char*)name; \
3479 cb_data.args.hipDeviceGetName.len = (int)len; \
3480 cb_data.args.hipDeviceGetName.device = (hipDevice_t)device; \
3483#define INIT_hipDeviceGetP2PAttribute_CB_ARGS_DATA(cb_data) { \
3484 cb_data.args.hipDeviceGetP2PAttribute.value = (int*)value; \
3485 cb_data.args.hipDeviceGetP2PAttribute.attr = (hipDeviceP2PAttr)attr; \
3486 cb_data.args.hipDeviceGetP2PAttribute.srcDevice = (int)srcDevice; \
3487 cb_data.args.hipDeviceGetP2PAttribute.dstDevice = (int)dstDevice; \
3490#define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
3491 cb_data.args.hipDeviceGetPCIBusId.pciBusId = (char*)pciBusId; \
3492 cb_data.args.hipDeviceGetPCIBusId.len = (int)len; \
3493 cb_data.args.hipDeviceGetPCIBusId.device = (int)device; \
3496#define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3497 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = (hipSharedMemConfig*)pConfig; \
3500#define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
3501 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = (int*)leastPriority; \
3502 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = (int*)greatestPriority; \
3505#define INIT_hipDeviceGetUuid_CB_ARGS_DATA(cb_data) { \
3506 cb_data.args.hipDeviceGetUuid.uuid = (hipUUID*)uuid; \
3507 cb_data.args.hipDeviceGetUuid.device = (hipDevice_t)device; \
3510#define INIT_hipDeviceGraphMemTrim_CB_ARGS_DATA(cb_data) { \
3511 cb_data.args.hipDeviceGraphMemTrim.device = (int)device; \
3514#define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
3515 cb_data.args.hipDevicePrimaryCtxGetState.dev = (hipDevice_t)dev; \
3516 cb_data.args.hipDevicePrimaryCtxGetState.flags = (unsigned int*)flags; \
3517 cb_data.args.hipDevicePrimaryCtxGetState.active = (int*)active; \
3520#define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
3521 cb_data.args.hipDevicePrimaryCtxRelease.dev = (hipDevice_t)dev; \
3524#define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
3525 cb_data.args.hipDevicePrimaryCtxReset.dev = (hipDevice_t)dev; \
3528#define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
3529 cb_data.args.hipDevicePrimaryCtxRetain.pctx = (hipCtx_t*)pctx; \
3530 cb_data.args.hipDevicePrimaryCtxRetain.dev = (hipDevice_t)dev; \
3533#define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
3534 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = (hipDevice_t)dev; \
3535 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = (unsigned int)flags; \
3538#define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
3541#define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3542 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = (hipFuncCache_t)cacheConfig; \
3545#define INIT_hipDeviceSetGraphMemAttribute_CB_ARGS_DATA(cb_data) { \
3546 cb_data.args.hipDeviceSetGraphMemAttribute.device = (int)device; \
3547 cb_data.args.hipDeviceSetGraphMemAttribute.attr = (hipGraphMemAttributeType)attr; \
3548 cb_data.args.hipDeviceSetGraphMemAttribute.value = (void*)value; \
3551#define INIT_hipDeviceSetLimit_CB_ARGS_DATA(cb_data) { \
3552 cb_data.args.hipDeviceSetLimit.limit = (hipLimit_t)limit; \
3553 cb_data.args.hipDeviceSetLimit.value = (size_t)value; \
3556#define INIT_hipDeviceSetMemPool_CB_ARGS_DATA(cb_data) { \
3557 cb_data.args.hipDeviceSetMemPool.device = (int)device; \
3558 cb_data.args.hipDeviceSetMemPool.mem_pool = (hipMemPool_t)mem_pool; \
3561#define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3562 cb_data.args.hipDeviceSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3565#define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
3568#define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
3569 cb_data.args.hipDeviceTotalMem.bytes = (size_t*)bytes; \
3570 cb_data.args.hipDeviceTotalMem.device = (hipDevice_t)device; \
3573#define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
3574 cb_data.args.hipDriverGetVersion.driverVersion = (int*)driverVersion; \
3577#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
3578 cb_data.args.hipDrvMemcpy2DUnaligned.pCopy = (const hip_Memcpy2D*)pCopy; \
3581#define INIT_hipDrvMemcpy3D_CB_ARGS_DATA(cb_data) { \
3582 cb_data.args.hipDrvMemcpy3D.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3585#define INIT_hipDrvMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
3586 cb_data.args.hipDrvMemcpy3DAsync.pCopy = (const HIP_MEMCPY3D*)pCopy; \
3587 cb_data.args.hipDrvMemcpy3DAsync.stream = (hipStream_t)stream; \
3590#define INIT_hipDrvPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
3591 cb_data.args.hipDrvPointerGetAttributes.numAttributes = (unsigned int)numAttributes; \
3592 cb_data.args.hipDrvPointerGetAttributes.attributes = (hipPointer_attribute*)attributes; \
3593 cb_data.args.hipDrvPointerGetAttributes.data = (void**)data; \
3594 cb_data.args.hipDrvPointerGetAttributes.ptr = (hipDeviceptr_t)ptr; \
3597#define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
3598 cb_data.args.hipEventCreate.event = (hipEvent_t*)event; \
3601#define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
3602 cb_data.args.hipEventCreateWithFlags.event = (hipEvent_t*)event; \
3603 cb_data.args.hipEventCreateWithFlags.flags = (unsigned int)flags; \
3606#define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
3607 cb_data.args.hipEventDestroy.event = (hipEvent_t)event; \
3610#define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
3611 cb_data.args.hipEventElapsedTime.ms = (float*)ms; \
3612 cb_data.args.hipEventElapsedTime.start = (hipEvent_t)start; \
3613 cb_data.args.hipEventElapsedTime.stop = (hipEvent_t)stop; \
3616#define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
3617 cb_data.args.hipEventQuery.event = (hipEvent_t)event; \
3620#define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
3621 cb_data.args.hipEventRecord.event = (hipEvent_t)event; \
3622 cb_data.args.hipEventRecord.stream = (hipStream_t)stream; \
3625#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
3626 cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
3629#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
3630 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
3631 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = (int)device2; \
3632 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = (unsigned int*)linktype; \
3633 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = (unsigned int*)hopcount; \
3636#define INIT_hipExtLaunchKernel_CB_ARGS_DATA(cb_data) { \
3637 cb_data.args.hipExtLaunchKernel.function_address = (const void*)hostFunction; \
3638 cb_data.args.hipExtLaunchKernel.numBlocks = (dim3)gridDim; \
3639 cb_data.args.hipExtLaunchKernel.dimBlocks = (dim3)blockDim; \
3640 cb_data.args.hipExtLaunchKernel.args = (void**)args; \
3641 cb_data.args.hipExtLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3642 cb_data.args.hipExtLaunchKernel.stream = (hipStream_t)stream; \
3643 cb_data.args.hipExtLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3644 cb_data.args.hipExtLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3645 cb_data.args.hipExtLaunchKernel.flags = (int)flags; \
3648#define INIT_hipExtLaunchMultiKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
3649 cb_data.args.hipExtLaunchMultiKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
3650 cb_data.args.hipExtLaunchMultiKernelMultiDevice.numDevices = (int)numDevices; \
3651 cb_data.args.hipExtLaunchMultiKernelMultiDevice.flags = (unsigned int)flags; \
3654#define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
3655 cb_data.args.hipExtMallocWithFlags.ptr = (void**)ptr; \
3656 cb_data.args.hipExtMallocWithFlags.sizeBytes = (size_t)sizeBytes; \
3657 cb_data.args.hipExtMallocWithFlags.flags = (unsigned int)flags; \
3660#define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
3661 cb_data.args.hipExtModuleLaunchKernel.f = (hipFunction_t)f; \
3662 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
3663 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
3664 cb_data.args.hipExtModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
3665 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeX = (unsigned int)localWorkSizeX; \
3666 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeY = (unsigned int)localWorkSizeY; \
3667 cb_data.args.hipExtModuleLaunchKernel.localWorkSizeZ = (unsigned int)localWorkSizeZ; \
3668 cb_data.args.hipExtModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
3669 cb_data.args.hipExtModuleLaunchKernel.hStream = (hipStream_t)hStream; \
3670 cb_data.args.hipExtModuleLaunchKernel.kernelParams = (void**)kernelParams; \
3671 cb_data.args.hipExtModuleLaunchKernel.extra = (void**)extra; \
3672 cb_data.args.hipExtModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
3673 cb_data.args.hipExtModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
3674 cb_data.args.hipExtModuleLaunchKernel.flags = (unsigned int)flags; \
3677#define INIT_hipExtStreamCreateWithCUMask_CB_ARGS_DATA(cb_data) { \
3678 cb_data.args.hipExtStreamCreateWithCUMask.stream = (hipStream_t*)stream; \
3679 cb_data.args.hipExtStreamCreateWithCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3680 cb_data.args.hipExtStreamCreateWithCUMask.cuMask = (const unsigned int*)cuMask; \
3683#define INIT_hipExtStreamGetCUMask_CB_ARGS_DATA(cb_data) { \
3684 cb_data.args.hipExtStreamGetCUMask.stream = (hipStream_t)stream; \
3685 cb_data.args.hipExtStreamGetCUMask.cuMaskSize = (unsigned int)cuMaskSize; \
3686 cb_data.args.hipExtStreamGetCUMask.cuMask = (unsigned int*)cuMask; \
3689#define INIT_hipExternalMemoryGetMappedBuffer_CB_ARGS_DATA(cb_data) { \
3690 cb_data.args.hipExternalMemoryGetMappedBuffer.devPtr = (void**)devPtr; \
3691 cb_data.args.hipExternalMemoryGetMappedBuffer.extMem = (hipExternalMemory_t)extMem; \
3692 cb_data.args.hipExternalMemoryGetMappedBuffer.bufferDesc = (const hipExternalMemoryBufferDesc*)bufferDesc; \
3695#define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
3696 cb_data.args.hipFree.ptr = (void*)ptr; \
3699#define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
3700 cb_data.args.hipFreeArray.array = (hipArray*)array; \
3703#define INIT_hipFreeAsync_CB_ARGS_DATA(cb_data) { \
3704 cb_data.args.hipFreeAsync.dev_ptr = (void*)dev_ptr; \
3705 cb_data.args.hipFreeAsync.stream = (hipStream_t)stream; \
3708#define INIT_hipFreeHost_CB_ARGS_DATA(cb_data) { \
3709 cb_data.args.hipFreeHost.ptr = (void*)ptr; \
3712#define INIT_hipFreeMipmappedArray_CB_ARGS_DATA(cb_data) { \
3713 cb_data.args.hipFreeMipmappedArray.mipmappedArray = (hipMipmappedArray_t)mipmappedArray; \
3716#define INIT_hipFuncGetAttribute_CB_ARGS_DATA(cb_data) { \
3717 cb_data.args.hipFuncGetAttribute.value = (int*)value; \
3718 cb_data.args.hipFuncGetAttribute.attrib = (hipFunction_attribute)attrib; \
3719 cb_data.args.hipFuncGetAttribute.hfunc = (hipFunction_t)hfunc; \
3722#define INIT_hipFuncGetAttributes_CB_ARGS_DATA(cb_data) { \
3723 cb_data.args.hipFuncGetAttributes.attr = (hipFuncAttributes*)attr; \
3724 cb_data.args.hipFuncGetAttributes.func = (const void*)func; \
3727#define INIT_hipFuncSetAttribute_CB_ARGS_DATA(cb_data) { \
3728 cb_data.args.hipFuncSetAttribute.func = (const void*)func; \
3729 cb_data.args.hipFuncSetAttribute.attr = (hipFuncAttribute)attr; \
3730 cb_data.args.hipFuncSetAttribute.value = (int)value; \
3733#define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
3734 cb_data.args.hipFuncSetCacheConfig.func = (const void*)func; \
3735 cb_data.args.hipFuncSetCacheConfig.config = (hipFuncCache_t)cacheConfig; \
3738#define INIT_hipFuncSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
3739 cb_data.args.hipFuncSetSharedMemConfig.func = (const void*)func; \
3740 cb_data.args.hipFuncSetSharedMemConfig.config = (hipSharedMemConfig)config; \
3743#define INIT_hipGLGetDevices_CB_ARGS_DATA(cb_data) { \
3744 cb_data.args.hipGLGetDevices.pHipDeviceCount = (unsigned int*)pHipDeviceCount; \
3745 cb_data.args.hipGLGetDevices.pHipDevices = (int*)pHipDevices; \
3746 cb_data.args.hipGLGetDevices.hipDeviceCount = (unsigned int)hipDeviceCount; \
3747 cb_data.args.hipGLGetDevices.deviceList = (hipGLDeviceList)deviceList; \
3750#define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) { \
3751 cb_data.args.hipGetChannelDesc.desc = (hipChannelFormatDesc*)desc; \
3752 cb_data.args.hipGetChannelDesc.array = (hipArray_const_t)array; \
3755#define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
3756 cb_data.args.hipGetDevice.deviceId = (int*)deviceId; \
3759#define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
3760 cb_data.args.hipGetDeviceCount.count = (int*)count; \
3763#define INIT_hipGetDeviceFlags_CB_ARGS_DATA(cb_data) { \
3764 cb_data.args.hipGetDeviceFlags.flags = (unsigned int*)flags; \
3767#define INIT_hipGetDeviceProperties_CB_ARGS_DATA(cb_data) { \
3768 cb_data.args.hipGetDeviceProperties.props = (hipDeviceProp_t*)props; \
3769 cb_data.args.hipGetDeviceProperties.device = (hipDevice_t)device; \
3772#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
3775#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
3778#define INIT_hipGetMipmappedArrayLevel_CB_ARGS_DATA(cb_data) { \
3779 cb_data.args.hipGetMipmappedArrayLevel.levelArray = (hipArray_t*)levelArray; \
3780 cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
3781 cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
3784#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
3785 cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
3786 cb_data.args.hipGetSymbolAddress.symbol = (const void*)symbol; \
3789#define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
3790 cb_data.args.hipGetSymbolSize.size = (size_t*)sizePtr; \
3791 cb_data.args.hipGetSymbolSize.symbol = (const void*)symbol; \
3794#define INIT_hipGraphAddChildGraphNode_CB_ARGS_DATA(cb_data) { \
3795 cb_data.args.hipGraphAddChildGraphNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3796 cb_data.args.hipGraphAddChildGraphNode.graph = (hipGraph_t)graph; \
3797 cb_data.args.hipGraphAddChildGraphNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3798 cb_data.args.hipGraphAddChildGraphNode.numDependencies = (size_t)numDependencies; \
3799 cb_data.args.hipGraphAddChildGraphNode.childGraph = (hipGraph_t)childGraph; \
3802#define INIT_hipGraphAddDependencies_CB_ARGS_DATA(cb_data) { \
3803 cb_data.args.hipGraphAddDependencies.graph = (hipGraph_t)graph; \
3804 cb_data.args.hipGraphAddDependencies.from = (const hipGraphNode_t*)from; \
3805 cb_data.args.hipGraphAddDependencies.to = (const hipGraphNode_t*)to; \
3806 cb_data.args.hipGraphAddDependencies.numDependencies = (size_t)numDependencies; \
3809#define INIT_hipGraphAddEmptyNode_CB_ARGS_DATA(cb_data) { \
3810 cb_data.args.hipGraphAddEmptyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3811 cb_data.args.hipGraphAddEmptyNode.graph = (hipGraph_t)graph; \
3812 cb_data.args.hipGraphAddEmptyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3813 cb_data.args.hipGraphAddEmptyNode.numDependencies = (size_t)numDependencies; \
3816#define INIT_hipGraphAddEventRecordNode_CB_ARGS_DATA(cb_data) { \
3817 cb_data.args.hipGraphAddEventRecordNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3818 cb_data.args.hipGraphAddEventRecordNode.graph = (hipGraph_t)graph; \
3819 cb_data.args.hipGraphAddEventRecordNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3820 cb_data.args.hipGraphAddEventRecordNode.numDependencies = (size_t)numDependencies; \
3821 cb_data.args.hipGraphAddEventRecordNode.event = (hipEvent_t)event; \
3824#define INIT_hipGraphAddEventWaitNode_CB_ARGS_DATA(cb_data) { \
3825 cb_data.args.hipGraphAddEventWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3826 cb_data.args.hipGraphAddEventWaitNode.graph = (hipGraph_t)graph; \
3827 cb_data.args.hipGraphAddEventWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3828 cb_data.args.hipGraphAddEventWaitNode.numDependencies = (size_t)numDependencies; \
3829 cb_data.args.hipGraphAddEventWaitNode.event = (hipEvent_t)event; \
3832#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
3833 cb_data.args.hipGraphAddHostNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3834 cb_data.args.hipGraphAddHostNode.graph = (hipGraph_t)graph; \
3835 cb_data.args.hipGraphAddHostNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3836 cb_data.args.hipGraphAddHostNode.numDependencies = (size_t)numDependencies; \
3837 cb_data.args.hipGraphAddHostNode.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
3840#define INIT_hipGraphAddKernelNode_CB_ARGS_DATA(cb_data) { \
3841 cb_data.args.hipGraphAddKernelNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3842 cb_data.args.hipGraphAddKernelNode.graph = (hipGraph_t)graph; \
3843 cb_data.args.hipGraphAddKernelNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3844 cb_data.args.hipGraphAddKernelNode.numDependencies = (size_t)numDependencies; \
3845 cb_data.args.hipGraphAddKernelNode.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
3848#define INIT_hipGraphAddMemAllocNode_CB_ARGS_DATA(cb_data) { \
3849 cb_data.args.hipGraphAddMemAllocNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3850 cb_data.args.hipGraphAddMemAllocNode.graph = (hipGraph_t)graph; \
3851 cb_data.args.hipGraphAddMemAllocNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3852 cb_data.args.hipGraphAddMemAllocNode.numDependencies = (size_t)numDependencies; \
3853 cb_data.args.hipGraphAddMemAllocNode.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
3856#define INIT_hipGraphAddMemFreeNode_CB_ARGS_DATA(cb_data) { \
3857 cb_data.args.hipGraphAddMemFreeNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3858 cb_data.args.hipGraphAddMemFreeNode.graph = (hipGraph_t)graph; \
3859 cb_data.args.hipGraphAddMemFreeNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3860 cb_data.args.hipGraphAddMemFreeNode.numDependencies = (size_t)numDependencies; \
3861 cb_data.args.hipGraphAddMemFreeNode.dev_ptr = (void*)dev_ptr; \
3864#define INIT_hipGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
3865 cb_data.args.hipGraphAddMemcpyNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3866 cb_data.args.hipGraphAddMemcpyNode.graph = (hipGraph_t)graph; \
3867 cb_data.args.hipGraphAddMemcpyNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3868 cb_data.args.hipGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
3869 cb_data.args.hipGraphAddMemcpyNode.pCopyParams = (const hipMemcpy3DParms*)pCopyParams; \
3872#define INIT_hipGraphAddMemcpyNode1D_CB_ARGS_DATA(cb_data) { \
3873 cb_data.args.hipGraphAddMemcpyNode1D.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3874 cb_data.args.hipGraphAddMemcpyNode1D.graph = (hipGraph_t)graph; \
3875 cb_data.args.hipGraphAddMemcpyNode1D.pDependencies = (const hipGraphNode_t*)pDependencies; \
3876 cb_data.args.hipGraphAddMemcpyNode1D.numDependencies = (size_t)numDependencies; \
3877 cb_data.args.hipGraphAddMemcpyNode1D.dst = (void*)dst; \
3878 cb_data.args.hipGraphAddMemcpyNode1D.src = (const void*)src; \
3879 cb_data.args.hipGraphAddMemcpyNode1D.count = (size_t)count; \
3880 cb_data.args.hipGraphAddMemcpyNode1D.kind = (hipMemcpyKind)kind; \
3883#define INIT_hipGraphAddMemcpyNodeFromSymbol_CB_ARGS_DATA(cb_data) { \
3884 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3885 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.graph = (hipGraph_t)graph; \
3886 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
3887 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.numDependencies = (size_t)numDependencies; \
3888 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.dst = (void*)dst; \
3889 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.symbol = (const void*)symbol; \
3890 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.count = (size_t)count; \
3891 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.offset = (size_t)offset; \
3892 cb_data.args.hipGraphAddMemcpyNodeFromSymbol.kind = (hipMemcpyKind)kind; \
3895#define INIT_hipGraphAddMemcpyNodeToSymbol_CB_ARGS_DATA(cb_data) { \
3896 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3897 cb_data.args.hipGraphAddMemcpyNodeToSymbol.graph = (hipGraph_t)graph; \
3898 cb_data.args.hipGraphAddMemcpyNodeToSymbol.pDependencies = (const hipGraphNode_t*)pDependencies; \
3899 cb_data.args.hipGraphAddMemcpyNodeToSymbol.numDependencies = (size_t)numDependencies; \
3900 cb_data.args.hipGraphAddMemcpyNodeToSymbol.symbol = (const void*)symbol; \
3901 cb_data.args.hipGraphAddMemcpyNodeToSymbol.src = (const void*)src; \
3902 cb_data.args.hipGraphAddMemcpyNodeToSymbol.count = (size_t)count; \
3903 cb_data.args.hipGraphAddMemcpyNodeToSymbol.offset = (size_t)offset; \
3904 cb_data.args.hipGraphAddMemcpyNodeToSymbol.kind = (hipMemcpyKind)kind; \
3907#define INIT_hipGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
3908 cb_data.args.hipGraphAddMemsetNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
3909 cb_data.args.hipGraphAddMemsetNode.graph = (hipGraph_t)graph; \
3910 cb_data.args.hipGraphAddMemsetNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
3911 cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
3912 cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
3915#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
3916 cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
3917 cb_data.args.hipGraphChildGraphNodeGetGraph.pGraph = (hipGraph_t*)pGraph; \
3920#define INIT_hipGraphClone_CB_ARGS_DATA(cb_data) { \
3921 cb_data.args.hipGraphClone.pGraphClone = (hipGraph_t*)pGraphClone; \
3922 cb_data.args.hipGraphClone.originalGraph = (hipGraph_t)originalGraph; \
3925#define INIT_hipGraphCreate_CB_ARGS_DATA(cb_data) { \
3926 cb_data.args.hipGraphCreate.pGraph = (hipGraph_t*)pGraph; \
3927 cb_data.args.hipGraphCreate.flags = (unsigned int)flags; \
3930#define INIT_hipGraphDebugDotPrint_CB_ARGS_DATA(cb_data) { \
3931 cb_data.args.hipGraphDebugDotPrint.graph = (hipGraph_t)graph; \
3932 cb_data.args.hipGraphDebugDotPrint.path = (path) ? strdup(path) : NULL; \
3933 cb_data.args.hipGraphDebugDotPrint.flags = (unsigned int)flags; \
3936#define INIT_hipGraphDestroy_CB_ARGS_DATA(cb_data) { \
3937 cb_data.args.hipGraphDestroy.graph = (hipGraph_t)graph; \
3940#define INIT_hipGraphDestroyNode_CB_ARGS_DATA(cb_data) { \
3941 cb_data.args.hipGraphDestroyNode.node = (hipGraphNode_t)node; \
3944#define INIT_hipGraphEventRecordNodeGetEvent_CB_ARGS_DATA(cb_data) { \
3945 cb_data.args.hipGraphEventRecordNodeGetEvent.node = (hipGraphNode_t)node; \
3946 cb_data.args.hipGraphEventRecordNodeGetEvent.event_out = (hipEvent_t*)event_out; \
3949#define INIT_hipGraphEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3950 cb_data.args.hipGraphEventRecordNodeSetEvent.node = (hipGraphNode_t)node; \
3951 cb_data.args.hipGraphEventRecordNodeSetEvent.event = (hipEvent_t)event; \
3954#define INIT_hipGraphEventWaitNodeGetEvent_CB_ARGS_DATA(cb_data) { \
3955 cb_data.args.hipGraphEventWaitNodeGetEvent.node = (hipGraphNode_t)node; \
3956 cb_data.args.hipGraphEventWaitNodeGetEvent.event_out = (hipEvent_t*)event_out; \
3959#define INIT_hipGraphEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3960 cb_data.args.hipGraphEventWaitNodeSetEvent.node = (hipGraphNode_t)node; \
3961 cb_data.args.hipGraphEventWaitNodeSetEvent.event = (hipEvent_t)event; \
3964#define INIT_hipGraphExecChildGraphNodeSetParams_CB_ARGS_DATA(cb_data) { \
3965 cb_data.args.hipGraphExecChildGraphNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3966 cb_data.args.hipGraphExecChildGraphNodeSetParams.node = (hipGraphNode_t)node; \
3967 cb_data.args.hipGraphExecChildGraphNodeSetParams.childGraph = (hipGraph_t)childGraph; \
3970#define INIT_hipGraphExecDestroy_CB_ARGS_DATA(cb_data) { \
3971 cb_data.args.hipGraphExecDestroy.graphExec = (hipGraphExec_t)pGraphExec; \
3974#define INIT_hipGraphExecEventRecordNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3975 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
3976 cb_data.args.hipGraphExecEventRecordNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
3977 cb_data.args.hipGraphExecEventRecordNodeSetEvent.event = (hipEvent_t)event; \
3980#define INIT_hipGraphExecEventWaitNodeSetEvent_CB_ARGS_DATA(cb_data) { \
3981 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hGraphExec = (hipGraphExec_t)hGraphExec; \
3982 cb_data.args.hipGraphExecEventWaitNodeSetEvent.hNode = (hipGraphNode_t)hNode; \
3983 cb_data.args.hipGraphExecEventWaitNodeSetEvent.event = (hipEvent_t)event; \
3986#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
3987 cb_data.args.hipGraphExecHostNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3988 cb_data.args.hipGraphExecHostNodeSetParams.node = (hipGraphNode_t)node; \
3989 cb_data.args.hipGraphExecHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
3992#define INIT_hipGraphExecKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
3993 cb_data.args.hipGraphExecKernelNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
3994 cb_data.args.hipGraphExecKernelNodeSetParams.node = (hipGraphNode_t)node; \
3995 cb_data.args.hipGraphExecKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
3998#define INIT_hipGraphExecMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
3999 cb_data.args.hipGraphExecMemcpyNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4000 cb_data.args.hipGraphExecMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4001 cb_data.args.hipGraphExecMemcpyNodeSetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4004#define INIT_hipGraphExecMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4005 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec = (hipGraphExec_t)hGraphExec; \
4006 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4007 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.dst = (void*)dst; \
4008 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.src = (const void*)src; \
4009 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.count = (size_t)count; \
4010 cb_data.args.hipGraphExecMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4013#define INIT_hipGraphExecMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4014 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4015 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4016 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4017 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4018 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4019 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4020 cb_data.args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4023#define INIT_hipGraphExecMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4024 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec = (hipGraphExec_t)hGraphExec; \
4025 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4026 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4027 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4028 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4029 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4030 cb_data.args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4033#define INIT_hipGraphExecMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4034 cb_data.args.hipGraphExecMemsetNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
4035 cb_data.args.hipGraphExecMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4036 cb_data.args.hipGraphExecMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4039#define INIT_hipGraphExecUpdate_CB_ARGS_DATA(cb_data) { \
4040 cb_data.args.hipGraphExecUpdate.hGraphExec = (hipGraphExec_t)hGraphExec; \
4041 cb_data.args.hipGraphExecUpdate.hGraph = (hipGraph_t)hGraph; \
4042 cb_data.args.hipGraphExecUpdate.hErrorNode_out = (hipGraphNode_t*)hErrorNode_out; \
4043 cb_data.args.hipGraphExecUpdate.updateResult_out = (hipGraphExecUpdateResult*)updateResult_out; \
4046#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
4047 cb_data.args.hipGraphGetEdges.graph = (hipGraph_t)graph; \
4048 cb_data.args.hipGraphGetEdges.from = (hipGraphNode_t*)from; \
4049 cb_data.args.hipGraphGetEdges.to = (hipGraphNode_t*)to; \
4050 cb_data.args.hipGraphGetEdges.numEdges = (size_t*)numEdges; \
4053#define INIT_hipGraphGetNodes_CB_ARGS_DATA(cb_data) { \
4054 cb_data.args.hipGraphGetNodes.graph = (hipGraph_t)graph; \
4055 cb_data.args.hipGraphGetNodes.nodes = (hipGraphNode_t*)nodes; \
4056 cb_data.args.hipGraphGetNodes.numNodes = (size_t*)numNodes; \
4059#define INIT_hipGraphGetRootNodes_CB_ARGS_DATA(cb_data) { \
4060 cb_data.args.hipGraphGetRootNodes.graph = (hipGraph_t)graph; \
4061 cb_data.args.hipGraphGetRootNodes.pRootNodes = (hipGraphNode_t*)pRootNodes; \
4062 cb_data.args.hipGraphGetRootNodes.pNumRootNodes = (size_t*)pNumRootNodes; \
4065#define INIT_hipGraphHostNodeGetParams_CB_ARGS_DATA(cb_data) { \
4066 cb_data.args.hipGraphHostNodeGetParams.node = (hipGraphNode_t)node; \
4067 cb_data.args.hipGraphHostNodeGetParams.pNodeParams = (hipHostNodeParams*)pNodeParams; \
4070#define INIT_hipGraphHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
4071 cb_data.args.hipGraphHostNodeSetParams.node = (hipGraphNode_t)node; \
4072 cb_data.args.hipGraphHostNodeSetParams.pNodeParams = (const hipHostNodeParams*)pNodeParams; \
4075#define INIT_hipGraphInstantiate_CB_ARGS_DATA(cb_data) { \
4076 cb_data.args.hipGraphInstantiate.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4077 cb_data.args.hipGraphInstantiate.graph = (hipGraph_t)graph; \
4078 cb_data.args.hipGraphInstantiate.pErrorNode = (hipGraphNode_t*)pErrorNode; \
4079 cb_data.args.hipGraphInstantiate.pLogBuffer = (char*)pLogBuffer; \
4080 cb_data.args.hipGraphInstantiate.bufferSize = (size_t)bufferSize; \
4083#define INIT_hipGraphInstantiateWithFlags_CB_ARGS_DATA(cb_data) { \
4084 cb_data.args.hipGraphInstantiateWithFlags.pGraphExec = (hipGraphExec_t*)pGraphExec; \
4085 cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
4086 cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
4089#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
4090 cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
4091 cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
4094#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
4095 cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
4096 cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
4097 cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
4100#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
4101 cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
4102 cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
4105#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
4106 cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
4107 cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
4108 cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
4111#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
4112 cb_data.args.hipGraphKernelNodeSetParams.node = (hipGraphNode_t)node; \
4113 cb_data.args.hipGraphKernelNodeSetParams.pNodeParams = (const hipKernelNodeParams*)pNodeParams; \
4116#define INIT_hipGraphLaunch_CB_ARGS_DATA(cb_data) { \
4117 cb_data.args.hipGraphLaunch.graphExec = (hipGraphExec_t)graphExec; \
4118 cb_data.args.hipGraphLaunch.stream = (hipStream_t)stream; \
4121#define INIT_hipGraphMemAllocNodeGetParams_CB_ARGS_DATA(cb_data) { \
4122 cb_data.args.hipGraphMemAllocNodeGetParams.node = (hipGraphNode_t)node; \
4123 cb_data.args.hipGraphMemAllocNodeGetParams.pNodeParams = (hipMemAllocNodeParams*)pNodeParams; \
4126#define INIT_hipGraphMemFreeNodeGetParams_CB_ARGS_DATA(cb_data) { \
4127 cb_data.args.hipGraphMemFreeNodeGetParams.node = (hipGraphNode_t)node; \
4128 cb_data.args.hipGraphMemFreeNodeGetParams.dev_ptr = (void*)dev_ptr; \
4131#define INIT_hipGraphMemcpyNodeGetParams_CB_ARGS_DATA(cb_data) { \
4132 cb_data.args.hipGraphMemcpyNodeGetParams.node = (hipGraphNode_t)node; \
4133 cb_data.args.hipGraphMemcpyNodeGetParams.pNodeParams = (hipMemcpy3DParms*)pNodeParams; \
4136#define INIT_hipGraphMemcpyNodeSetParams_CB_ARGS_DATA(cb_data) { \
4137 cb_data.args.hipGraphMemcpyNodeSetParams.node = (hipGraphNode_t)node; \
4138 cb_data.args.hipGraphMemcpyNodeSetParams.pNodeParams = (const hipMemcpy3DParms*)pNodeParams; \
4141#define INIT_hipGraphMemcpyNodeSetParams1D_CB_ARGS_DATA(cb_data) { \
4142 cb_data.args.hipGraphMemcpyNodeSetParams1D.node = (hipGraphNode_t)node; \
4143 cb_data.args.hipGraphMemcpyNodeSetParams1D.dst = (void*)dst; \
4144 cb_data.args.hipGraphMemcpyNodeSetParams1D.src = (const void*)src; \
4145 cb_data.args.hipGraphMemcpyNodeSetParams1D.count = (size_t)count; \
4146 cb_data.args.hipGraphMemcpyNodeSetParams1D.kind = (hipMemcpyKind)kind; \
4149#define INIT_hipGraphMemcpyNodeSetParamsFromSymbol_CB_ARGS_DATA(cb_data) { \
4150 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.node = (hipGraphNode_t)node; \
4151 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.dst = (void*)dst; \
4152 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol = (const void*)symbol; \
4153 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.count = (size_t)count; \
4154 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.offset = (size_t)offset; \
4155 cb_data.args.hipGraphMemcpyNodeSetParamsFromSymbol.kind = (hipMemcpyKind)kind; \
4158#define INIT_hipGraphMemcpyNodeSetParamsToSymbol_CB_ARGS_DATA(cb_data) { \
4159 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.node = (hipGraphNode_t)node; \
4160 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.symbol = (const void*)symbol; \
4161 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.src = (const void*)src; \
4162 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.count = (size_t)count; \
4163 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.offset = (size_t)offset; \
4164 cb_data.args.hipGraphMemcpyNodeSetParamsToSymbol.kind = (hipMemcpyKind)kind; \
4167#define INIT_hipGraphMemsetNodeGetParams_CB_ARGS_DATA(cb_data) { \
4168 cb_data.args.hipGraphMemsetNodeGetParams.node = (hipGraphNode_t)node; \
4169 cb_data.args.hipGraphMemsetNodeGetParams.pNodeParams = (hipMemsetParams*)pNodeParams; \
4172#define INIT_hipGraphMemsetNodeSetParams_CB_ARGS_DATA(cb_data) { \
4173 cb_data.args.hipGraphMemsetNodeSetParams.node = (hipGraphNode_t)node; \
4174 cb_data.args.hipGraphMemsetNodeSetParams.pNodeParams = (const hipMemsetParams*)pNodeParams; \
4177#define INIT_hipGraphNodeFindInClone_CB_ARGS_DATA(cb_data) { \
4178 cb_data.args.hipGraphNodeFindInClone.pNode = (hipGraphNode_t*)pNode; \
4179 cb_data.args.hipGraphNodeFindInClone.originalNode = (hipGraphNode_t)originalNode; \
4180 cb_data.args.hipGraphNodeFindInClone.clonedGraph = (hipGraph_t)clonedGraph; \
4183#define INIT_hipGraphNodeGetDependencies_CB_ARGS_DATA(cb_data) { \
4184 cb_data.args.hipGraphNodeGetDependencies.node = (hipGraphNode_t)node; \
4185 cb_data.args.hipGraphNodeGetDependencies.pDependencies = (hipGraphNode_t*)pDependencies; \
4186 cb_data.args.hipGraphNodeGetDependencies.pNumDependencies = (size_t*)pNumDependencies; \
4189#define INIT_hipGraphNodeGetDependentNodes_CB_ARGS_DATA(cb_data) { \
4190 cb_data.args.hipGraphNodeGetDependentNodes.node = (hipGraphNode_t)node; \
4191 cb_data.args.hipGraphNodeGetDependentNodes.pDependentNodes = (hipGraphNode_t*)pDependentNodes; \
4192 cb_data.args.hipGraphNodeGetDependentNodes.pNumDependentNodes = (size_t*)pNumDependentNodes; \
4195#define INIT_hipGraphNodeGetEnabled_CB_ARGS_DATA(cb_data) { \
4196 cb_data.args.hipGraphNodeGetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4197 cb_data.args.hipGraphNodeGetEnabled.hNode = (hipGraphNode_t)hNode; \
4198 cb_data.args.hipGraphNodeGetEnabled.isEnabled = (unsigned int*)isEnabled; \
4201#define INIT_hipGraphNodeGetType_CB_ARGS_DATA(cb_data) { \
4202 cb_data.args.hipGraphNodeGetType.node = (hipGraphNode_t)node; \
4203 cb_data.args.hipGraphNodeGetType.pType = (hipGraphNodeType*)pType; \
4206#define INIT_hipGraphNodeSetEnabled_CB_ARGS_DATA(cb_data) { \
4207 cb_data.args.hipGraphNodeSetEnabled.hGraphExec = (hipGraphExec_t)hGraphExec; \
4208 cb_data.args.hipGraphNodeSetEnabled.hNode = (hipGraphNode_t)hNode; \
4209 cb_data.args.hipGraphNodeSetEnabled.isEnabled = (unsigned int)isEnabled; \
4212#define INIT_hipGraphReleaseUserObject_CB_ARGS_DATA(cb_data) { \
4213 cb_data.args.hipGraphReleaseUserObject.graph = (hipGraph_t)graph; \
4214 cb_data.args.hipGraphReleaseUserObject.object = (hipUserObject_t)object; \
4215 cb_data.args.hipGraphReleaseUserObject.count = (unsigned int)count; \
4218#define INIT_hipGraphRemoveDependencies_CB_ARGS_DATA(cb_data) { \
4219 cb_data.args.hipGraphRemoveDependencies.graph = (hipGraph_t)graph; \
4220 cb_data.args.hipGraphRemoveDependencies.from = (const hipGraphNode_t*)from; \
4221 cb_data.args.hipGraphRemoveDependencies.to = (const hipGraphNode_t*)to; \
4222 cb_data.args.hipGraphRemoveDependencies.numDependencies = (size_t)numDependencies; \
4225#define INIT_hipGraphRetainUserObject_CB_ARGS_DATA(cb_data) { \
4226 cb_data.args.hipGraphRetainUserObject.graph = (hipGraph_t)graph; \
4227 cb_data.args.hipGraphRetainUserObject.object = (hipUserObject_t)object; \
4228 cb_data.args.hipGraphRetainUserObject.count = (unsigned int)count; \
4229 cb_data.args.hipGraphRetainUserObject.flags = (unsigned int)flags; \
4232#define INIT_hipGraphUpload_CB_ARGS_DATA(cb_data) { \
4233 cb_data.args.hipGraphUpload.graphExec = (hipGraphExec_t)graphExec; \
4234 cb_data.args.hipGraphUpload.stream = (hipStream_t)stream; \
4237#define INIT_hipGraphicsGLRegisterBuffer_CB_ARGS_DATA(cb_data) { \
4238 cb_data.args.hipGraphicsGLRegisterBuffer.resource = (hipGraphicsResource**)resource; \
4239 cb_data.args.hipGraphicsGLRegisterBuffer.buffer = (GLuint)buffer; \
4240 cb_data.args.hipGraphicsGLRegisterBuffer.flags = (unsigned int)flags; \
4243#define INIT_hipGraphicsGLRegisterImage_CB_ARGS_DATA(cb_data) { \
4244 cb_data.args.hipGraphicsGLRegisterImage.resource = (hipGraphicsResource**)resource; \
4245 cb_data.args.hipGraphicsGLRegisterImage.image = (GLuint)image; \
4246 cb_data.args.hipGraphicsGLRegisterImage.target = (GLenum)target; \
4247 cb_data.args.hipGraphicsGLRegisterImage.flags = (unsigned int)flags; \
4250#define INIT_hipGraphicsMapResources_CB_ARGS_DATA(cb_data) { \
4251 cb_data.args.hipGraphicsMapResources.count = (int)count; \
4252 cb_data.args.hipGraphicsMapResources.resources = (hipGraphicsResource_t*)resources; \
4253 cb_data.args.hipGraphicsMapResources.stream = (hipStream_t)stream; \
4256#define INIT_hipGraphicsResourceGetMappedPointer_CB_ARGS_DATA(cb_data) { \
4257 cb_data.args.hipGraphicsResourceGetMappedPointer.devPtr = (void**)devPtr; \
4258 cb_data.args.hipGraphicsResourceGetMappedPointer.size = (size_t*)size; \
4259 cb_data.args.hipGraphicsResourceGetMappedPointer.resource = (hipGraphicsResource_t)resource; \
4262#define INIT_hipGraphicsSubResourceGetMappedArray_CB_ARGS_DATA(cb_data) { \
4263 cb_data.args.hipGraphicsSubResourceGetMappedArray.array = (hipArray_t*)array; \
4264 cb_data.args.hipGraphicsSubResourceGetMappedArray.resource = (hipGraphicsResource_t)resource; \
4265 cb_data.args.hipGraphicsSubResourceGetMappedArray.arrayIndex = (unsigned int)arrayIndex; \
4266 cb_data.args.hipGraphicsSubResourceGetMappedArray.mipLevel = (unsigned int)mipLevel; \
4269#define INIT_hipGraphicsUnmapResources_CB_ARGS_DATA(cb_data) { \
4270 cb_data.args.hipGraphicsUnmapResources.count = (int)count; \
4271 cb_data.args.hipGraphicsUnmapResources.resources = (hipGraphicsResource_t*)resources; \
4272 cb_data.args.hipGraphicsUnmapResources.stream = (hipStream_t)stream; \
4275#define INIT_hipGraphicsUnregisterResource_CB_ARGS_DATA(cb_data) { \
4276 cb_data.args.hipGraphicsUnregisterResource.resource = (hipGraphicsResource_t)resource; \
4279#define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
4280 cb_data.args.hipHccModuleLaunchKernel.f = (hipFunction_t)f; \
4281 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = (unsigned int)globalWorkSizeX; \
4282 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = (unsigned int)globalWorkSizeY; \
4283 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = (unsigned int)globalWorkSizeZ; \
4284 cb_data.args.hipHccModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
4285 cb_data.args.hipHccModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
4286 cb_data.args.hipHccModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
4287 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4288 cb_data.args.hipHccModuleLaunchKernel.hStream = (hipStream_t)hStream; \
4289 cb_data.args.hipHccModuleLaunchKernel.kernelParams = (void**)kernelParams; \
4290 cb_data.args.hipHccModuleLaunchKernel.extra = (void**)extra; \
4291 cb_data.args.hipHccModuleLaunchKernel.startEvent = (hipEvent_t)startEvent; \
4292 cb_data.args.hipHccModuleLaunchKernel.stopEvent = (hipEvent_t)stopEvent; \
4295#define INIT_hipHostAlloc_CB_ARGS_DATA(cb_data) { \
4296 cb_data.args.hipHostAlloc.ptr = (void**)ptr; \
4297 cb_data.args.hipHostAlloc.size = (size_t)sizeBytes; \
4298 cb_data.args.hipHostAlloc.flags = (unsigned int)flags; \
4301#define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
4302 cb_data.args.hipHostFree.ptr = (void*)ptr; \
4305#define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
4306 cb_data.args.hipHostGetDevicePointer.devPtr = (void**)devicePointer; \
4307 cb_data.args.hipHostGetDevicePointer.hstPtr = (void*)hostPointer; \
4308 cb_data.args.hipHostGetDevicePointer.flags = (unsigned int)flags; \
4311#define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
4312 cb_data.args.hipHostGetFlags.flagsPtr = (unsigned int*)flagsPtr; \
4313 cb_data.args.hipHostGetFlags.hostPtr = (void*)hostPtr; \
4316#define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
4317 cb_data.args.hipHostMalloc.ptr = (void**)ptr; \
4318 cb_data.args.hipHostMalloc.size = (size_t)sizeBytes; \
4319 cb_data.args.hipHostMalloc.flags = (unsigned int)flags; \
4322#define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
4323 cb_data.args.hipHostRegister.hostPtr = (void*)hostPtr; \
4324 cb_data.args.hipHostRegister.sizeBytes = (size_t)sizeBytes; \
4325 cb_data.args.hipHostRegister.flags = (unsigned int)flags; \
4328#define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
4329 cb_data.args.hipHostUnregister.hostPtr = (void*)hostPtr; \
4332#define INIT_hipImportExternalMemory_CB_ARGS_DATA(cb_data) { \
4333 cb_data.args.hipImportExternalMemory.extMem_out = (hipExternalMemory_t*)extMem_out; \
4334 cb_data.args.hipImportExternalMemory.memHandleDesc = (const hipExternalMemoryHandleDesc*)memHandleDesc; \
4337#define INIT_hipImportExternalSemaphore_CB_ARGS_DATA(cb_data) { \
4338 cb_data.args.hipImportExternalSemaphore.extSem_out = (hipExternalSemaphore_t*)extSem_out; \
4339 cb_data.args.hipImportExternalSemaphore.semHandleDesc = (const hipExternalSemaphoreHandleDesc*)semHandleDesc; \
4342#define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
4343 cb_data.args.hipInit.flags = (unsigned int)flags; \
4346#define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
4347 cb_data.args.hipIpcCloseMemHandle.devPtr = (void*)dev_ptr; \
4350#define INIT_hipIpcGetEventHandle_CB_ARGS_DATA(cb_data) { \
4351 cb_data.args.hipIpcGetEventHandle.handle = (hipIpcEventHandle_t*)handle; \
4352 cb_data.args.hipIpcGetEventHandle.event = (hipEvent_t)event; \
4355#define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
4356 cb_data.args.hipIpcGetMemHandle.handle = (hipIpcMemHandle_t*)handle; \
4357 cb_data.args.hipIpcGetMemHandle.devPtr = (void*)dev_ptr; \
4360#define INIT_hipIpcOpenEventHandle_CB_ARGS_DATA(cb_data) { \
4361 cb_data.args.hipIpcOpenEventHandle.event = (hipEvent_t*)event; \
4362 cb_data.args.hipIpcOpenEventHandle.handle = (hipIpcEventHandle_t)handle; \
4365#define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
4366 cb_data.args.hipIpcOpenMemHandle.devPtr = (void**)dev_ptr; \
4367 cb_data.args.hipIpcOpenMemHandle.handle = (hipIpcMemHandle_t)handle; \
4368 cb_data.args.hipIpcOpenMemHandle.flags = (unsigned int)flags; \
4371#define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
4372 cb_data.args.hipLaunchByPtr.hostFunction = (const void*)hostFunction; \
4375#define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
4376 cb_data.args.hipLaunchCooperativeKernel.f = (const void*)f; \
4377 cb_data.args.hipLaunchCooperativeKernel.gridDim = (dim3)gridDim; \
4378 cb_data.args.hipLaunchCooperativeKernel.blockDimX = (dim3)blockDim; \
4379 cb_data.args.hipLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
4380 cb_data.args.hipLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
4381 cb_data.args.hipLaunchCooperativeKernel.stream = (hipStream_t)hStream; \
4384#define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
4385 cb_data.args.hipLaunchCooperativeKernelMultiDevice.launchParamsList = (hipLaunchParams*)launchParamsList; \
4386 cb_data.args.hipLaunchCooperativeKernelMultiDevice.numDevices = (int)numDevices; \
4387 cb_data.args.hipLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
4390#define INIT_hipLaunchHostFunc_CB_ARGS_DATA(cb_data) { \
4391 cb_data.args.hipLaunchHostFunc.stream = (hipStream_t)stream; \
4392 cb_data.args.hipLaunchHostFunc.fn = (hipHostFn_t)fn; \
4393 cb_data.args.hipLaunchHostFunc.userData = (void*)userData; \
4396#define INIT_hipLaunchKernel_CB_ARGS_DATA(cb_data) { \
4397 cb_data.args.hipLaunchKernel.function_address = (const void*)hostFunction; \
4398 cb_data.args.hipLaunchKernel.numBlocks = (dim3)gridDim; \
4399 cb_data.args.hipLaunchKernel.dimBlocks = (dim3)blockDim; \
4400 cb_data.args.hipLaunchKernel.args = (void**)args; \
4401 cb_data.args.hipLaunchKernel.sharedMemBytes = (size_t)sharedMemBytes; \
4402 cb_data.args.hipLaunchKernel.stream = (hipStream_t)stream; \
4405#define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
4406 cb_data.args.hipMalloc.ptr = (void**)ptr; \
4407 cb_data.args.hipMalloc.size = (size_t)sizeBytes; \
4410#define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
4411 cb_data.args.hipMalloc3D.pitchedDevPtr = (hipPitchedPtr*)pitchedDevPtr; \
4412 cb_data.args.hipMalloc3D.extent = (hipExtent)extent; \
4415#define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
4416 cb_data.args.hipMalloc3DArray.array = (hipArray_t*)array; \
4417 cb_data.args.hipMalloc3DArray.desc = (const hipChannelFormatDesc*)desc; \
4418 cb_data.args.hipMalloc3DArray.extent = (hipExtent)extent; \
4419 cb_data.args.hipMalloc3DArray.flags = (unsigned int)flags; \
4422#define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
4423 cb_data.args.hipMallocArray.array = (hipArray**)array; \
4424 cb_data.args.hipMallocArray.desc = (const hipChannelFormatDesc*)desc; \
4425 cb_data.args.hipMallocArray.width = (size_t)width; \
4426 cb_data.args.hipMallocArray.height = (size_t)height; \
4427 cb_data.args.hipMallocArray.flags = (unsigned int)flags; \
4430#define INIT_hipMallocAsync_CB_ARGS_DATA(cb_data) { \
4431 cb_data.args.hipMallocAsync.dev_ptr = (void**)dev_ptr; \
4432 cb_data.args.hipMallocAsync.size = (size_t)size; \
4433 cb_data.args.hipMallocAsync.stream = (hipStream_t)stream; \
4436#define INIT_hipMallocFromPoolAsync_CB_ARGS_DATA(cb_data) { \
4437 cb_data.args.hipMallocFromPoolAsync.dev_ptr = (void**)dev_ptr; \
4438 cb_data.args.hipMallocFromPoolAsync.size = (size_t)size; \
4439 cb_data.args.hipMallocFromPoolAsync.mem_pool = (hipMemPool_t)mem_pool; \
4440 cb_data.args.hipMallocFromPoolAsync.stream = (hipStream_t)stream; \
4443#define INIT_hipMallocHost_CB_ARGS_DATA(cb_data) { \
4444 cb_data.args.hipMallocHost.ptr = (void**)ptr; \
4445 cb_data.args.hipMallocHost.size = (size_t)size; \
4448#define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
4449 cb_data.args.hipMallocManaged.dev_ptr = (void**)dev_ptr; \
4450 cb_data.args.hipMallocManaged.size = (size_t)size; \
4451 cb_data.args.hipMallocManaged.flags = (unsigned int)flags; \
4454#define INIT_hipMallocMipmappedArray_CB_ARGS_DATA(cb_data) { \
4455 cb_data.args.hipMallocMipmappedArray.mipmappedArray = (hipMipmappedArray_t*)mipmappedArray; \
4456 cb_data.args.hipMallocMipmappedArray.desc = (const hipChannelFormatDesc*)desc; \
4457 cb_data.args.hipMallocMipmappedArray.extent = (hipExtent)extent; \
4458 cb_data.args.hipMallocMipmappedArray.numLevels = (unsigned int)numLevels; \
4459 cb_data.args.hipMallocMipmappedArray.flags = (unsigned int)flags; \
4462#define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
4463 cb_data.args.hipMallocPitch.ptr = (void**)ptr; \
4464 cb_data.args.hipMallocPitch.pitch = (size_t*)pitch; \
4465 cb_data.args.hipMallocPitch.width = (size_t)width; \
4466 cb_data.args.hipMallocPitch.height = (size_t)height; \
4469#define INIT_hipMemAddressFree_CB_ARGS_DATA(cb_data) { \
4470 cb_data.args.hipMemAddressFree.devPtr = (void*)devPtr; \
4471 cb_data.args.hipMemAddressFree.size = (size_t)size; \
4474#define INIT_hipMemAddressReserve_CB_ARGS_DATA(cb_data) { \
4475 cb_data.args.hipMemAddressReserve.ptr = (void**)ptr; \
4476 cb_data.args.hipMemAddressReserve.size = (size_t)size; \
4477 cb_data.args.hipMemAddressReserve.alignment = (size_t)alignment; \
4478 cb_data.args.hipMemAddressReserve.addr = (void*)addr; \
4479 cb_data.args.hipMemAddressReserve.flags = (unsigned long long)flags; \
4482#define INIT_hipMemAdvise_CB_ARGS_DATA(cb_data) { \
4483 cb_data.args.hipMemAdvise.dev_ptr = (const void*)dev_ptr; \
4484 cb_data.args.hipMemAdvise.count = (size_t)count; \
4485 cb_data.args.hipMemAdvise.advice = (hipMemoryAdvise)advice; \
4486 cb_data.args.hipMemAdvise.device = (int)device; \
4489#define INIT_hipMemAllocHost_CB_ARGS_DATA(cb_data) { \
4490 cb_data.args.hipMemAllocHost.ptr = (void**)ptr; \
4491 cb_data.args.hipMemAllocHost.size = (size_t)size; \
4494#define INIT_hipMemAllocPitch_CB_ARGS_DATA(cb_data) { \
4495 cb_data.args.hipMemAllocPitch.dptr = (hipDeviceptr_t*)dptr; \
4496 cb_data.args.hipMemAllocPitch.pitch = (size_t*)pitch; \
4497 cb_data.args.hipMemAllocPitch.widthInBytes = (size_t)widthInBytes; \
4498 cb_data.args.hipMemAllocPitch.height = (size_t)height; \
4499 cb_data.args.hipMemAllocPitch.elementSizeBytes = (unsigned int)elementSizeBytes; \
4502#define INIT_hipMemCreate_CB_ARGS_DATA(cb_data) { \
4503 cb_data.args.hipMemCreate.handle = (hipMemGenericAllocationHandle_t*)handle; \
4504 cb_data.args.hipMemCreate.size = (size_t)size; \
4505 cb_data.args.hipMemCreate.prop = (const hipMemAllocationProp*)prop; \
4506 cb_data.args.hipMemCreate.flags = (unsigned long long)flags; \
4509#define INIT_hipMemExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4510 cb_data.args.hipMemExportToShareableHandle.shareableHandle = (void*)shareableHandle; \
4511 cb_data.args.hipMemExportToShareableHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4512 cb_data.args.hipMemExportToShareableHandle.handleType = (hipMemAllocationHandleType)handleType; \
4513 cb_data.args.hipMemExportToShareableHandle.flags = (unsigned long long)flags; \
4516#define INIT_hipMemGetAccess_CB_ARGS_DATA(cb_data) { \
4517 cb_data.args.hipMemGetAccess.flags = (unsigned long long*)flags; \
4518 cb_data.args.hipMemGetAccess.location = (const hipMemLocation*)location; \
4519 cb_data.args.hipMemGetAccess.ptr = (void*)ptr; \
4522#define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
4523 cb_data.args.hipMemGetAddressRange.pbase = (hipDeviceptr_t*)pbase; \
4524 cb_data.args.hipMemGetAddressRange.psize = (size_t*)psize; \
4525 cb_data.args.hipMemGetAddressRange.dptr = (hipDeviceptr_t)dptr; \
4528#define INIT_hipMemGetAllocationGranularity_CB_ARGS_DATA(cb_data) { \
4529 cb_data.args.hipMemGetAllocationGranularity.granularity = (size_t*)granularity; \
4530 cb_data.args.hipMemGetAllocationGranularity.prop = (const hipMemAllocationProp*)prop; \
4531 cb_data.args.hipMemGetAllocationGranularity.option = (hipMemAllocationGranularity_flags)option; \
4534#define INIT_hipMemGetAllocationPropertiesFromHandle_CB_ARGS_DATA(cb_data) { \
4535 cb_data.args.hipMemGetAllocationPropertiesFromHandle.prop = (hipMemAllocationProp*)prop; \
4536 cb_data.args.hipMemGetAllocationPropertiesFromHandle.handle = (hipMemGenericAllocationHandle_t)handle; \
4539#define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
4540 cb_data.args.hipMemGetInfo.free = (size_t*)free; \
4541 cb_data.args.hipMemGetInfo.total = (size_t*)total; \
4544#define INIT_hipMemImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4545 cb_data.args.hipMemImportFromShareableHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4546 cb_data.args.hipMemImportFromShareableHandle.osHandle = (void*)osHandle; \
4547 cb_data.args.hipMemImportFromShareableHandle.shHandleType = (hipMemAllocationHandleType)shHandleType; \
4550#define INIT_hipMemMap_CB_ARGS_DATA(cb_data) { \
4551 cb_data.args.hipMemMap.ptr = (void*)ptr; \
4552 cb_data.args.hipMemMap.size = (size_t)size; \
4553 cb_data.args.hipMemMap.offset = (size_t)offset; \
4554 cb_data.args.hipMemMap.handle = (hipMemGenericAllocationHandle_t)handle; \
4555 cb_data.args.hipMemMap.flags = (unsigned long long)flags; \
4558#define INIT_hipMemMapArrayAsync_CB_ARGS_DATA(cb_data) { \
4559 cb_data.args.hipMemMapArrayAsync.mapInfoList = (hipArrayMapInfo*)mapInfoList; \
4560 cb_data.args.hipMemMapArrayAsync.count = (unsigned int)count; \
4561 cb_data.args.hipMemMapArrayAsync.stream = (hipStream_t)stream; \
4564#define INIT_hipMemPoolCreate_CB_ARGS_DATA(cb_data) { \
4565 cb_data.args.hipMemPoolCreate.mem_pool = (hipMemPool_t*)mem_pool; \
4566 cb_data.args.hipMemPoolCreate.pool_props = (const hipMemPoolProps*)pool_props; \
4569#define INIT_hipMemPoolDestroy_CB_ARGS_DATA(cb_data) { \
4570 cb_data.args.hipMemPoolDestroy.mem_pool = (hipMemPool_t)mem_pool; \
4573#define INIT_hipMemPoolExportPointer_CB_ARGS_DATA(cb_data) { \
4574 cb_data.args.hipMemPoolExportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4575 cb_data.args.hipMemPoolExportPointer.dev_ptr = (void*)ptr; \
4578#define INIT_hipMemPoolExportToShareableHandle_CB_ARGS_DATA(cb_data) { \
4579 cb_data.args.hipMemPoolExportToShareableHandle.shared_handle = (void*)shared_handle; \
4580 cb_data.args.hipMemPoolExportToShareableHandle.mem_pool = (hipMemPool_t)mem_pool; \
4581 cb_data.args.hipMemPoolExportToShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4582 cb_data.args.hipMemPoolExportToShareableHandle.flags = (unsigned int)flags; \
4585#define INIT_hipMemPoolGetAccess_CB_ARGS_DATA(cb_data) { \
4586 cb_data.args.hipMemPoolGetAccess.flags = (hipMemAccessFlags*)flags; \
4587 cb_data.args.hipMemPoolGetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4588 cb_data.args.hipMemPoolGetAccess.location = (hipMemLocation*)location; \
4591#define INIT_hipMemPoolGetAttribute_CB_ARGS_DATA(cb_data) { \
4592 cb_data.args.hipMemPoolGetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4593 cb_data.args.hipMemPoolGetAttribute.attr = (hipMemPoolAttr)attr; \
4594 cb_data.args.hipMemPoolGetAttribute.value = (void*)value; \
4597#define INIT_hipMemPoolImportFromShareableHandle_CB_ARGS_DATA(cb_data) { \
4598 cb_data.args.hipMemPoolImportFromShareableHandle.mem_pool = (hipMemPool_t*)mem_pool; \
4599 cb_data.args.hipMemPoolImportFromShareableHandle.shared_handle = (void*)shared_handle; \
4600 cb_data.args.hipMemPoolImportFromShareableHandle.handle_type = (hipMemAllocationHandleType)handle_type; \
4601 cb_data.args.hipMemPoolImportFromShareableHandle.flags = (unsigned int)flags; \
4604#define INIT_hipMemPoolImportPointer_CB_ARGS_DATA(cb_data) { \
4605 cb_data.args.hipMemPoolImportPointer.dev_ptr = (void**)ptr; \
4606 cb_data.args.hipMemPoolImportPointer.mem_pool = (hipMemPool_t)mem_pool; \
4607 cb_data.args.hipMemPoolImportPointer.export_data = (hipMemPoolPtrExportData*)export_data; \
4610#define INIT_hipMemPoolSetAccess_CB_ARGS_DATA(cb_data) { \
4611 cb_data.args.hipMemPoolSetAccess.mem_pool = (hipMemPool_t)mem_pool; \
4612 cb_data.args.hipMemPoolSetAccess.desc_list = (const hipMemAccessDesc*)desc_list; \
4613 cb_data.args.hipMemPoolSetAccess.count = (size_t)count; \
4616#define INIT_hipMemPoolSetAttribute_CB_ARGS_DATA(cb_data) { \
4617 cb_data.args.hipMemPoolSetAttribute.mem_pool = (hipMemPool_t)mem_pool; \
4618 cb_data.args.hipMemPoolSetAttribute.attr = (hipMemPoolAttr)attr; \
4619 cb_data.args.hipMemPoolSetAttribute.value = (void*)value; \
4622#define INIT_hipMemPoolTrimTo_CB_ARGS_DATA(cb_data) { \
4623 cb_data.args.hipMemPoolTrimTo.mem_pool = (hipMemPool_t)mem_pool; \
4624 cb_data.args.hipMemPoolTrimTo.min_bytes_to_hold = (size_t)min_bytes_to_hold; \
4627#define INIT_hipMemPrefetchAsync_CB_ARGS_DATA(cb_data) { \
4628 cb_data.args.hipMemPrefetchAsync.dev_ptr = (const void*)dev_ptr; \
4629 cb_data.args.hipMemPrefetchAsync.count = (size_t)count; \
4630 cb_data.args.hipMemPrefetchAsync.device = (int)device; \
4631 cb_data.args.hipMemPrefetchAsync.stream = (hipStream_t)stream; \
4634#define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
4635 cb_data.args.hipMemPtrGetInfo.ptr = (void*)ptr; \
4636 cb_data.args.hipMemPtrGetInfo.size = (size_t*)size; \
4639#define INIT_hipMemRangeGetAttribute_CB_ARGS_DATA(cb_data) { \
4640 cb_data.args.hipMemRangeGetAttribute.data = (void*)data; \
4641 cb_data.args.hipMemRangeGetAttribute.data_size = (size_t)data_size; \
4642 cb_data.args.hipMemRangeGetAttribute.attribute = (hipMemRangeAttribute)attribute; \
4643 cb_data.args.hipMemRangeGetAttribute.dev_ptr = (const void*)dev_ptr; \
4644 cb_data.args.hipMemRangeGetAttribute.count = (size_t)count; \
4647#define INIT_hipMemRangeGetAttributes_CB_ARGS_DATA(cb_data) { \
4648 cb_data.args.hipMemRangeGetAttributes.data = (void**)data; \
4649 cb_data.args.hipMemRangeGetAttributes.data_sizes = (size_t*)data_sizes; \
4650 cb_data.args.hipMemRangeGetAttributes.attributes = (hipMemRangeAttribute*)attributes; \
4651 cb_data.args.hipMemRangeGetAttributes.num_attributes = (size_t)num_attributes; \
4652 cb_data.args.hipMemRangeGetAttributes.dev_ptr = (const void*)dev_ptr; \
4653 cb_data.args.hipMemRangeGetAttributes.count = (size_t)count; \
4656#define INIT_hipMemRelease_CB_ARGS_DATA(cb_data) { \
4657 cb_data.args.hipMemRelease.handle = (hipMemGenericAllocationHandle_t)handle; \
4660#define INIT_hipMemRetainAllocationHandle_CB_ARGS_DATA(cb_data) { \
4661 cb_data.args.hipMemRetainAllocationHandle.handle = (hipMemGenericAllocationHandle_t*)handle; \
4662 cb_data.args.hipMemRetainAllocationHandle.addr = (void*)addr; \
4665#define INIT_hipMemSetAccess_CB_ARGS_DATA(cb_data) { \
4666 cb_data.args.hipMemSetAccess.ptr = (void*)ptr; \
4667 cb_data.args.hipMemSetAccess.size = (size_t)size; \
4668 cb_data.args.hipMemSetAccess.desc = (const hipMemAccessDesc*)desc; \
4669 cb_data.args.hipMemSetAccess.count = (size_t)count; \
4672#define INIT_hipMemUnmap_CB_ARGS_DATA(cb_data) { \
4673 cb_data.args.hipMemUnmap.ptr = (void*)ptr; \
4674 cb_data.args.hipMemUnmap.size = (size_t)size; \
4677#define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
4678 cb_data.args.hipMemcpy.dst = (void*)dst; \
4679 cb_data.args.hipMemcpy.src = (const void*)src; \
4680 cb_data.args.hipMemcpy.sizeBytes = (size_t)sizeBytes; \
4681 cb_data.args.hipMemcpy.kind = (hipMemcpyKind)kind; \
4684#define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
4685 cb_data.args.hipMemcpy2D.dst = (void*)dst; \
4686 cb_data.args.hipMemcpy2D.dpitch = (size_t)dpitch; \
4687 cb_data.args.hipMemcpy2D.src = (const void*)src; \
4688 cb_data.args.hipMemcpy2D.spitch = (size_t)spitch; \
4689 cb_data.args.hipMemcpy2D.width = (size_t)width; \
4690 cb_data.args.hipMemcpy2D.height = (size_t)height; \
4691 cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
4694#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
4695 cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
4696 cb_data.args.hipMemcpy2DAsync.dpitch = (size_t)dpitch; \
4697 cb_data.args.hipMemcpy2DAsync.src = (const void*)src; \
4698 cb_data.args.hipMemcpy2DAsync.spitch = (size_t)spitch; \
4699 cb_data.args.hipMemcpy2DAsync.width = (size_t)width; \
4700 cb_data.args.hipMemcpy2DAsync.height = (size_t)height; \
4701 cb_data.args.hipMemcpy2DAsync.kind = (hipMemcpyKind)kind; \
4702 cb_data.args.hipMemcpy2DAsync.stream = (hipStream_t)stream; \
4705#define INIT_hipMemcpy2DFromArray_CB_ARGS_DATA(cb_data) { \
4706 cb_data.args.hipMemcpy2DFromArray.dst = (void*)dst; \
4707 cb_data.args.hipMemcpy2DFromArray.dpitch = (size_t)dpitch; \
4708 cb_data.args.hipMemcpy2DFromArray.src = (hipArray_const_t)src; \
4709 cb_data.args.hipMemcpy2DFromArray.wOffset = (size_t)wOffsetSrc; \
4710 cb_data.args.hipMemcpy2DFromArray.hOffset = (size_t)hOffset; \
4711 cb_data.args.hipMemcpy2DFromArray.width = (size_t)width; \
4712 cb_data.args.hipMemcpy2DFromArray.height = (size_t)height; \
4713 cb_data.args.hipMemcpy2DFromArray.kind = (hipMemcpyKind)kind; \
4716#define INIT_hipMemcpy2DFromArrayAsync_CB_ARGS_DATA(cb_data) { \
4717 cb_data.args.hipMemcpy2DFromArrayAsync.dst = (void*)dst; \
4718 cb_data.args.hipMemcpy2DFromArrayAsync.dpitch = (size_t)dpitch; \
4719 cb_data.args.hipMemcpy2DFromArrayAsync.src = (hipArray_const_t)src; \
4720 cb_data.args.hipMemcpy2DFromArrayAsync.wOffset = (size_t)wOffsetSrc; \
4721 cb_data.args.hipMemcpy2DFromArrayAsync.hOffset = (size_t)hOffsetSrc; \
4722 cb_data.args.hipMemcpy2DFromArrayAsync.width = (size_t)width; \
4723 cb_data.args.hipMemcpy2DFromArrayAsync.height = (size_t)height; \
4724 cb_data.args.hipMemcpy2DFromArrayAsync.kind = (hipMemcpyKind)kind; \
4725 cb_data.args.hipMemcpy2DFromArrayAsync.stream = (hipStream_t)stream; \
4728#define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
4729 cb_data.args.hipMemcpy2DToArray.dst = (hipArray*)dst; \
4730 cb_data.args.hipMemcpy2DToArray.wOffset = (size_t)wOffset; \
4731 cb_data.args.hipMemcpy2DToArray.hOffset = (size_t)hOffset; \
4732 cb_data.args.hipMemcpy2DToArray.src = (const void*)src; \
4733 cb_data.args.hipMemcpy2DToArray.spitch = (size_t)spitch; \
4734 cb_data.args.hipMemcpy2DToArray.width = (size_t)width; \
4735 cb_data.args.hipMemcpy2DToArray.height = (size_t)height; \
4736 cb_data.args.hipMemcpy2DToArray.kind = (hipMemcpyKind)kind; \
4739#define INIT_hipMemcpy2DToArrayAsync_CB_ARGS_DATA(cb_data) { \
4740 cb_data.args.hipMemcpy2DToArrayAsync.dst = (hipArray*)dst; \
4741 cb_data.args.hipMemcpy2DToArrayAsync.wOffset = (size_t)wOffset; \
4742 cb_data.args.hipMemcpy2DToArrayAsync.hOffset = (size_t)hOffset; \
4743 cb_data.args.hipMemcpy2DToArrayAsync.src = (const void*)src; \
4744 cb_data.args.hipMemcpy2DToArrayAsync.spitch = (size_t)spitch; \
4745 cb_data.args.hipMemcpy2DToArrayAsync.width = (size_t)width; \
4746 cb_data.args.hipMemcpy2DToArrayAsync.height = (size_t)height; \
4747 cb_data.args.hipMemcpy2DToArrayAsync.kind = (hipMemcpyKind)kind; \
4748 cb_data.args.hipMemcpy2DToArrayAsync.stream = (hipStream_t)stream; \
4751#define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
4752 cb_data.args.hipMemcpy3D.p = (const hipMemcpy3DParms*)p; \
4755#define INIT_hipMemcpy3DAsync_CB_ARGS_DATA(cb_data) { \
4756 cb_data.args.hipMemcpy3DAsync.p = (const hipMemcpy3DParms*)p; \
4757 cb_data.args.hipMemcpy3DAsync.stream = (hipStream_t)stream; \
4760#define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
4761 cb_data.args.hipMemcpyAsync.dst = (void*)dst; \
4762 cb_data.args.hipMemcpyAsync.src = (const void*)src; \
4763 cb_data.args.hipMemcpyAsync.sizeBytes = (size_t)sizeBytes; \
4764 cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
4765 cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
4768#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
4769 cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
4770 cb_data.args.hipMemcpyAtoH.srcArray = (hipArray*)srcArray; \
4771 cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
4772 cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
4775#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
4776 cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
4777 cb_data.args.hipMemcpyDtoD.src = (hipDeviceptr_t)srcDevice; \
4778 cb_data.args.hipMemcpyDtoD.sizeBytes = (size_t)ByteCount; \
4781#define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
4782 cb_data.args.hipMemcpyDtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4783 cb_data.args.hipMemcpyDtoDAsync.src = (hipDeviceptr_t)srcDevice; \
4784 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = (size_t)ByteCount; \
4785 cb_data.args.hipMemcpyDtoDAsync.stream = (hipStream_t)stream; \
4788#define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
4789 cb_data.args.hipMemcpyDtoH.dst = (void*)dstHost; \
4790 cb_data.args.hipMemcpyDtoH.src = (hipDeviceptr_t)srcDevice; \
4791 cb_data.args.hipMemcpyDtoH.sizeBytes = (size_t)ByteCount; \
4794#define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
4795 cb_data.args.hipMemcpyDtoHAsync.dst = (void*)dstHost; \
4796 cb_data.args.hipMemcpyDtoHAsync.src = (hipDeviceptr_t)srcDevice; \
4797 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = (size_t)ByteCount; \
4798 cb_data.args.hipMemcpyDtoHAsync.stream = (hipStream_t)stream; \
4801#define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
4802 cb_data.args.hipMemcpyFromArray.dst = (void*)dst; \
4803 cb_data.args.hipMemcpyFromArray.srcArray = (hipArray_const_t)src; \
4804 cb_data.args.hipMemcpyFromArray.wOffset = (size_t)wOffsetSrc; \
4805 cb_data.args.hipMemcpyFromArray.hOffset = (size_t)hOffset; \
4806 cb_data.args.hipMemcpyFromArray.count = (size_t)count; \
4807 cb_data.args.hipMemcpyFromArray.kind = (hipMemcpyKind)kind; \
4810#define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
4811 cb_data.args.hipMemcpyFromSymbol.dst = (void*)dst; \
4812 cb_data.args.hipMemcpyFromSymbol.symbol = (const void*)symbol; \
4813 cb_data.args.hipMemcpyFromSymbol.sizeBytes = (size_t)sizeBytes; \
4814 cb_data.args.hipMemcpyFromSymbol.offset = (size_t)offset; \
4815 cb_data.args.hipMemcpyFromSymbol.kind = (hipMemcpyKind)kind; \
4818#define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
4819 cb_data.args.hipMemcpyFromSymbolAsync.dst = (void*)dst; \
4820 cb_data.args.hipMemcpyFromSymbolAsync.symbol = (const void*)symbol; \
4821 cb_data.args.hipMemcpyFromSymbolAsync.sizeBytes = (size_t)sizeBytes; \
4822 cb_data.args.hipMemcpyFromSymbolAsync.offset = (size_t)offset; \
4823 cb_data.args.hipMemcpyFromSymbolAsync.kind = (hipMemcpyKind)kind; \
4824 cb_data.args.hipMemcpyFromSymbolAsync.stream = (hipStream_t)stream; \
4827#define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
4828 cb_data.args.hipMemcpyHtoA.dstArray = (hipArray*)dstArray; \
4829 cb_data.args.hipMemcpyHtoA.dstOffset = (size_t)dstOffset; \
4830 cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
4831 cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
4834#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
4835 cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
4836 cb_data.args.hipMemcpyHtoD.src = (void*)srcHost; \
4837 cb_data.args.hipMemcpyHtoD.sizeBytes = (size_t)ByteCount; \
4840#define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
4841 cb_data.args.hipMemcpyHtoDAsync.dst = (hipDeviceptr_t)dstDevice; \
4842 cb_data.args.hipMemcpyHtoDAsync.src = (void*)srcHost; \
4843 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = (size_t)ByteCount; \
4844 cb_data.args.hipMemcpyHtoDAsync.stream = (hipStream_t)stream; \
4847#define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
4848 cb_data.args.hipMemcpyParam2D.pCopy = (const hip_Memcpy2D*)pCopy; \
4851#define INIT_hipMemcpyParam2DAsync_CB_ARGS_DATA(cb_data) { \
4852 cb_data.args.hipMemcpyParam2DAsync.pCopy = (const hip_Memcpy2D*)pCopy; \
4853 cb_data.args.hipMemcpyParam2DAsync.stream = (hipStream_t)stream; \
4856#define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
4857 cb_data.args.hipMemcpyPeer.dst = (void*)dst; \
4858 cb_data.args.hipMemcpyPeer.dstDeviceId = (int)dstDevice; \
4859 cb_data.args.hipMemcpyPeer.src = (const void*)src; \
4860 cb_data.args.hipMemcpyPeer.srcDeviceId = (int)srcDevice; \
4861 cb_data.args.hipMemcpyPeer.sizeBytes = (size_t)sizeBytes; \
4864#define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
4865 cb_data.args.hipMemcpyPeerAsync.dst = (void*)dst; \
4866 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = (int)dstDevice; \
4867 cb_data.args.hipMemcpyPeerAsync.src = (const void*)src; \
4868 cb_data.args.hipMemcpyPeerAsync.srcDevice = (int)srcDevice; \
4869 cb_data.args.hipMemcpyPeerAsync.sizeBytes = (size_t)sizeBytes; \
4870 cb_data.args.hipMemcpyPeerAsync.stream = (hipStream_t)stream; \
4873#define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
4874 cb_data.args.hipMemcpyToArray.dst = (hipArray*)dst; \
4875 cb_data.args.hipMemcpyToArray.wOffset = (size_t)wOffset; \
4876 cb_data.args.hipMemcpyToArray.hOffset = (size_t)hOffset; \
4877 cb_data.args.hipMemcpyToArray.src = (const void*)src; \
4878 cb_data.args.hipMemcpyToArray.count = (size_t)count; \
4879 cb_data.args.hipMemcpyToArray.kind = (hipMemcpyKind)kind; \
4882#define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
4883 cb_data.args.hipMemcpyToSymbol.symbol = (const void*)symbol; \
4884 cb_data.args.hipMemcpyToSymbol.src = (const void*)src; \
4885 cb_data.args.hipMemcpyToSymbol.sizeBytes = (size_t)sizeBytes; \
4886 cb_data.args.hipMemcpyToSymbol.offset = (size_t)offset; \
4887 cb_data.args.hipMemcpyToSymbol.kind = (hipMemcpyKind)kind; \
4890#define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
4891 cb_data.args.hipMemcpyToSymbolAsync.symbol = (const void*)symbol; \
4892 cb_data.args.hipMemcpyToSymbolAsync.src = (const void*)src; \
4893 cb_data.args.hipMemcpyToSymbolAsync.sizeBytes = (size_t)sizeBytes; \
4894 cb_data.args.hipMemcpyToSymbolAsync.offset = (size_t)offset; \
4895 cb_data.args.hipMemcpyToSymbolAsync.kind = (hipMemcpyKind)kind; \
4896 cb_data.args.hipMemcpyToSymbolAsync.stream = (hipStream_t)stream; \
4899#define INIT_hipMemcpyWithStream_CB_ARGS_DATA(cb_data) { \
4900 cb_data.args.hipMemcpyWithStream.dst = (void*)dst; \
4901 cb_data.args.hipMemcpyWithStream.src = (const void*)src; \
4902 cb_data.args.hipMemcpyWithStream.sizeBytes = (size_t)sizeBytes; \
4903 cb_data.args.hipMemcpyWithStream.kind = (hipMemcpyKind)kind; \
4904 cb_data.args.hipMemcpyWithStream.stream = (hipStream_t)stream; \
4907#define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
4908 cb_data.args.hipMemset.dst = (void*)dst; \
4909 cb_data.args.hipMemset.value = (int)value; \
4910 cb_data.args.hipMemset.sizeBytes = (size_t)sizeBytes; \
4913#define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
4914 cb_data.args.hipMemset2D.dst = (void*)dst; \
4915 cb_data.args.hipMemset2D.pitch = (size_t)pitch; \
4916 cb_data.args.hipMemset2D.value = (int)value; \
4917 cb_data.args.hipMemset2D.width = (size_t)width; \
4918 cb_data.args.hipMemset2D.height = (size_t)height; \
4921#define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
4922 cb_data.args.hipMemset2DAsync.dst = (void*)dst; \
4923 cb_data.args.hipMemset2DAsync.pitch = (size_t)pitch; \
4924 cb_data.args.hipMemset2DAsync.value = (int)value; \
4925 cb_data.args.hipMemset2DAsync.width = (size_t)width; \
4926 cb_data.args.hipMemset2DAsync.height = (size_t)height; \
4927 cb_data.args.hipMemset2DAsync.stream = (hipStream_t)stream; \
4930#define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
4931 cb_data.args.hipMemset3D.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
4932 cb_data.args.hipMemset3D.value = (int)value; \
4933 cb_data.args.hipMemset3D.extent = (hipExtent)extent; \
4936#define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
4937 cb_data.args.hipMemset3DAsync.pitchedDevPtr = (hipPitchedPtr)pitchedDevPtr; \
4938 cb_data.args.hipMemset3DAsync.value = (int)value; \
4939 cb_data.args.hipMemset3DAsync.extent = (hipExtent)extent; \
4940 cb_data.args.hipMemset3DAsync.stream = (hipStream_t)stream; \
4943#define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
4944 cb_data.args.hipMemsetAsync.dst = (void*)dst; \
4945 cb_data.args.hipMemsetAsync.value = (int)value; \
4946 cb_data.args.hipMemsetAsync.sizeBytes = (size_t)sizeBytes; \
4947 cb_data.args.hipMemsetAsync.stream = (hipStream_t)stream; \
4950#define INIT_hipMemsetD16_CB_ARGS_DATA(cb_data) { \
4951 cb_data.args.hipMemsetD16.dest = (hipDeviceptr_t)dst; \
4952 cb_data.args.hipMemsetD16.value = (unsigned short)value; \
4953 cb_data.args.hipMemsetD16.count = (size_t)count; \
4956#define INIT_hipMemsetD16Async_CB_ARGS_DATA(cb_data) { \
4957 cb_data.args.hipMemsetD16Async.dest = (hipDeviceptr_t)dst; \
4958 cb_data.args.hipMemsetD16Async.value = (unsigned short)value; \
4959 cb_data.args.hipMemsetD16Async.count = (size_t)count; \
4960 cb_data.args.hipMemsetD16Async.stream = (hipStream_t)stream; \
4963#define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
4964 cb_data.args.hipMemsetD32.dest = (hipDeviceptr_t)dst; \
4965 cb_data.args.hipMemsetD32.value = (int)value; \
4966 cb_data.args.hipMemsetD32.count = (size_t)count; \
4969#define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
4970 cb_data.args.hipMemsetD32Async.dst = (hipDeviceptr_t)dst; \
4971 cb_data.args.hipMemsetD32Async.value = (int)value; \
4972 cb_data.args.hipMemsetD32Async.count = (size_t)count; \
4973 cb_data.args.hipMemsetD32Async.stream = (hipStream_t)stream; \
4976#define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
4977 cb_data.args.hipMemsetD8.dest = (hipDeviceptr_t)dst; \
4978 cb_data.args.hipMemsetD8.value = (unsigned char)value; \
4979 cb_data.args.hipMemsetD8.count = (size_t)count; \
4982#define INIT_hipMemsetD8Async_CB_ARGS_DATA(cb_data) { \
4983 cb_data.args.hipMemsetD8Async.dest = (hipDeviceptr_t)dst; \
4984 cb_data.args.hipMemsetD8Async.value = (unsigned char)value; \
4985 cb_data.args.hipMemsetD8Async.count = (size_t)count; \
4986 cb_data.args.hipMemsetD8Async.stream = (hipStream_t)stream; \
4989#define INIT_hipMipmappedArrayCreate_CB_ARGS_DATA(cb_data) { \
4990 cb_data.args.hipMipmappedArrayCreate.pHandle = (hipMipmappedArray_t*)mipmapped_array_pptr; \
4991 cb_data.args.hipMipmappedArrayCreate.pMipmappedArrayDesc = (HIP_ARRAY3D_DESCRIPTOR*)mipmapped_array_desc_ptr; \
4992 cb_data.args.hipMipmappedArrayCreate.numMipmapLevels = (unsigned int)num_mipmap_levels; \
4995#define INIT_hipMipmappedArrayDestroy_CB_ARGS_DATA(cb_data) { \
4996 cb_data.args.hipMipmappedArrayDestroy.hMipmappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
4999#define INIT_hipMipmappedArrayGetLevel_CB_ARGS_DATA(cb_data) { \
5000 cb_data.args.hipMipmappedArrayGetLevel.pLevelArray = (hipArray_t*)level_array_pptr; \
5001 cb_data.args.hipMipmappedArrayGetLevel.hMipMappedArray = (hipMipmappedArray_t)mipmapped_array_ptr; \
5002 cb_data.args.hipMipmappedArrayGetLevel.level = (unsigned int)mip_level; \
5005#define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
5006 cb_data.args.hipModuleGetFunction.function = (hipFunction_t*)hfunc; \
5007 cb_data.args.hipModuleGetFunction.module = (hipModule_t)hmod; \
5008 cb_data.args.hipModuleGetFunction.kname = (name) ? strdup(name) : NULL; \
5011#define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
5012 cb_data.args.hipModuleGetGlobal.dptr = (hipDeviceptr_t*)dptr; \
5013 cb_data.args.hipModuleGetGlobal.bytes = (size_t*)bytes; \
5014 cb_data.args.hipModuleGetGlobal.hmod = (hipModule_t)hmod; \
5015 cb_data.args.hipModuleGetGlobal.name = (name) ? strdup(name) : NULL; \
5018#define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
5019 cb_data.args.hipModuleGetTexRef.texRef = (textureReference**)texRef; \
5020 cb_data.args.hipModuleGetTexRef.hmod = (hipModule_t)hmod; \
5021 cb_data.args.hipModuleGetTexRef.name = (name) ? strdup(name) : NULL; \
5024#define INIT_hipModuleLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
5025 cb_data.args.hipModuleLaunchCooperativeKernel.f = (hipFunction_t)f; \
5026 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimX = (unsigned int)gridDimX; \
5027 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimY = (unsigned int)gridDimY; \
5028 cb_data.args.hipModuleLaunchCooperativeKernel.gridDimZ = (unsigned int)gridDimZ; \
5029 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimX = (unsigned int)blockDimX; \
5030 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimY = (unsigned int)blockDimY; \
5031 cb_data.args.hipModuleLaunchCooperativeKernel.blockDimZ = (unsigned int)blockDimZ; \
5032 cb_data.args.hipModuleLaunchCooperativeKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5033 cb_data.args.hipModuleLaunchCooperativeKernel.stream = (hipStream_t)stream; \
5034 cb_data.args.hipModuleLaunchCooperativeKernel.kernelParams = (void**)kernelParams; \
5037#define INIT_hipModuleLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
5038 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList = (hipFunctionLaunchParams*)launchParamsList; \
5039 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices = (unsigned int)numDevices; \
5040 cb_data.args.hipModuleLaunchCooperativeKernelMultiDevice.flags = (unsigned int)flags; \
5043#define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
5044 cb_data.args.hipModuleLaunchKernel.f = (hipFunction_t)f; \
5045 cb_data.args.hipModuleLaunchKernel.gridDimX = (unsigned int)gridDimX; \
5046 cb_data.args.hipModuleLaunchKernel.gridDimY = (unsigned int)gridDimY; \
5047 cb_data.args.hipModuleLaunchKernel.gridDimZ = (unsigned int)gridDimZ; \
5048 cb_data.args.hipModuleLaunchKernel.blockDimX = (unsigned int)blockDimX; \
5049 cb_data.args.hipModuleLaunchKernel.blockDimY = (unsigned int)blockDimY; \
5050 cb_data.args.hipModuleLaunchKernel.blockDimZ = (unsigned int)blockDimZ; \
5051 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = (unsigned int)sharedMemBytes; \
5052 cb_data.args.hipModuleLaunchKernel.stream = (hipStream_t)hStream; \
5053 cb_data.args.hipModuleLaunchKernel.kernelParams = (void**)kernelParams; \
5054 cb_data.args.hipModuleLaunchKernel.extra = (void**)extra; \
5057#define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
5058 cb_data.args.hipModuleLoad.module = (hipModule_t*)module; \
5059 cb_data.args.hipModuleLoad.fname = (fname) ? strdup(fname) : NULL; \
5062#define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
5063 cb_data.args.hipModuleLoadData.module = (hipModule_t*)module; \
5064 cb_data.args.hipModuleLoadData.image = (const void*)image; \
5067#define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
5068 cb_data.args.hipModuleLoadDataEx.module = (hipModule_t*)module; \
5069 cb_data.args.hipModuleLoadDataEx.image = (const void*)image; \
5070 cb_data.args.hipModuleLoadDataEx.numOptions = (unsigned int)numOptions; \
5071 cb_data.args.hipModuleLoadDataEx.options = (hipJitOption*)options; \
5072 cb_data.args.hipModuleLoadDataEx.optionsValues = (void**)optionsValues; \
5075#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5076 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5077 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f = (hipFunction_t)f; \
5078 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5079 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5082#define INIT_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5083 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5084 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (hipFunction_t)f; \
5085 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5086 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5087 cb_data.args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5090#define INIT_hipModuleOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5091 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5092 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5093 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.f = (hipFunction_t)f; \
5094 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5095 cb_data.args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5098#define INIT_hipModuleOccupancyMaxPotentialBlockSizeWithFlags_CB_ARGS_DATA(cb_data) { \
5099 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize = (int*)gridSize; \
5100 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize = (int*)blockSize; \
5101 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f = (hipFunction_t)f; \
5102 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5103 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit = (int)blockSizeLimit; \
5104 cb_data.args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags = (unsigned int)flags; \
5107#define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
5108 cb_data.args.hipModuleUnload.module = (hipModule_t)hmod; \
5111#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
5112 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks = (int*)numBlocks; \
5113 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f = (const void*)f; \
5114 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize = (int)blockSize; \
5115 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize = (size_t)dynamicSMemSize; \
5118#define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
5119 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks = (int*)numBlocks; \
5120 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f = (const void*)f; \
5121 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize = (int)blockSize; \
5122 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize = (size_t)dynamicSMemSize; \
5123 cb_data.args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags = (unsigned int)flags; \
5126#define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
5127 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = (int*)gridSize; \
5128 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = (int*)blockSize; \
5129 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = (const void*)f; \
5130 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = (size_t)dynSharedMemPerBlk; \
5131 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = (int)blockSizeLimit; \
5134#define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
5137#define INIT_hipPointerGetAttribute_CB_ARGS_DATA(cb_data) { \
5138 cb_data.args.hipPointerGetAttribute.data = (void*)data; \
5139 cb_data.args.hipPointerGetAttribute.attribute = (hipPointer_attribute)attribute; \
5140 cb_data.args.hipPointerGetAttribute.ptr = (hipDeviceptr_t)ptr; \
5143#define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
5144 cb_data.args.hipPointerGetAttributes.attributes = (hipPointerAttribute_t*)attributes; \
5145 cb_data.args.hipPointerGetAttributes.ptr = (const void*)ptr; \
5148#define INIT_hipPointerSetAttribute_CB_ARGS_DATA(cb_data) { \
5149 cb_data.args.hipPointerSetAttribute.value = (const void*)value; \
5150 cb_data.args.hipPointerSetAttribute.attribute = (hipPointer_attribute)attribute; \
5151 cb_data.args.hipPointerSetAttribute.ptr = (hipDeviceptr_t)ptr; \
5154#define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
5157#define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
5160#define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
5161 cb_data.args.hipRuntimeGetVersion.runtimeVersion = (int*)runtimeVersion; \
5164#define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
5165 cb_data.args.hipSetDevice.deviceId = (int)device; \
5168#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
5169 cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
5172#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
5173 cb_data.args.hipSetupArgument.arg = (const void*)arg; \
5174 cb_data.args.hipSetupArgument.size = (size_t)size; \
5175 cb_data.args.hipSetupArgument.offset = (size_t)offset; \
5178#define INIT_hipSignalExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5179 cb_data.args.hipSignalExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5180 cb_data.args.hipSignalExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreSignalParams*)paramsArray; \
5181 cb_data.args.hipSignalExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5182 cb_data.args.hipSignalExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5185#define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
5186 cb_data.args.hipStreamAddCallback.stream = (hipStream_t)stream; \
5187 cb_data.args.hipStreamAddCallback.callback = (hipStreamCallback_t)callback; \
5188 cb_data.args.hipStreamAddCallback.userData = (void*)userData; \
5189 cb_data.args.hipStreamAddCallback.flags = (unsigned int)flags; \
5192#define INIT_hipStreamAttachMemAsync_CB_ARGS_DATA(cb_data) { \
5193 cb_data.args.hipStreamAttachMemAsync.stream = (hipStream_t)stream; \
5194 cb_data.args.hipStreamAttachMemAsync.dev_ptr = (void*)dev_ptr; \
5195 cb_data.args.hipStreamAttachMemAsync.length = (size_t)length; \
5196 cb_data.args.hipStreamAttachMemAsync.flags = (unsigned int)flags; \
5199#define INIT_hipStreamBeginCapture_CB_ARGS_DATA(cb_data) { \
5200 cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
5201 cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
5204#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
5205 cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
5208#define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
5209 cb_data.args.hipStreamCreateWithFlags.stream = (hipStream_t*)stream; \
5210 cb_data.args.hipStreamCreateWithFlags.flags = (unsigned int)flags; \
5213#define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
5214 cb_data.args.hipStreamCreateWithPriority.stream = (hipStream_t*)stream; \
5215 cb_data.args.hipStreamCreateWithPriority.flags = (unsigned int)flags; \
5216 cb_data.args.hipStreamCreateWithPriority.priority = (int)priority; \
5219#define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
5220 cb_data.args.hipStreamDestroy.stream = (hipStream_t)stream; \
5223#define INIT_hipStreamEndCapture_CB_ARGS_DATA(cb_data) { \
5224 cb_data.args.hipStreamEndCapture.stream = (hipStream_t)stream; \
5225 cb_data.args.hipStreamEndCapture.pGraph = (hipGraph_t*)pGraph; \
5228#define INIT_hipStreamGetCaptureInfo_CB_ARGS_DATA(cb_data) { \
5229 cb_data.args.hipStreamGetCaptureInfo.stream = (hipStream_t)stream; \
5230 cb_data.args.hipStreamGetCaptureInfo.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5231 cb_data.args.hipStreamGetCaptureInfo.pId = (unsigned long long*)pId; \
5234#define INIT_hipStreamGetCaptureInfo_v2_CB_ARGS_DATA(cb_data) { \
5235 cb_data.args.hipStreamGetCaptureInfo_v2.stream = (hipStream_t)stream; \
5236 cb_data.args.hipStreamGetCaptureInfo_v2.captureStatus_out = (hipStreamCaptureStatus*)captureStatus_out; \
5237 cb_data.args.hipStreamGetCaptureInfo_v2.id_out = (unsigned long long*)id_out; \
5238 cb_data.args.hipStreamGetCaptureInfo_v2.graph_out = (hipGraph_t*)graph_out; \
5239 cb_data.args.hipStreamGetCaptureInfo_v2.dependencies_out = (const hipGraphNode_t**)dependencies_out; \
5240 cb_data.args.hipStreamGetCaptureInfo_v2.numDependencies_out = (size_t*)numDependencies_out; \
5243#define INIT_hipStreamGetDevice_CB_ARGS_DATA(cb_data) { \
5244 cb_data.args.hipStreamGetDevice.stream = (hipStream_t)stream; \
5245 cb_data.args.hipStreamGetDevice.device = (hipDevice_t*)device; \
5248#define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
5249 cb_data.args.hipStreamGetFlags.stream = (hipStream_t)stream; \
5250 cb_data.args.hipStreamGetFlags.flags = (unsigned int*)flags; \
5253#define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
5254 cb_data.args.hipStreamGetPriority.stream = (hipStream_t)stream; \
5255 cb_data.args.hipStreamGetPriority.priority = (int*)priority; \
5258#define INIT_hipStreamIsCapturing_CB_ARGS_DATA(cb_data) { \
5259 cb_data.args.hipStreamIsCapturing.stream = (hipStream_t)stream; \
5260 cb_data.args.hipStreamIsCapturing.pCaptureStatus = (hipStreamCaptureStatus*)pCaptureStatus; \
5263#define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
5264 cb_data.args.hipStreamQuery.stream = (hipStream_t)stream; \
5267#define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
5268 cb_data.args.hipStreamSynchronize.stream = (hipStream_t)stream; \
5271#define INIT_hipStreamUpdateCaptureDependencies_CB_ARGS_DATA(cb_data) { \
5272 cb_data.args.hipStreamUpdateCaptureDependencies.stream = (hipStream_t)stream; \
5273 cb_data.args.hipStreamUpdateCaptureDependencies.dependencies = (hipGraphNode_t*)dependencies; \
5274 cb_data.args.hipStreamUpdateCaptureDependencies.numDependencies = (size_t)numDependencies; \
5275 cb_data.args.hipStreamUpdateCaptureDependencies.flags = (unsigned int)flags; \
5278#define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
5279 cb_data.args.hipStreamWaitEvent.stream = (hipStream_t)stream; \
5280 cb_data.args.hipStreamWaitEvent.event = (hipEvent_t)event; \
5281 cb_data.args.hipStreamWaitEvent.flags = (unsigned int)flags; \
5284#define INIT_hipStreamWaitValue32_CB_ARGS_DATA(cb_data) { \
5285 cb_data.args.hipStreamWaitValue32.stream = (hipStream_t)stream; \
5286 cb_data.args.hipStreamWaitValue32.ptr = (void*)ptr; \
5287 cb_data.args.hipStreamWaitValue32.value = (unsigned int)value; \
5288 cb_data.args.hipStreamWaitValue32.flags = (unsigned int)flags; \
5289 cb_data.args.hipStreamWaitValue32.mask = (unsigned int)mask; \
5292#define INIT_hipStreamWaitValue64_CB_ARGS_DATA(cb_data) { \
5293 cb_data.args.hipStreamWaitValue64.stream = (hipStream_t)stream; \
5294 cb_data.args.hipStreamWaitValue64.ptr = (void*)ptr; \
5295 cb_data.args.hipStreamWaitValue64.value = (uint64_t)value; \
5296 cb_data.args.hipStreamWaitValue64.flags = (unsigned int)flags; \
5297 cb_data.args.hipStreamWaitValue64.mask = (uint64_t)mask; \
5300#define INIT_hipStreamWriteValue32_CB_ARGS_DATA(cb_data) { \
5301 cb_data.args.hipStreamWriteValue32.stream = (hipStream_t)stream; \
5302 cb_data.args.hipStreamWriteValue32.ptr = (void*)ptr; \
5303 cb_data.args.hipStreamWriteValue32.value = (unsigned int)value; \
5304 cb_data.args.hipStreamWriteValue32.flags = (unsigned int)flags; \
5307#define INIT_hipStreamWriteValue64_CB_ARGS_DATA(cb_data) { \
5308 cb_data.args.hipStreamWriteValue64.stream = (hipStream_t)stream; \
5309 cb_data.args.hipStreamWriteValue64.ptr = (void*)ptr; \
5310 cb_data.args.hipStreamWriteValue64.value = (uint64_t)value; \
5311 cb_data.args.hipStreamWriteValue64.flags = (unsigned int)flags; \
5314#define INIT_hipTexRefGetAddress_CB_ARGS_DATA(cb_data) { \
5315 cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
5316 cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
5319#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
5320 cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
5321 cb_data.args.hipTexRefGetFlags.texRef = (const textureReference*)texRef; \
5324#define INIT_hipTexRefGetFormat_CB_ARGS_DATA(cb_data) { \
5325 cb_data.args.hipTexRefGetFormat.pFormat = (hipArray_Format*)pFormat; \
5326 cb_data.args.hipTexRefGetFormat.pNumChannels = (int*)pNumChannels; \
5327 cb_data.args.hipTexRefGetFormat.texRef = (const textureReference*)texRef; \
5330#define INIT_hipTexRefGetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5331 cb_data.args.hipTexRefGetMaxAnisotropy.pmaxAnsio = (int*)pmaxAnsio; \
5332 cb_data.args.hipTexRefGetMaxAnisotropy.texRef = (const textureReference*)texRef; \
5335#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
5338#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5339 cb_data.args.hipTexRefGetMipmapLevelBias.pbias = (float*)pbias; \
5340 cb_data.args.hipTexRefGetMipmapLevelBias.texRef = (const textureReference*)texRef; \
5343#define INIT_hipTexRefGetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5344 cb_data.args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp = (float*)pminMipmapLevelClamp; \
5345 cb_data.args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp = (float*)pmaxMipmapLevelClamp; \
5346 cb_data.args.hipTexRefGetMipmapLevelClamp.texRef = (const textureReference*)texRef; \
5349#define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) { \
5350 cb_data.args.hipTexRefSetAddress.ByteOffset = (size_t*)ByteOffset; \
5351 cb_data.args.hipTexRefSetAddress.texRef = (textureReference*)texRef; \
5352 cb_data.args.hipTexRefSetAddress.dptr = (hipDeviceptr_t)dptr; \
5353 cb_data.args.hipTexRefSetAddress.bytes = (size_t)bytes; \
5356#define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) { \
5357 cb_data.args.hipTexRefSetAddress2D.texRef = (textureReference*)texRef; \
5358 cb_data.args.hipTexRefSetAddress2D.desc = (const HIP_ARRAY_DESCRIPTOR*)desc; \
5359 cb_data.args.hipTexRefSetAddress2D.dptr = (hipDeviceptr_t)dptr; \
5360 cb_data.args.hipTexRefSetAddress2D.Pitch = (size_t)Pitch; \
5363#define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) { \
5364 cb_data.args.hipTexRefSetArray.tex = (textureReference*)texRef; \
5365 cb_data.args.hipTexRefSetArray.array = (hipArray_const_t)array; \
5366 cb_data.args.hipTexRefSetArray.flags = (unsigned int)flags; \
5369#define INIT_hipTexRefSetBorderColor_CB_ARGS_DATA(cb_data) { \
5370 cb_data.args.hipTexRefSetBorderColor.texRef = (textureReference*)texRef; \
5371 cb_data.args.hipTexRefSetBorderColor.pBorderColor = (float*)pBorderColor; \
5374#define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) { \
5375 cb_data.args.hipTexRefSetFlags.texRef = (textureReference*)texRef; \
5376 cb_data.args.hipTexRefSetFlags.Flags = (unsigned int)Flags; \
5379#define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) { \
5380 cb_data.args.hipTexRefSetFormat.texRef = (textureReference*)texRef; \
5381 cb_data.args.hipTexRefSetFormat.fmt = (hipArray_Format)fmt; \
5382 cb_data.args.hipTexRefSetFormat.NumPackedComponents = (int)NumPackedComponents; \
5385#define INIT_hipTexRefSetMaxAnisotropy_CB_ARGS_DATA(cb_data) { \
5386 cb_data.args.hipTexRefSetMaxAnisotropy.texRef = (textureReference*)texRef; \
5387 cb_data.args.hipTexRefSetMaxAnisotropy.maxAniso = (unsigned int)maxAniso; \
5390#define INIT_hipTexRefSetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
5391 cb_data.args.hipTexRefSetMipmapLevelBias.texRef = (textureReference*)texRef; \
5392 cb_data.args.hipTexRefSetMipmapLevelBias.bias = (float)bias; \
5395#define INIT_hipTexRefSetMipmapLevelClamp_CB_ARGS_DATA(cb_data) { \
5396 cb_data.args.hipTexRefSetMipmapLevelClamp.texRef = (textureReference*)texRef; \
5397 cb_data.args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp = (float)minMipMapLevelClamp; \
5398 cb_data.args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp = (float)maxMipMapLevelClamp; \
5401#define INIT_hipTexRefSetMipmappedArray_CB_ARGS_DATA(cb_data) { \
5402 cb_data.args.hipTexRefSetMipmappedArray.texRef = (textureReference*)texRef; \
5403 cb_data.args.hipTexRefSetMipmappedArray.mipmappedArray = (hipMipmappedArray*)mipmappedArray; \
5404 cb_data.args.hipTexRefSetMipmappedArray.Flags = (unsigned int)Flags; \
5407#define INIT_hipThreadExchangeStreamCaptureMode_CB_ARGS_DATA(cb_data) { \
5408 cb_data.args.hipThreadExchangeStreamCaptureMode.mode = (hipStreamCaptureMode*)mode; \
5411#define INIT_hipUserObjectCreate_CB_ARGS_DATA(cb_data) { \
5412 cb_data.args.hipUserObjectCreate.object_out = (hipUserObject_t*)object_out; \
5413 cb_data.args.hipUserObjectCreate.ptr = (void*)ptr; \
5414 cb_data.args.hipUserObjectCreate.destroy = (hipHostFn_t)destroy; \
5415 cb_data.args.hipUserObjectCreate.initialRefcount = (unsigned int)initialRefcount; \
5416 cb_data.args.hipUserObjectCreate.flags = (unsigned int)flags; \
5419#define INIT_hipUserObjectRelease_CB_ARGS_DATA(cb_data) { \
5420 cb_data.args.hipUserObjectRelease.object = (hipUserObject_t)object; \
5421 cb_data.args.hipUserObjectRelease.count = (unsigned int)count; \
5424#define INIT_hipUserObjectRetain_CB_ARGS_DATA(cb_data) { \
5425 cb_data.args.hipUserObjectRetain.object = (hipUserObject_t)object; \
5426 cb_data.args.hipUserObjectRetain.count = (unsigned int)count; \
5429#define INIT_hipWaitExternalSemaphoresAsync_CB_ARGS_DATA(cb_data) { \
5430 cb_data.args.hipWaitExternalSemaphoresAsync.extSemArray = (const hipExternalSemaphore_t*)extSemArray; \
5431 cb_data.args.hipWaitExternalSemaphoresAsync.paramsArray = (const hipExternalSemaphoreWaitParams*)paramsArray; \
5432 cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
5433 cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
5435#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
5439#define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
5441#define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
5443#define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
5445#define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
5447#define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
5449#define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
5451#define INIT_hipDeviceGetCount_CB_ARGS_DATA(cb_data) {};
5453#define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
5455#define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
5457#define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5459#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
5461#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
5463#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
5465#define INIT_hipMemcpyArrayToArray_CB_ARGS_DATA(cb_data) {};
5467#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
5469#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
5471#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
5473#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
5475#define INIT_hipMemcpyFromArrayAsync_CB_ARGS_DATA(cb_data) {};
5477#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
5479#define INIT_hipMemcpyToArrayAsync_CB_ARGS_DATA(cb_data) {};
5481#define INIT_hipModuleLaunchKernelExt_CB_ARGS_DATA(cb_data) {};
5483#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
5485#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
5487#define INIT_hipTexObjectDestroy_CB_ARGS_DATA(cb_data) {};
5489#define INIT_hipTexObjectGetResourceDesc_CB_ARGS_DATA(cb_data) {};
5491#define INIT_hipTexObjectGetResourceViewDesc_CB_ARGS_DATA(cb_data) {};
5493#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
5495#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
5497#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
5499#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
5501#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
5503#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5505#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
5507#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
5509#define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
5511#define INIT_hipTexRefSetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
5513#define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
5515#define INIT_NONE_CB_ARGS_DATA(cb_data) {};
5517#if HIP_PROF_HIP_API_STRING
5519static inline void hipApiArgsInit(hip_api_id_t
id,
hip_api_data_t* data) {
5522 case HIP_API_ID___hipPopCallConfiguration:
5523 if (data->args.__hipPopCallConfiguration.gridDim) data->args.__hipPopCallConfiguration.gridDim__val = *(data->args.__hipPopCallConfiguration.gridDim);
5524 if (data->args.__hipPopCallConfiguration.blockDim) data->args.__hipPopCallConfiguration.blockDim__val = *(data->args.__hipPopCallConfiguration.blockDim);
5525 if (data->args.__hipPopCallConfiguration.sharedMem) data->args.__hipPopCallConfiguration.sharedMem__val = *(data->args.__hipPopCallConfiguration.sharedMem);
5526 if (data->args.__hipPopCallConfiguration.stream) data->args.__hipPopCallConfiguration.stream__val = *(data->args.__hipPopCallConfiguration.stream);
5529 case HIP_API_ID___hipPushCallConfiguration:
5532 case HIP_API_ID_hipArray3DCreate:
5533 if (data->args.hipArray3DCreate.array) data->args.hipArray3DCreate.array__val = *(data->args.hipArray3DCreate.array);
5534 if (data->args.hipArray3DCreate.pAllocateArray) data->args.hipArray3DCreate.pAllocateArray__val = *(data->args.hipArray3DCreate.pAllocateArray);
5537 case HIP_API_ID_hipArray3DGetDescriptor:
5538 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor) data->args.hipArray3DGetDescriptor.pArrayDescriptor__val = *(data->args.hipArray3DGetDescriptor.pArrayDescriptor);
5539 if (data->args.hipArray3DGetDescriptor.array) data->args.hipArray3DGetDescriptor.array__val = *(data->args.hipArray3DGetDescriptor.array);
5542 case HIP_API_ID_hipArrayCreate:
5543 if (data->args.hipArrayCreate.pHandle) data->args.hipArrayCreate.pHandle__val = *(data->args.hipArrayCreate.pHandle);
5544 if (data->args.hipArrayCreate.pAllocateArray) data->args.hipArrayCreate.pAllocateArray__val = *(data->args.hipArrayCreate.pAllocateArray);
5547 case HIP_API_ID_hipArrayDestroy:
5548 if (data->args.hipArrayDestroy.array) data->args.hipArrayDestroy.array__val = *(data->args.hipArrayDestroy.array);
5551 case HIP_API_ID_hipArrayGetDescriptor:
5552 if (data->args.hipArrayGetDescriptor.pArrayDescriptor) data->args.hipArrayGetDescriptor.pArrayDescriptor__val = *(data->args.hipArrayGetDescriptor.pArrayDescriptor);
5553 if (data->args.hipArrayGetDescriptor.array) data->args.hipArrayGetDescriptor.array__val = *(data->args.hipArrayGetDescriptor.array);
5556 case HIP_API_ID_hipArrayGetInfo:
5557 if (data->args.hipArrayGetInfo.desc) data->args.hipArrayGetInfo.desc__val = *(data->args.hipArrayGetInfo.desc);
5558 if (data->args.hipArrayGetInfo.extent) data->args.hipArrayGetInfo.extent__val = *(data->args.hipArrayGetInfo.extent);
5559 if (data->args.hipArrayGetInfo.flags) data->args.hipArrayGetInfo.flags__val = *(data->args.hipArrayGetInfo.flags);
5560 if (data->args.hipArrayGetInfo.array) data->args.hipArrayGetInfo.array__val = *(data->args.hipArrayGetInfo.array);
5563 case HIP_API_ID_hipChooseDevice:
5564 if (data->args.hipChooseDevice.device) data->args.hipChooseDevice.device__val = *(data->args.hipChooseDevice.device);
5565 if (data->args.hipChooseDevice.prop) data->args.hipChooseDevice.prop__val = *(data->args.hipChooseDevice.prop);
5568 case HIP_API_ID_hipConfigureCall:
5571 case HIP_API_ID_hipCreateSurfaceObject:
5572 if (data->args.hipCreateSurfaceObject.pSurfObject) data->args.hipCreateSurfaceObject.pSurfObject__val = *(data->args.hipCreateSurfaceObject.pSurfObject);
5573 if (data->args.hipCreateSurfaceObject.pResDesc) data->args.hipCreateSurfaceObject.pResDesc__val = *(data->args.hipCreateSurfaceObject.pResDesc);
5576 case HIP_API_ID_hipCtxCreate:
5577 if (data->args.hipCtxCreate.ctx) data->args.hipCtxCreate.ctx__val = *(data->args.hipCtxCreate.ctx);
5580 case HIP_API_ID_hipCtxDestroy:
5583 case HIP_API_ID_hipCtxDisablePeerAccess:
5586 case HIP_API_ID_hipCtxEnablePeerAccess:
5589 case HIP_API_ID_hipCtxGetApiVersion:
5590 if (data->args.hipCtxGetApiVersion.apiVersion) data->args.hipCtxGetApiVersion.apiVersion__val = *(data->args.hipCtxGetApiVersion.apiVersion);
5593 case HIP_API_ID_hipCtxGetCacheConfig:
5594 if (data->args.hipCtxGetCacheConfig.cacheConfig) data->args.hipCtxGetCacheConfig.cacheConfig__val = *(data->args.hipCtxGetCacheConfig.cacheConfig);
5597 case HIP_API_ID_hipCtxGetCurrent:
5598 if (data->args.hipCtxGetCurrent.ctx) data->args.hipCtxGetCurrent.ctx__val = *(data->args.hipCtxGetCurrent.ctx);
5601 case HIP_API_ID_hipCtxGetDevice:
5602 if (data->args.hipCtxGetDevice.device) data->args.hipCtxGetDevice.device__val = *(data->args.hipCtxGetDevice.device);
5605 case HIP_API_ID_hipCtxGetFlags:
5606 if (data->args.hipCtxGetFlags.flags) data->args.hipCtxGetFlags.flags__val = *(data->args.hipCtxGetFlags.flags);
5609 case HIP_API_ID_hipCtxGetSharedMemConfig:
5610 if (data->args.hipCtxGetSharedMemConfig.pConfig) data->args.hipCtxGetSharedMemConfig.pConfig__val = *(data->args.hipCtxGetSharedMemConfig.pConfig);
5613 case HIP_API_ID_hipCtxPopCurrent:
5614 if (data->args.hipCtxPopCurrent.ctx) data->args.hipCtxPopCurrent.ctx__val = *(data->args.hipCtxPopCurrent.ctx);
5617 case HIP_API_ID_hipCtxPushCurrent:
5620 case HIP_API_ID_hipCtxSetCacheConfig:
5623 case HIP_API_ID_hipCtxSetCurrent:
5626 case HIP_API_ID_hipCtxSetSharedMemConfig:
5629 case HIP_API_ID_hipCtxSynchronize:
5632 case HIP_API_ID_hipDestroyExternalMemory:
5635 case HIP_API_ID_hipDestroyExternalSemaphore:
5638 case HIP_API_ID_hipDestroySurfaceObject:
5641 case HIP_API_ID_hipDeviceCanAccessPeer:
5642 if (data->args.hipDeviceCanAccessPeer.canAccessPeer) data->args.hipDeviceCanAccessPeer.canAccessPeer__val = *(data->args.hipDeviceCanAccessPeer.canAccessPeer);
5645 case HIP_API_ID_hipDeviceComputeCapability:
5646 if (data->args.hipDeviceComputeCapability.major) data->args.hipDeviceComputeCapability.major__val = *(data->args.hipDeviceComputeCapability.major);
5647 if (data->args.hipDeviceComputeCapability.minor) data->args.hipDeviceComputeCapability.minor__val = *(data->args.hipDeviceComputeCapability.minor);
5650 case HIP_API_ID_hipDeviceDisablePeerAccess:
5653 case HIP_API_ID_hipDeviceEnablePeerAccess:
5656 case HIP_API_ID_hipDeviceGet:
5657 if (data->args.hipDeviceGet.device) data->args.hipDeviceGet.device__val = *(data->args.hipDeviceGet.device);
5660 case HIP_API_ID_hipDeviceGetAttribute:
5661 if (data->args.hipDeviceGetAttribute.pi) data->args.hipDeviceGetAttribute.pi__val = *(data->args.hipDeviceGetAttribute.pi);
5664 case HIP_API_ID_hipDeviceGetByPCIBusId:
5665 if (data->args.hipDeviceGetByPCIBusId.device) data->args.hipDeviceGetByPCIBusId.device__val = *(data->args.hipDeviceGetByPCIBusId.device);
5666 if (data->args.hipDeviceGetByPCIBusId.pciBusId) data->args.hipDeviceGetByPCIBusId.pciBusId__val = *(data->args.hipDeviceGetByPCIBusId.pciBusId);
5669 case HIP_API_ID_hipDeviceGetCacheConfig:
5670 if (data->args.hipDeviceGetCacheConfig.cacheConfig) data->args.hipDeviceGetCacheConfig.cacheConfig__val = *(data->args.hipDeviceGetCacheConfig.cacheConfig);
5673 case HIP_API_ID_hipDeviceGetDefaultMemPool:
5674 if (data->args.hipDeviceGetDefaultMemPool.mem_pool) data->args.hipDeviceGetDefaultMemPool.mem_pool__val = *(data->args.hipDeviceGetDefaultMemPool.mem_pool);
5677 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
5680 case HIP_API_ID_hipDeviceGetLimit:
5681 if (data->args.hipDeviceGetLimit.pValue) data->args.hipDeviceGetLimit.pValue__val = *(data->args.hipDeviceGetLimit.pValue);
5684 case HIP_API_ID_hipDeviceGetMemPool:
5685 if (data->args.hipDeviceGetMemPool.mem_pool) data->args.hipDeviceGetMemPool.mem_pool__val = *(data->args.hipDeviceGetMemPool.mem_pool);
5688 case HIP_API_ID_hipDeviceGetName:
5689 data->args.hipDeviceGetName.name = (data->args.hipDeviceGetName.name) ? strdup(data->args.hipDeviceGetName.name) : NULL;
5692 case HIP_API_ID_hipDeviceGetP2PAttribute:
5693 if (data->args.hipDeviceGetP2PAttribute.value) data->args.hipDeviceGetP2PAttribute.value__val = *(data->args.hipDeviceGetP2PAttribute.value);
5696 case HIP_API_ID_hipDeviceGetPCIBusId:
5697 data->args.hipDeviceGetPCIBusId.pciBusId = (data->args.hipDeviceGetPCIBusId.pciBusId) ? strdup(data->args.hipDeviceGetPCIBusId.pciBusId) : NULL;
5700 case HIP_API_ID_hipDeviceGetSharedMemConfig:
5701 if (data->args.hipDeviceGetSharedMemConfig.pConfig) data->args.hipDeviceGetSharedMemConfig.pConfig__val = *(data->args.hipDeviceGetSharedMemConfig.pConfig);
5704 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
5705 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority) data->args.hipDeviceGetStreamPriorityRange.leastPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.leastPriority);
5706 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority) data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val = *(data->args.hipDeviceGetStreamPriorityRange.greatestPriority);
5709 case HIP_API_ID_hipDeviceGetUuid:
5710 if (data->args.hipDeviceGetUuid.uuid) data->args.hipDeviceGetUuid.uuid__val = *(data->args.hipDeviceGetUuid.uuid);
5713 case HIP_API_ID_hipDeviceGraphMemTrim:
5716 case HIP_API_ID_hipDevicePrimaryCtxGetState:
5717 if (data->args.hipDevicePrimaryCtxGetState.flags) data->args.hipDevicePrimaryCtxGetState.flags__val = *(data->args.hipDevicePrimaryCtxGetState.flags);
5718 if (data->args.hipDevicePrimaryCtxGetState.active) data->args.hipDevicePrimaryCtxGetState.active__val = *(data->args.hipDevicePrimaryCtxGetState.active);
5721 case HIP_API_ID_hipDevicePrimaryCtxRelease:
5724 case HIP_API_ID_hipDevicePrimaryCtxReset:
5727 case HIP_API_ID_hipDevicePrimaryCtxRetain:
5728 if (data->args.hipDevicePrimaryCtxRetain.pctx) data->args.hipDevicePrimaryCtxRetain.pctx__val = *(data->args.hipDevicePrimaryCtxRetain.pctx);
5731 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
5734 case HIP_API_ID_hipDeviceReset:
5737 case HIP_API_ID_hipDeviceSetCacheConfig:
5740 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
5743 case HIP_API_ID_hipDeviceSetLimit:
5746 case HIP_API_ID_hipDeviceSetMemPool:
5749 case HIP_API_ID_hipDeviceSetSharedMemConfig:
5752 case HIP_API_ID_hipDeviceSynchronize:
5755 case HIP_API_ID_hipDeviceTotalMem:
5756 if (data->args.hipDeviceTotalMem.bytes) data->args.hipDeviceTotalMem.bytes__val = *(data->args.hipDeviceTotalMem.bytes);
5759 case HIP_API_ID_hipDriverGetVersion:
5760 if (data->args.hipDriverGetVersion.driverVersion) data->args.hipDriverGetVersion.driverVersion__val = *(data->args.hipDriverGetVersion.driverVersion);
5763 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
5764 if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
5767 case HIP_API_ID_hipDrvMemcpy3D:
5768 if (data->args.hipDrvMemcpy3D.pCopy) data->args.hipDrvMemcpy3D.pCopy__val = *(data->args.hipDrvMemcpy3D.pCopy);
5771 case HIP_API_ID_hipDrvMemcpy3DAsync:
5772 if (data->args.hipDrvMemcpy3DAsync.pCopy) data->args.hipDrvMemcpy3DAsync.pCopy__val = *(data->args.hipDrvMemcpy3DAsync.pCopy);
5775 case HIP_API_ID_hipDrvPointerGetAttributes:
5776 if (data->args.hipDrvPointerGetAttributes.attributes) data->args.hipDrvPointerGetAttributes.attributes__val = *(data->args.hipDrvPointerGetAttributes.attributes);
5777 if (data->args.hipDrvPointerGetAttributes.data) data->args.hipDrvPointerGetAttributes.data__val = *(data->args.hipDrvPointerGetAttributes.data);
5780 case HIP_API_ID_hipEventCreate:
5781 if (data->args.hipEventCreate.event) data->args.hipEventCreate.event__val = *(data->args.hipEventCreate.event);
5784 case HIP_API_ID_hipEventCreateWithFlags:
5785 if (data->args.hipEventCreateWithFlags.event) data->args.hipEventCreateWithFlags.event__val = *(data->args.hipEventCreateWithFlags.event);
5788 case HIP_API_ID_hipEventDestroy:
5791 case HIP_API_ID_hipEventElapsedTime:
5792 if (data->args.hipEventElapsedTime.ms) data->args.hipEventElapsedTime.ms__val = *(data->args.hipEventElapsedTime.ms);
5795 case HIP_API_ID_hipEventQuery:
5798 case HIP_API_ID_hipEventRecord:
5801 case HIP_API_ID_hipEventSynchronize:
5804 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
5805 if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
5806 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount) data->args.hipExtGetLinkTypeAndHopCount.hopcount__val = *(data->args.hipExtGetLinkTypeAndHopCount.hopcount);
5809 case HIP_API_ID_hipExtLaunchKernel:
5810 if (data->args.hipExtLaunchKernel.args) data->args.hipExtLaunchKernel.args__val = *(data->args.hipExtLaunchKernel.args);
5813 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
5814 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList) data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val = *(data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList);
5817 case HIP_API_ID_hipExtMallocWithFlags:
5818 if (data->args.hipExtMallocWithFlags.ptr) data->args.hipExtMallocWithFlags.ptr__val = *(data->args.hipExtMallocWithFlags.ptr);
5821 case HIP_API_ID_hipExtModuleLaunchKernel:
5822 if (data->args.hipExtModuleLaunchKernel.kernelParams) data->args.hipExtModuleLaunchKernel.kernelParams__val = *(data->args.hipExtModuleLaunchKernel.kernelParams);
5823 if (data->args.hipExtModuleLaunchKernel.extra) data->args.hipExtModuleLaunchKernel.extra__val = *(data->args.hipExtModuleLaunchKernel.extra);
5826 case HIP_API_ID_hipExtStreamCreateWithCUMask:
5827 if (data->args.hipExtStreamCreateWithCUMask.stream) data->args.hipExtStreamCreateWithCUMask.stream__val = *(data->args.hipExtStreamCreateWithCUMask.stream);
5828 if (data->args.hipExtStreamCreateWithCUMask.cuMask) data->args.hipExtStreamCreateWithCUMask.cuMask__val = *(data->args.hipExtStreamCreateWithCUMask.cuMask);
5831 case HIP_API_ID_hipExtStreamGetCUMask:
5832 if (data->args.hipExtStreamGetCUMask.cuMask) data->args.hipExtStreamGetCUMask.cuMask__val = *(data->args.hipExtStreamGetCUMask.cuMask);
5835 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
5836 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr) data->args.hipExternalMemoryGetMappedBuffer.devPtr__val = *(data->args.hipExternalMemoryGetMappedBuffer.devPtr);
5837 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc) data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val = *(data->args.hipExternalMemoryGetMappedBuffer.bufferDesc);
5840 case HIP_API_ID_hipFree:
5843 case HIP_API_ID_hipFreeArray:
5844 if (data->args.hipFreeArray.array) data->args.hipFreeArray.array__val = *(data->args.hipFreeArray.array);
5847 case HIP_API_ID_hipFreeAsync:
5850 case HIP_API_ID_hipFreeHost:
5853 case HIP_API_ID_hipFreeMipmappedArray:
5856 case HIP_API_ID_hipFuncGetAttribute:
5857 if (data->args.hipFuncGetAttribute.value) data->args.hipFuncGetAttribute.value__val = *(data->args.hipFuncGetAttribute.value);
5860 case HIP_API_ID_hipFuncGetAttributes:
5861 if (data->args.hipFuncGetAttributes.attr) data->args.hipFuncGetAttributes.attr__val = *(data->args.hipFuncGetAttributes.attr);
5864 case HIP_API_ID_hipFuncSetAttribute:
5867 case HIP_API_ID_hipFuncSetCacheConfig:
5870 case HIP_API_ID_hipFuncSetSharedMemConfig:
5873 case HIP_API_ID_hipGLGetDevices:
5874 if (data->args.hipGLGetDevices.pHipDeviceCount) data->args.hipGLGetDevices.pHipDeviceCount__val = *(data->args.hipGLGetDevices.pHipDeviceCount);
5875 if (data->args.hipGLGetDevices.pHipDevices) data->args.hipGLGetDevices.pHipDevices__val = *(data->args.hipGLGetDevices.pHipDevices);
5878 case HIP_API_ID_hipGetChannelDesc:
5879 if (data->args.hipGetChannelDesc.desc) data->args.hipGetChannelDesc.desc__val = *(data->args.hipGetChannelDesc.desc);
5882 case HIP_API_ID_hipGetDevice:
5883 if (data->args.hipGetDevice.deviceId) data->args.hipGetDevice.deviceId__val = *(data->args.hipGetDevice.deviceId);
5886 case HIP_API_ID_hipGetDeviceCount:
5887 if (data->args.hipGetDeviceCount.count) data->args.hipGetDeviceCount.count__val = *(data->args.hipGetDeviceCount.count);
5890 case HIP_API_ID_hipGetDeviceFlags:
5891 if (data->args.hipGetDeviceFlags.flags) data->args.hipGetDeviceFlags.flags__val = *(data->args.hipGetDeviceFlags.flags);
5894 case HIP_API_ID_hipGetDeviceProperties:
5895 if (data->args.hipGetDeviceProperties.props) data->args.hipGetDeviceProperties.props__val = *(data->args.hipGetDeviceProperties.props);
5898 case HIP_API_ID_hipGetErrorString:
5901 case HIP_API_ID_hipGetLastError:
5904 case HIP_API_ID_hipGetMipmappedArrayLevel:
5905 if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
5908 case HIP_API_ID_hipGetSymbolAddress:
5909 if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
5912 case HIP_API_ID_hipGetSymbolSize:
5913 if (data->args.hipGetSymbolSize.size) data->args.hipGetSymbolSize.size__val = *(data->args.hipGetSymbolSize.size);
5916 case HIP_API_ID_hipGraphAddChildGraphNode:
5917 if (data->args.hipGraphAddChildGraphNode.pGraphNode) data->args.hipGraphAddChildGraphNode.pGraphNode__val = *(data->args.hipGraphAddChildGraphNode.pGraphNode);
5918 if (data->args.hipGraphAddChildGraphNode.pDependencies) data->args.hipGraphAddChildGraphNode.pDependencies__val = *(data->args.hipGraphAddChildGraphNode.pDependencies);
5921 case HIP_API_ID_hipGraphAddDependencies:
5922 if (data->args.hipGraphAddDependencies.from) data->args.hipGraphAddDependencies.from__val = *(data->args.hipGraphAddDependencies.from);
5923 if (data->args.hipGraphAddDependencies.to) data->args.hipGraphAddDependencies.to__val = *(data->args.hipGraphAddDependencies.to);
5926 case HIP_API_ID_hipGraphAddEmptyNode:
5927 if (data->args.hipGraphAddEmptyNode.pGraphNode) data->args.hipGraphAddEmptyNode.pGraphNode__val = *(data->args.hipGraphAddEmptyNode.pGraphNode);
5928 if (data->args.hipGraphAddEmptyNode.pDependencies) data->args.hipGraphAddEmptyNode.pDependencies__val = *(data->args.hipGraphAddEmptyNode.pDependencies);
5931 case HIP_API_ID_hipGraphAddEventRecordNode:
5932 if (data->args.hipGraphAddEventRecordNode.pGraphNode) data->args.hipGraphAddEventRecordNode.pGraphNode__val = *(data->args.hipGraphAddEventRecordNode.pGraphNode);
5933 if (data->args.hipGraphAddEventRecordNode.pDependencies) data->args.hipGraphAddEventRecordNode.pDependencies__val = *(data->args.hipGraphAddEventRecordNode.pDependencies);
5936 case HIP_API_ID_hipGraphAddEventWaitNode:
5937 if (data->args.hipGraphAddEventWaitNode.pGraphNode) data->args.hipGraphAddEventWaitNode.pGraphNode__val = *(data->args.hipGraphAddEventWaitNode.pGraphNode);
5938 if (data->args.hipGraphAddEventWaitNode.pDependencies) data->args.hipGraphAddEventWaitNode.pDependencies__val = *(data->args.hipGraphAddEventWaitNode.pDependencies);
5941 case HIP_API_ID_hipGraphAddHostNode:
5942 if (data->args.hipGraphAddHostNode.pGraphNode) data->args.hipGraphAddHostNode.pGraphNode__val = *(data->args.hipGraphAddHostNode.pGraphNode);
5943 if (data->args.hipGraphAddHostNode.pDependencies) data->args.hipGraphAddHostNode.pDependencies__val = *(data->args.hipGraphAddHostNode.pDependencies);
5944 if (data->args.hipGraphAddHostNode.pNodeParams) data->args.hipGraphAddHostNode.pNodeParams__val = *(data->args.hipGraphAddHostNode.pNodeParams);
5947 case HIP_API_ID_hipGraphAddKernelNode:
5948 if (data->args.hipGraphAddKernelNode.pGraphNode) data->args.hipGraphAddKernelNode.pGraphNode__val = *(data->args.hipGraphAddKernelNode.pGraphNode);
5949 if (data->args.hipGraphAddKernelNode.pDependencies) data->args.hipGraphAddKernelNode.pDependencies__val = *(data->args.hipGraphAddKernelNode.pDependencies);
5950 if (data->args.hipGraphAddKernelNode.pNodeParams) data->args.hipGraphAddKernelNode.pNodeParams__val = *(data->args.hipGraphAddKernelNode.pNodeParams);
5953 case HIP_API_ID_hipGraphAddMemAllocNode:
5954 if (data->args.hipGraphAddMemAllocNode.pGraphNode) data->args.hipGraphAddMemAllocNode.pGraphNode__val = *(data->args.hipGraphAddMemAllocNode.pGraphNode);
5955 if (data->args.hipGraphAddMemAllocNode.pDependencies) data->args.hipGraphAddMemAllocNode.pDependencies__val = *(data->args.hipGraphAddMemAllocNode.pDependencies);
5956 if (data->args.hipGraphAddMemAllocNode.pNodeParams) data->args.hipGraphAddMemAllocNode.pNodeParams__val = *(data->args.hipGraphAddMemAllocNode.pNodeParams);
5959 case HIP_API_ID_hipGraphAddMemFreeNode:
5960 if (data->args.hipGraphAddMemFreeNode.pGraphNode) data->args.hipGraphAddMemFreeNode.pGraphNode__val = *(data->args.hipGraphAddMemFreeNode.pGraphNode);
5961 if (data->args.hipGraphAddMemFreeNode.pDependencies) data->args.hipGraphAddMemFreeNode.pDependencies__val = *(data->args.hipGraphAddMemFreeNode.pDependencies);
5964 case HIP_API_ID_hipGraphAddMemcpyNode:
5965 if (data->args.hipGraphAddMemcpyNode.pGraphNode) data->args.hipGraphAddMemcpyNode.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode.pGraphNode);
5966 if (data->args.hipGraphAddMemcpyNode.pDependencies) data->args.hipGraphAddMemcpyNode.pDependencies__val = *(data->args.hipGraphAddMemcpyNode.pDependencies);
5967 if (data->args.hipGraphAddMemcpyNode.pCopyParams) data->args.hipGraphAddMemcpyNode.pCopyParams__val = *(data->args.hipGraphAddMemcpyNode.pCopyParams);
5970 case HIP_API_ID_hipGraphAddMemcpyNode1D:
5971 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode) data->args.hipGraphAddMemcpyNode1D.pGraphNode__val = *(data->args.hipGraphAddMemcpyNode1D.pGraphNode);
5972 if (data->args.hipGraphAddMemcpyNode1D.pDependencies) data->args.hipGraphAddMemcpyNode1D.pDependencies__val = *(data->args.hipGraphAddMemcpyNode1D.pDependencies);
5975 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
5976 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode);
5977 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies);
5980 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
5981 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode) data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode);
5982 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies) data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val = *(data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies);
5985 case HIP_API_ID_hipGraphAddMemsetNode:
5986 if (data->args.hipGraphAddMemsetNode.pGraphNode) data->args.hipGraphAddMemsetNode.pGraphNode__val = *(data->args.hipGraphAddMemsetNode.pGraphNode);
5987 if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
5988 if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
5991 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
5992 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
5995 case HIP_API_ID_hipGraphClone:
5996 if (data->args.hipGraphClone.pGraphClone) data->args.hipGraphClone.pGraphClone__val = *(data->args.hipGraphClone.pGraphClone);
5999 case HIP_API_ID_hipGraphCreate:
6000 if (data->args.hipGraphCreate.pGraph) data->args.hipGraphCreate.pGraph__val = *(data->args.hipGraphCreate.pGraph);
6003 case HIP_API_ID_hipGraphDebugDotPrint:
6004 if (data->args.hipGraphDebugDotPrint.path) data->args.hipGraphDebugDotPrint.path__val = *(data->args.hipGraphDebugDotPrint.path);
6007 case HIP_API_ID_hipGraphDestroy:
6010 case HIP_API_ID_hipGraphDestroyNode:
6013 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
6014 if (data->args.hipGraphEventRecordNodeGetEvent.event_out) data->args.hipGraphEventRecordNodeGetEvent.event_out__val = *(data->args.hipGraphEventRecordNodeGetEvent.event_out);
6017 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
6020 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
6021 if (data->args.hipGraphEventWaitNodeGetEvent.event_out) data->args.hipGraphEventWaitNodeGetEvent.event_out__val = *(data->args.hipGraphEventWaitNodeGetEvent.event_out);
6024 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
6027 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
6030 case HIP_API_ID_hipGraphExecDestroy:
6033 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
6036 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
6039 case HIP_API_ID_hipGraphExecHostNodeSetParams:
6040 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams) data->args.hipGraphExecHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecHostNodeSetParams.pNodeParams);
6043 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
6044 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams) data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecKernelNodeSetParams.pNodeParams);
6047 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
6048 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams) data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams);
6051 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
6054 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
6057 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
6060 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
6061 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams) data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphExecMemsetNodeSetParams.pNodeParams);
6064 case HIP_API_ID_hipGraphExecUpdate:
6065 if (data->args.hipGraphExecUpdate.hErrorNode_out) data->args.hipGraphExecUpdate.hErrorNode_out__val = *(data->args.hipGraphExecUpdate.hErrorNode_out);
6066 if (data->args.hipGraphExecUpdate.updateResult_out) data->args.hipGraphExecUpdate.updateResult_out__val = *(data->args.hipGraphExecUpdate.updateResult_out);
6069 case HIP_API_ID_hipGraphGetEdges:
6070 if (data->args.hipGraphGetEdges.from) data->args.hipGraphGetEdges.from__val = *(data->args.hipGraphGetEdges.from);
6071 if (data->args.hipGraphGetEdges.to) data->args.hipGraphGetEdges.to__val = *(data->args.hipGraphGetEdges.to);
6072 if (data->args.hipGraphGetEdges.numEdges) data->args.hipGraphGetEdges.numEdges__val = *(data->args.hipGraphGetEdges.numEdges);
6075 case HIP_API_ID_hipGraphGetNodes:
6076 if (data->args.hipGraphGetNodes.nodes) data->args.hipGraphGetNodes.nodes__val = *(data->args.hipGraphGetNodes.nodes);
6077 if (data->args.hipGraphGetNodes.numNodes) data->args.hipGraphGetNodes.numNodes__val = *(data->args.hipGraphGetNodes.numNodes);
6080 case HIP_API_ID_hipGraphGetRootNodes:
6081 if (data->args.hipGraphGetRootNodes.pRootNodes) data->args.hipGraphGetRootNodes.pRootNodes__val = *(data->args.hipGraphGetRootNodes.pRootNodes);
6082 if (data->args.hipGraphGetRootNodes.pNumRootNodes) data->args.hipGraphGetRootNodes.pNumRootNodes__val = *(data->args.hipGraphGetRootNodes.pNumRootNodes);
6085 case HIP_API_ID_hipGraphHostNodeGetParams:
6086 if (data->args.hipGraphHostNodeGetParams.pNodeParams) data->args.hipGraphHostNodeGetParams.pNodeParams__val = *(data->args.hipGraphHostNodeGetParams.pNodeParams);
6089 case HIP_API_ID_hipGraphHostNodeSetParams:
6090 if (data->args.hipGraphHostNodeSetParams.pNodeParams) data->args.hipGraphHostNodeSetParams.pNodeParams__val = *(data->args.hipGraphHostNodeSetParams.pNodeParams);
6093 case HIP_API_ID_hipGraphInstantiate:
6094 if (data->args.hipGraphInstantiate.pGraphExec) data->args.hipGraphInstantiate.pGraphExec__val = *(data->args.hipGraphInstantiate.pGraphExec);
6095 if (data->args.hipGraphInstantiate.pErrorNode) data->args.hipGraphInstantiate.pErrorNode__val = *(data->args.hipGraphInstantiate.pErrorNode);
6096 data->args.hipGraphInstantiate.pLogBuffer = (data->args.hipGraphInstantiate.pLogBuffer) ? strdup(data->args.hipGraphInstantiate.pLogBuffer) : NULL;
6099 case HIP_API_ID_hipGraphInstantiateWithFlags:
6100 if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
6103 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
6106 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
6107 if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
6110 case HIP_API_ID_hipGraphKernelNodeGetParams:
6111 if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
6114 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
6115 if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
6118 case HIP_API_ID_hipGraphKernelNodeSetParams:
6119 if (data->args.hipGraphKernelNodeSetParams.pNodeParams) data->args.hipGraphKernelNodeSetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeSetParams.pNodeParams);
6122 case HIP_API_ID_hipGraphLaunch:
6125 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
6126 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams) data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemAllocNodeGetParams.pNodeParams);
6129 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
6132 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
6133 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams) data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeGetParams.pNodeParams);
6136 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
6137 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams) data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemcpyNodeSetParams.pNodeParams);
6140 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
6143 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
6146 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
6149 case HIP_API_ID_hipGraphMemsetNodeGetParams:
6150 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams) data->args.hipGraphMemsetNodeGetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeGetParams.pNodeParams);
6153 case HIP_API_ID_hipGraphMemsetNodeSetParams:
6154 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams) data->args.hipGraphMemsetNodeSetParams.pNodeParams__val = *(data->args.hipGraphMemsetNodeSetParams.pNodeParams);
6157 case HIP_API_ID_hipGraphNodeFindInClone:
6158 if (data->args.hipGraphNodeFindInClone.pNode) data->args.hipGraphNodeFindInClone.pNode__val = *(data->args.hipGraphNodeFindInClone.pNode);
6161 case HIP_API_ID_hipGraphNodeGetDependencies:
6162 if (data->args.hipGraphNodeGetDependencies.pDependencies) data->args.hipGraphNodeGetDependencies.pDependencies__val = *(data->args.hipGraphNodeGetDependencies.pDependencies);
6163 if (data->args.hipGraphNodeGetDependencies.pNumDependencies) data->args.hipGraphNodeGetDependencies.pNumDependencies__val = *(data->args.hipGraphNodeGetDependencies.pNumDependencies);
6166 case HIP_API_ID_hipGraphNodeGetDependentNodes:
6167 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes) data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pDependentNodes);
6168 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes) data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val = *(data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes);
6171 case HIP_API_ID_hipGraphNodeGetEnabled:
6172 if (data->args.hipGraphNodeGetEnabled.isEnabled) data->args.hipGraphNodeGetEnabled.isEnabled__val = *(data->args.hipGraphNodeGetEnabled.isEnabled);
6175 case HIP_API_ID_hipGraphNodeGetType:
6176 if (data->args.hipGraphNodeGetType.pType) data->args.hipGraphNodeGetType.pType__val = *(data->args.hipGraphNodeGetType.pType);
6179 case HIP_API_ID_hipGraphNodeSetEnabled:
6182 case HIP_API_ID_hipGraphReleaseUserObject:
6185 case HIP_API_ID_hipGraphRemoveDependencies:
6186 if (data->args.hipGraphRemoveDependencies.from) data->args.hipGraphRemoveDependencies.from__val = *(data->args.hipGraphRemoveDependencies.from);
6187 if (data->args.hipGraphRemoveDependencies.to) data->args.hipGraphRemoveDependencies.to__val = *(data->args.hipGraphRemoveDependencies.to);
6190 case HIP_API_ID_hipGraphRetainUserObject:
6193 case HIP_API_ID_hipGraphUpload:
6196 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
6197 if (data->args.hipGraphicsGLRegisterBuffer.resource) data->args.hipGraphicsGLRegisterBuffer.resource__val = *(data->args.hipGraphicsGLRegisterBuffer.resource);
6200 case HIP_API_ID_hipGraphicsGLRegisterImage:
6201 if (data->args.hipGraphicsGLRegisterImage.resource) data->args.hipGraphicsGLRegisterImage.resource__val = *(data->args.hipGraphicsGLRegisterImage.resource);
6204 case HIP_API_ID_hipGraphicsMapResources:
6205 if (data->args.hipGraphicsMapResources.resources) data->args.hipGraphicsMapResources.resources__val = *(data->args.hipGraphicsMapResources.resources);
6208 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
6209 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr) data->args.hipGraphicsResourceGetMappedPointer.devPtr__val = *(data->args.hipGraphicsResourceGetMappedPointer.devPtr);
6210 if (data->args.hipGraphicsResourceGetMappedPointer.size) data->args.hipGraphicsResourceGetMappedPointer.size__val = *(data->args.hipGraphicsResourceGetMappedPointer.size);
6213 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
6214 if (data->args.hipGraphicsSubResourceGetMappedArray.array) data->args.hipGraphicsSubResourceGetMappedArray.array__val = *(data->args.hipGraphicsSubResourceGetMappedArray.array);
6217 case HIP_API_ID_hipGraphicsUnmapResources:
6218 if (data->args.hipGraphicsUnmapResources.resources) data->args.hipGraphicsUnmapResources.resources__val = *(data->args.hipGraphicsUnmapResources.resources);
6221 case HIP_API_ID_hipGraphicsUnregisterResource:
6224 case HIP_API_ID_hipHccModuleLaunchKernel:
6225 if (data->args.hipHccModuleLaunchKernel.kernelParams) data->args.hipHccModuleLaunchKernel.kernelParams__val = *(data->args.hipHccModuleLaunchKernel.kernelParams);
6226 if (data->args.hipHccModuleLaunchKernel.extra) data->args.hipHccModuleLaunchKernel.extra__val = *(data->args.hipHccModuleLaunchKernel.extra);
6229 case HIP_API_ID_hipHostAlloc:
6230 if (data->args.hipHostAlloc.ptr) data->args.hipHostAlloc.ptr__val = *(data->args.hipHostAlloc.ptr);
6233 case HIP_API_ID_hipHostFree:
6236 case HIP_API_ID_hipHostGetDevicePointer:
6237 if (data->args.hipHostGetDevicePointer.devPtr) data->args.hipHostGetDevicePointer.devPtr__val = *(data->args.hipHostGetDevicePointer.devPtr);
6240 case HIP_API_ID_hipHostGetFlags:
6241 if (data->args.hipHostGetFlags.flagsPtr) data->args.hipHostGetFlags.flagsPtr__val = *(data->args.hipHostGetFlags.flagsPtr);
6244 case HIP_API_ID_hipHostMalloc:
6245 if (data->args.hipHostMalloc.ptr) data->args.hipHostMalloc.ptr__val = *(data->args.hipHostMalloc.ptr);
6248 case HIP_API_ID_hipHostRegister:
6251 case HIP_API_ID_hipHostUnregister:
6254 case HIP_API_ID_hipImportExternalMemory:
6255 if (data->args.hipImportExternalMemory.extMem_out) data->args.hipImportExternalMemory.extMem_out__val = *(data->args.hipImportExternalMemory.extMem_out);
6256 if (data->args.hipImportExternalMemory.memHandleDesc) data->args.hipImportExternalMemory.memHandleDesc__val = *(data->args.hipImportExternalMemory.memHandleDesc);
6259 case HIP_API_ID_hipImportExternalSemaphore:
6260 if (data->args.hipImportExternalSemaphore.extSem_out) data->args.hipImportExternalSemaphore.extSem_out__val = *(data->args.hipImportExternalSemaphore.extSem_out);
6261 if (data->args.hipImportExternalSemaphore.semHandleDesc) data->args.hipImportExternalSemaphore.semHandleDesc__val = *(data->args.hipImportExternalSemaphore.semHandleDesc);
6264 case HIP_API_ID_hipInit:
6267 case HIP_API_ID_hipIpcCloseMemHandle:
6270 case HIP_API_ID_hipIpcGetEventHandle:
6271 if (data->args.hipIpcGetEventHandle.handle) data->args.hipIpcGetEventHandle.handle__val = *(data->args.hipIpcGetEventHandle.handle);
6274 case HIP_API_ID_hipIpcGetMemHandle:
6275 if (data->args.hipIpcGetMemHandle.handle) data->args.hipIpcGetMemHandle.handle__val = *(data->args.hipIpcGetMemHandle.handle);
6278 case HIP_API_ID_hipIpcOpenEventHandle:
6279 if (data->args.hipIpcOpenEventHandle.event) data->args.hipIpcOpenEventHandle.event__val = *(data->args.hipIpcOpenEventHandle.event);
6282 case HIP_API_ID_hipIpcOpenMemHandle:
6283 if (data->args.hipIpcOpenMemHandle.devPtr) data->args.hipIpcOpenMemHandle.devPtr__val = *(data->args.hipIpcOpenMemHandle.devPtr);
6286 case HIP_API_ID_hipLaunchByPtr:
6289 case HIP_API_ID_hipLaunchCooperativeKernel:
6290 if (data->args.hipLaunchCooperativeKernel.kernelParams) data->args.hipLaunchCooperativeKernel.kernelParams__val = *(data->args.hipLaunchCooperativeKernel.kernelParams);
6293 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
6294 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList);
6297 case HIP_API_ID_hipLaunchHostFunc:
6300 case HIP_API_ID_hipLaunchKernel:
6301 if (data->args.hipLaunchKernel.args) data->args.hipLaunchKernel.args__val = *(data->args.hipLaunchKernel.args);
6304 case HIP_API_ID_hipMalloc:
6305 if (data->args.hipMalloc.ptr) data->args.hipMalloc.ptr__val = *(data->args.hipMalloc.ptr);
6308 case HIP_API_ID_hipMalloc3D:
6309 if (data->args.hipMalloc3D.pitchedDevPtr) data->args.hipMalloc3D.pitchedDevPtr__val = *(data->args.hipMalloc3D.pitchedDevPtr);
6312 case HIP_API_ID_hipMalloc3DArray:
6313 if (data->args.hipMalloc3DArray.array) data->args.hipMalloc3DArray.array__val = *(data->args.hipMalloc3DArray.array);
6314 if (data->args.hipMalloc3DArray.desc) data->args.hipMalloc3DArray.desc__val = *(data->args.hipMalloc3DArray.desc);
6317 case HIP_API_ID_hipMallocArray:
6318 if (data->args.hipMallocArray.array) data->args.hipMallocArray.array__val = *(data->args.hipMallocArray.array);
6319 if (data->args.hipMallocArray.desc) data->args.hipMallocArray.desc__val = *(data->args.hipMallocArray.desc);
6322 case HIP_API_ID_hipMallocAsync:
6323 if (data->args.hipMallocAsync.dev_ptr) data->args.hipMallocAsync.dev_ptr__val = *(data->args.hipMallocAsync.dev_ptr);
6326 case HIP_API_ID_hipMallocFromPoolAsync:
6327 if (data->args.hipMallocFromPoolAsync.dev_ptr) data->args.hipMallocFromPoolAsync.dev_ptr__val = *(data->args.hipMallocFromPoolAsync.dev_ptr);
6330 case HIP_API_ID_hipMallocHost:
6331 if (data->args.hipMallocHost.ptr) data->args.hipMallocHost.ptr__val = *(data->args.hipMallocHost.ptr);
6334 case HIP_API_ID_hipMallocManaged:
6335 if (data->args.hipMallocManaged.dev_ptr) data->args.hipMallocManaged.dev_ptr__val = *(data->args.hipMallocManaged.dev_ptr);
6338 case HIP_API_ID_hipMallocMipmappedArray:
6339 if (data->args.hipMallocMipmappedArray.mipmappedArray) data->args.hipMallocMipmappedArray.mipmappedArray__val = *(data->args.hipMallocMipmappedArray.mipmappedArray);
6340 if (data->args.hipMallocMipmappedArray.desc) data->args.hipMallocMipmappedArray.desc__val = *(data->args.hipMallocMipmappedArray.desc);
6343 case HIP_API_ID_hipMallocPitch:
6344 if (data->args.hipMallocPitch.ptr) data->args.hipMallocPitch.ptr__val = *(data->args.hipMallocPitch.ptr);
6345 if (data->args.hipMallocPitch.pitch) data->args.hipMallocPitch.pitch__val = *(data->args.hipMallocPitch.pitch);
6348 case HIP_API_ID_hipMemAddressFree:
6351 case HIP_API_ID_hipMemAddressReserve:
6352 if (data->args.hipMemAddressReserve.ptr) data->args.hipMemAddressReserve.ptr__val = *(data->args.hipMemAddressReserve.ptr);
6355 case HIP_API_ID_hipMemAdvise:
6358 case HIP_API_ID_hipMemAllocHost:
6359 if (data->args.hipMemAllocHost.ptr) data->args.hipMemAllocHost.ptr__val = *(data->args.hipMemAllocHost.ptr);
6362 case HIP_API_ID_hipMemAllocPitch:
6363 if (data->args.hipMemAllocPitch.dptr) data->args.hipMemAllocPitch.dptr__val = *(data->args.hipMemAllocPitch.dptr);
6364 if (data->args.hipMemAllocPitch.pitch) data->args.hipMemAllocPitch.pitch__val = *(data->args.hipMemAllocPitch.pitch);
6367 case HIP_API_ID_hipMemCreate:
6368 if (data->args.hipMemCreate.handle) data->args.hipMemCreate.handle__val = *(data->args.hipMemCreate.handle);
6369 if (data->args.hipMemCreate.prop) data->args.hipMemCreate.prop__val = *(data->args.hipMemCreate.prop);
6372 case HIP_API_ID_hipMemExportToShareableHandle:
6375 case HIP_API_ID_hipMemGetAccess:
6376 if (data->args.hipMemGetAccess.flags) data->args.hipMemGetAccess.flags__val = *(data->args.hipMemGetAccess.flags);
6377 if (data->args.hipMemGetAccess.location) data->args.hipMemGetAccess.location__val = *(data->args.hipMemGetAccess.location);
6380 case HIP_API_ID_hipMemGetAddressRange:
6381 if (data->args.hipMemGetAddressRange.pbase) data->args.hipMemGetAddressRange.pbase__val = *(data->args.hipMemGetAddressRange.pbase);
6382 if (data->args.hipMemGetAddressRange.psize) data->args.hipMemGetAddressRange.psize__val = *(data->args.hipMemGetAddressRange.psize);
6385 case HIP_API_ID_hipMemGetAllocationGranularity:
6386 if (data->args.hipMemGetAllocationGranularity.granularity) data->args.hipMemGetAllocationGranularity.granularity__val = *(data->args.hipMemGetAllocationGranularity.granularity);
6387 if (data->args.hipMemGetAllocationGranularity.prop) data->args.hipMemGetAllocationGranularity.prop__val = *(data->args.hipMemGetAllocationGranularity.prop);
6390 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
6391 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop) data->args.hipMemGetAllocationPropertiesFromHandle.prop__val = *(data->args.hipMemGetAllocationPropertiesFromHandle.prop);
6394 case HIP_API_ID_hipMemGetInfo:
6395 if (data->args.hipMemGetInfo.free) data->args.hipMemGetInfo.free__val = *(data->args.hipMemGetInfo.free);
6396 if (data->args.hipMemGetInfo.total) data->args.hipMemGetInfo.total__val = *(data->args.hipMemGetInfo.total);
6399 case HIP_API_ID_hipMemImportFromShareableHandle:
6400 if (data->args.hipMemImportFromShareableHandle.handle) data->args.hipMemImportFromShareableHandle.handle__val = *(data->args.hipMemImportFromShareableHandle.handle);
6403 case HIP_API_ID_hipMemMap:
6406 case HIP_API_ID_hipMemMapArrayAsync:
6407 if (data->args.hipMemMapArrayAsync.mapInfoList) data->args.hipMemMapArrayAsync.mapInfoList__val = *(data->args.hipMemMapArrayAsync.mapInfoList);
6410 case HIP_API_ID_hipMemPoolCreate:
6411 if (data->args.hipMemPoolCreate.mem_pool) data->args.hipMemPoolCreate.mem_pool__val = *(data->args.hipMemPoolCreate.mem_pool);
6412 if (data->args.hipMemPoolCreate.pool_props) data->args.hipMemPoolCreate.pool_props__val = *(data->args.hipMemPoolCreate.pool_props);
6415 case HIP_API_ID_hipMemPoolDestroy:
6418 case HIP_API_ID_hipMemPoolExportPointer:
6419 if (data->args.hipMemPoolExportPointer.export_data) data->args.hipMemPoolExportPointer.export_data__val = *(data->args.hipMemPoolExportPointer.export_data);
6422 case HIP_API_ID_hipMemPoolExportToShareableHandle:
6425 case HIP_API_ID_hipMemPoolGetAccess:
6426 if (data->args.hipMemPoolGetAccess.flags) data->args.hipMemPoolGetAccess.flags__val = *(data->args.hipMemPoolGetAccess.flags);
6427 if (data->args.hipMemPoolGetAccess.location) data->args.hipMemPoolGetAccess.location__val = *(data->args.hipMemPoolGetAccess.location);
6430 case HIP_API_ID_hipMemPoolGetAttribute:
6433 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
6434 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool) data->args.hipMemPoolImportFromShareableHandle.mem_pool__val = *(data->args.hipMemPoolImportFromShareableHandle.mem_pool);
6437 case HIP_API_ID_hipMemPoolImportPointer:
6438 if (data->args.hipMemPoolImportPointer.dev_ptr) data->args.hipMemPoolImportPointer.dev_ptr__val = *(data->args.hipMemPoolImportPointer.dev_ptr);
6439 if (data->args.hipMemPoolImportPointer.export_data) data->args.hipMemPoolImportPointer.export_data__val = *(data->args.hipMemPoolImportPointer.export_data);
6442 case HIP_API_ID_hipMemPoolSetAccess:
6443 if (data->args.hipMemPoolSetAccess.desc_list) data->args.hipMemPoolSetAccess.desc_list__val = *(data->args.hipMemPoolSetAccess.desc_list);
6446 case HIP_API_ID_hipMemPoolSetAttribute:
6449 case HIP_API_ID_hipMemPoolTrimTo:
6452 case HIP_API_ID_hipMemPrefetchAsync:
6455 case HIP_API_ID_hipMemPtrGetInfo:
6456 if (data->args.hipMemPtrGetInfo.size) data->args.hipMemPtrGetInfo.size__val = *(data->args.hipMemPtrGetInfo.size);
6459 case HIP_API_ID_hipMemRangeGetAttribute:
6462 case HIP_API_ID_hipMemRangeGetAttributes:
6463 if (data->args.hipMemRangeGetAttributes.data) data->args.hipMemRangeGetAttributes.data__val = *(data->args.hipMemRangeGetAttributes.data);
6464 if (data->args.hipMemRangeGetAttributes.data_sizes) data->args.hipMemRangeGetAttributes.data_sizes__val = *(data->args.hipMemRangeGetAttributes.data_sizes);
6465 if (data->args.hipMemRangeGetAttributes.attributes) data->args.hipMemRangeGetAttributes.attributes__val = *(data->args.hipMemRangeGetAttributes.attributes);
6468 case HIP_API_ID_hipMemRelease:
6471 case HIP_API_ID_hipMemRetainAllocationHandle:
6472 if (data->args.hipMemRetainAllocationHandle.handle) data->args.hipMemRetainAllocationHandle.handle__val = *(data->args.hipMemRetainAllocationHandle.handle);
6475 case HIP_API_ID_hipMemSetAccess:
6476 if (data->args.hipMemSetAccess.desc) data->args.hipMemSetAccess.desc__val = *(data->args.hipMemSetAccess.desc);
6479 case HIP_API_ID_hipMemUnmap:
6482 case HIP_API_ID_hipMemcpy:
6485 case HIP_API_ID_hipMemcpy2D:
6488 case HIP_API_ID_hipMemcpy2DAsync:
6491 case HIP_API_ID_hipMemcpy2DFromArray:
6494 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
6497 case HIP_API_ID_hipMemcpy2DToArray:
6498 if (data->args.hipMemcpy2DToArray.dst) data->args.hipMemcpy2DToArray.dst__val = *(data->args.hipMemcpy2DToArray.dst);
6501 case HIP_API_ID_hipMemcpy2DToArrayAsync:
6502 if (data->args.hipMemcpy2DToArrayAsync.dst) data->args.hipMemcpy2DToArrayAsync.dst__val = *(data->args.hipMemcpy2DToArrayAsync.dst);
6505 case HIP_API_ID_hipMemcpy3D:
6506 if (data->args.hipMemcpy3D.p) data->args.hipMemcpy3D.p__val = *(data->args.hipMemcpy3D.p);
6509 case HIP_API_ID_hipMemcpy3DAsync:
6510 if (data->args.hipMemcpy3DAsync.p) data->args.hipMemcpy3DAsync.p__val = *(data->args.hipMemcpy3DAsync.p);
6513 case HIP_API_ID_hipMemcpyAsync:
6516 case HIP_API_ID_hipMemcpyAtoH:
6517 if (data->args.hipMemcpyAtoH.srcArray) data->args.hipMemcpyAtoH.srcArray__val = *(data->args.hipMemcpyAtoH.srcArray);
6520 case HIP_API_ID_hipMemcpyDtoD:
6523 case HIP_API_ID_hipMemcpyDtoDAsync:
6526 case HIP_API_ID_hipMemcpyDtoH:
6529 case HIP_API_ID_hipMemcpyDtoHAsync:
6532 case HIP_API_ID_hipMemcpyFromArray:
6535 case HIP_API_ID_hipMemcpyFromSymbol:
6538 case HIP_API_ID_hipMemcpyFromSymbolAsync:
6541 case HIP_API_ID_hipMemcpyHtoA:
6542 if (data->args.hipMemcpyHtoA.dstArray) data->args.hipMemcpyHtoA.dstArray__val = *(data->args.hipMemcpyHtoA.dstArray);
6545 case HIP_API_ID_hipMemcpyHtoD:
6548 case HIP_API_ID_hipMemcpyHtoDAsync:
6551 case HIP_API_ID_hipMemcpyParam2D:
6552 if (data->args.hipMemcpyParam2D.pCopy) data->args.hipMemcpyParam2D.pCopy__val = *(data->args.hipMemcpyParam2D.pCopy);
6555 case HIP_API_ID_hipMemcpyParam2DAsync:
6556 if (data->args.hipMemcpyParam2DAsync.pCopy) data->args.hipMemcpyParam2DAsync.pCopy__val = *(data->args.hipMemcpyParam2DAsync.pCopy);
6559 case HIP_API_ID_hipMemcpyPeer:
6562 case HIP_API_ID_hipMemcpyPeerAsync:
6565 case HIP_API_ID_hipMemcpyToArray:
6566 if (data->args.hipMemcpyToArray.dst) data->args.hipMemcpyToArray.dst__val = *(data->args.hipMemcpyToArray.dst);
6569 case HIP_API_ID_hipMemcpyToSymbol:
6572 case HIP_API_ID_hipMemcpyToSymbolAsync:
6575 case HIP_API_ID_hipMemcpyWithStream:
6578 case HIP_API_ID_hipMemset:
6581 case HIP_API_ID_hipMemset2D:
6584 case HIP_API_ID_hipMemset2DAsync:
6587 case HIP_API_ID_hipMemset3D:
6590 case HIP_API_ID_hipMemset3DAsync:
6593 case HIP_API_ID_hipMemsetAsync:
6596 case HIP_API_ID_hipMemsetD16:
6599 case HIP_API_ID_hipMemsetD16Async:
6602 case HIP_API_ID_hipMemsetD32:
6605 case HIP_API_ID_hipMemsetD32Async:
6608 case HIP_API_ID_hipMemsetD8:
6611 case HIP_API_ID_hipMemsetD8Async:
6614 case HIP_API_ID_hipMipmappedArrayCreate:
6615 if (data->args.hipMipmappedArrayCreate.pHandle) data->args.hipMipmappedArrayCreate.pHandle__val = *(data->args.hipMipmappedArrayCreate.pHandle);
6616 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc) data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val = *(data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc);
6619 case HIP_API_ID_hipMipmappedArrayDestroy:
6622 case HIP_API_ID_hipMipmappedArrayGetLevel:
6623 if (data->args.hipMipmappedArrayGetLevel.pLevelArray) data->args.hipMipmappedArrayGetLevel.pLevelArray__val = *(data->args.hipMipmappedArrayGetLevel.pLevelArray);
6626 case HIP_API_ID_hipModuleGetFunction:
6627 if (data->args.hipModuleGetFunction.function) data->args.hipModuleGetFunction.function__val = *(data->args.hipModuleGetFunction.function);
6628 if (data->args.hipModuleGetFunction.kname) data->args.hipModuleGetFunction.kname__val = *(data->args.hipModuleGetFunction.kname);
6631 case HIP_API_ID_hipModuleGetGlobal:
6632 if (data->args.hipModuleGetGlobal.dptr) data->args.hipModuleGetGlobal.dptr__val = *(data->args.hipModuleGetGlobal.dptr);
6633 if (data->args.hipModuleGetGlobal.bytes) data->args.hipModuleGetGlobal.bytes__val = *(data->args.hipModuleGetGlobal.bytes);
6634 if (data->args.hipModuleGetGlobal.name) data->args.hipModuleGetGlobal.name__val = *(data->args.hipModuleGetGlobal.name);
6637 case HIP_API_ID_hipModuleGetTexRef:
6638 if (data->args.hipModuleGetTexRef.texRef) data->args.hipModuleGetTexRef.texRef__val = *(data->args.hipModuleGetTexRef.texRef);
6639 if (data->args.hipModuleGetTexRef.name) data->args.hipModuleGetTexRef.name__val = *(data->args.hipModuleGetTexRef.name);
6642 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
6643 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams) data->args.hipModuleLaunchCooperativeKernel.kernelParams__val = *(data->args.hipModuleLaunchCooperativeKernel.kernelParams);
6646 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
6647 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList) data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val = *(data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList);
6650 case HIP_API_ID_hipModuleLaunchKernel:
6651 if (data->args.hipModuleLaunchKernel.kernelParams) data->args.hipModuleLaunchKernel.kernelParams__val = *(data->args.hipModuleLaunchKernel.kernelParams);
6652 if (data->args.hipModuleLaunchKernel.extra) data->args.hipModuleLaunchKernel.extra__val = *(data->args.hipModuleLaunchKernel.extra);
6655 case HIP_API_ID_hipModuleLoad:
6656 if (data->args.hipModuleLoad.module) data->args.hipModuleLoad.module__val = *(data->args.hipModuleLoad.module);
6657 if (data->args.hipModuleLoad.fname) data->args.hipModuleLoad.fname__val = *(data->args.hipModuleLoad.fname);
6660 case HIP_API_ID_hipModuleLoadData:
6661 if (data->args.hipModuleLoadData.module) data->args.hipModuleLoadData.module__val = *(data->args.hipModuleLoadData.module);
6664 case HIP_API_ID_hipModuleLoadDataEx:
6665 if (data->args.hipModuleLoadDataEx.module) data->args.hipModuleLoadDataEx.module__val = *(data->args.hipModuleLoadDataEx.module);
6666 if (data->args.hipModuleLoadDataEx.options) data->args.hipModuleLoadDataEx.options__val = *(data->args.hipModuleLoadDataEx.options);
6667 if (data->args.hipModuleLoadDataEx.optionsValues) data->args.hipModuleLoadDataEx.optionsValues__val = *(data->args.hipModuleLoadDataEx.optionsValues);
6670 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
6671 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6674 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6675 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6678 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
6679 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize);
6680 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize);
6683 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
6684 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize);
6685 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize) data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val = *(data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize);
6688 case HIP_API_ID_hipModuleUnload:
6691 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
6692 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks);
6695 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
6696 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks) data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val = *(data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks);
6699 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
6700 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize) data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.gridSize);
6701 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize) data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val = *(data->args.hipOccupancyMaxPotentialBlockSize.blockSize);
6704 case HIP_API_ID_hipPeekAtLastError:
6707 case HIP_API_ID_hipPointerGetAttribute:
6710 case HIP_API_ID_hipPointerGetAttributes:
6711 if (data->args.hipPointerGetAttributes.attributes) data->args.hipPointerGetAttributes.attributes__val = *(data->args.hipPointerGetAttributes.attributes);
6714 case HIP_API_ID_hipPointerSetAttribute:
6717 case HIP_API_ID_hipProfilerStart:
6720 case HIP_API_ID_hipProfilerStop:
6723 case HIP_API_ID_hipRuntimeGetVersion:
6724 if (data->args.hipRuntimeGetVersion.runtimeVersion) data->args.hipRuntimeGetVersion.runtimeVersion__val = *(data->args.hipRuntimeGetVersion.runtimeVersion);
6727 case HIP_API_ID_hipSetDevice:
6730 case HIP_API_ID_hipSetDeviceFlags:
6733 case HIP_API_ID_hipSetupArgument:
6736 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
6737 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray) data->args.hipSignalExternalSemaphoresAsync.extSemArray__val = *(data->args.hipSignalExternalSemaphoresAsync.extSemArray);
6738 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray) data->args.hipSignalExternalSemaphoresAsync.paramsArray__val = *(data->args.hipSignalExternalSemaphoresAsync.paramsArray);
6741 case HIP_API_ID_hipStreamAddCallback:
6744 case HIP_API_ID_hipStreamAttachMemAsync:
6747 case HIP_API_ID_hipStreamBeginCapture:
6750 case HIP_API_ID_hipStreamCreate:
6751 if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
6754 case HIP_API_ID_hipStreamCreateWithFlags:
6755 if (data->args.hipStreamCreateWithFlags.stream) data->args.hipStreamCreateWithFlags.stream__val = *(data->args.hipStreamCreateWithFlags.stream);
6758 case HIP_API_ID_hipStreamCreateWithPriority:
6759 if (data->args.hipStreamCreateWithPriority.stream) data->args.hipStreamCreateWithPriority.stream__val = *(data->args.hipStreamCreateWithPriority.stream);
6762 case HIP_API_ID_hipStreamDestroy:
6765 case HIP_API_ID_hipStreamEndCapture:
6766 if (data->args.hipStreamEndCapture.pGraph) data->args.hipStreamEndCapture.pGraph__val = *(data->args.hipStreamEndCapture.pGraph);
6769 case HIP_API_ID_hipStreamGetCaptureInfo:
6770 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus) data->args.hipStreamGetCaptureInfo.pCaptureStatus__val = *(data->args.hipStreamGetCaptureInfo.pCaptureStatus);
6771 if (data->args.hipStreamGetCaptureInfo.pId) data->args.hipStreamGetCaptureInfo.pId__val = *(data->args.hipStreamGetCaptureInfo.pId);
6774 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
6775 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out) data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val = *(data->args.hipStreamGetCaptureInfo_v2.captureStatus_out);
6776 if (data->args.hipStreamGetCaptureInfo_v2.id_out) data->args.hipStreamGetCaptureInfo_v2.id_out__val = *(data->args.hipStreamGetCaptureInfo_v2.id_out);
6777 if (data->args.hipStreamGetCaptureInfo_v2.graph_out) data->args.hipStreamGetCaptureInfo_v2.graph_out__val = *(data->args.hipStreamGetCaptureInfo_v2.graph_out);
6778 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out) data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.dependencies_out);
6779 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out) data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val = *(data->args.hipStreamGetCaptureInfo_v2.numDependencies_out);
6782 case HIP_API_ID_hipStreamGetDevice:
6783 if (data->args.hipStreamGetDevice.device) data->args.hipStreamGetDevice.device__val = *(data->args.hipStreamGetDevice.device);
6786 case HIP_API_ID_hipStreamGetFlags:
6787 if (data->args.hipStreamGetFlags.flags) data->args.hipStreamGetFlags.flags__val = *(data->args.hipStreamGetFlags.flags);
6790 case HIP_API_ID_hipStreamGetPriority:
6791 if (data->args.hipStreamGetPriority.priority) data->args.hipStreamGetPriority.priority__val = *(data->args.hipStreamGetPriority.priority);
6794 case HIP_API_ID_hipStreamIsCapturing:
6795 if (data->args.hipStreamIsCapturing.pCaptureStatus) data->args.hipStreamIsCapturing.pCaptureStatus__val = *(data->args.hipStreamIsCapturing.pCaptureStatus);
6798 case HIP_API_ID_hipStreamQuery:
6801 case HIP_API_ID_hipStreamSynchronize:
6804 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
6805 if (data->args.hipStreamUpdateCaptureDependencies.dependencies) data->args.hipStreamUpdateCaptureDependencies.dependencies__val = *(data->args.hipStreamUpdateCaptureDependencies.dependencies);
6808 case HIP_API_ID_hipStreamWaitEvent:
6811 case HIP_API_ID_hipStreamWaitValue32:
6814 case HIP_API_ID_hipStreamWaitValue64:
6817 case HIP_API_ID_hipStreamWriteValue32:
6820 case HIP_API_ID_hipStreamWriteValue64:
6823 case HIP_API_ID_hipTexRefGetAddress:
6824 if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
6825 if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
6828 case HIP_API_ID_hipTexRefGetFlags:
6829 if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
6830 if (data->args.hipTexRefGetFlags.texRef) data->args.hipTexRefGetFlags.texRef__val = *(data->args.hipTexRefGetFlags.texRef);
6833 case HIP_API_ID_hipTexRefGetFormat:
6834 if (data->args.hipTexRefGetFormat.pFormat) data->args.hipTexRefGetFormat.pFormat__val = *(data->args.hipTexRefGetFormat.pFormat);
6835 if (data->args.hipTexRefGetFormat.pNumChannels) data->args.hipTexRefGetFormat.pNumChannels__val = *(data->args.hipTexRefGetFormat.pNumChannels);
6836 if (data->args.hipTexRefGetFormat.texRef) data->args.hipTexRefGetFormat.texRef__val = *(data->args.hipTexRefGetFormat.texRef);
6839 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
6840 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio) data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val = *(data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio);
6841 if (data->args.hipTexRefGetMaxAnisotropy.texRef) data->args.hipTexRefGetMaxAnisotropy.texRef__val = *(data->args.hipTexRefGetMaxAnisotropy.texRef);
6844 case HIP_API_ID_hipTexRefGetMipMappedArray:
6845 if (data->args.hipTexRefGetMipMappedArray.pArray) data->args.hipTexRefGetMipMappedArray.pArray__val = *(data->args.hipTexRefGetMipMappedArray.pArray);
6846 if (data->args.hipTexRefGetMipMappedArray.texRef) data->args.hipTexRefGetMipMappedArray.texRef__val = *(data->args.hipTexRefGetMipMappedArray.texRef);
6849 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
6850 if (data->args.hipTexRefGetMipmapLevelBias.pbias) data->args.hipTexRefGetMipmapLevelBias.pbias__val = *(data->args.hipTexRefGetMipmapLevelBias.pbias);
6851 if (data->args.hipTexRefGetMipmapLevelBias.texRef) data->args.hipTexRefGetMipmapLevelBias.texRef__val = *(data->args.hipTexRefGetMipmapLevelBias.texRef);
6854 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
6855 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp);
6856 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp) data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val = *(data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp);
6857 if (data->args.hipTexRefGetMipmapLevelClamp.texRef) data->args.hipTexRefGetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefGetMipmapLevelClamp.texRef);
6860 case HIP_API_ID_hipTexRefSetAddress:
6861 if (data->args.hipTexRefSetAddress.ByteOffset) data->args.hipTexRefSetAddress.ByteOffset__val = *(data->args.hipTexRefSetAddress.ByteOffset);
6862 if (data->args.hipTexRefSetAddress.texRef) data->args.hipTexRefSetAddress.texRef__val = *(data->args.hipTexRefSetAddress.texRef);
6865 case HIP_API_ID_hipTexRefSetAddress2D:
6866 if (data->args.hipTexRefSetAddress2D.texRef) data->args.hipTexRefSetAddress2D.texRef__val = *(data->args.hipTexRefSetAddress2D.texRef);
6867 if (data->args.hipTexRefSetAddress2D.desc) data->args.hipTexRefSetAddress2D.desc__val = *(data->args.hipTexRefSetAddress2D.desc);
6870 case HIP_API_ID_hipTexRefSetArray:
6871 if (data->args.hipTexRefSetArray.tex) data->args.hipTexRefSetArray.tex__val = *(data->args.hipTexRefSetArray.tex);
6874 case HIP_API_ID_hipTexRefSetBorderColor:
6875 if (data->args.hipTexRefSetBorderColor.texRef) data->args.hipTexRefSetBorderColor.texRef__val = *(data->args.hipTexRefSetBorderColor.texRef);
6876 if (data->args.hipTexRefSetBorderColor.pBorderColor) data->args.hipTexRefSetBorderColor.pBorderColor__val = *(data->args.hipTexRefSetBorderColor.pBorderColor);
6879 case HIP_API_ID_hipTexRefSetFlags:
6880 if (data->args.hipTexRefSetFlags.texRef) data->args.hipTexRefSetFlags.texRef__val = *(data->args.hipTexRefSetFlags.texRef);
6883 case HIP_API_ID_hipTexRefSetFormat:
6884 if (data->args.hipTexRefSetFormat.texRef) data->args.hipTexRefSetFormat.texRef__val = *(data->args.hipTexRefSetFormat.texRef);
6887 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
6888 if (data->args.hipTexRefSetMaxAnisotropy.texRef) data->args.hipTexRefSetMaxAnisotropy.texRef__val = *(data->args.hipTexRefSetMaxAnisotropy.texRef);
6891 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
6892 if (data->args.hipTexRefSetMipmapLevelBias.texRef) data->args.hipTexRefSetMipmapLevelBias.texRef__val = *(data->args.hipTexRefSetMipmapLevelBias.texRef);
6895 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
6896 if (data->args.hipTexRefSetMipmapLevelClamp.texRef) data->args.hipTexRefSetMipmapLevelClamp.texRef__val = *(data->args.hipTexRefSetMipmapLevelClamp.texRef);
6899 case HIP_API_ID_hipTexRefSetMipmappedArray:
6900 if (data->args.hipTexRefSetMipmappedArray.texRef) data->args.hipTexRefSetMipmappedArray.texRef__val = *(data->args.hipTexRefSetMipmappedArray.texRef);
6901 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray) data->args.hipTexRefSetMipmappedArray.mipmappedArray__val = *(data->args.hipTexRefSetMipmappedArray.mipmappedArray);
6904 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
6905 if (data->args.hipThreadExchangeStreamCaptureMode.mode) data->args.hipThreadExchangeStreamCaptureMode.mode__val = *(data->args.hipThreadExchangeStreamCaptureMode.mode);
6908 case HIP_API_ID_hipUserObjectCreate:
6909 if (data->args.hipUserObjectCreate.object_out) data->args.hipUserObjectCreate.object_out__val = *(data->args.hipUserObjectCreate.object_out);
6912 case HIP_API_ID_hipUserObjectRelease:
6915 case HIP_API_ID_hipUserObjectRetain:
6918 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
6919 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray) data->args.hipWaitExternalSemaphoresAsync.extSemArray__val = *(data->args.hipWaitExternalSemaphoresAsync.extSemArray);
6920 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray) data->args.hipWaitExternalSemaphoresAsync.paramsArray__val = *(data->args.hipWaitExternalSemaphoresAsync.paramsArray);
6929static inline const char* hipApiString(hip_api_id_t
id,
const hip_api_data_t* data) {
6930 std::ostringstream oss;
6932 case HIP_API_ID___hipPopCallConfiguration:
6933 oss <<
"__hipPopCallConfiguration(";
6934 if (data->args.__hipPopCallConfiguration.gridDim == NULL) oss <<
"gridDim=NULL";
6935 else { oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.gridDim__val); }
6936 if (data->args.__hipPopCallConfiguration.blockDim == NULL) oss <<
", blockDim=NULL";
6937 else { oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.blockDim__val); }
6938 if (data->args.__hipPopCallConfiguration.sharedMem == NULL) oss <<
", sharedMem=NULL";
6939 else { oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.sharedMem__val); }
6940 if (data->args.__hipPopCallConfiguration.stream == NULL) oss <<
", stream=NULL";
6941 else { oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPopCallConfiguration.stream__val); }
6944 case HIP_API_ID___hipPushCallConfiguration:
6945 oss <<
"__hipPushCallConfiguration(";
6946 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.gridDim);
6947 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.blockDim);
6948 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.sharedMem);
6949 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.__hipPushCallConfiguration.stream);
6952 case HIP_API_ID_hipArray3DCreate:
6953 oss <<
"hipArray3DCreate(";
6954 if (data->args.hipArray3DCreate.array == NULL) oss <<
"array=NULL";
6955 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipArray3DCreate.array__val); }
6956 if (data->args.hipArray3DCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
6957 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DCreate.pAllocateArray__val); }
6960 case HIP_API_ID_hipArray3DGetDescriptor:
6961 oss <<
"hipArray3DGetDescriptor(";
6962 if (data->args.hipArray3DGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
6963 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.pArrayDescriptor__val); }
6964 if (data->args.hipArray3DGetDescriptor.array == NULL) oss <<
", array=NULL";
6965 else { oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArray3DGetDescriptor.array__val); }
6968 case HIP_API_ID_hipArrayCreate:
6969 oss <<
"hipArrayCreate(";
6970 if (data->args.hipArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
6971 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipArrayCreate.pHandle__val); }
6972 if (data->args.hipArrayCreate.pAllocateArray == NULL) oss <<
", pAllocateArray=NULL";
6973 else { oss <<
", pAllocateArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayCreate.pAllocateArray__val); }
6976 case HIP_API_ID_hipArrayDestroy:
6977 oss <<
"hipArrayDestroy(";
6978 if (data->args.hipArrayDestroy.array == NULL) oss <<
"array=NULL";
6979 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayDestroy.array__val); }
6982 case HIP_API_ID_hipArrayGetDescriptor:
6983 oss <<
"hipArrayGetDescriptor(";
6984 if (data->args.hipArrayGetDescriptor.pArrayDescriptor == NULL) oss <<
"pArrayDescriptor=NULL";
6985 else { oss <<
"pArrayDescriptor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.pArrayDescriptor__val); }
6986 if (data->args.hipArrayGetDescriptor.array == NULL) oss <<
", array=NULL";
6987 else { oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetDescriptor.array__val); }
6990 case HIP_API_ID_hipArrayGetInfo:
6991 oss <<
"hipArrayGetInfo(";
6992 if (data->args.hipArrayGetInfo.desc == NULL) oss <<
"desc=NULL";
6993 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.desc__val); }
6994 if (data->args.hipArrayGetInfo.extent == NULL) oss <<
", extent=NULL";
6995 else { oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.extent__val); }
6996 if (data->args.hipArrayGetInfo.flags == NULL) oss <<
", flags=NULL";
6997 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.flags__val); }
6998 if (data->args.hipArrayGetInfo.array == NULL) oss <<
", array=NULL";
6999 else { oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipArrayGetInfo.array__val); }
7002 case HIP_API_ID_hipChooseDevice:
7003 oss <<
"hipChooseDevice(";
7004 if (data->args.hipChooseDevice.device == NULL) oss <<
"device=NULL";
7005 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDevice.device__val); }
7006 if (data->args.hipChooseDevice.prop == NULL) oss <<
", prop=NULL";
7007 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipChooseDevice.prop__val); }
7010 case HIP_API_ID_hipConfigureCall:
7011 oss <<
"hipConfigureCall(";
7012 oss <<
"gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.gridDim);
7013 oss <<
", blockDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.blockDim);
7014 oss <<
", sharedMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.sharedMem);
7015 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipConfigureCall.stream);
7018 case HIP_API_ID_hipCreateSurfaceObject:
7019 oss <<
"hipCreateSurfaceObject(";
7020 if (data->args.hipCreateSurfaceObject.pSurfObject == NULL) oss <<
"pSurfObject=NULL";
7021 else { oss <<
"pSurfObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pSurfObject__val); }
7022 if (data->args.hipCreateSurfaceObject.pResDesc == NULL) oss <<
", pResDesc=NULL";
7023 else { oss <<
", pResDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCreateSurfaceObject.pResDesc__val); }
7026 case HIP_API_ID_hipCtxCreate:
7027 oss <<
"hipCtxCreate(";
7028 if (data->args.hipCtxCreate.ctx == NULL) oss <<
"ctx=NULL";
7029 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.ctx__val); }
7030 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.flags);
7031 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxCreate.device);
7034 case HIP_API_ID_hipCtxDestroy:
7035 oss <<
"hipCtxDestroy(";
7036 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDestroy.ctx);
7039 case HIP_API_ID_hipCtxDisablePeerAccess:
7040 oss <<
"hipCtxDisablePeerAccess(";
7041 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxDisablePeerAccess.peerCtx);
7044 case HIP_API_ID_hipCtxEnablePeerAccess:
7045 oss <<
"hipCtxEnablePeerAccess(";
7046 oss <<
"peerCtx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.peerCtx);
7047 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxEnablePeerAccess.flags);
7050 case HIP_API_ID_hipCtxGetApiVersion:
7051 oss <<
"hipCtxGetApiVersion(";
7052 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.ctx);
7053 if (data->args.hipCtxGetApiVersion.apiVersion == NULL) oss <<
", apiVersion=NULL";
7054 else { oss <<
", apiVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetApiVersion.apiVersion__val); }
7057 case HIP_API_ID_hipCtxGetCacheConfig:
7058 oss <<
"hipCtxGetCacheConfig(";
7059 if (data->args.hipCtxGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7060 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCacheConfig.cacheConfig__val); }
7063 case HIP_API_ID_hipCtxGetCurrent:
7064 oss <<
"hipCtxGetCurrent(";
7065 if (data->args.hipCtxGetCurrent.ctx == NULL) oss <<
"ctx=NULL";
7066 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetCurrent.ctx__val); }
7069 case HIP_API_ID_hipCtxGetDevice:
7070 oss <<
"hipCtxGetDevice(";
7071 if (data->args.hipCtxGetDevice.device == NULL) oss <<
"device=NULL";
7072 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetDevice.device__val); }
7075 case HIP_API_ID_hipCtxGetFlags:
7076 oss <<
"hipCtxGetFlags(";
7077 if (data->args.hipCtxGetFlags.flags == NULL) oss <<
"flags=NULL";
7078 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetFlags.flags__val); }
7081 case HIP_API_ID_hipCtxGetSharedMemConfig:
7082 oss <<
"hipCtxGetSharedMemConfig(";
7083 if (data->args.hipCtxGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7084 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxGetSharedMemConfig.pConfig__val); }
7087 case HIP_API_ID_hipCtxPopCurrent:
7088 oss <<
"hipCtxPopCurrent(";
7089 if (data->args.hipCtxPopCurrent.ctx == NULL) oss <<
"ctx=NULL";
7090 else { oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPopCurrent.ctx__val); }
7093 case HIP_API_ID_hipCtxPushCurrent:
7094 oss <<
"hipCtxPushCurrent(";
7095 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxPushCurrent.ctx);
7098 case HIP_API_ID_hipCtxSetCacheConfig:
7099 oss <<
"hipCtxSetCacheConfig(";
7100 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCacheConfig.cacheConfig);
7103 case HIP_API_ID_hipCtxSetCurrent:
7104 oss <<
"hipCtxSetCurrent(";
7105 oss <<
"ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetCurrent.ctx);
7108 case HIP_API_ID_hipCtxSetSharedMemConfig:
7109 oss <<
"hipCtxSetSharedMemConfig(";
7110 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipCtxSetSharedMemConfig.config);
7113 case HIP_API_ID_hipCtxSynchronize:
7114 oss <<
"hipCtxSynchronize(";
7117 case HIP_API_ID_hipDestroyExternalMemory:
7118 oss <<
"hipDestroyExternalMemory(";
7119 oss <<
"extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalMemory.extMem);
7122 case HIP_API_ID_hipDestroyExternalSemaphore:
7123 oss <<
"hipDestroyExternalSemaphore(";
7124 oss <<
"extSem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroyExternalSemaphore.extSem);
7127 case HIP_API_ID_hipDestroySurfaceObject:
7128 oss <<
"hipDestroySurfaceObject(";
7129 oss <<
"surfaceObject="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDestroySurfaceObject.surfaceObject);
7132 case HIP_API_ID_hipDeviceCanAccessPeer:
7133 oss <<
"hipDeviceCanAccessPeer(";
7134 if (data->args.hipDeviceCanAccessPeer.canAccessPeer == NULL) oss <<
"canAccessPeer=NULL";
7135 else { oss <<
"canAccessPeer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.canAccessPeer__val); }
7136 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.deviceId);
7137 oss <<
", peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceCanAccessPeer.peerDeviceId);
7140 case HIP_API_ID_hipDeviceComputeCapability:
7141 oss <<
"hipDeviceComputeCapability(";
7142 if (data->args.hipDeviceComputeCapability.major == NULL) oss <<
"major=NULL";
7143 else { oss <<
"major="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.major__val); }
7144 if (data->args.hipDeviceComputeCapability.minor == NULL) oss <<
", minor=NULL";
7145 else { oss <<
", minor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.minor__val); }
7146 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceComputeCapability.device);
7149 case HIP_API_ID_hipDeviceDisablePeerAccess:
7150 oss <<
"hipDeviceDisablePeerAccess(";
7151 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceDisablePeerAccess.peerDeviceId);
7154 case HIP_API_ID_hipDeviceEnablePeerAccess:
7155 oss <<
"hipDeviceEnablePeerAccess(";
7156 oss <<
"peerDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.peerDeviceId);
7157 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceEnablePeerAccess.flags);
7160 case HIP_API_ID_hipDeviceGet:
7161 oss <<
"hipDeviceGet(";
7162 if (data->args.hipDeviceGet.device == NULL) oss <<
"device=NULL";
7163 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.device__val); }
7164 oss <<
", ordinal="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGet.ordinal);
7167 case HIP_API_ID_hipDeviceGetAttribute:
7168 oss <<
"hipDeviceGetAttribute(";
7169 if (data->args.hipDeviceGetAttribute.pi == NULL) oss <<
"pi=NULL";
7170 else { oss <<
"pi="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.pi__val); }
7171 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.attr);
7172 oss <<
", deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetAttribute.deviceId);
7175 case HIP_API_ID_hipDeviceGetByPCIBusId:
7176 oss <<
"hipDeviceGetByPCIBusId(";
7177 if (data->args.hipDeviceGetByPCIBusId.device == NULL) oss <<
"device=NULL";
7178 else { oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.device__val); }
7179 if (data->args.hipDeviceGetByPCIBusId.pciBusId == NULL) oss <<
", pciBusId=NULL";
7180 else { oss <<
", pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetByPCIBusId.pciBusId__val); }
7183 case HIP_API_ID_hipDeviceGetCacheConfig:
7184 oss <<
"hipDeviceGetCacheConfig(";
7185 if (data->args.hipDeviceGetCacheConfig.cacheConfig == NULL) oss <<
"cacheConfig=NULL";
7186 else { oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetCacheConfig.cacheConfig__val); }
7189 case HIP_API_ID_hipDeviceGetDefaultMemPool:
7190 oss <<
"hipDeviceGetDefaultMemPool(";
7191 if (data->args.hipDeviceGetDefaultMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7192 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.mem_pool__val); }
7193 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetDefaultMemPool.device);
7196 case HIP_API_ID_hipDeviceGetGraphMemAttribute:
7197 oss <<
"hipDeviceGetGraphMemAttribute(";
7198 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.device);
7199 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.attr);
7200 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetGraphMemAttribute.value);
7203 case HIP_API_ID_hipDeviceGetLimit:
7204 oss <<
"hipDeviceGetLimit(";
7205 if (data->args.hipDeviceGetLimit.pValue == NULL) oss <<
"pValue=NULL";
7206 else { oss <<
"pValue="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.pValue__val); }
7207 oss <<
", limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetLimit.limit);
7210 case HIP_API_ID_hipDeviceGetMemPool:
7211 oss <<
"hipDeviceGetMemPool(";
7212 if (data->args.hipDeviceGetMemPool.mem_pool == NULL) oss <<
"mem_pool=NULL";
7213 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.mem_pool__val); }
7214 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetMemPool.device);
7217 case HIP_API_ID_hipDeviceGetName:
7218 oss <<
"hipDeviceGetName(";
7219 if (data->args.hipDeviceGetName.name == NULL) oss <<
"name=NULL";
7220 else { oss <<
"name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.name__val); }
7221 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.len);
7222 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetName.device);
7225 case HIP_API_ID_hipDeviceGetP2PAttribute:
7226 oss <<
"hipDeviceGetP2PAttribute(";
7227 if (data->args.hipDeviceGetP2PAttribute.value == NULL) oss <<
"value=NULL";
7228 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.value__val); }
7229 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.attr);
7230 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.srcDevice);
7231 oss <<
", dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetP2PAttribute.dstDevice);
7234 case HIP_API_ID_hipDeviceGetPCIBusId:
7235 oss <<
"hipDeviceGetPCIBusId(";
7236 if (data->args.hipDeviceGetPCIBusId.pciBusId == NULL) oss <<
"pciBusId=NULL";
7237 else { oss <<
"pciBusId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.pciBusId__val); }
7238 oss <<
", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.len);
7239 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetPCIBusId.device);
7242 case HIP_API_ID_hipDeviceGetSharedMemConfig:
7243 oss <<
"hipDeviceGetSharedMemConfig(";
7244 if (data->args.hipDeviceGetSharedMemConfig.pConfig == NULL) oss <<
"pConfig=NULL";
7245 else { oss <<
"pConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetSharedMemConfig.pConfig__val); }
7248 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
7249 oss <<
"hipDeviceGetStreamPriorityRange(";
7250 if (data->args.hipDeviceGetStreamPriorityRange.leastPriority == NULL) oss <<
"leastPriority=NULL";
7251 else { oss <<
"leastPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.leastPriority__val); }
7252 if (data->args.hipDeviceGetStreamPriorityRange.greatestPriority == NULL) oss <<
", greatestPriority=NULL";
7253 else { oss <<
", greatestPriority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetStreamPriorityRange.greatestPriority__val); }
7256 case HIP_API_ID_hipDeviceGetUuid:
7257 oss <<
"hipDeviceGetUuid(";
7258 if (data->args.hipDeviceGetUuid.uuid == NULL) oss <<
"uuid=NULL";
7259 else { oss <<
"uuid="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.uuid__val); }
7260 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGetUuid.device);
7263 case HIP_API_ID_hipDeviceGraphMemTrim:
7264 oss <<
"hipDeviceGraphMemTrim(";
7265 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceGraphMemTrim.device);
7268 case HIP_API_ID_hipDevicePrimaryCtxGetState:
7269 oss <<
"hipDevicePrimaryCtxGetState(";
7270 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.dev);
7271 if (data->args.hipDevicePrimaryCtxGetState.flags == NULL) oss <<
", flags=NULL";
7272 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.flags__val); }
7273 if (data->args.hipDevicePrimaryCtxGetState.active == NULL) oss <<
", active=NULL";
7274 else { oss <<
", active="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxGetState.active__val); }
7277 case HIP_API_ID_hipDevicePrimaryCtxRelease:
7278 oss <<
"hipDevicePrimaryCtxRelease(";
7279 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRelease.dev);
7282 case HIP_API_ID_hipDevicePrimaryCtxReset:
7283 oss <<
"hipDevicePrimaryCtxReset(";
7284 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxReset.dev);
7287 case HIP_API_ID_hipDevicePrimaryCtxRetain:
7288 oss <<
"hipDevicePrimaryCtxRetain(";
7289 if (data->args.hipDevicePrimaryCtxRetain.pctx == NULL) oss <<
"pctx=NULL";
7290 else { oss <<
"pctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.pctx__val); }
7291 oss <<
", dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxRetain.dev);
7294 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
7295 oss <<
"hipDevicePrimaryCtxSetFlags(";
7296 oss <<
"dev="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.dev);
7297 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDevicePrimaryCtxSetFlags.flags);
7300 case HIP_API_ID_hipDeviceReset:
7301 oss <<
"hipDeviceReset(";
7304 case HIP_API_ID_hipDeviceSetCacheConfig:
7305 oss <<
"hipDeviceSetCacheConfig(";
7306 oss <<
"cacheConfig="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetCacheConfig.cacheConfig);
7309 case HIP_API_ID_hipDeviceSetGraphMemAttribute:
7310 oss <<
"hipDeviceSetGraphMemAttribute(";
7311 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.device);
7312 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.attr);
7313 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetGraphMemAttribute.value);
7316 case HIP_API_ID_hipDeviceSetLimit:
7317 oss <<
"hipDeviceSetLimit(";
7318 oss <<
"limit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.limit);
7319 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetLimit.value);
7322 case HIP_API_ID_hipDeviceSetMemPool:
7323 oss <<
"hipDeviceSetMemPool(";
7324 oss <<
"device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.device);
7325 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetMemPool.mem_pool);
7328 case HIP_API_ID_hipDeviceSetSharedMemConfig:
7329 oss <<
"hipDeviceSetSharedMemConfig(";
7330 oss <<
"config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceSetSharedMemConfig.config);
7333 case HIP_API_ID_hipDeviceSynchronize:
7334 oss <<
"hipDeviceSynchronize(";
7337 case HIP_API_ID_hipDeviceTotalMem:
7338 oss <<
"hipDeviceTotalMem(";
7339 if (data->args.hipDeviceTotalMem.bytes == NULL) oss <<
"bytes=NULL";
7340 else { oss <<
"bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.bytes__val); }
7341 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDeviceTotalMem.device);
7344 case HIP_API_ID_hipDriverGetVersion:
7345 oss <<
"hipDriverGetVersion(";
7346 if (data->args.hipDriverGetVersion.driverVersion == NULL) oss <<
"driverVersion=NULL";
7347 else { oss <<
"driverVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDriverGetVersion.driverVersion__val); }
7350 case HIP_API_ID_hipDrvMemcpy2DUnaligned:
7351 oss <<
"hipDrvMemcpy2DUnaligned(";
7352 if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss <<
"pCopy=NULL";
7353 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy2DUnaligned.pCopy__val); }
7356 case HIP_API_ID_hipDrvMemcpy3D:
7357 oss <<
"hipDrvMemcpy3D(";
7358 if (data->args.hipDrvMemcpy3D.pCopy == NULL) oss <<
"pCopy=NULL";
7359 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3D.pCopy__val); }
7362 case HIP_API_ID_hipDrvMemcpy3DAsync:
7363 oss <<
"hipDrvMemcpy3DAsync(";
7364 if (data->args.hipDrvMemcpy3DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
7365 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.pCopy__val); }
7366 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvMemcpy3DAsync.stream);
7369 case HIP_API_ID_hipDrvPointerGetAttributes:
7370 oss <<
"hipDrvPointerGetAttributes(";
7371 oss <<
"numAttributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.numAttributes);
7372 if (data->args.hipDrvPointerGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
7373 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.attributes__val); }
7374 if (data->args.hipDrvPointerGetAttributes.data == NULL) oss <<
", data=NULL";
7375 else { oss <<
", data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.data__val); }
7376 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvPointerGetAttributes.ptr);
7379 case HIP_API_ID_hipEventCreate:
7380 oss <<
"hipEventCreate(";
7381 if (data->args.hipEventCreate.event == NULL) oss <<
"event=NULL";
7382 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreate.event__val); }
7385 case HIP_API_ID_hipEventCreateWithFlags:
7386 oss <<
"hipEventCreateWithFlags(";
7387 if (data->args.hipEventCreateWithFlags.event == NULL) oss <<
"event=NULL";
7388 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.event__val); }
7389 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventCreateWithFlags.flags);
7392 case HIP_API_ID_hipEventDestroy:
7393 oss <<
"hipEventDestroy(";
7394 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventDestroy.event);
7397 case HIP_API_ID_hipEventElapsedTime:
7398 oss <<
"hipEventElapsedTime(";
7399 if (data->args.hipEventElapsedTime.ms == NULL) oss <<
"ms=NULL";
7400 else { oss <<
"ms="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.ms__val); }
7401 oss <<
", start="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.start);
7402 oss <<
", stop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventElapsedTime.stop);
7405 case HIP_API_ID_hipEventQuery:
7406 oss <<
"hipEventQuery(";
7407 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventQuery.event);
7410 case HIP_API_ID_hipEventRecord:
7411 oss <<
"hipEventRecord(";
7412 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.event);
7413 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventRecord.stream);
7416 case HIP_API_ID_hipEventSynchronize:
7417 oss <<
"hipEventSynchronize(";
7418 oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
7421 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
7422 oss <<
"hipExtGetLinkTypeAndHopCount(";
7423 oss <<
"device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
7424 oss <<
", device2="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device2);
7425 if (data->args.hipExtGetLinkTypeAndHopCount.linktype == NULL) oss <<
", linktype=NULL";
7426 else { oss <<
", linktype="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.linktype__val); }
7427 if (data->args.hipExtGetLinkTypeAndHopCount.hopcount == NULL) oss <<
", hopcount=NULL";
7428 else { oss <<
", hopcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.hopcount__val); }
7431 case HIP_API_ID_hipExtLaunchKernel:
7432 oss <<
"hipExtLaunchKernel(";
7433 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.function_address);
7434 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.numBlocks);
7435 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.dimBlocks);
7436 if (data->args.hipExtLaunchKernel.args == NULL) oss <<
", args=NULL";
7437 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.args__val); }
7438 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.sharedMemBytes);
7439 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stream);
7440 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.startEvent);
7441 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.stopEvent);
7442 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchKernel.flags);
7445 case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice:
7446 oss <<
"hipExtLaunchMultiKernelMultiDevice(";
7447 if (data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
7448 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.launchParamsList__val); }
7449 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.numDevices);
7450 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtLaunchMultiKernelMultiDevice.flags);
7453 case HIP_API_ID_hipExtMallocWithFlags:
7454 oss <<
"hipExtMallocWithFlags(";
7455 if (data->args.hipExtMallocWithFlags.ptr == NULL) oss <<
"ptr=NULL";
7456 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.ptr__val); }
7457 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.sizeBytes);
7458 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtMallocWithFlags.flags);
7461 case HIP_API_ID_hipExtModuleLaunchKernel:
7462 oss <<
"hipExtModuleLaunchKernel(";
7463 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.f);
7464 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeX);
7465 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeY);
7466 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.globalWorkSizeZ);
7467 oss <<
", localWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeX);
7468 oss <<
", localWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeY);
7469 oss <<
", localWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.localWorkSizeZ);
7470 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.sharedMemBytes);
7471 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.hStream);
7472 if (data->args.hipExtModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
7473 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.kernelParams__val); }
7474 if (data->args.hipExtModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
7475 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.extra__val); }
7476 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.startEvent);
7477 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.stopEvent);
7478 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtModuleLaunchKernel.flags);
7481 case HIP_API_ID_hipExtStreamCreateWithCUMask:
7482 oss <<
"hipExtStreamCreateWithCUMask(";
7483 if (data->args.hipExtStreamCreateWithCUMask.stream == NULL) oss <<
"stream=NULL";
7484 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.stream__val); }
7485 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMaskSize);
7486 if (data->args.hipExtStreamCreateWithCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
7487 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamCreateWithCUMask.cuMask__val); }
7490 case HIP_API_ID_hipExtStreamGetCUMask:
7491 oss <<
"hipExtStreamGetCUMask(";
7492 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.stream);
7493 oss <<
", cuMaskSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMaskSize);
7494 if (data->args.hipExtStreamGetCUMask.cuMask == NULL) oss <<
", cuMask=NULL";
7495 else { oss <<
", cuMask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtStreamGetCUMask.cuMask__val); }
7498 case HIP_API_ID_hipExternalMemoryGetMappedBuffer:
7499 oss <<
"hipExternalMemoryGetMappedBuffer(";
7500 if (data->args.hipExternalMemoryGetMappedBuffer.devPtr == NULL) oss <<
"devPtr=NULL";
7501 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.devPtr__val); }
7502 oss <<
", extMem="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.extMem);
7503 if (data->args.hipExternalMemoryGetMappedBuffer.bufferDesc == NULL) oss <<
", bufferDesc=NULL";
7504 else { oss <<
", bufferDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExternalMemoryGetMappedBuffer.bufferDesc__val); }
7507 case HIP_API_ID_hipFree:
7509 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFree.ptr);
7512 case HIP_API_ID_hipFreeArray:
7513 oss <<
"hipFreeArray(";
7514 if (data->args.hipFreeArray.array == NULL) oss <<
"array=NULL";
7515 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeArray.array__val); }
7518 case HIP_API_ID_hipFreeAsync:
7519 oss <<
"hipFreeAsync(";
7520 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.dev_ptr);
7521 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeAsync.stream);
7524 case HIP_API_ID_hipFreeHost:
7525 oss <<
"hipFreeHost(";
7526 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeHost.ptr);
7529 case HIP_API_ID_hipFreeMipmappedArray:
7530 oss <<
"hipFreeMipmappedArray(";
7531 oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFreeMipmappedArray.mipmappedArray);
7534 case HIP_API_ID_hipFuncGetAttribute:
7535 oss <<
"hipFuncGetAttribute(";
7536 if (data->args.hipFuncGetAttribute.value == NULL) oss <<
"value=NULL";
7537 else { oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.value__val); }
7538 oss <<
", attrib="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.attrib);
7539 oss <<
", hfunc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttribute.hfunc);
7542 case HIP_API_ID_hipFuncGetAttributes:
7543 oss <<
"hipFuncGetAttributes(";
7544 if (data->args.hipFuncGetAttributes.attr == NULL) oss <<
"attr=NULL";
7545 else { oss <<
"attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.attr__val); }
7546 oss <<
", func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncGetAttributes.func);
7549 case HIP_API_ID_hipFuncSetAttribute:
7550 oss <<
"hipFuncSetAttribute(";
7551 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.func);
7552 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.attr);
7553 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetAttribute.value);
7556 case HIP_API_ID_hipFuncSetCacheConfig:
7557 oss <<
"hipFuncSetCacheConfig(";
7558 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.func);
7559 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetCacheConfig.config);
7562 case HIP_API_ID_hipFuncSetSharedMemConfig:
7563 oss <<
"hipFuncSetSharedMemConfig(";
7564 oss <<
"func="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.func);
7565 oss <<
", config="; roctracer::hip_support::detail::operator<<(oss, data->args.hipFuncSetSharedMemConfig.config);
7568 case HIP_API_ID_hipGLGetDevices:
7569 oss <<
"hipGLGetDevices(";
7570 if (data->args.hipGLGetDevices.pHipDeviceCount == NULL) oss <<
"pHipDeviceCount=NULL";
7571 else { oss <<
"pHipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDeviceCount__val); }
7572 if (data->args.hipGLGetDevices.pHipDevices == NULL) oss <<
", pHipDevices=NULL";
7573 else { oss <<
", pHipDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.pHipDevices__val); }
7574 oss <<
", hipDeviceCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.hipDeviceCount);
7575 oss <<
", deviceList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGLGetDevices.deviceList);
7578 case HIP_API_ID_hipGetChannelDesc:
7579 oss <<
"hipGetChannelDesc(";
7580 if (data->args.hipGetChannelDesc.desc == NULL) oss <<
"desc=NULL";
7581 else { oss <<
"desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.desc__val); }
7582 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetChannelDesc.array);
7585 case HIP_API_ID_hipGetDevice:
7586 oss <<
"hipGetDevice(";
7587 if (data->args.hipGetDevice.deviceId == NULL) oss <<
"deviceId=NULL";
7588 else { oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDevice.deviceId__val); }
7591 case HIP_API_ID_hipGetDeviceCount:
7592 oss <<
"hipGetDeviceCount(";
7593 if (data->args.hipGetDeviceCount.count == NULL) oss <<
"count=NULL";
7594 else { oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceCount.count__val); }
7597 case HIP_API_ID_hipGetDeviceFlags:
7598 oss <<
"hipGetDeviceFlags(";
7599 if (data->args.hipGetDeviceFlags.flags == NULL) oss <<
"flags=NULL";
7600 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceFlags.flags__val); }
7603 case HIP_API_ID_hipGetDeviceProperties:
7604 oss <<
"hipGetDeviceProperties(";
7605 if (data->args.hipGetDeviceProperties.props == NULL) oss <<
"props=NULL";
7606 else { oss <<
"props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceProperties.props__val); }
7607 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetDeviceProperties.device);
7610 case HIP_API_ID_hipGetErrorString:
7611 oss <<
"hipGetErrorString(";
7614 case HIP_API_ID_hipGetLastError:
7615 oss <<
"hipGetLastError(";
7618 case HIP_API_ID_hipGetMipmappedArrayLevel:
7619 oss <<
"hipGetMipmappedArrayLevel(";
7620 if (data->args.hipGetMipmappedArrayLevel.levelArray == NULL) oss <<
"levelArray=NULL";
7621 else { oss <<
"levelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.levelArray__val); }
7622 oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.mipmappedArray);
7623 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
7626 case HIP_API_ID_hipGetSymbolAddress:
7627 oss <<
"hipGetSymbolAddress(";
7628 if (data->args.hipGetSymbolAddress.devPtr == NULL) oss <<
"devPtr=NULL";
7629 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.devPtr__val); }
7630 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolAddress.symbol);
7633 case HIP_API_ID_hipGetSymbolSize:
7634 oss <<
"hipGetSymbolSize(";
7635 if (data->args.hipGetSymbolSize.size == NULL) oss <<
"size=NULL";
7636 else { oss <<
"size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.size__val); }
7637 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetSymbolSize.symbol);
7640 case HIP_API_ID_hipGraphAddChildGraphNode:
7641 oss <<
"hipGraphAddChildGraphNode(";
7642 if (data->args.hipGraphAddChildGraphNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7643 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pGraphNode__val); }
7644 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.graph);
7645 if (data->args.hipGraphAddChildGraphNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7646 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.pDependencies__val); }
7647 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.numDependencies);
7648 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddChildGraphNode.childGraph);
7651 case HIP_API_ID_hipGraphAddDependencies:
7652 oss <<
"hipGraphAddDependencies(";
7653 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.graph);
7654 if (data->args.hipGraphAddDependencies.from == NULL) oss <<
", from=NULL";
7655 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.from__val); }
7656 if (data->args.hipGraphAddDependencies.to == NULL) oss <<
", to=NULL";
7657 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.to__val); }
7658 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddDependencies.numDependencies);
7661 case HIP_API_ID_hipGraphAddEmptyNode:
7662 oss <<
"hipGraphAddEmptyNode(";
7663 if (data->args.hipGraphAddEmptyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7664 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pGraphNode__val); }
7665 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.graph);
7666 if (data->args.hipGraphAddEmptyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7667 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.pDependencies__val); }
7668 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEmptyNode.numDependencies);
7671 case HIP_API_ID_hipGraphAddEventRecordNode:
7672 oss <<
"hipGraphAddEventRecordNode(";
7673 if (data->args.hipGraphAddEventRecordNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7674 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pGraphNode__val); }
7675 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.graph);
7676 if (data->args.hipGraphAddEventRecordNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7677 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.pDependencies__val); }
7678 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.numDependencies);
7679 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventRecordNode.event);
7682 case HIP_API_ID_hipGraphAddEventWaitNode:
7683 oss <<
"hipGraphAddEventWaitNode(";
7684 if (data->args.hipGraphAddEventWaitNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7685 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pGraphNode__val); }
7686 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.graph);
7687 if (data->args.hipGraphAddEventWaitNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7688 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.pDependencies__val); }
7689 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.numDependencies);
7690 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddEventWaitNode.event);
7693 case HIP_API_ID_hipGraphAddHostNode:
7694 oss <<
"hipGraphAddHostNode(";
7695 if (data->args.hipGraphAddHostNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7696 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pGraphNode__val); }
7697 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.graph);
7698 if (data->args.hipGraphAddHostNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7699 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pDependencies__val); }
7700 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.numDependencies);
7701 if (data->args.hipGraphAddHostNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7702 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddHostNode.pNodeParams__val); }
7705 case HIP_API_ID_hipGraphAddKernelNode:
7706 oss <<
"hipGraphAddKernelNode(";
7707 if (data->args.hipGraphAddKernelNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7708 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pGraphNode__val); }
7709 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.graph);
7710 if (data->args.hipGraphAddKernelNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7711 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pDependencies__val); }
7712 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.numDependencies);
7713 if (data->args.hipGraphAddKernelNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7714 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddKernelNode.pNodeParams__val); }
7717 case HIP_API_ID_hipGraphAddMemAllocNode:
7718 oss <<
"hipGraphAddMemAllocNode(";
7719 if (data->args.hipGraphAddMemAllocNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7720 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pGraphNode__val); }
7721 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.graph);
7722 if (data->args.hipGraphAddMemAllocNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7723 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pDependencies__val); }
7724 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.numDependencies);
7725 if (data->args.hipGraphAddMemAllocNode.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7726 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemAllocNode.pNodeParams__val); }
7729 case HIP_API_ID_hipGraphAddMemFreeNode:
7730 oss <<
"hipGraphAddMemFreeNode(";
7731 if (data->args.hipGraphAddMemFreeNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7732 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pGraphNode__val); }
7733 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.graph);
7734 if (data->args.hipGraphAddMemFreeNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7735 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.pDependencies__val); }
7736 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.numDependencies);
7737 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemFreeNode.dev_ptr);
7740 case HIP_API_ID_hipGraphAddMemcpyNode:
7741 oss <<
"hipGraphAddMemcpyNode(";
7742 if (data->args.hipGraphAddMemcpyNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7743 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pGraphNode__val); }
7744 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.graph);
7745 if (data->args.hipGraphAddMemcpyNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7746 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pDependencies__val); }
7747 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.numDependencies);
7748 if (data->args.hipGraphAddMemcpyNode.pCopyParams == NULL) oss <<
", pCopyParams=NULL";
7749 else { oss <<
", pCopyParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode.pCopyParams__val); }
7752 case HIP_API_ID_hipGraphAddMemcpyNode1D:
7753 oss <<
"hipGraphAddMemcpyNode1D(";
7754 if (data->args.hipGraphAddMemcpyNode1D.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7755 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pGraphNode__val); }
7756 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.graph);
7757 if (data->args.hipGraphAddMemcpyNode1D.pDependencies == NULL) oss <<
", pDependencies=NULL";
7758 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.pDependencies__val); }
7759 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.numDependencies);
7760 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.dst);
7761 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.src);
7762 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.count);
7763 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNode1D.kind);
7766 case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol:
7767 oss <<
"hipGraphAddMemcpyNodeFromSymbol(";
7768 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7769 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pGraphNode__val); }
7770 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.graph);
7771 if (data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
7772 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.pDependencies__val); }
7773 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.numDependencies);
7774 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.dst);
7775 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.symbol);
7776 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.count);
7777 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.offset);
7778 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeFromSymbol.kind);
7781 case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol:
7782 oss <<
"hipGraphAddMemcpyNodeToSymbol(";
7783 if (data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7784 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pGraphNode__val); }
7785 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.graph);
7786 if (data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies == NULL) oss <<
", pDependencies=NULL";
7787 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.pDependencies__val); }
7788 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.numDependencies);
7789 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.symbol);
7790 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.src);
7791 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.count);
7792 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.offset);
7793 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemcpyNodeToSymbol.kind);
7796 case HIP_API_ID_hipGraphAddMemsetNode:
7797 oss <<
"hipGraphAddMemsetNode(";
7798 if (data->args.hipGraphAddMemsetNode.pGraphNode == NULL) oss <<
"pGraphNode=NULL";
7799 else { oss <<
"pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pGraphNode__val); }
7800 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.graph);
7801 if (data->args.hipGraphAddMemsetNode.pDependencies == NULL) oss <<
", pDependencies=NULL";
7802 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pDependencies__val); }
7803 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.numDependencies);
7804 if (data->args.hipGraphAddMemsetNode.pMemsetParams == NULL) oss <<
", pMemsetParams=NULL";
7805 else { oss <<
", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
7808 case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
7809 oss <<
"hipGraphChildGraphNodeGetGraph(";
7810 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
7811 if (data->args.hipGraphChildGraphNodeGetGraph.pGraph == NULL) oss <<
", pGraph=NULL";
7812 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.pGraph__val); }
7815 case HIP_API_ID_hipGraphClone:
7816 oss <<
"hipGraphClone(";
7817 if (data->args.hipGraphClone.pGraphClone == NULL) oss <<
"pGraphClone=NULL";
7818 else { oss <<
"pGraphClone="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.pGraphClone__val); }
7819 oss <<
", originalGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphClone.originalGraph);
7822 case HIP_API_ID_hipGraphCreate:
7823 oss <<
"hipGraphCreate(";
7824 if (data->args.hipGraphCreate.pGraph == NULL) oss <<
"pGraph=NULL";
7825 else { oss <<
"pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.pGraph__val); }
7826 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphCreate.flags);
7829 case HIP_API_ID_hipGraphDebugDotPrint:
7830 oss <<
"hipGraphDebugDotPrint(";
7831 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.graph);
7832 if (data->args.hipGraphDebugDotPrint.path == NULL) oss <<
", path=NULL";
7833 else { oss <<
", path="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.path__val); }
7834 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDebugDotPrint.flags);
7837 case HIP_API_ID_hipGraphDestroy:
7838 oss <<
"hipGraphDestroy(";
7839 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroy.graph);
7842 case HIP_API_ID_hipGraphDestroyNode:
7843 oss <<
"hipGraphDestroyNode(";
7844 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphDestroyNode.node);
7847 case HIP_API_ID_hipGraphEventRecordNodeGetEvent:
7848 oss <<
"hipGraphEventRecordNodeGetEvent(";
7849 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.node);
7850 if (data->args.hipGraphEventRecordNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
7851 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeGetEvent.event_out__val); }
7854 case HIP_API_ID_hipGraphEventRecordNodeSetEvent:
7855 oss <<
"hipGraphEventRecordNodeSetEvent(";
7856 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.node);
7857 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventRecordNodeSetEvent.event);
7860 case HIP_API_ID_hipGraphEventWaitNodeGetEvent:
7861 oss <<
"hipGraphEventWaitNodeGetEvent(";
7862 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.node);
7863 if (data->args.hipGraphEventWaitNodeGetEvent.event_out == NULL) oss <<
", event_out=NULL";
7864 else { oss <<
", event_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeGetEvent.event_out__val); }
7867 case HIP_API_ID_hipGraphEventWaitNodeSetEvent:
7868 oss <<
"hipGraphEventWaitNodeSetEvent(";
7869 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.node);
7870 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphEventWaitNodeSetEvent.event);
7873 case HIP_API_ID_hipGraphExecChildGraphNodeSetParams:
7874 oss <<
"hipGraphExecChildGraphNodeSetParams(";
7875 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.hGraphExec);
7876 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.node);
7877 oss <<
", childGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecChildGraphNodeSetParams.childGraph);
7880 case HIP_API_ID_hipGraphExecDestroy:
7881 oss <<
"hipGraphExecDestroy(";
7882 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecDestroy.graphExec);
7885 case HIP_API_ID_hipGraphExecEventRecordNodeSetEvent:
7886 oss <<
"hipGraphExecEventRecordNodeSetEvent(";
7887 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hGraphExec);
7888 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.hNode);
7889 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventRecordNodeSetEvent.event);
7892 case HIP_API_ID_hipGraphExecEventWaitNodeSetEvent:
7893 oss <<
"hipGraphExecEventWaitNodeSetEvent(";
7894 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hGraphExec);
7895 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.hNode);
7896 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecEventWaitNodeSetEvent.event);
7899 case HIP_API_ID_hipGraphExecHostNodeSetParams:
7900 oss <<
"hipGraphExecHostNodeSetParams(";
7901 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.hGraphExec);
7902 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.node);
7903 if (data->args.hipGraphExecHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7904 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecHostNodeSetParams.pNodeParams__val); }
7907 case HIP_API_ID_hipGraphExecKernelNodeSetParams:
7908 oss <<
"hipGraphExecKernelNodeSetParams(";
7909 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.hGraphExec);
7910 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.node);
7911 if (data->args.hipGraphExecKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7912 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecKernelNodeSetParams.pNodeParams__val); }
7915 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams:
7916 oss <<
"hipGraphExecMemcpyNodeSetParams(";
7917 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.hGraphExec);
7918 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.node);
7919 if (data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7920 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams.pNodeParams__val); }
7923 case HIP_API_ID_hipGraphExecMemcpyNodeSetParams1D:
7924 oss <<
"hipGraphExecMemcpyNodeSetParams1D(";
7925 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.hGraphExec);
7926 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.node);
7927 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.dst);
7928 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.src);
7929 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.count);
7930 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParams1D.kind);
7933 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsFromSymbol:
7934 oss <<
"hipGraphExecMemcpyNodeSetParamsFromSymbol(";
7935 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.hGraphExec);
7936 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.node);
7937 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.dst);
7938 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.symbol);
7939 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.count);
7940 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.offset);
7941 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsFromSymbol.kind);
7944 case HIP_API_ID_hipGraphExecMemcpyNodeSetParamsToSymbol:
7945 oss <<
"hipGraphExecMemcpyNodeSetParamsToSymbol(";
7946 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.hGraphExec);
7947 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.node);
7948 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.symbol);
7949 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.src);
7950 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.count);
7951 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.offset);
7952 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemcpyNodeSetParamsToSymbol.kind);
7955 case HIP_API_ID_hipGraphExecMemsetNodeSetParams:
7956 oss <<
"hipGraphExecMemsetNodeSetParams(";
7957 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.hGraphExec);
7958 oss <<
", node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.node);
7959 if (data->args.hipGraphExecMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
7960 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecMemsetNodeSetParams.pNodeParams__val); }
7963 case HIP_API_ID_hipGraphExecUpdate:
7964 oss <<
"hipGraphExecUpdate(";
7965 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraphExec);
7966 oss <<
", hGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hGraph);
7967 if (data->args.hipGraphExecUpdate.hErrorNode_out == NULL) oss <<
", hErrorNode_out=NULL";
7968 else { oss <<
", hErrorNode_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.hErrorNode_out__val); }
7969 if (data->args.hipGraphExecUpdate.updateResult_out == NULL) oss <<
", updateResult_out=NULL";
7970 else { oss <<
", updateResult_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphExecUpdate.updateResult_out__val); }
7973 case HIP_API_ID_hipGraphGetEdges:
7974 oss <<
"hipGraphGetEdges(";
7975 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.graph);
7976 if (data->args.hipGraphGetEdges.from == NULL) oss <<
", from=NULL";
7977 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.from__val); }
7978 if (data->args.hipGraphGetEdges.to == NULL) oss <<
", to=NULL";
7979 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.to__val); }
7980 if (data->args.hipGraphGetEdges.numEdges == NULL) oss <<
", numEdges=NULL";
7981 else { oss <<
", numEdges="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetEdges.numEdges__val); }
7984 case HIP_API_ID_hipGraphGetNodes:
7985 oss <<
"hipGraphGetNodes(";
7986 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.graph);
7987 if (data->args.hipGraphGetNodes.nodes == NULL) oss <<
", nodes=NULL";
7988 else { oss <<
", nodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.nodes__val); }
7989 if (data->args.hipGraphGetNodes.numNodes == NULL) oss <<
", numNodes=NULL";
7990 else { oss <<
", numNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetNodes.numNodes__val); }
7993 case HIP_API_ID_hipGraphGetRootNodes:
7994 oss <<
"hipGraphGetRootNodes(";
7995 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.graph);
7996 if (data->args.hipGraphGetRootNodes.pRootNodes == NULL) oss <<
", pRootNodes=NULL";
7997 else { oss <<
", pRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pRootNodes__val); }
7998 if (data->args.hipGraphGetRootNodes.pNumRootNodes == NULL) oss <<
", pNumRootNodes=NULL";
7999 else { oss <<
", pNumRootNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphGetRootNodes.pNumRootNodes__val); }
8002 case HIP_API_ID_hipGraphHostNodeGetParams:
8003 oss <<
"hipGraphHostNodeGetParams(";
8004 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.node);
8005 if (data->args.hipGraphHostNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8006 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeGetParams.pNodeParams__val); }
8009 case HIP_API_ID_hipGraphHostNodeSetParams:
8010 oss <<
"hipGraphHostNodeSetParams(";
8011 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.node);
8012 if (data->args.hipGraphHostNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8013 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphHostNodeSetParams.pNodeParams__val); }
8016 case HIP_API_ID_hipGraphInstantiate:
8017 oss <<
"hipGraphInstantiate(";
8018 if (data->args.hipGraphInstantiate.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8019 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pGraphExec__val); }
8020 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.graph);
8021 if (data->args.hipGraphInstantiate.pErrorNode == NULL) oss <<
", pErrorNode=NULL";
8022 else { oss <<
", pErrorNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pErrorNode__val); }
8023 if (data->args.hipGraphInstantiate.pLogBuffer == NULL) oss <<
", pLogBuffer=NULL";
8024 else { oss <<
", pLogBuffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.pLogBuffer__val); }
8025 oss <<
", bufferSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiate.bufferSize);
8028 case HIP_API_ID_hipGraphInstantiateWithFlags:
8029 oss <<
"hipGraphInstantiateWithFlags(";
8030 if (data->args.hipGraphInstantiateWithFlags.pGraphExec == NULL) oss <<
"pGraphExec=NULL";
8031 else { oss <<
"pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.pGraphExec__val); }
8032 oss <<
", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.graph);
8033 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
8036 case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
8037 oss <<
"hipGraphKernelNodeCopyAttributes(";
8038 oss <<
"hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
8039 oss <<
", hDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hDst);
8042 case HIP_API_ID_hipGraphKernelNodeGetAttribute:
8043 oss <<
"hipGraphKernelNodeGetAttribute(";
8044 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.hNode);
8045 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.attr);
8046 if (data->args.hipGraphKernelNodeGetAttribute.value == NULL) oss <<
", value=NULL";
8047 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetAttribute.value__val); }
8050 case HIP_API_ID_hipGraphKernelNodeGetParams:
8051 oss <<
"hipGraphKernelNodeGetParams(";
8052 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.node);
8053 if (data->args.hipGraphKernelNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8054 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeGetParams.pNodeParams__val); }
8057 case HIP_API_ID_hipGraphKernelNodeSetAttribute:
8058 oss <<
"hipGraphKernelNodeSetAttribute(";
8059 oss <<
"hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.hNode);
8060 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.attr);
8061 if (data->args.hipGraphKernelNodeSetAttribute.value == NULL) oss <<
", value=NULL";
8062 else { oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetAttribute.value__val); }
8065 case HIP_API_ID_hipGraphKernelNodeSetParams:
8066 oss <<
"hipGraphKernelNodeSetParams(";
8067 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.node);
8068 if (data->args.hipGraphKernelNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8069 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeSetParams.pNodeParams__val); }
8072 case HIP_API_ID_hipGraphLaunch:
8073 oss <<
"hipGraphLaunch(";
8074 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.graphExec);
8075 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphLaunch.stream);
8078 case HIP_API_ID_hipGraphMemAllocNodeGetParams:
8079 oss <<
"hipGraphMemAllocNodeGetParams(";
8080 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.node);
8081 if (data->args.hipGraphMemAllocNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8082 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemAllocNodeGetParams.pNodeParams__val); }
8085 case HIP_API_ID_hipGraphMemFreeNodeGetParams:
8086 oss <<
"hipGraphMemFreeNodeGetParams(";
8087 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.node);
8088 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemFreeNodeGetParams.dev_ptr);
8091 case HIP_API_ID_hipGraphMemcpyNodeGetParams:
8092 oss <<
"hipGraphMemcpyNodeGetParams(";
8093 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.node);
8094 if (data->args.hipGraphMemcpyNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8095 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeGetParams.pNodeParams__val); }
8098 case HIP_API_ID_hipGraphMemcpyNodeSetParams:
8099 oss <<
"hipGraphMemcpyNodeSetParams(";
8100 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.node);
8101 if (data->args.hipGraphMemcpyNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8102 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams.pNodeParams__val); }
8105 case HIP_API_ID_hipGraphMemcpyNodeSetParams1D:
8106 oss <<
"hipGraphMemcpyNodeSetParams1D(";
8107 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.node);
8108 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.dst);
8109 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.src);
8110 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.count);
8111 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParams1D.kind);
8114 case HIP_API_ID_hipGraphMemcpyNodeSetParamsFromSymbol:
8115 oss <<
"hipGraphMemcpyNodeSetParamsFromSymbol(";
8116 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.node);
8117 oss <<
", dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.dst);
8118 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.symbol);
8119 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.count);
8120 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.offset);
8121 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsFromSymbol.kind);
8124 case HIP_API_ID_hipGraphMemcpyNodeSetParamsToSymbol:
8125 oss <<
"hipGraphMemcpyNodeSetParamsToSymbol(";
8126 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.node);
8127 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.symbol);
8128 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.src);
8129 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.count);
8130 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.offset);
8131 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemcpyNodeSetParamsToSymbol.kind);
8134 case HIP_API_ID_hipGraphMemsetNodeGetParams:
8135 oss <<
"hipGraphMemsetNodeGetParams(";
8136 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.node);
8137 if (data->args.hipGraphMemsetNodeGetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8138 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeGetParams.pNodeParams__val); }
8141 case HIP_API_ID_hipGraphMemsetNodeSetParams:
8142 oss <<
"hipGraphMemsetNodeSetParams(";
8143 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.node);
8144 if (data->args.hipGraphMemsetNodeSetParams.pNodeParams == NULL) oss <<
", pNodeParams=NULL";
8145 else { oss <<
", pNodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphMemsetNodeSetParams.pNodeParams__val); }
8148 case HIP_API_ID_hipGraphNodeFindInClone:
8149 oss <<
"hipGraphNodeFindInClone(";
8150 if (data->args.hipGraphNodeFindInClone.pNode == NULL) oss <<
"pNode=NULL";
8151 else { oss <<
"pNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.pNode__val); }
8152 oss <<
", originalNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.originalNode);
8153 oss <<
", clonedGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeFindInClone.clonedGraph);
8156 case HIP_API_ID_hipGraphNodeGetDependencies:
8157 oss <<
"hipGraphNodeGetDependencies(";
8158 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.node);
8159 if (data->args.hipGraphNodeGetDependencies.pDependencies == NULL) oss <<
", pDependencies=NULL";
8160 else { oss <<
", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pDependencies__val); }
8161 if (data->args.hipGraphNodeGetDependencies.pNumDependencies == NULL) oss <<
", pNumDependencies=NULL";
8162 else { oss <<
", pNumDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependencies.pNumDependencies__val); }
8165 case HIP_API_ID_hipGraphNodeGetDependentNodes:
8166 oss <<
"hipGraphNodeGetDependentNodes(";
8167 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.node);
8168 if (data->args.hipGraphNodeGetDependentNodes.pDependentNodes == NULL) oss <<
", pDependentNodes=NULL";
8169 else { oss <<
", pDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pDependentNodes__val); }
8170 if (data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes == NULL) oss <<
", pNumDependentNodes=NULL";
8171 else { oss <<
", pNumDependentNodes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetDependentNodes.pNumDependentNodes__val); }
8174 case HIP_API_ID_hipGraphNodeGetEnabled:
8175 oss <<
"hipGraphNodeGetEnabled(";
8176 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hGraphExec);
8177 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.hNode);
8178 if (data->args.hipGraphNodeGetEnabled.isEnabled == NULL) oss <<
", isEnabled=NULL";
8179 else { oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetEnabled.isEnabled__val); }
8182 case HIP_API_ID_hipGraphNodeGetType:
8183 oss <<
"hipGraphNodeGetType(";
8184 oss <<
"node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.node);
8185 if (data->args.hipGraphNodeGetType.pType == NULL) oss <<
", pType=NULL";
8186 else { oss <<
", pType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeGetType.pType__val); }
8189 case HIP_API_ID_hipGraphNodeSetEnabled:
8190 oss <<
"hipGraphNodeSetEnabled(";
8191 oss <<
"hGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hGraphExec);
8192 oss <<
", hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.hNode);
8193 oss <<
", isEnabled="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphNodeSetEnabled.isEnabled);
8196 case HIP_API_ID_hipGraphReleaseUserObject:
8197 oss <<
"hipGraphReleaseUserObject(";
8198 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.graph);
8199 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.object);
8200 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphReleaseUserObject.count);
8203 case HIP_API_ID_hipGraphRemoveDependencies:
8204 oss <<
"hipGraphRemoveDependencies(";
8205 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.graph);
8206 if (data->args.hipGraphRemoveDependencies.from == NULL) oss <<
", from=NULL";
8207 else { oss <<
", from="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.from__val); }
8208 if (data->args.hipGraphRemoveDependencies.to == NULL) oss <<
", to=NULL";
8209 else { oss <<
", to="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.to__val); }
8210 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRemoveDependencies.numDependencies);
8213 case HIP_API_ID_hipGraphRetainUserObject:
8214 oss <<
"hipGraphRetainUserObject(";
8215 oss <<
"graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.graph);
8216 oss <<
", object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.object);
8217 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.count);
8218 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphRetainUserObject.flags);
8221 case HIP_API_ID_hipGraphUpload:
8222 oss <<
"hipGraphUpload(";
8223 oss <<
"graphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.graphExec);
8224 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphUpload.stream);
8227 case HIP_API_ID_hipGraphicsGLRegisterBuffer:
8228 oss <<
"hipGraphicsGLRegisterBuffer(";
8229 if (data->args.hipGraphicsGLRegisterBuffer.resource == NULL) oss <<
"resource=NULL";
8230 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterBuffer.resource__val); }
8231 oss <<
", buffer="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.buffer);
8232 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterBuffer.flags);
8235 case HIP_API_ID_hipGraphicsGLRegisterImage:
8236 oss <<
"hipGraphicsGLRegisterImage(";
8237 if (data->args.hipGraphicsGLRegisterImage.resource == NULL) oss <<
"resource=NULL";
8238 else { oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipGraphicsGLRegisterImage.resource__val); }
8239 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.image);
8240 oss <<
", target="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.target);
8241 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsGLRegisterImage.flags);
8244 case HIP_API_ID_hipGraphicsMapResources:
8245 oss <<
"hipGraphicsMapResources(";
8246 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.count);
8247 if (data->args.hipGraphicsMapResources.resources == NULL) oss <<
", resources=NULL";
8248 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.resources__val); }
8249 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsMapResources.stream);
8252 case HIP_API_ID_hipGraphicsResourceGetMappedPointer:
8253 oss <<
"hipGraphicsResourceGetMappedPointer(";
8254 if (data->args.hipGraphicsResourceGetMappedPointer.devPtr == NULL) oss <<
"devPtr=NULL";
8255 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.devPtr__val); }
8256 if (data->args.hipGraphicsResourceGetMappedPointer.size == NULL) oss <<
", size=NULL";
8257 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.size__val); }
8258 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsResourceGetMappedPointer.resource);
8261 case HIP_API_ID_hipGraphicsSubResourceGetMappedArray:
8262 oss <<
"hipGraphicsSubResourceGetMappedArray(";
8263 if (data->args.hipGraphicsSubResourceGetMappedArray.array == NULL) oss <<
"array=NULL";
8264 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.array__val); }
8265 oss <<
", resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.resource);
8266 oss <<
", arrayIndex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.arrayIndex);
8267 oss <<
", mipLevel="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsSubResourceGetMappedArray.mipLevel);
8270 case HIP_API_ID_hipGraphicsUnmapResources:
8271 oss <<
"hipGraphicsUnmapResources(";
8272 oss <<
"count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.count);
8273 if (data->args.hipGraphicsUnmapResources.resources == NULL) oss <<
", resources=NULL";
8274 else { oss <<
", resources="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.resources__val); }
8275 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnmapResources.stream);
8278 case HIP_API_ID_hipGraphicsUnregisterResource:
8279 oss <<
"hipGraphicsUnregisterResource(";
8280 oss <<
"resource="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphicsUnregisterResource.resource);
8283 case HIP_API_ID_hipHccModuleLaunchKernel:
8284 oss <<
"hipHccModuleLaunchKernel(";
8285 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.f);
8286 oss <<
", globalWorkSizeX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeX);
8287 oss <<
", globalWorkSizeY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeY);
8288 oss <<
", globalWorkSizeZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.globalWorkSizeZ);
8289 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimX);
8290 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimY);
8291 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.blockDimZ);
8292 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.sharedMemBytes);
8293 oss <<
", hStream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.hStream);
8294 if (data->args.hipHccModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8295 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.kernelParams__val); }
8296 if (data->args.hipHccModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
8297 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.extra__val); }
8298 oss <<
", startEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.startEvent);
8299 oss <<
", stopEvent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHccModuleLaunchKernel.stopEvent);
8302 case HIP_API_ID_hipHostAlloc:
8303 oss <<
"hipHostAlloc(";
8304 if (data->args.hipHostAlloc.ptr == NULL) oss <<
"ptr=NULL";
8305 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.ptr__val); }
8306 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.size);
8307 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostAlloc.flags);
8310 case HIP_API_ID_hipHostFree:
8311 oss <<
"hipHostFree(";
8312 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostFree.ptr);
8315 case HIP_API_ID_hipHostGetDevicePointer:
8316 oss <<
"hipHostGetDevicePointer(";
8317 if (data->args.hipHostGetDevicePointer.devPtr == NULL) oss <<
"devPtr=NULL";
8318 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.devPtr__val); }
8319 oss <<
", hstPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.hstPtr);
8320 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetDevicePointer.flags);
8323 case HIP_API_ID_hipHostGetFlags:
8324 oss <<
"hipHostGetFlags(";
8325 if (data->args.hipHostGetFlags.flagsPtr == NULL) oss <<
"flagsPtr=NULL";
8326 else { oss <<
"flagsPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.flagsPtr__val); }
8327 oss <<
", hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostGetFlags.hostPtr);
8330 case HIP_API_ID_hipHostMalloc:
8331 oss <<
"hipHostMalloc(";
8332 if (data->args.hipHostMalloc.ptr == NULL) oss <<
"ptr=NULL";
8333 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.ptr__val); }
8334 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.size);
8335 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostMalloc.flags);
8338 case HIP_API_ID_hipHostRegister:
8339 oss <<
"hipHostRegister(";
8340 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.hostPtr);
8341 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.sizeBytes);
8342 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostRegister.flags);
8345 case HIP_API_ID_hipHostUnregister:
8346 oss <<
"hipHostUnregister(";
8347 oss <<
"hostPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipHostUnregister.hostPtr);
8350 case HIP_API_ID_hipImportExternalMemory:
8351 oss <<
"hipImportExternalMemory(";
8352 if (data->args.hipImportExternalMemory.extMem_out == NULL) oss <<
"extMem_out=NULL";
8353 else { oss <<
"extMem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.extMem_out__val); }
8354 if (data->args.hipImportExternalMemory.memHandleDesc == NULL) oss <<
", memHandleDesc=NULL";
8355 else { oss <<
", memHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalMemory.memHandleDesc__val); }
8358 case HIP_API_ID_hipImportExternalSemaphore:
8359 oss <<
"hipImportExternalSemaphore(";
8360 if (data->args.hipImportExternalSemaphore.extSem_out == NULL) oss <<
"extSem_out=NULL";
8361 else { oss <<
"extSem_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.extSem_out__val); }
8362 if (data->args.hipImportExternalSemaphore.semHandleDesc == NULL) oss <<
", semHandleDesc=NULL";
8363 else { oss <<
", semHandleDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipImportExternalSemaphore.semHandleDesc__val); }
8366 case HIP_API_ID_hipInit:
8368 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipInit.flags);
8371 case HIP_API_ID_hipIpcCloseMemHandle:
8372 oss <<
"hipIpcCloseMemHandle(";
8373 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcCloseMemHandle.devPtr);
8376 case HIP_API_ID_hipIpcGetEventHandle:
8377 oss <<
"hipIpcGetEventHandle(";
8378 if (data->args.hipIpcGetEventHandle.handle == NULL) oss <<
"handle=NULL";
8379 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.handle__val); }
8380 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetEventHandle.event);
8383 case HIP_API_ID_hipIpcGetMemHandle:
8384 oss <<
"hipIpcGetMemHandle(";
8385 if (data->args.hipIpcGetMemHandle.handle == NULL) oss <<
"handle=NULL";
8386 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.handle__val); }
8387 oss <<
", devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcGetMemHandle.devPtr);
8390 case HIP_API_ID_hipIpcOpenEventHandle:
8391 oss <<
"hipIpcOpenEventHandle(";
8392 if (data->args.hipIpcOpenEventHandle.event == NULL) oss <<
"event=NULL";
8393 else { oss <<
"event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.event__val); }
8394 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenEventHandle.handle);
8397 case HIP_API_ID_hipIpcOpenMemHandle:
8398 oss <<
"hipIpcOpenMemHandle(";
8399 if (data->args.hipIpcOpenMemHandle.devPtr == NULL) oss <<
"devPtr=NULL";
8400 else { oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.devPtr__val); }
8401 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.handle);
8402 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipIpcOpenMemHandle.flags);
8405 case HIP_API_ID_hipLaunchByPtr:
8406 oss <<
"hipLaunchByPtr(";
8407 oss <<
"hostFunction="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchByPtr.hostFunction);
8410 case HIP_API_ID_hipLaunchCooperativeKernel:
8411 oss <<
"hipLaunchCooperativeKernel(";
8412 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.f);
8413 oss <<
", gridDim="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.gridDim);
8414 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.blockDimX);
8415 if (data->args.hipLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
8416 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.kernelParams__val); }
8417 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.sharedMemBytes);
8418 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernel.stream);
8421 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
8422 oss <<
"hipLaunchCooperativeKernelMultiDevice(";
8423 if (data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
8424 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
8425 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.numDevices);
8426 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchCooperativeKernelMultiDevice.flags);
8429 case HIP_API_ID_hipLaunchHostFunc:
8430 oss <<
"hipLaunchHostFunc(";
8431 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.stream);
8432 oss <<
", fn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.fn);
8433 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchHostFunc.userData);
8436 case HIP_API_ID_hipLaunchKernel:
8437 oss <<
"hipLaunchKernel(";
8438 oss <<
"function_address="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.function_address);
8439 oss <<
", numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.numBlocks);
8440 oss <<
", dimBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.dimBlocks);
8441 if (data->args.hipLaunchKernel.args == NULL) oss <<
", args=NULL";
8442 else { oss <<
", args="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.args__val); }
8443 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.sharedMemBytes);
8444 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipLaunchKernel.stream);
8447 case HIP_API_ID_hipMalloc:
8448 oss <<
"hipMalloc(";
8449 if (data->args.hipMalloc.ptr == NULL) oss <<
"ptr=NULL";
8450 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.ptr__val); }
8451 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc.size);
8454 case HIP_API_ID_hipMalloc3D:
8455 oss <<
"hipMalloc3D(";
8456 if (data->args.hipMalloc3D.pitchedDevPtr == NULL) oss <<
"pitchedDevPtr=NULL";
8457 else { oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.pitchedDevPtr__val); }
8458 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3D.extent);
8461 case HIP_API_ID_hipMalloc3DArray:
8462 oss <<
"hipMalloc3DArray(";
8463 if (data->args.hipMalloc3DArray.array == NULL) oss <<
"array=NULL";
8464 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.array__val); }
8465 if (data->args.hipMalloc3DArray.desc == NULL) oss <<
", desc=NULL";
8466 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.desc__val); }
8467 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.extent);
8468 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMalloc3DArray.flags);
8471 case HIP_API_ID_hipMallocArray:
8472 oss <<
"hipMallocArray(";
8473 if (data->args.hipMallocArray.array == NULL) oss <<
"array=NULL";
8474 else { oss <<
"array="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipMallocArray.array__val); }
8475 if (data->args.hipMallocArray.desc == NULL) oss <<
", desc=NULL";
8476 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.desc__val); }
8477 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.width);
8478 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.height);
8479 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocArray.flags);
8482 case HIP_API_ID_hipMallocAsync:
8483 oss <<
"hipMallocAsync(";
8484 if (data->args.hipMallocAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8485 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.dev_ptr__val); }
8486 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.size);
8487 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocAsync.stream);
8490 case HIP_API_ID_hipMallocFromPoolAsync:
8491 oss <<
"hipMallocFromPoolAsync(";
8492 if (data->args.hipMallocFromPoolAsync.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8493 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.dev_ptr__val); }
8494 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.size);
8495 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.mem_pool);
8496 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocFromPoolAsync.stream);
8499 case HIP_API_ID_hipMallocHost:
8500 oss <<
"hipMallocHost(";
8501 if (data->args.hipMallocHost.ptr == NULL) oss <<
"ptr=NULL";
8502 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.ptr__val); }
8503 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocHost.size);
8506 case HIP_API_ID_hipMallocManaged:
8507 oss <<
"hipMallocManaged(";
8508 if (data->args.hipMallocManaged.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8509 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.dev_ptr__val); }
8510 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.size);
8511 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocManaged.flags);
8514 case HIP_API_ID_hipMallocMipmappedArray:
8515 oss <<
"hipMallocMipmappedArray(";
8516 if (data->args.hipMallocMipmappedArray.mipmappedArray == NULL) oss <<
"mipmappedArray=NULL";
8517 else { oss <<
"mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.mipmappedArray__val); }
8518 if (data->args.hipMallocMipmappedArray.desc == NULL) oss <<
", desc=NULL";
8519 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.desc__val); }
8520 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.extent);
8521 oss <<
", numLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.numLevels);
8522 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocMipmappedArray.flags);
8525 case HIP_API_ID_hipMallocPitch:
8526 oss <<
"hipMallocPitch(";
8527 if (data->args.hipMallocPitch.ptr == NULL) oss <<
"ptr=NULL";
8528 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.ptr__val); }
8529 if (data->args.hipMallocPitch.pitch == NULL) oss <<
", pitch=NULL";
8530 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.pitch__val); }
8531 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.width);
8532 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMallocPitch.height);
8535 case HIP_API_ID_hipMemAddressFree:
8536 oss <<
"hipMemAddressFree(";
8537 oss <<
"devPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.devPtr);
8538 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressFree.size);
8541 case HIP_API_ID_hipMemAddressReserve:
8542 oss <<
"hipMemAddressReserve(";
8543 if (data->args.hipMemAddressReserve.ptr == NULL) oss <<
"ptr=NULL";
8544 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.ptr__val); }
8545 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.size);
8546 oss <<
", alignment="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.alignment);
8547 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.addr);
8548 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAddressReserve.flags);
8551 case HIP_API_ID_hipMemAdvise:
8552 oss <<
"hipMemAdvise(";
8553 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.dev_ptr);
8554 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.count);
8555 oss <<
", advice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.advice);
8556 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAdvise.device);
8559 case HIP_API_ID_hipMemAllocHost:
8560 oss <<
"hipMemAllocHost(";
8561 if (data->args.hipMemAllocHost.ptr == NULL) oss <<
"ptr=NULL";
8562 else { oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.ptr__val); }
8563 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocHost.size);
8566 case HIP_API_ID_hipMemAllocPitch:
8567 oss <<
"hipMemAllocPitch(";
8568 if (data->args.hipMemAllocPitch.dptr == NULL) oss <<
"dptr=NULL";
8569 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.dptr__val); }
8570 if (data->args.hipMemAllocPitch.pitch == NULL) oss <<
", pitch=NULL";
8571 else { oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.pitch__val); }
8572 oss <<
", widthInBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.widthInBytes);
8573 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.height);
8574 oss <<
", elementSizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemAllocPitch.elementSizeBytes);
8577 case HIP_API_ID_hipMemCreate:
8578 oss <<
"hipMemCreate(";
8579 if (data->args.hipMemCreate.handle == NULL) oss <<
"handle=NULL";
8580 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.handle__val); }
8581 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.size);
8582 if (data->args.hipMemCreate.prop == NULL) oss <<
", prop=NULL";
8583 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.prop__val); }
8584 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemCreate.flags);
8587 case HIP_API_ID_hipMemExportToShareableHandle:
8588 oss <<
"hipMemExportToShareableHandle(";
8589 oss <<
"shareableHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.shareableHandle);
8590 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handle);
8591 oss <<
", handleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.handleType);
8592 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemExportToShareableHandle.flags);
8595 case HIP_API_ID_hipMemGetAccess:
8596 oss <<
"hipMemGetAccess(";
8597 if (data->args.hipMemGetAccess.flags == NULL) oss <<
"flags=NULL";
8598 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.flags__val); }
8599 if (data->args.hipMemGetAccess.location == NULL) oss <<
", location=NULL";
8600 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.location__val); }
8601 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAccess.ptr);
8604 case HIP_API_ID_hipMemGetAddressRange:
8605 oss <<
"hipMemGetAddressRange(";
8606 if (data->args.hipMemGetAddressRange.pbase == NULL) oss <<
"pbase=NULL";
8607 else { oss <<
"pbase="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.pbase__val); }
8608 if (data->args.hipMemGetAddressRange.psize == NULL) oss <<
", psize=NULL";
8609 else { oss <<
", psize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.psize__val); }
8610 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAddressRange.dptr);
8613 case HIP_API_ID_hipMemGetAllocationGranularity:
8614 oss <<
"hipMemGetAllocationGranularity(";
8615 if (data->args.hipMemGetAllocationGranularity.granularity == NULL) oss <<
"granularity=NULL";
8616 else { oss <<
"granularity="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.granularity__val); }
8617 if (data->args.hipMemGetAllocationGranularity.prop == NULL) oss <<
", prop=NULL";
8618 else { oss <<
", prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.prop__val); }
8619 oss <<
", option="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationGranularity.option);
8622 case HIP_API_ID_hipMemGetAllocationPropertiesFromHandle:
8623 oss <<
"hipMemGetAllocationPropertiesFromHandle(";
8624 if (data->args.hipMemGetAllocationPropertiesFromHandle.prop == NULL) oss <<
"prop=NULL";
8625 else { oss <<
"prop="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.prop__val); }
8626 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetAllocationPropertiesFromHandle.handle);
8629 case HIP_API_ID_hipMemGetInfo:
8630 oss <<
"hipMemGetInfo(";
8631 if (data->args.hipMemGetInfo.free == NULL) oss <<
"free=NULL";
8632 else { oss <<
"free="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.free__val); }
8633 if (data->args.hipMemGetInfo.total == NULL) oss <<
", total=NULL";
8634 else { oss <<
", total="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemGetInfo.total__val); }
8637 case HIP_API_ID_hipMemImportFromShareableHandle:
8638 oss <<
"hipMemImportFromShareableHandle(";
8639 if (data->args.hipMemImportFromShareableHandle.handle == NULL) oss <<
"handle=NULL";
8640 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.handle__val); }
8641 oss <<
", osHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.osHandle);
8642 oss <<
", shHandleType="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemImportFromShareableHandle.shHandleType);
8645 case HIP_API_ID_hipMemMap:
8646 oss <<
"hipMemMap(";
8647 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.ptr);
8648 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.size);
8649 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.offset);
8650 oss <<
", handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.handle);
8651 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMap.flags);
8654 case HIP_API_ID_hipMemMapArrayAsync:
8655 oss <<
"hipMemMapArrayAsync(";
8656 if (data->args.hipMemMapArrayAsync.mapInfoList == NULL) oss <<
"mapInfoList=NULL";
8657 else { oss <<
"mapInfoList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.mapInfoList__val); }
8658 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.count);
8659 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemMapArrayAsync.stream);
8662 case HIP_API_ID_hipMemPoolCreate:
8663 oss <<
"hipMemPoolCreate(";
8664 if (data->args.hipMemPoolCreate.mem_pool == NULL) oss <<
"mem_pool=NULL";
8665 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.mem_pool__val); }
8666 if (data->args.hipMemPoolCreate.pool_props == NULL) oss <<
", pool_props=NULL";
8667 else { oss <<
", pool_props="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolCreate.pool_props__val); }
8670 case HIP_API_ID_hipMemPoolDestroy:
8671 oss <<
"hipMemPoolDestroy(";
8672 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolDestroy.mem_pool);
8675 case HIP_API_ID_hipMemPoolExportPointer:
8676 oss <<
"hipMemPoolExportPointer(";
8677 if (data->args.hipMemPoolExportPointer.export_data == NULL) oss <<
"export_data=NULL";
8678 else { oss <<
"export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.export_data__val); }
8679 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportPointer.dev_ptr);
8682 case HIP_API_ID_hipMemPoolExportToShareableHandle:
8683 oss <<
"hipMemPoolExportToShareableHandle(";
8684 oss <<
"shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.shared_handle);
8685 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.mem_pool);
8686 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.handle_type);
8687 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolExportToShareableHandle.flags);
8690 case HIP_API_ID_hipMemPoolGetAccess:
8691 oss <<
"hipMemPoolGetAccess(";
8692 if (data->args.hipMemPoolGetAccess.flags == NULL) oss <<
"flags=NULL";
8693 else { oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.flags__val); }
8694 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.mem_pool);
8695 if (data->args.hipMemPoolGetAccess.location == NULL) oss <<
", location=NULL";
8696 else { oss <<
", location="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAccess.location__val); }
8699 case HIP_API_ID_hipMemPoolGetAttribute:
8700 oss <<
"hipMemPoolGetAttribute(";
8701 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.mem_pool);
8702 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.attr);
8703 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolGetAttribute.value);
8706 case HIP_API_ID_hipMemPoolImportFromShareableHandle:
8707 oss <<
"hipMemPoolImportFromShareableHandle(";
8708 if (data->args.hipMemPoolImportFromShareableHandle.mem_pool == NULL) oss <<
"mem_pool=NULL";
8709 else { oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.mem_pool__val); }
8710 oss <<
", shared_handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.shared_handle);
8711 oss <<
", handle_type="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.handle_type);
8712 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportFromShareableHandle.flags);
8715 case HIP_API_ID_hipMemPoolImportPointer:
8716 oss <<
"hipMemPoolImportPointer(";
8717 if (data->args.hipMemPoolImportPointer.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
8718 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.dev_ptr__val); }
8719 oss <<
", mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.mem_pool);
8720 if (data->args.hipMemPoolImportPointer.export_data == NULL) oss <<
", export_data=NULL";
8721 else { oss <<
", export_data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolImportPointer.export_data__val); }
8724 case HIP_API_ID_hipMemPoolSetAccess:
8725 oss <<
"hipMemPoolSetAccess(";
8726 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.mem_pool);
8727 if (data->args.hipMemPoolSetAccess.desc_list == NULL) oss <<
", desc_list=NULL";
8728 else { oss <<
", desc_list="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.desc_list__val); }
8729 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAccess.count);
8732 case HIP_API_ID_hipMemPoolSetAttribute:
8733 oss <<
"hipMemPoolSetAttribute(";
8734 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.mem_pool);
8735 oss <<
", attr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.attr);
8736 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolSetAttribute.value);
8739 case HIP_API_ID_hipMemPoolTrimTo:
8740 oss <<
"hipMemPoolTrimTo(";
8741 oss <<
"mem_pool="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.mem_pool);
8742 oss <<
", min_bytes_to_hold="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPoolTrimTo.min_bytes_to_hold);
8745 case HIP_API_ID_hipMemPrefetchAsync:
8746 oss <<
"hipMemPrefetchAsync(";
8747 oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.dev_ptr);
8748 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.count);
8749 oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.device);
8750 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPrefetchAsync.stream);
8753 case HIP_API_ID_hipMemPtrGetInfo:
8754 oss <<
"hipMemPtrGetInfo(";
8755 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.ptr);
8756 if (data->args.hipMemPtrGetInfo.size == NULL) oss <<
", size=NULL";
8757 else { oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemPtrGetInfo.size__val); }
8760 case HIP_API_ID_hipMemRangeGetAttribute:
8761 oss <<
"hipMemRangeGetAttribute(";
8762 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data);
8763 oss <<
", data_size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.data_size);
8764 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.attribute);
8765 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.dev_ptr);
8766 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttribute.count);
8769 case HIP_API_ID_hipMemRangeGetAttributes:
8770 oss <<
"hipMemRangeGetAttributes(";
8771 if (data->args.hipMemRangeGetAttributes.data == NULL) oss <<
"data=NULL";
8772 else { oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data__val); }
8773 if (data->args.hipMemRangeGetAttributes.data_sizes == NULL) oss <<
", data_sizes=NULL";
8774 else { oss <<
", data_sizes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.data_sizes__val); }
8775 if (data->args.hipMemRangeGetAttributes.attributes == NULL) oss <<
", attributes=NULL";
8776 else { oss <<
", attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.attributes__val); }
8777 oss <<
", num_attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.num_attributes);
8778 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.dev_ptr);
8779 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRangeGetAttributes.count);
8782 case HIP_API_ID_hipMemRelease:
8783 oss <<
"hipMemRelease(";
8784 oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRelease.handle);
8787 case HIP_API_ID_hipMemRetainAllocationHandle:
8788 oss <<
"hipMemRetainAllocationHandle(";
8789 if (data->args.hipMemRetainAllocationHandle.handle == NULL) oss <<
"handle=NULL";
8790 else { oss <<
"handle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.handle__val); }
8791 oss <<
", addr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemRetainAllocationHandle.addr);
8794 case HIP_API_ID_hipMemSetAccess:
8795 oss <<
"hipMemSetAccess(";
8796 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.ptr);
8797 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.size);
8798 if (data->args.hipMemSetAccess.desc == NULL) oss <<
", desc=NULL";
8799 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.desc__val); }
8800 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemSetAccess.count);
8803 case HIP_API_ID_hipMemUnmap:
8804 oss <<
"hipMemUnmap(";
8805 oss <<
"ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.ptr);
8806 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemUnmap.size);
8809 case HIP_API_ID_hipMemcpy:
8810 oss <<
"hipMemcpy(";
8811 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.dst);
8812 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.src);
8813 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.sizeBytes);
8814 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy.kind);
8817 case HIP_API_ID_hipMemcpy2D:
8818 oss <<
"hipMemcpy2D(";
8819 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dst);
8820 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.dpitch);
8821 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.src);
8822 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.spitch);
8823 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.width);
8824 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.height);
8825 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
8828 case HIP_API_ID_hipMemcpy2DAsync:
8829 oss <<
"hipMemcpy2DAsync(";
8830 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
8831 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dpitch);
8832 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.src);
8833 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.spitch);
8834 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.width);
8835 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.height);
8836 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.kind);
8837 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.stream);
8840 case HIP_API_ID_hipMemcpy2DFromArray:
8841 oss <<
"hipMemcpy2DFromArray(";
8842 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dst);
8843 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.dpitch);
8844 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.src);
8845 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.wOffset);
8846 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.hOffset);
8847 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.width);
8848 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.height);
8849 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArray.kind);
8852 case HIP_API_ID_hipMemcpy2DFromArrayAsync:
8853 oss <<
"hipMemcpy2DFromArrayAsync(";
8854 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dst);
8855 oss <<
", dpitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.dpitch);
8856 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.src);
8857 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.wOffset);
8858 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.hOffset);
8859 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.width);
8860 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.height);
8861 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.kind);
8862 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DFromArrayAsync.stream);
8865 case HIP_API_ID_hipMemcpy2DToArray:
8866 oss <<
"hipMemcpy2DToArray(";
8867 if (data->args.hipMemcpy2DToArray.dst == NULL) oss <<
"dst=NULL";
8868 else { oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.dst__val); }
8869 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.wOffset);
8870 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.hOffset);
8871 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.src);
8872 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.spitch);
8873 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.width);
8874 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.height);
8875 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArray.kind);
8878 case HIP_API_ID_hipMemcpy2DToArrayAsync:
8879 oss <<
"hipMemcpy2DToArrayAsync(";
8880 if (data->args.hipMemcpy2DToArrayAsync.dst == NULL) oss <<
"dst=NULL";
8881 else { oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.dst__val); }
8882 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.wOffset);
8883 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.hOffset);
8884 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.src);
8885 oss <<
", spitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.spitch);
8886 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.width);
8887 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.height);
8888 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.kind);
8889 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DToArrayAsync.stream);
8892 case HIP_API_ID_hipMemcpy3D:
8893 oss <<
"hipMemcpy3D(";
8894 if (data->args.hipMemcpy3D.p == NULL) oss <<
"p=NULL";
8895 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3D.p__val); }
8898 case HIP_API_ID_hipMemcpy3DAsync:
8899 oss <<
"hipMemcpy3DAsync(";
8900 if (data->args.hipMemcpy3DAsync.p == NULL) oss <<
"p=NULL";
8901 else { oss <<
"p="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.p__val); }
8902 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy3DAsync.stream);
8905 case HIP_API_ID_hipMemcpyAsync:
8906 oss <<
"hipMemcpyAsync(";
8907 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.dst);
8908 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.src);
8909 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.sizeBytes);
8910 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.kind);
8911 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
8914 case HIP_API_ID_hipMemcpyAtoH:
8915 oss <<
"hipMemcpyAtoH(";
8916 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
8917 if (data->args.hipMemcpyAtoH.srcArray == NULL) oss <<
", srcArray=NULL";
8918 else { oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcArray__val); }
8919 oss <<
", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.srcOffset);
8920 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
8923 case HIP_API_ID_hipMemcpyDtoD:
8924 oss <<
"hipMemcpyDtoD(";
8925 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
8926 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.src);
8927 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.sizeBytes);
8930 case HIP_API_ID_hipMemcpyDtoDAsync:
8931 oss <<
"hipMemcpyDtoDAsync(";
8932 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.dst);
8933 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.src);
8934 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.sizeBytes);
8935 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoDAsync.stream);
8938 case HIP_API_ID_hipMemcpyDtoH:
8939 oss <<
"hipMemcpyDtoH(";
8940 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.dst);
8941 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.src);
8942 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoH.sizeBytes);
8945 case HIP_API_ID_hipMemcpyDtoHAsync:
8946 oss <<
"hipMemcpyDtoHAsync(";
8947 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.dst);
8948 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.src);
8949 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.sizeBytes);
8950 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoHAsync.stream);
8953 case HIP_API_ID_hipMemcpyFromArray:
8954 oss <<
"hipMemcpyFromArray(";
8955 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.dst);
8956 oss <<
", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.srcArray);
8957 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.wOffset);
8958 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.hOffset);
8959 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.count);
8960 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromArray.kind);
8963 case HIP_API_ID_hipMemcpyFromSymbol:
8964 oss <<
"hipMemcpyFromSymbol(";
8965 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.dst);
8966 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.symbol);
8967 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.sizeBytes);
8968 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.offset);
8969 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbol.kind);
8972 case HIP_API_ID_hipMemcpyFromSymbolAsync:
8973 oss <<
"hipMemcpyFromSymbolAsync(";
8974 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.dst);
8975 oss <<
", symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.symbol);
8976 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.sizeBytes);
8977 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.offset);
8978 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.kind);
8979 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyFromSymbolAsync.stream);
8982 case HIP_API_ID_hipMemcpyHtoA:
8983 oss <<
"hipMemcpyHtoA(";
8984 if (data->args.hipMemcpyHtoA.dstArray == NULL) oss <<
"dstArray=NULL";
8985 else { oss <<
"dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstArray__val); }
8986 oss <<
", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.dstOffset);
8987 oss <<
", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.srcHost);
8988 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
8991 case HIP_API_ID_hipMemcpyHtoD:
8992 oss <<
"hipMemcpyHtoD(";
8993 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
8994 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.src);
8995 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.sizeBytes);
8998 case HIP_API_ID_hipMemcpyHtoDAsync:
8999 oss <<
"hipMemcpyHtoDAsync(";
9000 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.dst);
9001 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.src);
9002 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.sizeBytes);
9003 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoDAsync.stream);
9006 case HIP_API_ID_hipMemcpyParam2D:
9007 oss <<
"hipMemcpyParam2D(";
9008 if (data->args.hipMemcpyParam2D.pCopy == NULL) oss <<
"pCopy=NULL";
9009 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2D.pCopy__val); }
9012 case HIP_API_ID_hipMemcpyParam2DAsync:
9013 oss <<
"hipMemcpyParam2DAsync(";
9014 if (data->args.hipMemcpyParam2DAsync.pCopy == NULL) oss <<
"pCopy=NULL";
9015 else { oss <<
"pCopy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.pCopy__val); }
9016 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyParam2DAsync.stream);
9019 case HIP_API_ID_hipMemcpyPeer:
9020 oss <<
"hipMemcpyPeer(";
9021 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dst);
9022 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.dstDeviceId);
9023 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.src);
9024 oss <<
", srcDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.srcDeviceId);
9025 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeer.sizeBytes);
9028 case HIP_API_ID_hipMemcpyPeerAsync:
9029 oss <<
"hipMemcpyPeerAsync(";
9030 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dst);
9031 oss <<
", dstDeviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.dstDeviceId);
9032 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.src);
9033 oss <<
", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.srcDevice);
9034 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.sizeBytes);
9035 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyPeerAsync.stream);
9038 case HIP_API_ID_hipMemcpyToArray:
9039 oss <<
"hipMemcpyToArray(";
9040 if (data->args.hipMemcpyToArray.dst == NULL) oss <<
"dst=NULL";
9041 else { oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.dst__val); }
9042 oss <<
", wOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.wOffset);
9043 oss <<
", hOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.hOffset);
9044 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.src);
9045 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.count);
9046 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToArray.kind);
9049 case HIP_API_ID_hipMemcpyToSymbol:
9050 oss <<
"hipMemcpyToSymbol(";
9051 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.symbol);
9052 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.src);
9053 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.sizeBytes);
9054 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.offset);
9055 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbol.kind);
9058 case HIP_API_ID_hipMemcpyToSymbolAsync:
9059 oss <<
"hipMemcpyToSymbolAsync(";
9060 oss <<
"symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.symbol);
9061 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.src);
9062 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.sizeBytes);
9063 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.offset);
9064 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.kind);
9065 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyToSymbolAsync.stream);
9068 case HIP_API_ID_hipMemcpyWithStream:
9069 oss <<
"hipMemcpyWithStream(";
9070 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.dst);
9071 oss <<
", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.src);
9072 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.sizeBytes);
9073 oss <<
", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.kind);
9074 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyWithStream.stream);
9077 case HIP_API_ID_hipMemset:
9078 oss <<
"hipMemset(";
9079 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.dst);
9080 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.value);
9081 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset.sizeBytes);
9084 case HIP_API_ID_hipMemset2D:
9085 oss <<
"hipMemset2D(";
9086 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.dst);
9087 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.pitch);
9088 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.value);
9089 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.width);
9090 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2D.height);
9093 case HIP_API_ID_hipMemset2DAsync:
9094 oss <<
"hipMemset2DAsync(";
9095 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.dst);
9096 oss <<
", pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.pitch);
9097 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.value);
9098 oss <<
", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.width);
9099 oss <<
", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.height);
9100 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset2DAsync.stream);
9103 case HIP_API_ID_hipMemset3D:
9104 oss <<
"hipMemset3D(";
9105 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.pitchedDevPtr);
9106 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.value);
9107 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3D.extent);
9110 case HIP_API_ID_hipMemset3DAsync:
9111 oss <<
"hipMemset3DAsync(";
9112 oss <<
"pitchedDevPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.pitchedDevPtr);
9113 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.value);
9114 oss <<
", extent="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.extent);
9115 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemset3DAsync.stream);
9118 case HIP_API_ID_hipMemsetAsync:
9119 oss <<
"hipMemsetAsync(";
9120 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.dst);
9121 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.value);
9122 oss <<
", sizeBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.sizeBytes);
9123 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetAsync.stream);
9126 case HIP_API_ID_hipMemsetD16:
9127 oss <<
"hipMemsetD16(";
9128 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.dest);
9129 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.value);
9130 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16.count);
9133 case HIP_API_ID_hipMemsetD16Async:
9134 oss <<
"hipMemsetD16Async(";
9135 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.dest);
9136 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.value);
9137 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.count);
9138 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD16Async.stream);
9141 case HIP_API_ID_hipMemsetD32:
9142 oss <<
"hipMemsetD32(";
9143 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.dest);
9144 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.value);
9145 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32.count);
9148 case HIP_API_ID_hipMemsetD32Async:
9149 oss <<
"hipMemsetD32Async(";
9150 oss <<
"dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.dst);
9151 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.value);
9152 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.count);
9153 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD32Async.stream);
9156 case HIP_API_ID_hipMemsetD8:
9157 oss <<
"hipMemsetD8(";
9158 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.dest);
9159 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.value);
9160 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8.count);
9163 case HIP_API_ID_hipMemsetD8Async:
9164 oss <<
"hipMemsetD8Async(";
9165 oss <<
"dest="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.dest);
9166 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.value);
9167 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.count);
9168 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemsetD8Async.stream);
9171 case HIP_API_ID_hipMipmappedArrayCreate:
9172 oss <<
"hipMipmappedArrayCreate(";
9173 if (data->args.hipMipmappedArrayCreate.pHandle == NULL) oss <<
"pHandle=NULL";
9174 else { oss <<
"pHandle="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pHandle__val); }
9175 if (data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc == NULL) oss <<
", pMipmappedArrayDesc=NULL";
9176 else { oss <<
", pMipmappedArrayDesc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.pMipmappedArrayDesc__val); }
9177 oss <<
", numMipmapLevels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayCreate.numMipmapLevels);
9180 case HIP_API_ID_hipMipmappedArrayDestroy:
9181 oss <<
"hipMipmappedArrayDestroy(";
9182 oss <<
"hMipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayDestroy.hMipmappedArray);
9185 case HIP_API_ID_hipMipmappedArrayGetLevel:
9186 oss <<
"hipMipmappedArrayGetLevel(";
9187 if (data->args.hipMipmappedArrayGetLevel.pLevelArray == NULL) oss <<
"pLevelArray=NULL";
9188 else { oss <<
"pLevelArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.pLevelArray__val); }
9189 oss <<
", hMipMappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.hMipMappedArray);
9190 oss <<
", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMipmappedArrayGetLevel.level);
9193 case HIP_API_ID_hipModuleGetFunction:
9194 oss <<
"hipModuleGetFunction(";
9195 if (data->args.hipModuleGetFunction.function == NULL) oss <<
"function=NULL";
9196 else { oss <<
"function="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.function__val); }
9197 oss <<
", module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.module);
9198 if (data->args.hipModuleGetFunction.kname == NULL) oss <<
", kname=NULL";
9199 else { oss <<
", kname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetFunction.kname__val); }
9202 case HIP_API_ID_hipModuleGetGlobal:
9203 oss <<
"hipModuleGetGlobal(";
9204 if (data->args.hipModuleGetGlobal.dptr == NULL) oss <<
"dptr=NULL";
9205 else { oss <<
"dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.dptr__val); }
9206 if (data->args.hipModuleGetGlobal.bytes == NULL) oss <<
", bytes=NULL";
9207 else { oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.bytes__val); }
9208 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.hmod);
9209 if (data->args.hipModuleGetGlobal.name == NULL) oss <<
", name=NULL";
9210 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetGlobal.name__val); }
9213 case HIP_API_ID_hipModuleGetTexRef:
9214 oss <<
"hipModuleGetTexRef(";
9215 if (data->args.hipModuleGetTexRef.texRef == NULL) oss <<
"texRef=NULL";
9216 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipModuleGetTexRef.texRef__val); }
9217 oss <<
", hmod="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.hmod);
9218 if (data->args.hipModuleGetTexRef.name == NULL) oss <<
", name=NULL";
9219 else { oss <<
", name="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleGetTexRef.name__val); }
9222 case HIP_API_ID_hipModuleLaunchCooperativeKernel:
9223 oss <<
"hipModuleLaunchCooperativeKernel(";
9224 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.f);
9225 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimX);
9226 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimY);
9227 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.gridDimZ);
9228 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimX);
9229 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimY);
9230 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.blockDimZ);
9231 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.sharedMemBytes);
9232 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.stream);
9233 if (data->args.hipModuleLaunchCooperativeKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9234 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernel.kernelParams__val); }
9237 case HIP_API_ID_hipModuleLaunchCooperativeKernelMultiDevice:
9238 oss <<
"hipModuleLaunchCooperativeKernelMultiDevice(";
9239 if (data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList == NULL) oss <<
"launchParamsList=NULL";
9240 else { oss <<
"launchParamsList="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.launchParamsList__val); }
9241 oss <<
", numDevices="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.numDevices);
9242 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchCooperativeKernelMultiDevice.flags);
9245 case HIP_API_ID_hipModuleLaunchKernel:
9246 oss <<
"hipModuleLaunchKernel(";
9247 oss <<
"f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.f);
9248 oss <<
", gridDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimX);
9249 oss <<
", gridDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimY);
9250 oss <<
", gridDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.gridDimZ);
9251 oss <<
", blockDimX="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimX);
9252 oss <<
", blockDimY="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimY);
9253 oss <<
", blockDimZ="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.blockDimZ);
9254 oss <<
", sharedMemBytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.sharedMemBytes);
9255 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.stream);
9256 if (data->args.hipModuleLaunchKernel.kernelParams == NULL) oss <<
", kernelParams=NULL";
9257 else { oss <<
", kernelParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.kernelParams__val); }
9258 if (data->args.hipModuleLaunchKernel.extra == NULL) oss <<
", extra=NULL";
9259 else { oss <<
", extra="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLaunchKernel.extra__val); }
9262 case HIP_API_ID_hipModuleLoad:
9263 oss <<
"hipModuleLoad(";
9264 if (data->args.hipModuleLoad.module == NULL) oss <<
"module=NULL";
9265 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.module__val); }
9266 if (data->args.hipModuleLoad.fname == NULL) oss <<
", fname=NULL";
9267 else { oss <<
", fname="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoad.fname__val); }
9270 case HIP_API_ID_hipModuleLoadData:
9271 oss <<
"hipModuleLoadData(";
9272 if (data->args.hipModuleLoadData.module == NULL) oss <<
"module=NULL";
9273 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.module__val); }
9274 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadData.image);
9277 case HIP_API_ID_hipModuleLoadDataEx:
9278 oss <<
"hipModuleLoadDataEx(";
9279 if (data->args.hipModuleLoadDataEx.module == NULL) oss <<
"module=NULL";
9280 else { oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.module__val); }
9281 oss <<
", image="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.image);
9282 oss <<
", numOptions="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.numOptions);
9283 if (data->args.hipModuleLoadDataEx.options == NULL) oss <<
", options=NULL";
9284 else { oss <<
", options="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.options__val); }
9285 if (data->args.hipModuleLoadDataEx.optionsValues == NULL) oss <<
", optionsValues=NULL";
9286 else { oss <<
", optionsValues="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleLoadDataEx.optionsValues__val); }
9289 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor:
9290 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessor(";
9291 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
9292 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9293 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.f);
9294 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9295 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessor.dynSharedMemPerBlk);
9298 case HIP_API_ID_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9299 oss <<
"hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9300 if (data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
9301 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9302 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9303 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9304 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynSharedMemPerBlk);
9305 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9308 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSize:
9309 oss <<
"hipModuleOccupancyMaxPotentialBlockSize(";
9310 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
9311 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.gridSize__val); }
9312 if (data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
9313 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSize__val); }
9314 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.f);
9315 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9316 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSize.blockSizeLimit);
9319 case HIP_API_ID_hipModuleOccupancyMaxPotentialBlockSizeWithFlags:
9320 oss <<
"hipModuleOccupancyMaxPotentialBlockSizeWithFlags(";
9321 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize == NULL) oss <<
"gridSize=NULL";
9322 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.gridSize__val); }
9323 if (data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize == NULL) oss <<
", blockSize=NULL";
9324 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSize__val); }
9325 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.f);
9326 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.dynSharedMemPerBlk);
9327 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.blockSizeLimit);
9328 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleOccupancyMaxPotentialBlockSizeWithFlags.flags);
9331 case HIP_API_ID_hipModuleUnload:
9332 oss <<
"hipModuleUnload(";
9333 oss <<
"module="; roctracer::hip_support::detail::operator<<(oss, data->args.hipModuleUnload.module);
9336 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
9337 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessor(";
9338 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks == NULL) oss <<
"numBlocks=NULL";
9339 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.numBlocks__val); }
9340 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.f);
9341 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.blockSize);
9342 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessor.dynamicSMemSize);
9345 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
9346 oss <<
"hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(";
9347 if (data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks == NULL) oss <<
"numBlocks=NULL";
9348 else { oss <<
"numBlocks="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.numBlocks__val); }
9349 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.f);
9350 oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.blockSize);
9351 oss <<
", dynamicSMemSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.dynamicSMemSize);
9352 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags.flags);
9355 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
9356 oss <<
"hipOccupancyMaxPotentialBlockSize(";
9357 if (data->args.hipOccupancyMaxPotentialBlockSize.gridSize == NULL) oss <<
"gridSize=NULL";
9358 else { oss <<
"gridSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.gridSize__val); }
9359 if (data->args.hipOccupancyMaxPotentialBlockSize.blockSize == NULL) oss <<
", blockSize=NULL";
9360 else { oss <<
", blockSize="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSize__val); }
9361 oss <<
", f="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.f);
9362 oss <<
", dynSharedMemPerBlk="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk);
9363 oss <<
", blockSizeLimit="; roctracer::hip_support::detail::operator<<(oss, data->args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit);
9366 case HIP_API_ID_hipPeekAtLastError:
9367 oss <<
"hipPeekAtLastError(";
9370 case HIP_API_ID_hipPointerGetAttribute:
9371 oss <<
"hipPointerGetAttribute(";
9372 oss <<
"data="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.data);
9373 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.attribute);
9374 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttribute.ptr);
9377 case HIP_API_ID_hipPointerGetAttributes:
9378 oss <<
"hipPointerGetAttributes(";
9379 if (data->args.hipPointerGetAttributes.attributes == NULL) oss <<
"attributes=NULL";
9380 else { oss <<
"attributes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.attributes__val); }
9381 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerGetAttributes.ptr);
9384 case HIP_API_ID_hipPointerSetAttribute:
9385 oss <<
"hipPointerSetAttribute(";
9386 oss <<
"value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.value);
9387 oss <<
", attribute="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.attribute);
9388 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipPointerSetAttribute.ptr);
9391 case HIP_API_ID_hipProfilerStart:
9392 oss <<
"hipProfilerStart(";
9395 case HIP_API_ID_hipProfilerStop:
9396 oss <<
"hipProfilerStop(";
9399 case HIP_API_ID_hipRuntimeGetVersion:
9400 oss <<
"hipRuntimeGetVersion(";
9401 if (data->args.hipRuntimeGetVersion.runtimeVersion == NULL) oss <<
"runtimeVersion=NULL";
9402 else { oss <<
"runtimeVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipRuntimeGetVersion.runtimeVersion__val); }
9405 case HIP_API_ID_hipSetDevice:
9406 oss <<
"hipSetDevice(";
9407 oss <<
"deviceId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDevice.deviceId);
9410 case HIP_API_ID_hipSetDeviceFlags:
9411 oss <<
"hipSetDeviceFlags(";
9412 oss <<
"flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
9415 case HIP_API_ID_hipSetupArgument:
9416 oss <<
"hipSetupArgument(";
9417 oss <<
"arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
9418 oss <<
", size="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.size);
9419 oss <<
", offset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.offset);
9422 case HIP_API_ID_hipSignalExternalSemaphoresAsync:
9423 oss <<
"hipSignalExternalSemaphoresAsync(";
9424 if (data->args.hipSignalExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
9425 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.extSemArray__val); }
9426 if (data->args.hipSignalExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
9427 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.paramsArray__val); }
9428 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.numExtSems);
9429 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSignalExternalSemaphoresAsync.stream);
9432 case HIP_API_ID_hipStreamAddCallback:
9433 oss <<
"hipStreamAddCallback(";
9434 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.stream);
9435 oss <<
", callback="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.callback);
9436 oss <<
", userData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.userData);
9437 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAddCallback.flags);
9440 case HIP_API_ID_hipStreamAttachMemAsync:
9441 oss <<
"hipStreamAttachMemAsync(";
9442 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.stream);
9443 oss <<
", dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.dev_ptr);
9444 oss <<
", length="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.length);
9445 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamAttachMemAsync.flags);
9448 case HIP_API_ID_hipStreamBeginCapture:
9449 oss <<
"hipStreamBeginCapture(";
9450 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.stream);
9451 oss <<
", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
9454 case HIP_API_ID_hipStreamCreate:
9455 oss <<
"hipStreamCreate(";
9456 if (data->args.hipStreamCreate.stream == NULL) oss <<
"stream=NULL";
9457 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreate.stream__val); }
9460 case HIP_API_ID_hipStreamCreateWithFlags:
9461 oss <<
"hipStreamCreateWithFlags(";
9462 if (data->args.hipStreamCreateWithFlags.stream == NULL) oss <<
"stream=NULL";
9463 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.stream__val); }
9464 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithFlags.flags);
9467 case HIP_API_ID_hipStreamCreateWithPriority:
9468 oss <<
"hipStreamCreateWithPriority(";
9469 if (data->args.hipStreamCreateWithPriority.stream == NULL) oss <<
"stream=NULL";
9470 else { oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.stream__val); }
9471 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.flags);
9472 oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamCreateWithPriority.priority);
9475 case HIP_API_ID_hipStreamDestroy:
9476 oss <<
"hipStreamDestroy(";
9477 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamDestroy.stream);
9480 case HIP_API_ID_hipStreamEndCapture:
9481 oss <<
"hipStreamEndCapture(";
9482 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.stream);
9483 if (data->args.hipStreamEndCapture.pGraph == NULL) oss <<
", pGraph=NULL";
9484 else { oss <<
", pGraph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamEndCapture.pGraph__val); }
9487 case HIP_API_ID_hipStreamGetCaptureInfo:
9488 oss <<
"hipStreamGetCaptureInfo(";
9489 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.stream);
9490 if (data->args.hipStreamGetCaptureInfo.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
9491 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pCaptureStatus__val); }
9492 if (data->args.hipStreamGetCaptureInfo.pId == NULL) oss <<
", pId=NULL";
9493 else { oss <<
", pId="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo.pId__val); }
9496 case HIP_API_ID_hipStreamGetCaptureInfo_v2:
9497 oss <<
"hipStreamGetCaptureInfo_v2(";
9498 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.stream);
9499 if (data->args.hipStreamGetCaptureInfo_v2.captureStatus_out == NULL) oss <<
", captureStatus_out=NULL";
9500 else { oss <<
", captureStatus_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.captureStatus_out__val); }
9501 if (data->args.hipStreamGetCaptureInfo_v2.id_out == NULL) oss <<
", id_out=NULL";
9502 else { oss <<
", id_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.id_out__val); }
9503 if (data->args.hipStreamGetCaptureInfo_v2.graph_out == NULL) oss <<
", graph_out=NULL";
9504 else { oss <<
", graph_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.graph_out__val); }
9505 if (data->args.hipStreamGetCaptureInfo_v2.dependencies_out == NULL) oss <<
", dependencies_out=NULL";
9506 else { oss <<
", dependencies_out="; roctracer::hip_support::detail::operator<<(oss, (
void*)data->args.hipStreamGetCaptureInfo_v2.dependencies_out__val); }
9507 if (data->args.hipStreamGetCaptureInfo_v2.numDependencies_out == NULL) oss <<
", numDependencies_out=NULL";
9508 else { oss <<
", numDependencies_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetCaptureInfo_v2.numDependencies_out__val); }
9511 case HIP_API_ID_hipStreamGetDevice:
9512 oss <<
"hipStreamGetDevice(";
9513 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.stream);
9514 if (data->args.hipStreamGetDevice.device == NULL) oss <<
", device=NULL";
9515 else { oss <<
", device="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetDevice.device__val); }
9518 case HIP_API_ID_hipStreamGetFlags:
9519 oss <<
"hipStreamGetFlags(";
9520 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.stream);
9521 if (data->args.hipStreamGetFlags.flags == NULL) oss <<
", flags=NULL";
9522 else { oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetFlags.flags__val); }
9525 case HIP_API_ID_hipStreamGetPriority:
9526 oss <<
"hipStreamGetPriority(";
9527 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.stream);
9528 if (data->args.hipStreamGetPriority.priority == NULL) oss <<
", priority=NULL";
9529 else { oss <<
", priority="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamGetPriority.priority__val); }
9532 case HIP_API_ID_hipStreamIsCapturing:
9533 oss <<
"hipStreamIsCapturing(";
9534 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.stream);
9535 if (data->args.hipStreamIsCapturing.pCaptureStatus == NULL) oss <<
", pCaptureStatus=NULL";
9536 else { oss <<
", pCaptureStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamIsCapturing.pCaptureStatus__val); }
9539 case HIP_API_ID_hipStreamQuery:
9540 oss <<
"hipStreamQuery(";
9541 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamQuery.stream);
9544 case HIP_API_ID_hipStreamSynchronize:
9545 oss <<
"hipStreamSynchronize(";
9546 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamSynchronize.stream);
9549 case HIP_API_ID_hipStreamUpdateCaptureDependencies:
9550 oss <<
"hipStreamUpdateCaptureDependencies(";
9551 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.stream);
9552 if (data->args.hipStreamUpdateCaptureDependencies.dependencies == NULL) oss <<
", dependencies=NULL";
9553 else { oss <<
", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.dependencies__val); }
9554 oss <<
", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.numDependencies);
9555 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamUpdateCaptureDependencies.flags);
9558 case HIP_API_ID_hipStreamWaitEvent:
9559 oss <<
"hipStreamWaitEvent(";
9560 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.stream);
9561 oss <<
", event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.event);
9562 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitEvent.flags);
9565 case HIP_API_ID_hipStreamWaitValue32:
9566 oss <<
"hipStreamWaitValue32(";
9567 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.stream);
9568 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.ptr);
9569 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.value);
9570 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.flags);
9571 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue32.mask);
9574 case HIP_API_ID_hipStreamWaitValue64:
9575 oss <<
"hipStreamWaitValue64(";
9576 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.stream);
9577 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.ptr);
9578 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.value);
9579 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.flags);
9580 oss <<
", mask="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWaitValue64.mask);
9583 case HIP_API_ID_hipStreamWriteValue32:
9584 oss <<
"hipStreamWriteValue32(";
9585 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.stream);
9586 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.ptr);
9587 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.value);
9588 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue32.flags);
9591 case HIP_API_ID_hipStreamWriteValue64:
9592 oss <<
"hipStreamWriteValue64(";
9593 oss <<
"stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.stream);
9594 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.ptr);
9595 oss <<
", value="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.value);
9596 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamWriteValue64.flags);
9599 case HIP_API_ID_hipTexRefGetAddress:
9600 oss <<
"hipTexRefGetAddress(";
9601 if (data->args.hipTexRefGetAddress.dev_ptr == NULL) oss <<
"dev_ptr=NULL";
9602 else { oss <<
"dev_ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.dev_ptr__val); }
9603 if (data->args.hipTexRefGetAddress.texRef == NULL) oss <<
", texRef=NULL";
9604 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
9607 case HIP_API_ID_hipTexRefGetFlags:
9608 oss <<
"hipTexRefGetFlags(";
9609 if (data->args.hipTexRefGetFlags.pFlags == NULL) oss <<
"pFlags=NULL";
9610 else { oss <<
"pFlags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.pFlags__val); }
9611 if (data->args.hipTexRefGetFlags.texRef == NULL) oss <<
", texRef=NULL";
9612 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFlags.texRef__val); }
9615 case HIP_API_ID_hipTexRefGetFormat:
9616 oss <<
"hipTexRefGetFormat(";
9617 if (data->args.hipTexRefGetFormat.pFormat == NULL) oss <<
"pFormat=NULL";
9618 else { oss <<
"pFormat="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pFormat__val); }
9619 if (data->args.hipTexRefGetFormat.pNumChannels == NULL) oss <<
", pNumChannels=NULL";
9620 else { oss <<
", pNumChannels="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.pNumChannels__val); }
9621 if (data->args.hipTexRefGetFormat.texRef == NULL) oss <<
", texRef=NULL";
9622 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetFormat.texRef__val); }
9625 case HIP_API_ID_hipTexRefGetMaxAnisotropy:
9626 oss <<
"hipTexRefGetMaxAnisotropy(";
9627 if (data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio == NULL) oss <<
"pmaxAnsio=NULL";
9628 else { oss <<
"pmaxAnsio="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.pmaxAnsio__val); }
9629 if (data->args.hipTexRefGetMaxAnisotropy.texRef == NULL) oss <<
", texRef=NULL";
9630 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMaxAnisotropy.texRef__val); }
9633 case HIP_API_ID_hipTexRefGetMipMappedArray:
9634 oss <<
"hipTexRefGetMipMappedArray(";
9635 if (data->args.hipTexRefGetMipMappedArray.pArray == NULL) oss <<
"pArray=NULL";
9636 else { oss <<
"pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.pArray__val); }
9637 if (data->args.hipTexRefGetMipMappedArray.texRef == NULL) oss <<
", texRef=NULL";
9638 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipMappedArray.texRef__val); }
9641 case HIP_API_ID_hipTexRefGetMipmapLevelBias:
9642 oss <<
"hipTexRefGetMipmapLevelBias(";
9643 if (data->args.hipTexRefGetMipmapLevelBias.pbias == NULL) oss <<
"pbias=NULL";
9644 else { oss <<
"pbias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.pbias__val); }
9645 if (data->args.hipTexRefGetMipmapLevelBias.texRef == NULL) oss <<
", texRef=NULL";
9646 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelBias.texRef__val); }
9649 case HIP_API_ID_hipTexRefGetMipmapLevelClamp:
9650 oss <<
"hipTexRefGetMipmapLevelClamp(";
9651 if (data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp == NULL) oss <<
"pminMipmapLevelClamp=NULL";
9652 else { oss <<
"pminMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pminMipmapLevelClamp__val); }
9653 if (data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp == NULL) oss <<
", pmaxMipmapLevelClamp=NULL";
9654 else { oss <<
", pmaxMipmapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.pmaxMipmapLevelClamp__val); }
9655 if (data->args.hipTexRefGetMipmapLevelClamp.texRef == NULL) oss <<
", texRef=NULL";
9656 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetMipmapLevelClamp.texRef__val); }
9659 case HIP_API_ID_hipTexRefSetAddress:
9660 oss <<
"hipTexRefSetAddress(";
9661 if (data->args.hipTexRefSetAddress.ByteOffset == NULL) oss <<
"ByteOffset=NULL";
9662 else { oss <<
"ByteOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.ByteOffset__val); }
9663 if (data->args.hipTexRefSetAddress.texRef == NULL) oss <<
", texRef=NULL";
9664 else { oss <<
", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.texRef__val); }
9665 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.dptr);
9666 oss <<
", bytes="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress.bytes);
9669 case HIP_API_ID_hipTexRefSetAddress2D:
9670 oss <<
"hipTexRefSetAddress2D(";
9671 if (data->args.hipTexRefSetAddress2D.texRef == NULL) oss <<
"texRef=NULL";
9672 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.texRef__val); }
9673 if (data->args.hipTexRefSetAddress2D.desc == NULL) oss <<
", desc=NULL";
9674 else { oss <<
", desc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.desc__val); }
9675 oss <<
", dptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.dptr);
9676 oss <<
", Pitch="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetAddress2D.Pitch);
9679 case HIP_API_ID_hipTexRefSetArray:
9680 oss <<
"hipTexRefSetArray(";
9681 if (data->args.hipTexRefSetArray.tex == NULL) oss <<
"tex=NULL";
9682 else { oss <<
"tex="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.tex__val); }
9683 oss <<
", array="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.array);
9684 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetArray.flags);
9687 case HIP_API_ID_hipTexRefSetBorderColor:
9688 oss <<
"hipTexRefSetBorderColor(";
9689 if (data->args.hipTexRefSetBorderColor.texRef == NULL) oss <<
"texRef=NULL";
9690 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.texRef__val); }
9691 if (data->args.hipTexRefSetBorderColor.pBorderColor == NULL) oss <<
", pBorderColor=NULL";
9692 else { oss <<
", pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetBorderColor.pBorderColor__val); }
9695 case HIP_API_ID_hipTexRefSetFlags:
9696 oss <<
"hipTexRefSetFlags(";
9697 if (data->args.hipTexRefSetFlags.texRef == NULL) oss <<
"texRef=NULL";
9698 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.texRef__val); }
9699 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFlags.Flags);
9702 case HIP_API_ID_hipTexRefSetFormat:
9703 oss <<
"hipTexRefSetFormat(";
9704 if (data->args.hipTexRefSetFormat.texRef == NULL) oss <<
"texRef=NULL";
9705 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.texRef__val); }
9706 oss <<
", fmt="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.fmt);
9707 oss <<
", NumPackedComponents="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetFormat.NumPackedComponents);
9710 case HIP_API_ID_hipTexRefSetMaxAnisotropy:
9711 oss <<
"hipTexRefSetMaxAnisotropy(";
9712 if (data->args.hipTexRefSetMaxAnisotropy.texRef == NULL) oss <<
"texRef=NULL";
9713 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.texRef__val); }
9714 oss <<
", maxAniso="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMaxAnisotropy.maxAniso);
9717 case HIP_API_ID_hipTexRefSetMipmapLevelBias:
9718 oss <<
"hipTexRefSetMipmapLevelBias(";
9719 if (data->args.hipTexRefSetMipmapLevelBias.texRef == NULL) oss <<
"texRef=NULL";
9720 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.texRef__val); }
9721 oss <<
", bias="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelBias.bias);
9724 case HIP_API_ID_hipTexRefSetMipmapLevelClamp:
9725 oss <<
"hipTexRefSetMipmapLevelClamp(";
9726 if (data->args.hipTexRefSetMipmapLevelClamp.texRef == NULL) oss <<
"texRef=NULL";
9727 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.texRef__val); }
9728 oss <<
", minMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.minMipMapLevelClamp);
9729 oss <<
", maxMipMapLevelClamp="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmapLevelClamp.maxMipMapLevelClamp);
9732 case HIP_API_ID_hipTexRefSetMipmappedArray:
9733 oss <<
"hipTexRefSetMipmappedArray(";
9734 if (data->args.hipTexRefSetMipmappedArray.texRef == NULL) oss <<
"texRef=NULL";
9735 else { oss <<
"texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.texRef__val); }
9736 if (data->args.hipTexRefSetMipmappedArray.mipmappedArray == NULL) oss <<
", mipmappedArray=NULL";
9737 else { oss <<
", mipmappedArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.mipmappedArray__val); }
9738 oss <<
", Flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefSetMipmappedArray.Flags);
9741 case HIP_API_ID_hipThreadExchangeStreamCaptureMode:
9742 oss <<
"hipThreadExchangeStreamCaptureMode(";
9743 if (data->args.hipThreadExchangeStreamCaptureMode.mode == NULL) oss <<
"mode=NULL";
9744 else { oss <<
"mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipThreadExchangeStreamCaptureMode.mode__val); }
9747 case HIP_API_ID_hipUserObjectCreate:
9748 oss <<
"hipUserObjectCreate(";
9749 if (data->args.hipUserObjectCreate.object_out == NULL) oss <<
"object_out=NULL";
9750 else { oss <<
"object_out="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.object_out__val); }
9751 oss <<
", ptr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.ptr);
9752 oss <<
", destroy="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.destroy);
9753 oss <<
", initialRefcount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.initialRefcount);
9754 oss <<
", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectCreate.flags);
9757 case HIP_API_ID_hipUserObjectRelease:
9758 oss <<
"hipUserObjectRelease(";
9759 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.object);
9760 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRelease.count);
9763 case HIP_API_ID_hipUserObjectRetain:
9764 oss <<
"hipUserObjectRetain(";
9765 oss <<
"object="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.object);
9766 oss <<
", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipUserObjectRetain.count);
9769 case HIP_API_ID_hipWaitExternalSemaphoresAsync:
9770 oss <<
"hipWaitExternalSemaphoresAsync(";
9771 if (data->args.hipWaitExternalSemaphoresAsync.extSemArray == NULL) oss <<
"extSemArray=NULL";
9772 else { oss <<
"extSemArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.extSemArray__val); }
9773 if (data->args.hipWaitExternalSemaphoresAsync.paramsArray == NULL) oss <<
", paramsArray=NULL";
9774 else { oss <<
", paramsArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.paramsArray__val); }
9775 oss <<
", numExtSems="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.numExtSems);
9776 oss <<
", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipWaitExternalSemaphoresAsync.stream);
9779 default: oss <<
"unknown";
9781 return strdup(oss.str().c_str());
Definition hip_prof_str.h:1151