2 #ifndef _HIP_PROF_STR_H
3 #define _HIP_PROF_STR_H
6 #define INIT_NONE_CB_ARGS_DATA(cb_data) {};
7 #define INIT_hipModuleGetFunctionEx_CB_ARGS_DATA(cb_data) {};
8 #define INIT_hipTexRefSetAddress_CB_ARGS_DATA(cb_data) {};
9 #define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
10 #define INIT_hipBindTexture2D_CB_ARGS_DATA(cb_data) {};
11 #define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
12 #define INIT_hipCreateTextureObject_CB_ARGS_DATA(cb_data) {};
13 #define INIT_hipBindTextureToArray_CB_ARGS_DATA(cb_data) {};
14 #define INIT_hipTexRefSetFormat_CB_ARGS_DATA(cb_data) {};
15 #define INIT_hipMemcpyHtoH_CB_ARGS_DATA(cb_data) {};
16 #define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
17 #define INIT_hipDestroyTextureObject_CB_ARGS_DATA(cb_data) {};
18 #define INIT_hipTexRefSetArray_CB_ARGS_DATA(cb_data) {};
19 #define INIT_hipBindTextureToMipmappedArray_CB_ARGS_DATA(cb_data) {};
20 #define INIT_hipTexRefSetAddress2D_CB_ARGS_DATA(cb_data) {};
21 #define INIT_hipGetTextureObjectResourceViewDesc_CB_ARGS_DATA(cb_data) {};
22 #define INIT_hipUnbindTexture_CB_ARGS_DATA(cb_data) {};
23 #define INIT_hipTexRefSetFilterMode_CB_ARGS_DATA(cb_data) {};
24 #define INIT_hipCreateSurfaceObject_CB_ARGS_DATA(cb_data) {};
25 #define INIT_hipGetChannelDesc_CB_ARGS_DATA(cb_data) {};
26 #define INIT_hipHccGetAcceleratorView_CB_ARGS_DATA(cb_data) {};
27 #define INIT_hipGetTextureObjectResourceDesc_CB_ARGS_DATA(cb_data) {};
28 #define INIT_hipExtModuleLaunchKernel_CB_ARGS_DATA(cb_data) {};
29 #define INIT_hipGetTextureAlignmentOffset_CB_ARGS_DATA(cb_data) {};
30 #define INIT_hipDestroySurfaceObject_CB_ARGS_DATA(cb_data) {};
31 #define INIT_hipTexRefSetFlags_CB_ARGS_DATA(cb_data) {};
32 #define INIT_hipBindTexture_CB_ARGS_DATA(cb_data) {};
33 #define INIT_hipHccGetAccelerator_CB_ARGS_DATA(cb_data) {};
37 HIP_API_ID_hipStreamCreateWithPriority = 0,
38 HIP_API_ID_hipMemcpyToSymbolAsync = 1,
39 HIP_API_ID_hipMallocPitch = 2,
40 HIP_API_ID_hipMalloc = 3,
41 HIP_API_ID_hipDeviceGetName = 4,
42 HIP_API_ID_hipEventRecord = 5,
43 HIP_API_ID_hipCtxSynchronize = 6,
44 HIP_API_ID_hipSetDevice = 7,
45 HIP_API_ID_hipCtxGetApiVersion = 8,
46 HIP_API_ID_hipSetupArgument = 9,
47 HIP_API_ID_hipMemcpyFromSymbolAsync = 10,
48 HIP_API_ID_hipExtGetLinkTypeAndHopCount = 11,
49 HIP_API_ID_hipMemcpyDtoD = 12,
50 HIP_API_ID_hipHostFree = 13,
51 HIP_API_ID_hipMemcpy2DToArray = 14,
52 HIP_API_ID_hipCtxGetCacheConfig = 15,
53 HIP_API_ID_hipStreamWaitEvent = 16,
54 HIP_API_ID_hipDeviceGetStreamPriorityRange = 17,
55 HIP_API_ID_hipModuleLoad = 18,
56 HIP_API_ID_hipDevicePrimaryCtxSetFlags = 19,
57 HIP_API_ID_hipLaunchCooperativeKernel = 20,
58 HIP_API_ID_hipLaunchCooperativeKernelMultiDevice = 21,
59 HIP_API_ID_hipMemcpyAsync = 22,
60 HIP_API_ID_hipMalloc3DArray = 23,
61 HIP_API_ID_hipStreamCreate = 24,
62 HIP_API_ID_hipCtxGetCurrent = 25,
63 HIP_API_ID_hipDevicePrimaryCtxGetState = 26,
64 HIP_API_ID_hipEventQuery = 27,
65 HIP_API_ID_hipEventCreate = 28,
66 HIP_API_ID_hipMemGetAddressRange = 29,
67 HIP_API_ID_hipMemcpyFromSymbol = 30,
68 HIP_API_ID_hipArrayCreate = 31,
69 HIP_API_ID_hipStreamGetFlags = 32,
70 HIP_API_ID_hipMallocArray = 33,
71 HIP_API_ID_hipCtxGetSharedMemConfig = 34,
72 HIP_API_ID_hipMemPtrGetInfo = 35,
73 HIP_API_ID_hipCtxGetFlags = 36,
74 HIP_API_ID_hipStreamDestroy = 37,
75 HIP_API_ID_hipMemset3DAsync = 38,
76 HIP_API_ID_hipMemcpy3D = 39,
77 HIP_API_ID_hipInit = 40,
78 HIP_API_ID_hipMemcpyAtoH = 41,
79 HIP_API_ID_hipStreamGetPriority = 42,
80 HIP_API_ID_hipMemset2D = 43,
81 HIP_API_ID_hipMemset2DAsync = 44,
82 HIP_API_ID_hipDeviceCanAccessPeer = 45,
83 HIP_API_ID_hipDeviceEnablePeerAccess = 46,
84 HIP_API_ID_hipModuleUnload = 47,
85 HIP_API_ID_hipHostUnregister = 48,
86 HIP_API_ID_hipProfilerStop = 49,
87 HIP_API_ID_hipLaunchByPtr = 50,
88 HIP_API_ID_hipStreamSynchronize = 51,
89 HIP_API_ID_hipDeviceSetCacheConfig = 52,
90 HIP_API_ID_hipGetErrorName = 53,
91 HIP_API_ID_hipMemcpyHtoD = 54,
92 HIP_API_ID_hipModuleGetGlobal = 55,
93 HIP_API_ID_hipMemcpyHtoA = 56,
94 HIP_API_ID_hipCtxCreate = 57,
95 HIP_API_ID_hipMemcpy2D = 58,
96 HIP_API_ID_hipIpcCloseMemHandle = 59,
97 HIP_API_ID_hipChooseDevice = 60,
98 HIP_API_ID_hipDeviceSetSharedMemConfig = 61,
99 HIP_API_ID_hipDeviceComputeCapability = 62,
100 HIP_API_ID_hipDeviceGet = 63,
101 HIP_API_ID_hipProfilerStart = 64,
102 HIP_API_ID_hipCtxSetCacheConfig = 65,
103 HIP_API_ID_hipFuncSetCacheConfig = 66,
104 HIP_API_ID_hipMemcpyPeerAsync = 67,
105 HIP_API_ID_hipEventElapsedTime = 68,
106 HIP_API_ID_hipDevicePrimaryCtxReset = 69,
107 HIP_API_ID_hipEventDestroy = 70,
108 HIP_API_ID_hipCtxPopCurrent = 71,
109 HIP_API_ID_hipGetSymbolAddress = 72,
110 HIP_API_ID_hipHostGetFlags = 73,
111 HIP_API_ID_hipHostMalloc = 74,
112 HIP_API_ID_hipDriverGetVersion = 75,
113 HIP_API_ID_hipMemGetInfo = 76,
114 HIP_API_ID_hipDeviceReset = 77,
115 HIP_API_ID_hipMemset = 78,
116 HIP_API_ID_hipMemsetD8 = 79,
117 HIP_API_ID_hipHostRegister = 80,
118 HIP_API_ID_hipCtxSetSharedMemConfig = 81,
119 HIP_API_ID_hipArray3DCreate = 82,
120 HIP_API_ID_hipIpcOpenMemHandle = 83,
121 HIP_API_ID_hipGetLastError = 84,
122 HIP_API_ID_hipCtxDestroy = 85,
123 HIP_API_ID_hipDeviceGetSharedMemConfig = 86,
124 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = 87,
125 HIP_API_ID_hipSetDeviceFlags = 88,
126 HIP_API_ID_hipHccModuleLaunchKernel = 89,
127 HIP_API_ID_hipFree = 90,
128 HIP_API_ID_hipOccupancyMaxPotentialBlockSize = 91,
129 HIP_API_ID_hipDeviceGetAttribute = 92,
130 HIP_API_ID_hipMemcpyDtoH = 93,
131 HIP_API_ID_hipCtxDisablePeerAccess = 94,
132 HIP_API_ID_hipMallocManaged = 95,
133 HIP_API_ID_hipDeviceGetByPCIBusId = 96,
134 HIP_API_ID_hipIpcGetMemHandle = 97,
135 HIP_API_ID_hipMemcpyHtoDAsync = 98,
136 HIP_API_ID_hipCtxGetDevice = 99,
137 HIP_API_ID_hipMemset3D = 100,
138 HIP_API_ID_hipModuleLoadData = 101,
139 HIP_API_ID_hipDeviceTotalMem = 102,
140 HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor = 103,
141 HIP_API_ID_hipCtxSetCurrent = 104,
142 HIP_API_ID_hipGetErrorString = 105,
143 HIP_API_ID_hipDevicePrimaryCtxRetain = 106,
144 HIP_API_ID_hipDeviceDisablePeerAccess = 107,
145 HIP_API_ID_hipStreamCreateWithFlags = 108,
146 HIP_API_ID_hipMemcpyFromArray = 109,
147 HIP_API_ID_hipMemcpy2DAsync = 110,
148 HIP_API_ID_hipGetSymbolSize = 111,
149 HIP_API_ID_hipEventCreateWithFlags = 112,
150 HIP_API_ID_hipStreamQuery = 113,
151 HIP_API_ID_hipDeviceGetPCIBusId = 114,
152 HIP_API_ID_hipMemcpy = 115,
153 HIP_API_ID_hipPeekAtLastError = 116,
154 HIP_API_ID_hipStreamAddCallback = 117,
155 HIP_API_ID_hipMemcpyToArray = 118,
156 HIP_API_ID_hipMemsetD32 = 119,
157 HIP_API_ID_hipDeviceSynchronize = 120,
158 HIP_API_ID_hipDeviceGetCacheConfig = 121,
159 HIP_API_ID_hipMalloc3D = 122,
160 HIP_API_ID_hipPointerGetAttributes = 123,
161 HIP_API_ID_hipMemsetAsync = 124,
162 HIP_API_ID_hipMemcpyToSymbol = 125,
163 HIP_API_ID_hipCtxPushCurrent = 126,
164 HIP_API_ID_hipMemcpyPeer = 127,
165 HIP_API_ID_hipEventSynchronize = 128,
166 HIP_API_ID_hipMemcpyDtoDAsync = 129,
167 HIP_API_ID_hipExtMallocWithFlags = 130,
168 HIP_API_ID_hipCtxEnablePeerAccess = 131,
169 HIP_API_ID_hipMemcpyDtoHAsync = 132,
170 HIP_API_ID_hipModuleLaunchKernel = 133,
171 HIP_API_ID_hipModuleGetTexRef = 134,
172 HIP_API_ID_hipDeviceGetLimit = 135,
173 HIP_API_ID_hipModuleLoadDataEx = 136,
174 HIP_API_ID_hipRuntimeGetVersion = 137,
175 HIP_API_ID_hipGetDeviceProperties = 138,
176 HIP_API_ID_hipFreeArray = 139,
177 HIP_API_ID_hipDevicePrimaryCtxRelease = 140,
178 HIP_API_ID_hipHostGetDevicePointer = 141,
179 HIP_API_ID_hipMemcpyParam2D = 142,
180 HIP_API_ID_hipModuleGetFunction = 143,
181 HIP_API_ID_hipMemsetD32Async = 144,
182 HIP_API_ID_hipGetDevice = 145,
183 HIP_API_ID_hipGetDeviceCount = 146,
184 HIP_API_ID_NUMBER = 147,
185 HIP_API_ID_ANY = 148,
187 HIP_API_ID_NONE = HIP_API_ID_NUMBER,
188 HIP_API_ID_hipModuleGetFunctionEx = HIP_API_ID_NUMBER,
189 HIP_API_ID_hipTexRefSetAddress = HIP_API_ID_NUMBER,
190 HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NUMBER,
191 HIP_API_ID_hipBindTexture2D = HIP_API_ID_NUMBER,
192 HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NUMBER,
193 HIP_API_ID_hipCreateTextureObject = HIP_API_ID_NUMBER,
194 HIP_API_ID_hipBindTextureToArray = HIP_API_ID_NUMBER,
195 HIP_API_ID_hipTexRefSetFormat = HIP_API_ID_NUMBER,
196 HIP_API_ID_hipMemcpyHtoH = HIP_API_ID_NUMBER,
197 HIP_API_ID_hipGetTextureReference = HIP_API_ID_NUMBER,
198 HIP_API_ID_hipDestroyTextureObject = HIP_API_ID_NUMBER,
199 HIP_API_ID_hipTexRefSetArray = HIP_API_ID_NUMBER,
200 HIP_API_ID_hipBindTextureToMipmappedArray = HIP_API_ID_NUMBER,
201 HIP_API_ID_hipTexRefSetAddress2D = HIP_API_ID_NUMBER,
202 HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NUMBER,
203 HIP_API_ID_hipUnbindTexture = HIP_API_ID_NUMBER,
204 HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NUMBER,
205 HIP_API_ID_hipCreateSurfaceObject = HIP_API_ID_NUMBER,
206 HIP_API_ID_hipGetChannelDesc = HIP_API_ID_NUMBER,
207 HIP_API_ID_hipHccGetAcceleratorView = HIP_API_ID_NUMBER,
208 HIP_API_ID_hipGetTextureObjectResourceDesc = HIP_API_ID_NUMBER,
209 HIP_API_ID_hipExtModuleLaunchKernel = HIP_API_ID_NUMBER,
210 HIP_API_ID_hipGetTextureAlignmentOffset = HIP_API_ID_NUMBER,
211 HIP_API_ID_hipDestroySurfaceObject = HIP_API_ID_NUMBER,
212 HIP_API_ID_hipTexRefSetFlags = HIP_API_ID_NUMBER,
213 HIP_API_ID_hipBindTexture = HIP_API_ID_NUMBER,
214 HIP_API_ID_hipHccGetAccelerator = HIP_API_ID_NUMBER,
218 static inline const char* hip_api_name(
const uint32_t&
id) {
220 case HIP_API_ID_hipStreamCreateWithPriority:
return "hipStreamCreateWithPriority";
221 case HIP_API_ID_hipMemcpyToSymbolAsync:
return "hipMemcpyToSymbolAsync";
222 case HIP_API_ID_hipMallocPitch:
return "hipMallocPitch";
223 case HIP_API_ID_hipMalloc:
return "hipMalloc";
224 case HIP_API_ID_hipDeviceGetName:
return "hipDeviceGetName";
225 case HIP_API_ID_hipEventRecord:
return "hipEventRecord";
226 case HIP_API_ID_hipCtxSynchronize:
return "hipCtxSynchronize";
227 case HIP_API_ID_hipSetDevice:
return "hipSetDevice";
228 case HIP_API_ID_hipCtxGetApiVersion:
return "hipCtxGetApiVersion";
229 case HIP_API_ID_hipSetupArgument:
return "hipSetupArgument";
230 case HIP_API_ID_hipMemcpyFromSymbolAsync:
return "hipMemcpyFromSymbolAsync";
231 case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
return "hipExtGetLinkTypeAndHopCount";
232 case HIP_API_ID_hipMemcpyDtoD:
return "hipMemcpyDtoD";
233 case HIP_API_ID_hipHostFree:
return "hipHostFree";
234 case HIP_API_ID_hipMemcpy2DToArray:
return "hipMemcpy2DToArray";
235 case HIP_API_ID_hipCtxGetCacheConfig:
return "hipCtxGetCacheConfig";
236 case HIP_API_ID_hipStreamWaitEvent:
return "hipStreamWaitEvent";
237 case HIP_API_ID_hipDeviceGetStreamPriorityRange:
return "hipDeviceGetStreamPriorityRange";
238 case HIP_API_ID_hipModuleLoad:
return "hipModuleLoad";
239 case HIP_API_ID_hipDevicePrimaryCtxSetFlags:
return "hipDevicePrimaryCtxSetFlags";
240 case HIP_API_ID_hipLaunchCooperativeKernel:
return "hipLaunchCooperativeKernel";
241 case HIP_API_ID_hipLaunchCooperativeKernelMultiDevice:
return "hipLaunchCooperativeKernelMultiDevice";
242 case HIP_API_ID_hipMemcpyAsync:
return "hipMemcpyAsync";
243 case HIP_API_ID_hipMalloc3DArray:
return "hipMalloc3DArray";
244 case HIP_API_ID_hipStreamCreate:
return "hipStreamCreate";
245 case HIP_API_ID_hipCtxGetCurrent:
return "hipCtxGetCurrent";
246 case HIP_API_ID_hipDevicePrimaryCtxGetState:
return "hipDevicePrimaryCtxGetState";
247 case HIP_API_ID_hipEventQuery:
return "hipEventQuery";
248 case HIP_API_ID_hipEventCreate:
return "hipEventCreate";
249 case HIP_API_ID_hipMemGetAddressRange:
return "hipMemGetAddressRange";
250 case HIP_API_ID_hipMemcpyFromSymbol:
return "hipMemcpyFromSymbol";
251 case HIP_API_ID_hipArrayCreate:
return "hipArrayCreate";
252 case HIP_API_ID_hipStreamGetFlags:
return "hipStreamGetFlags";
253 case HIP_API_ID_hipMallocArray:
return "hipMallocArray";
254 case HIP_API_ID_hipCtxGetSharedMemConfig:
return "hipCtxGetSharedMemConfig";
255 case HIP_API_ID_hipMemPtrGetInfo:
return "hipMemPtrGetInfo";
256 case HIP_API_ID_hipCtxGetFlags:
return "hipCtxGetFlags";
257 case HIP_API_ID_hipStreamDestroy:
return "hipStreamDestroy";
258 case HIP_API_ID_hipMemset3DAsync:
return "hipMemset3DAsync";
259 case HIP_API_ID_hipMemcpy3D:
return "hipMemcpy3D";
260 case HIP_API_ID_hipInit:
return "hipInit";
261 case HIP_API_ID_hipMemcpyAtoH:
return "hipMemcpyAtoH";
262 case HIP_API_ID_hipStreamGetPriority:
return "hipStreamGetPriority";
263 case HIP_API_ID_hipMemset2D:
return "hipMemset2D";
264 case HIP_API_ID_hipMemset2DAsync:
return "hipMemset2DAsync";
265 case HIP_API_ID_hipDeviceCanAccessPeer:
return "hipDeviceCanAccessPeer";
266 case HIP_API_ID_hipDeviceEnablePeerAccess:
return "hipDeviceEnablePeerAccess";
267 case HIP_API_ID_hipModuleUnload:
return "hipModuleUnload";
268 case HIP_API_ID_hipHostUnregister:
return "hipHostUnregister";
269 case HIP_API_ID_hipProfilerStop:
return "hipProfilerStop";
270 case HIP_API_ID_hipLaunchByPtr:
return "hipLaunchByPtr";
271 case HIP_API_ID_hipStreamSynchronize:
return "hipStreamSynchronize";
272 case HIP_API_ID_hipDeviceSetCacheConfig:
return "hipDeviceSetCacheConfig";
273 case HIP_API_ID_hipGetErrorName:
return "hipGetErrorName";
274 case HIP_API_ID_hipMemcpyHtoD:
return "hipMemcpyHtoD";
275 case HIP_API_ID_hipModuleGetGlobal:
return "hipModuleGetGlobal";
276 case HIP_API_ID_hipMemcpyHtoA:
return "hipMemcpyHtoA";
277 case HIP_API_ID_hipCtxCreate:
return "hipCtxCreate";
278 case HIP_API_ID_hipMemcpy2D:
return "hipMemcpy2D";
279 case HIP_API_ID_hipIpcCloseMemHandle:
return "hipIpcCloseMemHandle";
280 case HIP_API_ID_hipChooseDevice:
return "hipChooseDevice";
281 case HIP_API_ID_hipDeviceSetSharedMemConfig:
return "hipDeviceSetSharedMemConfig";
282 case HIP_API_ID_hipDeviceComputeCapability:
return "hipDeviceComputeCapability";
283 case HIP_API_ID_hipDeviceGet:
return "hipDeviceGet";
284 case HIP_API_ID_hipProfilerStart:
return "hipProfilerStart";
285 case HIP_API_ID_hipCtxSetCacheConfig:
return "hipCtxSetCacheConfig";
286 case HIP_API_ID_hipFuncSetCacheConfig:
return "hipFuncSetCacheConfig";
287 case HIP_API_ID_hipMemcpyPeerAsync:
return "hipMemcpyPeerAsync";
288 case HIP_API_ID_hipEventElapsedTime:
return "hipEventElapsedTime";
289 case HIP_API_ID_hipDevicePrimaryCtxReset:
return "hipDevicePrimaryCtxReset";
290 case HIP_API_ID_hipEventDestroy:
return "hipEventDestroy";
291 case HIP_API_ID_hipCtxPopCurrent:
return "hipCtxPopCurrent";
292 case HIP_API_ID_hipGetSymbolAddress:
return "hipGetSymbolAddress";
293 case HIP_API_ID_hipHostGetFlags:
return "hipHostGetFlags";
294 case HIP_API_ID_hipHostMalloc:
return "hipHostMalloc";
295 case HIP_API_ID_hipDriverGetVersion:
return "hipDriverGetVersion";
296 case HIP_API_ID_hipMemGetInfo:
return "hipMemGetInfo";
297 case HIP_API_ID_hipDeviceReset:
return "hipDeviceReset";
298 case HIP_API_ID_hipMemset:
return "hipMemset";
299 case HIP_API_ID_hipMemsetD8:
return "hipMemsetD8";
300 case HIP_API_ID_hipHostRegister:
return "hipHostRegister";
301 case HIP_API_ID_hipCtxSetSharedMemConfig:
return "hipCtxSetSharedMemConfig";
302 case HIP_API_ID_hipArray3DCreate:
return "hipArray3DCreate";
303 case HIP_API_ID_hipIpcOpenMemHandle:
return "hipIpcOpenMemHandle";
304 case HIP_API_ID_hipGetLastError:
return "hipGetLastError";
305 case HIP_API_ID_hipCtxDestroy:
return "hipCtxDestroy";
306 case HIP_API_ID_hipDeviceGetSharedMemConfig:
return "hipDeviceGetSharedMemConfig";
307 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags:
return "hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags";
308 case HIP_API_ID_hipSetDeviceFlags:
return "hipSetDeviceFlags";
309 case HIP_API_ID_hipHccModuleLaunchKernel:
return "hipHccModuleLaunchKernel";
310 case HIP_API_ID_hipFree:
return "hipFree";
311 case HIP_API_ID_hipOccupancyMaxPotentialBlockSize:
return "hipOccupancyMaxPotentialBlockSize";
312 case HIP_API_ID_hipDeviceGetAttribute:
return "hipDeviceGetAttribute";
313 case HIP_API_ID_hipMemcpyDtoH:
return "hipMemcpyDtoH";
314 case HIP_API_ID_hipCtxDisablePeerAccess:
return "hipCtxDisablePeerAccess";
315 case HIP_API_ID_hipMallocManaged:
return "hipMallocManaged";
316 case HIP_API_ID_hipDeviceGetByPCIBusId:
return "hipDeviceGetByPCIBusId";
317 case HIP_API_ID_hipIpcGetMemHandle:
return "hipIpcGetMemHandle";
318 case HIP_API_ID_hipMemcpyHtoDAsync:
return "hipMemcpyHtoDAsync";
319 case HIP_API_ID_hipCtxGetDevice:
return "hipCtxGetDevice";
320 case HIP_API_ID_hipMemset3D:
return "hipMemset3D";
321 case HIP_API_ID_hipModuleLoadData:
return "hipModuleLoadData";
322 case HIP_API_ID_hipDeviceTotalMem:
return "hipDeviceTotalMem";
323 case HIP_API_ID_hipOccupancyMaxActiveBlocksPerMultiprocessor:
return "hipOccupancyMaxActiveBlocksPerMultiprocessor";
324 case HIP_API_ID_hipCtxSetCurrent:
return "hipCtxSetCurrent";
325 case HIP_API_ID_hipGetErrorString:
return "hipGetErrorString";
326 case HIP_API_ID_hipDevicePrimaryCtxRetain:
return "hipDevicePrimaryCtxRetain";
327 case HIP_API_ID_hipDeviceDisablePeerAccess:
return "hipDeviceDisablePeerAccess";
328 case HIP_API_ID_hipStreamCreateWithFlags:
return "hipStreamCreateWithFlags";
329 case HIP_API_ID_hipMemcpyFromArray:
return "hipMemcpyFromArray";
330 case HIP_API_ID_hipMemcpy2DAsync:
return "hipMemcpy2DAsync";
331 case HIP_API_ID_hipGetSymbolSize:
return "hipGetSymbolSize";
332 case HIP_API_ID_hipEventCreateWithFlags:
return "hipEventCreateWithFlags";
333 case HIP_API_ID_hipStreamQuery:
return "hipStreamQuery";
334 case HIP_API_ID_hipDeviceGetPCIBusId:
return "hipDeviceGetPCIBusId";
335 case HIP_API_ID_hipMemcpy:
return "hipMemcpy";
336 case HIP_API_ID_hipPeekAtLastError:
return "hipPeekAtLastError";
337 case HIP_API_ID_hipStreamAddCallback:
return "hipStreamAddCallback";
338 case HIP_API_ID_hipMemcpyToArray:
return "hipMemcpyToArray";
339 case HIP_API_ID_hipMemsetD32:
return "hipMemsetD32";
340 case HIP_API_ID_hipDeviceSynchronize:
return "hipDeviceSynchronize";
341 case HIP_API_ID_hipDeviceGetCacheConfig:
return "hipDeviceGetCacheConfig";
342 case HIP_API_ID_hipMalloc3D:
return "hipMalloc3D";
343 case HIP_API_ID_hipPointerGetAttributes:
return "hipPointerGetAttributes";
344 case HIP_API_ID_hipMemsetAsync:
return "hipMemsetAsync";
345 case HIP_API_ID_hipMemcpyToSymbol:
return "hipMemcpyToSymbol";
346 case HIP_API_ID_hipCtxPushCurrent:
return "hipCtxPushCurrent";
347 case HIP_API_ID_hipMemcpyPeer:
return "hipMemcpyPeer";
348 case HIP_API_ID_hipEventSynchronize:
return "hipEventSynchronize";
349 case HIP_API_ID_hipMemcpyDtoDAsync:
return "hipMemcpyDtoDAsync";
350 case HIP_API_ID_hipExtMallocWithFlags:
return "hipExtMallocWithFlags";
351 case HIP_API_ID_hipCtxEnablePeerAccess:
return "hipCtxEnablePeerAccess";
352 case HIP_API_ID_hipMemcpyDtoHAsync:
return "hipMemcpyDtoHAsync";
353 case HIP_API_ID_hipModuleLaunchKernel:
return "hipModuleLaunchKernel";
354 case HIP_API_ID_hipModuleGetTexRef:
return "hipModuleGetTexRef";
355 case HIP_API_ID_hipDeviceGetLimit:
return "hipDeviceGetLimit";
356 case HIP_API_ID_hipModuleLoadDataEx:
return "hipModuleLoadDataEx";
357 case HIP_API_ID_hipRuntimeGetVersion:
return "hipRuntimeGetVersion";
358 case HIP_API_ID_hipGetDeviceProperties:
return "hipGetDeviceProperties";
359 case HIP_API_ID_hipFreeArray:
return "hipFreeArray";
360 case HIP_API_ID_hipDevicePrimaryCtxRelease:
return "hipDevicePrimaryCtxRelease";
361 case HIP_API_ID_hipHostGetDevicePointer:
return "hipHostGetDevicePointer";
362 case HIP_API_ID_hipMemcpyParam2D:
return "hipMemcpyParam2D";
363 case HIP_API_ID_hipModuleGetFunction:
return "hipModuleGetFunction";
364 case HIP_API_ID_hipMemsetD32Async:
return "hipMemsetD32Async";
365 case HIP_API_ID_hipGetDevice:
return "hipGetDevice";
366 case HIP_API_ID_hipGetDeviceCount:
return "hipGetDeviceCount";
373 uint64_t correlation_id;
380 } hipStreamCreateWithPriority;
382 const void* symbolName;
388 } hipMemcpyToSymbolAsync;
414 } hipCtxGetApiVersion;
422 const void* symbolName;
427 } hipMemcpyFromSymbolAsync;
431 unsigned int* linktype;
432 unsigned int* hopcount;
433 } hipExtGetLinkTypeAndHopCount;
451 } hipMemcpy2DToArray;
454 } hipCtxGetCacheConfig;
459 } hipStreamWaitEvent;
462 int* greatestPriority;
463 } hipDeviceGetStreamPriorityRange;
471 } hipDevicePrimaryCtxSetFlags;
477 unsigned int sharedMemBytes;
479 } hipLaunchCooperativeKernel;
484 } hipLaunchCooperativeKernelMultiDevice;
508 } hipDevicePrimaryCtxGetState;
516 hipDeviceptr_t* pbase;
519 } hipMemGetAddressRange;
522 const void* symbolName;
526 } hipMemcpyFromSymbol;
544 } hipCtxGetSharedMemConfig;
576 } hipStreamGetPriority;
596 } hipDeviceCanAccessPeer;
600 } hipDeviceEnablePeerAccess;
612 } hipStreamSynchronize;
615 } hipDeviceSetCacheConfig;
617 hipError_t hip_error;
625 hipDeviceptr_t* dptr;
629 } hipModuleGetGlobal;
652 } hipIpcCloseMemHandle;
659 } hipDeviceSetSharedMemConfig;
664 } hipDeviceComputeCapability;
671 } hipCtxSetCacheConfig;
675 } hipFuncSetCacheConfig;
683 } hipMemcpyPeerAsync;
688 } hipEventElapsedTime;
691 } hipDevicePrimaryCtxReset;
700 const void* symbolName;
701 } hipGetSymbolAddress;
703 unsigned int* flagsPtr;
713 } hipDriverGetVersion;
735 } hipCtxSetSharedMemConfig;
744 } hipIpcOpenMemHandle;
750 } hipDeviceGetSharedMemConfig;
755 size_t dynamicSMemSize;
757 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
763 unsigned int globalWorkSizeX;
764 unsigned int globalWorkSizeY;
765 unsigned int globalWorkSizeZ;
766 unsigned int localWorkSizeX;
767 unsigned int localWorkSizeY;
768 unsigned int localWorkSizeZ;
769 size_t sharedMemBytes;
775 } hipHccModuleLaunchKernel;
780 unsigned int* gridSize;
781 unsigned int* blockSize;
783 size_t dynSharedMemPerBlk;
784 unsigned int blockSizeLimit;
785 } hipOccupancyMaxPotentialBlockSize;
790 } hipDeviceGetAttribute;
798 } hipCtxDisablePeerAccess;
806 const char* pciBusId;
807 } hipDeviceGetByPCIBusId;
811 } hipIpcGetMemHandle;
817 } hipMemcpyHtoDAsync;
838 size_t dynamicSMemSize;
839 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
849 } hipDevicePrimaryCtxRetain;
852 } hipDeviceDisablePeerAccess;
856 } hipStreamCreateWithFlags;
864 } hipMemcpyFromArray;
877 const void* symbolName;
882 } hipEventCreateWithFlags;
890 } hipDeviceGetPCIBusId;
902 } hipStreamAddCallback;
918 } hipDeviceGetCacheConfig;
926 } hipPointerGetAttributes;
934 const void* symbolName;
952 } hipEventSynchronize;
958 } hipMemcpyDtoDAsync;
963 } hipExtMallocWithFlags;
967 } hipCtxEnablePeerAccess;
973 } hipMemcpyDtoHAsync;
976 unsigned int gridDimX;
977 unsigned int gridDimY;
978 unsigned int gridDimZ;
979 unsigned int blockDimX;
980 unsigned int blockDimY;
981 unsigned int blockDimZ;
982 unsigned int sharedMemBytes;
986 } hipModuleLaunchKernel;
991 } hipModuleGetTexRef;
999 unsigned int numOptions;
1000 hipJitOption* options;
1001 void** optionValues;
1002 } hipModuleLoadDataEx;
1004 int* runtimeVersion;
1005 } hipRuntimeGetVersion;
1009 } hipGetDeviceProperties;
1015 } hipDevicePrimaryCtxRelease;
1020 } hipHostGetDevicePointer;
1028 } hipModuleGetFunction;
1034 } hipMemsetD32Async;
1040 } hipGetDeviceCount;
1046 #define INIT_hipStreamCreateWithPriority_CB_ARGS_DATA(cb_data) { \
1047 cb_data.args.hipStreamCreateWithPriority.stream = stream; \
1048 cb_data.args.hipStreamCreateWithPriority.flags = flags; \
1049 cb_data.args.hipStreamCreateWithPriority.priority = priority; \
1052 #define INIT_hipMemcpyToSymbolAsync_CB_ARGS_DATA(cb_data) { \
1055 #define INIT_hipMallocPitch_CB_ARGS_DATA(cb_data) { \
1056 cb_data.args.hipMallocPitch.ptr = ptr; \
1057 cb_data.args.hipMallocPitch.pitch = pitch; \
1058 cb_data.args.hipMallocPitch.width = width; \
1059 cb_data.args.hipMallocPitch.height = height; \
1062 #define INIT_hipMalloc_CB_ARGS_DATA(cb_data) { \
1063 cb_data.args.hipMalloc.ptr = ptr; \
1064 cb_data.args.hipMalloc.size = sizeBytes; \
1067 #define INIT_hipDeviceGetName_CB_ARGS_DATA(cb_data) { \
1068 cb_data.args.hipDeviceGetName.name = name; \
1069 cb_data.args.hipDeviceGetName.len = len; \
1070 cb_data.args.hipDeviceGetName.device = device; \
1073 #define INIT_hipEventRecord_CB_ARGS_DATA(cb_data) { \
1074 cb_data.args.hipEventRecord.event = event; \
1075 cb_data.args.hipEventRecord.stream = stream; \
1078 #define INIT_hipCtxSynchronize_CB_ARGS_DATA(cb_data) { \
1081 #define INIT_hipSetDevice_CB_ARGS_DATA(cb_data) { \
1082 cb_data.args.hipSetDevice.deviceId = deviceId; \
1085 #define INIT_hipCtxGetApiVersion_CB_ARGS_DATA(cb_data) { \
1086 cb_data.args.hipCtxGetApiVersion.ctx = ctx; \
1087 cb_data.args.hipCtxGetApiVersion.apiVersion = apiVersion; \
1090 #define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
1091 cb_data.args.hipSetupArgument.arg = arg; \
1092 cb_data.args.hipSetupArgument.size = size; \
1093 cb_data.args.hipSetupArgument.offset = offset; \
1096 #define INIT_hipMemcpyFromSymbolAsync_CB_ARGS_DATA(cb_data) { \
1099 #define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
1100 cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = device1; \
1101 cb_data.args.hipExtGetLinkTypeAndHopCount.device2 = device2; \
1102 cb_data.args.hipExtGetLinkTypeAndHopCount.linktype = linktype; \
1103 cb_data.args.hipExtGetLinkTypeAndHopCount.hopcount = hopcount; \
1106 #define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
1107 cb_data.args.hipMemcpyDtoD.dst = dst; \
1108 cb_data.args.hipMemcpyDtoD.src = src; \
1109 cb_data.args.hipMemcpyDtoD.sizeBytes = sizeBytes; \
1112 #define INIT_hipHostFree_CB_ARGS_DATA(cb_data) { \
1113 cb_data.args.hipHostFree.ptr = ptr; \
1116 #define INIT_hipMemcpy2DToArray_CB_ARGS_DATA(cb_data) { \
1117 cb_data.args.hipMemcpy2DToArray.dst = dst; \
1118 cb_data.args.hipMemcpy2DToArray.wOffset = wOffset; \
1119 cb_data.args.hipMemcpy2DToArray.hOffset = hOffset; \
1120 cb_data.args.hipMemcpy2DToArray.src = src; \
1121 cb_data.args.hipMemcpy2DToArray.spitch = spitch; \
1122 cb_data.args.hipMemcpy2DToArray.width = width; \
1123 cb_data.args.hipMemcpy2DToArray.height = height; \
1124 cb_data.args.hipMemcpy2DToArray.kind = kind; \
1127 #define INIT_hipCtxGetCacheConfig_CB_ARGS_DATA(cb_data) { \
1128 cb_data.args.hipCtxGetCacheConfig.cacheConfig = cacheConfig; \
1131 #define INIT_hipStreamWaitEvent_CB_ARGS_DATA(cb_data) { \
1132 cb_data.args.hipStreamWaitEvent.stream = stream; \
1133 cb_data.args.hipStreamWaitEvent.event = event; \
1134 cb_data.args.hipStreamWaitEvent.flags = flags; \
1137 #define INIT_hipDeviceGetStreamPriorityRange_CB_ARGS_DATA(cb_data) { \
1138 cb_data.args.hipDeviceGetStreamPriorityRange.leastPriority = leastPriority; \
1139 cb_data.args.hipDeviceGetStreamPriorityRange.greatestPriority = greatestPriority; \
1142 #define INIT_hipModuleLoad_CB_ARGS_DATA(cb_data) { \
1143 cb_data.args.hipModuleLoad.module = module; \
1144 cb_data.args.hipModuleLoad.fname = fname; \
1147 #define INIT_hipDevicePrimaryCtxSetFlags_CB_ARGS_DATA(cb_data) { \
1148 cb_data.args.hipDevicePrimaryCtxSetFlags.dev = dev; \
1149 cb_data.args.hipDevicePrimaryCtxSetFlags.flags = flags; \
1152 #define INIT_hipLaunchCooperativeKernel_CB_ARGS_DATA(cb_data) { \
1155 #define INIT_hipLaunchCooperativeKernelMultiDevice_CB_ARGS_DATA(cb_data) { \
1158 #define INIT_hipMemcpyAsync_CB_ARGS_DATA(cb_data) { \
1159 cb_data.args.hipMemcpyAsync.dst = dst; \
1160 cb_data.args.hipMemcpyAsync.src = src; \
1161 cb_data.args.hipMemcpyAsync.sizeBytes = sizeBytes; \
1162 cb_data.args.hipMemcpyAsync.kind = kind; \
1163 cb_data.args.hipMemcpyAsync.stream = stream; \
1166 #define INIT_hipMalloc3DArray_CB_ARGS_DATA(cb_data) { \
1167 cb_data.args.hipMalloc3DArray.array = array; \
1168 cb_data.args.hipMalloc3DArray.desc = desc; \
1169 cb_data.args.hipMalloc3DArray.extent = extent; \
1170 cb_data.args.hipMalloc3DArray.flags = flags; \
1173 #define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
1174 cb_data.args.hipStreamCreate.stream = stream; \
1177 #define INIT_hipCtxGetCurrent_CB_ARGS_DATA(cb_data) { \
1178 cb_data.args.hipCtxGetCurrent.ctx = ctx; \
1181 #define INIT_hipDevicePrimaryCtxGetState_CB_ARGS_DATA(cb_data) { \
1182 cb_data.args.hipDevicePrimaryCtxGetState.dev = dev; \
1183 cb_data.args.hipDevicePrimaryCtxGetState.flags = flags; \
1184 cb_data.args.hipDevicePrimaryCtxGetState.active = active; \
1187 #define INIT_hipEventQuery_CB_ARGS_DATA(cb_data) { \
1188 cb_data.args.hipEventQuery.event = event; \
1191 #define INIT_hipEventCreate_CB_ARGS_DATA(cb_data) { \
1192 cb_data.args.hipEventCreate.event = event; \
1195 #define INIT_hipMemGetAddressRange_CB_ARGS_DATA(cb_data) { \
1196 cb_data.args.hipMemGetAddressRange.pbase = pbase; \
1197 cb_data.args.hipMemGetAddressRange.psize = psize; \
1198 cb_data.args.hipMemGetAddressRange.dptr = dptr; \
1201 #define INIT_hipMemcpyFromSymbol_CB_ARGS_DATA(cb_data) { \
1204 #define INIT_hipArrayCreate_CB_ARGS_DATA(cb_data) { \
1205 cb_data.args.hipArrayCreate.pHandle = array; \
1206 cb_data.args.hipArrayCreate.pAllocateArray = pAllocateArray; \
1209 #define INIT_hipStreamGetFlags_CB_ARGS_DATA(cb_data) { \
1210 cb_data.args.hipStreamGetFlags.stream = stream; \
1211 cb_data.args.hipStreamGetFlags.flags = flags; \
1214 #define INIT_hipMallocArray_CB_ARGS_DATA(cb_data) { \
1215 cb_data.args.hipMallocArray.array = array; \
1216 cb_data.args.hipMallocArray.desc = desc; \
1217 cb_data.args.hipMallocArray.width = width; \
1218 cb_data.args.hipMallocArray.height = height; \
1219 cb_data.args.hipMallocArray.flags = flags; \
1222 #define INIT_hipCtxGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
1223 cb_data.args.hipCtxGetSharedMemConfig.pConfig = pConfig; \
1226 #define INIT_hipMemPtrGetInfo_CB_ARGS_DATA(cb_data) { \
1227 cb_data.args.hipMemPtrGetInfo.ptr = ptr; \
1228 cb_data.args.hipMemPtrGetInfo.size = size; \
1231 #define INIT_hipCtxGetFlags_CB_ARGS_DATA(cb_data) { \
1232 cb_data.args.hipCtxGetFlags.flags = flags; \
1235 #define INIT_hipStreamDestroy_CB_ARGS_DATA(cb_data) { \
1236 cb_data.args.hipStreamDestroy.stream = stream; \
1239 #define INIT_hipMemset3DAsync_CB_ARGS_DATA(cb_data) { \
1240 cb_data.args.hipMemset3DAsync.pitchedDevPtr = pitchedDevPtr; \
1241 cb_data.args.hipMemset3DAsync.value = value; \
1242 cb_data.args.hipMemset3DAsync.extent = extent; \
1243 cb_data.args.hipMemset3DAsync.stream = stream; \
1246 #define INIT_hipMemcpy3D_CB_ARGS_DATA(cb_data) { \
1247 cb_data.args.hipMemcpy3D.p = p; \
1250 #define INIT_hipInit_CB_ARGS_DATA(cb_data) { \
1251 cb_data.args.hipInit.flags = flags; \
1254 #define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
1255 cb_data.args.hipMemcpyAtoH.dst = dst; \
1256 cb_data.args.hipMemcpyAtoH.srcArray = srcArray; \
1257 cb_data.args.hipMemcpyAtoH.srcOffset = srcOffset; \
1258 cb_data.args.hipMemcpyAtoH.count = count; \
1261 #define INIT_hipStreamGetPriority_CB_ARGS_DATA(cb_data) { \
1262 cb_data.args.hipStreamGetPriority.stream = stream; \
1263 cb_data.args.hipStreamGetPriority.priority = priority; \
1266 #define INIT_hipMemset2D_CB_ARGS_DATA(cb_data) { \
1267 cb_data.args.hipMemset2D.dst = dst; \
1268 cb_data.args.hipMemset2D.pitch = pitch; \
1269 cb_data.args.hipMemset2D.value = value; \
1270 cb_data.args.hipMemset2D.width = width; \
1271 cb_data.args.hipMemset2D.height = height; \
1274 #define INIT_hipMemset2DAsync_CB_ARGS_DATA(cb_data) { \
1275 cb_data.args.hipMemset2DAsync.dst = dst; \
1276 cb_data.args.hipMemset2DAsync.pitch = pitch; \
1277 cb_data.args.hipMemset2DAsync.value = value; \
1278 cb_data.args.hipMemset2DAsync.width = width; \
1279 cb_data.args.hipMemset2DAsync.height = height; \
1280 cb_data.args.hipMemset2DAsync.stream = stream; \
1283 #define INIT_hipDeviceCanAccessPeer_CB_ARGS_DATA(cb_data) { \
1284 cb_data.args.hipDeviceCanAccessPeer.canAccessPeer = canAccessPeer; \
1285 cb_data.args.hipDeviceCanAccessPeer.deviceId = deviceId; \
1286 cb_data.args.hipDeviceCanAccessPeer.peerDeviceId = peerDeviceId; \
1289 #define INIT_hipDeviceEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
1290 cb_data.args.hipDeviceEnablePeerAccess.peerDeviceId = peerDeviceId; \
1291 cb_data.args.hipDeviceEnablePeerAccess.flags = flags; \
1294 #define INIT_hipModuleUnload_CB_ARGS_DATA(cb_data) { \
1295 cb_data.args.hipModuleUnload.module = hmod; \
1298 #define INIT_hipHostUnregister_CB_ARGS_DATA(cb_data) { \
1299 cb_data.args.hipHostUnregister.hostPtr = hostPtr; \
1302 #define INIT_hipProfilerStop_CB_ARGS_DATA(cb_data) { \
1305 #define INIT_hipLaunchByPtr_CB_ARGS_DATA(cb_data) { \
1306 cb_data.args.hipLaunchByPtr.func = hostFunction; \
1309 #define INIT_hipStreamSynchronize_CB_ARGS_DATA(cb_data) { \
1310 cb_data.args.hipStreamSynchronize.stream = stream; \
1313 #define INIT_hipDeviceSetCacheConfig_CB_ARGS_DATA(cb_data) { \
1314 cb_data.args.hipDeviceSetCacheConfig.cacheConfig = cacheConfig; \
1317 #define INIT_hipGetErrorName_CB_ARGS_DATA(cb_data) { \
1318 cb_data.args.hipGetErrorName.hip_error = hip_error; \
1321 #define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
1322 cb_data.args.hipMemcpyHtoD.dst = dst; \
1323 cb_data.args.hipMemcpyHtoD.src = src; \
1324 cb_data.args.hipMemcpyHtoD.sizeBytes = sizeBytes; \
1327 #define INIT_hipModuleGetGlobal_CB_ARGS_DATA(cb_data) { \
1328 cb_data.args.hipModuleGetGlobal.dptr = dptr; \
1329 cb_data.args.hipModuleGetGlobal.bytes = bytes; \
1330 cb_data.args.hipModuleGetGlobal.hmod = hmod; \
1331 cb_data.args.hipModuleGetGlobal.name = name; \
1334 #define INIT_hipMemcpyHtoA_CB_ARGS_DATA(cb_data) { \
1335 cb_data.args.hipMemcpyHtoA.dstArray = dstArray; \
1336 cb_data.args.hipMemcpyHtoA.dstOffset = dstOffset; \
1337 cb_data.args.hipMemcpyHtoA.srcHost = srcHost; \
1338 cb_data.args.hipMemcpyHtoA.count = count; \
1341 #define INIT_hipCtxCreate_CB_ARGS_DATA(cb_data) { \
1342 cb_data.args.hipCtxCreate.ctx = ctx; \
1343 cb_data.args.hipCtxCreate.flags = flags; \
1344 cb_data.args.hipCtxCreate.device = device; \
1347 #define INIT_hipMemcpy2D_CB_ARGS_DATA(cb_data) { \
1348 cb_data.args.hipMemcpy2D.dst = dst; \
1349 cb_data.args.hipMemcpy2D.dpitch = dpitch; \
1350 cb_data.args.hipMemcpy2D.src = src; \
1351 cb_data.args.hipMemcpy2D.spitch = spitch; \
1352 cb_data.args.hipMemcpy2D.width = width; \
1353 cb_data.args.hipMemcpy2D.height = height; \
1354 cb_data.args.hipMemcpy2D.kind = kind; \
1357 #define INIT_hipIpcCloseMemHandle_CB_ARGS_DATA(cb_data) { \
1358 cb_data.args.hipIpcCloseMemHandle.devPtr = devPtr; \
1361 #define INIT_hipChooseDevice_CB_ARGS_DATA(cb_data) { \
1362 cb_data.args.hipChooseDevice.device = device; \
1363 cb_data.args.hipChooseDevice.prop = prop; \
1366 #define INIT_hipDeviceSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
1367 cb_data.args.hipDeviceSetSharedMemConfig.config = config; \
1370 #define INIT_hipDeviceComputeCapability_CB_ARGS_DATA(cb_data) { \
1371 cb_data.args.hipDeviceComputeCapability.major = major; \
1372 cb_data.args.hipDeviceComputeCapability.minor = minor; \
1373 cb_data.args.hipDeviceComputeCapability.device = device; \
1376 #define INIT_hipDeviceGet_CB_ARGS_DATA(cb_data) { \
1377 cb_data.args.hipDeviceGet.device = device; \
1378 cb_data.args.hipDeviceGet.ordinal = deviceId; \
1381 #define INIT_hipProfilerStart_CB_ARGS_DATA(cb_data) { \
1384 #define INIT_hipCtxSetCacheConfig_CB_ARGS_DATA(cb_data) { \
1385 cb_data.args.hipCtxSetCacheConfig.cacheConfig = cacheConfig; \
1388 #define INIT_hipFuncSetCacheConfig_CB_ARGS_DATA(cb_data) { \
1389 cb_data.args.hipFuncSetCacheConfig.func = func; \
1390 cb_data.args.hipFuncSetCacheConfig.config = cacheConfig; \
1393 #define INIT_hipMemcpyPeerAsync_CB_ARGS_DATA(cb_data) { \
1394 cb_data.args.hipMemcpyPeerAsync.dst = dst; \
1395 cb_data.args.hipMemcpyPeerAsync.dstDeviceId = dstDevice; \
1396 cb_data.args.hipMemcpyPeerAsync.src = src; \
1397 cb_data.args.hipMemcpyPeerAsync.srcDevice = srcDevice; \
1398 cb_data.args.hipMemcpyPeerAsync.sizeBytes = sizeBytes; \
1399 cb_data.args.hipMemcpyPeerAsync.stream = stream; \
1402 #define INIT_hipEventElapsedTime_CB_ARGS_DATA(cb_data) { \
1403 cb_data.args.hipEventElapsedTime.ms = ms; \
1404 cb_data.args.hipEventElapsedTime.start = start; \
1405 cb_data.args.hipEventElapsedTime.stop = stop; \
1408 #define INIT_hipDevicePrimaryCtxReset_CB_ARGS_DATA(cb_data) { \
1409 cb_data.args.hipDevicePrimaryCtxReset.dev = dev; \
1412 #define INIT_hipEventDestroy_CB_ARGS_DATA(cb_data) { \
1413 cb_data.args.hipEventDestroy.event = event; \
1416 #define INIT_hipCtxPopCurrent_CB_ARGS_DATA(cb_data) { \
1417 cb_data.args.hipCtxPopCurrent.ctx = ctx; \
1420 #define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
1423 #define INIT_hipHostGetFlags_CB_ARGS_DATA(cb_data) { \
1424 cb_data.args.hipHostGetFlags.flagsPtr = flagsPtr; \
1425 cb_data.args.hipHostGetFlags.hostPtr = hostPtr; \
1428 #define INIT_hipHostMalloc_CB_ARGS_DATA(cb_data) { \
1429 cb_data.args.hipHostMalloc.ptr = ptr; \
1430 cb_data.args.hipHostMalloc.size = sizeBytes; \
1431 cb_data.args.hipHostMalloc.flags = flags; \
1434 #define INIT_hipDriverGetVersion_CB_ARGS_DATA(cb_data) { \
1435 cb_data.args.hipDriverGetVersion.driverVersion = driverVersion; \
1438 #define INIT_hipMemGetInfo_CB_ARGS_DATA(cb_data) { \
1439 cb_data.args.hipMemGetInfo.free = free; \
1440 cb_data.args.hipMemGetInfo.total = total; \
1443 #define INIT_hipDeviceReset_CB_ARGS_DATA(cb_data) { \
1446 #define INIT_hipMemset_CB_ARGS_DATA(cb_data) { \
1447 cb_data.args.hipMemset.dst = dst; \
1448 cb_data.args.hipMemset.value = value; \
1449 cb_data.args.hipMemset.sizeBytes = sizeBytes; \
1452 #define INIT_hipMemsetD8_CB_ARGS_DATA(cb_data) { \
1453 cb_data.args.hipMemsetD8.dest = dst; \
1454 cb_data.args.hipMemsetD8.value = value; \
1455 cb_data.args.hipMemsetD8.sizeBytes = sizeBytes; \
1458 #define INIT_hipHostRegister_CB_ARGS_DATA(cb_data) { \
1459 cb_data.args.hipHostRegister.hostPtr = hostPtr; \
1460 cb_data.args.hipHostRegister.sizeBytes = sizeBytes; \
1461 cb_data.args.hipHostRegister.flags = flags; \
1464 #define INIT_hipCtxSetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
1465 cb_data.args.hipCtxSetSharedMemConfig.config = config; \
1468 #define INIT_hipArray3DCreate_CB_ARGS_DATA(cb_data) { \
1469 cb_data.args.hipArray3DCreate.array = array; \
1470 cb_data.args.hipArray3DCreate.pAllocateArray = pAllocateArray; \
1473 #define INIT_hipIpcOpenMemHandle_CB_ARGS_DATA(cb_data) { \
1474 cb_data.args.hipIpcOpenMemHandle.devPtr = devPtr; \
1475 cb_data.args.hipIpcOpenMemHandle.handle = handle; \
1476 cb_data.args.hipIpcOpenMemHandle.flags = flags; \
1479 #define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
1482 #define INIT_hipCtxDestroy_CB_ARGS_DATA(cb_data) { \
1483 cb_data.args.hipCtxDestroy.ctx = ctx; \
1486 #define INIT_hipDeviceGetSharedMemConfig_CB_ARGS_DATA(cb_data) { \
1487 cb_data.args.hipDeviceGetSharedMemConfig.pConfig = pConfig; \
1490 #define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_CB_ARGS_DATA(cb_data) { \
1493 #define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
1494 cb_data.args.hipSetDeviceFlags.flags = flags; \
1497 #define INIT_hipHccModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
1498 cb_data.args.hipHccModuleLaunchKernel.f = f; \
1499 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeX = globalWorkSizeX; \
1500 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeY = globalWorkSizeY; \
1501 cb_data.args.hipHccModuleLaunchKernel.globalWorkSizeZ = globalWorkSizeZ; \
1502 cb_data.args.hipHccModuleLaunchKernel.localWorkSizeX = localWorkSizeX; \
1503 cb_data.args.hipHccModuleLaunchKernel.localWorkSizeY = localWorkSizeY; \
1504 cb_data.args.hipHccModuleLaunchKernel.localWorkSizeZ = localWorkSizeZ; \
1505 cb_data.args.hipHccModuleLaunchKernel.sharedMemBytes = sharedMemBytes; \
1506 cb_data.args.hipHccModuleLaunchKernel.hStream = hStream; \
1507 cb_data.args.hipHccModuleLaunchKernel.kernelParams = kernelParams; \
1508 cb_data.args.hipHccModuleLaunchKernel.extra = extra; \
1509 cb_data.args.hipHccModuleLaunchKernel.startEvent = startEvent; \
1510 cb_data.args.hipHccModuleLaunchKernel.stopEvent = stopEvent; \
1513 #define INIT_hipFree_CB_ARGS_DATA(cb_data) { \
1514 cb_data.args.hipFree.ptr = ptr; \
1517 #define INIT_hipOccupancyMaxPotentialBlockSize_CB_ARGS_DATA(cb_data) { \
1518 cb_data.args.hipOccupancyMaxPotentialBlockSize.gridSize = gridSize; \
1519 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSize = blockSize; \
1520 cb_data.args.hipOccupancyMaxPotentialBlockSize.f = f; \
1521 cb_data.args.hipOccupancyMaxPotentialBlockSize.dynSharedMemPerBlk = dynSharedMemPerBlk; \
1522 cb_data.args.hipOccupancyMaxPotentialBlockSize.blockSizeLimit = blockSizeLimit; \
1525 #define INIT_hipDeviceGetAttribute_CB_ARGS_DATA(cb_data) { \
1526 cb_data.args.hipDeviceGetAttribute.pi = pi; \
1527 cb_data.args.hipDeviceGetAttribute.attr = attr; \
1528 cb_data.args.hipDeviceGetAttribute.deviceId = device; \
1531 #define INIT_hipMemcpyDtoH_CB_ARGS_DATA(cb_data) { \
1532 cb_data.args.hipMemcpyDtoH.dst = dst; \
1533 cb_data.args.hipMemcpyDtoH.src = src; \
1534 cb_data.args.hipMemcpyDtoH.sizeBytes = sizeBytes; \
1537 #define INIT_hipCtxDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
1538 cb_data.args.hipCtxDisablePeerAccess.peerCtx = peerCtx; \
1541 #define INIT_hipMallocManaged_CB_ARGS_DATA(cb_data) { \
1542 cb_data.args.hipMallocManaged.devPtr = devPtr; \
1543 cb_data.args.hipMallocManaged.size = size; \
1544 cb_data.args.hipMallocManaged.flags = flags; \
1547 #define INIT_hipDeviceGetByPCIBusId_CB_ARGS_DATA(cb_data) { \
1548 cb_data.args.hipDeviceGetByPCIBusId.device = device; \
1549 cb_data.args.hipDeviceGetByPCIBusId.pciBusId = pciBusId; \
1552 #define INIT_hipIpcGetMemHandle_CB_ARGS_DATA(cb_data) { \
1553 cb_data.args.hipIpcGetMemHandle.handle = handle; \
1554 cb_data.args.hipIpcGetMemHandle.devPtr = devPtr; \
1557 #define INIT_hipMemcpyHtoDAsync_CB_ARGS_DATA(cb_data) { \
1558 cb_data.args.hipMemcpyHtoDAsync.dst = dst; \
1559 cb_data.args.hipMemcpyHtoDAsync.src = src; \
1560 cb_data.args.hipMemcpyHtoDAsync.sizeBytes = sizeBytes; \
1561 cb_data.args.hipMemcpyHtoDAsync.stream = stream; \
1564 #define INIT_hipCtxGetDevice_CB_ARGS_DATA(cb_data) { \
1565 cb_data.args.hipCtxGetDevice.device = device; \
1568 #define INIT_hipMemset3D_CB_ARGS_DATA(cb_data) { \
1569 cb_data.args.hipMemset3D.pitchedDevPtr = pitchedDevPtr; \
1570 cb_data.args.hipMemset3D.value = value; \
1571 cb_data.args.hipMemset3D.extent = extent; \
1574 #define INIT_hipModuleLoadData_CB_ARGS_DATA(cb_data) { \
1575 cb_data.args.hipModuleLoadData.module = module; \
1576 cb_data.args.hipModuleLoadData.image = image; \
1579 #define INIT_hipDeviceTotalMem_CB_ARGS_DATA(cb_data) { \
1580 cb_data.args.hipDeviceTotalMem.bytes = bytes; \
1581 cb_data.args.hipDeviceTotalMem.device = device; \
1584 #define INIT_hipOccupancyMaxActiveBlocksPerMultiprocessor_CB_ARGS_DATA(cb_data) { \
1587 #define INIT_hipCtxSetCurrent_CB_ARGS_DATA(cb_data) { \
1588 cb_data.args.hipCtxSetCurrent.ctx = ctx; \
1591 #define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
1592 cb_data.args.hipGetErrorString.hipError = hip_error; \
1595 #define INIT_hipDevicePrimaryCtxRetain_CB_ARGS_DATA(cb_data) { \
1596 cb_data.args.hipDevicePrimaryCtxRetain.pctx = pctx; \
1597 cb_data.args.hipDevicePrimaryCtxRetain.dev = dev; \
1600 #define INIT_hipDeviceDisablePeerAccess_CB_ARGS_DATA(cb_data) { \
1601 cb_data.args.hipDeviceDisablePeerAccess.peerDeviceId = peerDeviceId; \
1604 #define INIT_hipStreamCreateWithFlags_CB_ARGS_DATA(cb_data) { \
1605 cb_data.args.hipStreamCreateWithFlags.stream = stream; \
1606 cb_data.args.hipStreamCreateWithFlags.flags = flags; \
1609 #define INIT_hipMemcpyFromArray_CB_ARGS_DATA(cb_data) { \
1610 cb_data.args.hipMemcpyFromArray.dst = dst; \
1611 cb_data.args.hipMemcpyFromArray.srcArray = srcArray; \
1612 cb_data.args.hipMemcpyFromArray.wOffset = wOffset; \
1613 cb_data.args.hipMemcpyFromArray.hOffset = hOffset; \
1614 cb_data.args.hipMemcpyFromArray.count = count; \
1615 cb_data.args.hipMemcpyFromArray.kind = kind; \
1618 #define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
1619 cb_data.args.hipMemcpy2DAsync.dst = dst; \
1620 cb_data.args.hipMemcpy2DAsync.dpitch = dpitch; \
1621 cb_data.args.hipMemcpy2DAsync.src = src; \
1622 cb_data.args.hipMemcpy2DAsync.spitch = spitch; \
1623 cb_data.args.hipMemcpy2DAsync.width = width; \
1624 cb_data.args.hipMemcpy2DAsync.height = height; \
1625 cb_data.args.hipMemcpy2DAsync.kind = kind; \
1626 cb_data.args.hipMemcpy2DAsync.stream = stream; \
1629 #define INIT_hipGetSymbolSize_CB_ARGS_DATA(cb_data) { \
1632 #define INIT_hipEventCreateWithFlags_CB_ARGS_DATA(cb_data) { \
1633 cb_data.args.hipEventCreateWithFlags.event = event; \
1634 cb_data.args.hipEventCreateWithFlags.flags = flags; \
1637 #define INIT_hipStreamQuery_CB_ARGS_DATA(cb_data) { \
1638 cb_data.args.hipStreamQuery.stream = stream; \
1641 #define INIT_hipDeviceGetPCIBusId_CB_ARGS_DATA(cb_data) { \
1642 cb_data.args.hipDeviceGetPCIBusId.pciBusId = pciBusId; \
1643 cb_data.args.hipDeviceGetPCIBusId.len = len; \
1644 cb_data.args.hipDeviceGetPCIBusId.device = device; \
1647 #define INIT_hipMemcpy_CB_ARGS_DATA(cb_data) { \
1648 cb_data.args.hipMemcpy.dst = dst; \
1649 cb_data.args.hipMemcpy.src = src; \
1650 cb_data.args.hipMemcpy.sizeBytes = sizeBytes; \
1651 cb_data.args.hipMemcpy.kind = kind; \
1654 #define INIT_hipPeekAtLastError_CB_ARGS_DATA(cb_data) { \
1657 #define INIT_hipStreamAddCallback_CB_ARGS_DATA(cb_data) { \
1658 cb_data.args.hipStreamAddCallback.stream = stream; \
1659 cb_data.args.hipStreamAddCallback.callback = callback; \
1660 cb_data.args.hipStreamAddCallback.userData = userData; \
1661 cb_data.args.hipStreamAddCallback.flags = flags; \
1664 #define INIT_hipMemcpyToArray_CB_ARGS_DATA(cb_data) { \
1665 cb_data.args.hipMemcpyToArray.dst = dst; \
1666 cb_data.args.hipMemcpyToArray.wOffset = wOffset; \
1667 cb_data.args.hipMemcpyToArray.hOffset = hOffset; \
1668 cb_data.args.hipMemcpyToArray.src = src; \
1669 cb_data.args.hipMemcpyToArray.count = count; \
1670 cb_data.args.hipMemcpyToArray.kind = kind; \
1673 #define INIT_hipMemsetD32_CB_ARGS_DATA(cb_data) { \
1674 cb_data.args.hipMemsetD32.dest = dst; \
1675 cb_data.args.hipMemsetD32.value = value; \
1676 cb_data.args.hipMemsetD32.count = count; \
1679 #define INIT_hipDeviceSynchronize_CB_ARGS_DATA(cb_data) { \
1682 #define INIT_hipDeviceGetCacheConfig_CB_ARGS_DATA(cb_data) { \
1683 cb_data.args.hipDeviceGetCacheConfig.cacheConfig = cacheConfig; \
1686 #define INIT_hipMalloc3D_CB_ARGS_DATA(cb_data) { \
1687 cb_data.args.hipMalloc3D.pitchedDevPtr = pitchedDevPtr; \
1688 cb_data.args.hipMalloc3D.extent = extent; \
1691 #define INIT_hipPointerGetAttributes_CB_ARGS_DATA(cb_data) { \
1692 cb_data.args.hipPointerGetAttributes.attributes = attributes; \
1693 cb_data.args.hipPointerGetAttributes.ptr = ptr; \
1696 #define INIT_hipMemsetAsync_CB_ARGS_DATA(cb_data) { \
1697 cb_data.args.hipMemsetAsync.dst = dst; \
1698 cb_data.args.hipMemsetAsync.value = value; \
1699 cb_data.args.hipMemsetAsync.sizeBytes = sizeBytes; \
1700 cb_data.args.hipMemsetAsync.stream = stream; \
1703 #define INIT_hipMemcpyToSymbol_CB_ARGS_DATA(cb_data) { \
1706 #define INIT_hipCtxPushCurrent_CB_ARGS_DATA(cb_data) { \
1707 cb_data.args.hipCtxPushCurrent.ctx = ctx; \
1710 #define INIT_hipMemcpyPeer_CB_ARGS_DATA(cb_data) { \
1711 cb_data.args.hipMemcpyPeer.dst = dst; \
1712 cb_data.args.hipMemcpyPeer.dstDeviceId = dstDevice; \
1713 cb_data.args.hipMemcpyPeer.src = src; \
1714 cb_data.args.hipMemcpyPeer.srcDeviceId = srcDevice; \
1715 cb_data.args.hipMemcpyPeer.sizeBytes = sizeBytes; \
1718 #define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
1719 cb_data.args.hipEventSynchronize.event = event; \
1722 #define INIT_hipMemcpyDtoDAsync_CB_ARGS_DATA(cb_data) { \
1723 cb_data.args.hipMemcpyDtoDAsync.dst = dst; \
1724 cb_data.args.hipMemcpyDtoDAsync.src = src; \
1725 cb_data.args.hipMemcpyDtoDAsync.sizeBytes = sizeBytes; \
1726 cb_data.args.hipMemcpyDtoDAsync.stream = stream; \
1729 #define INIT_hipExtMallocWithFlags_CB_ARGS_DATA(cb_data) { \
1730 cb_data.args.hipExtMallocWithFlags.ptr = ptr; \
1731 cb_data.args.hipExtMallocWithFlags.sizeBytes = sizeBytes; \
1732 cb_data.args.hipExtMallocWithFlags.flags = flags; \
1735 #define INIT_hipCtxEnablePeerAccess_CB_ARGS_DATA(cb_data) { \
1736 cb_data.args.hipCtxEnablePeerAccess.peerCtx = peerCtx; \
1737 cb_data.args.hipCtxEnablePeerAccess.flags = flags; \
1740 #define INIT_hipMemcpyDtoHAsync_CB_ARGS_DATA(cb_data) { \
1741 cb_data.args.hipMemcpyDtoHAsync.dst = dst; \
1742 cb_data.args.hipMemcpyDtoHAsync.src = src; \
1743 cb_data.args.hipMemcpyDtoHAsync.sizeBytes = sizeBytes; \
1744 cb_data.args.hipMemcpyDtoHAsync.stream = stream; \
1747 #define INIT_hipModuleLaunchKernel_CB_ARGS_DATA(cb_data) { \
1748 cb_data.args.hipModuleLaunchKernel.f = f; \
1749 cb_data.args.hipModuleLaunchKernel.gridDimX = gridDimX; \
1750 cb_data.args.hipModuleLaunchKernel.gridDimY = gridDimY; \
1751 cb_data.args.hipModuleLaunchKernel.gridDimZ = gridDimZ; \
1752 cb_data.args.hipModuleLaunchKernel.blockDimX = blockDimX; \
1753 cb_data.args.hipModuleLaunchKernel.blockDimY = blockDimY; \
1754 cb_data.args.hipModuleLaunchKernel.blockDimZ = blockDimZ; \
1755 cb_data.args.hipModuleLaunchKernel.sharedMemBytes = sharedMemBytes; \
1756 cb_data.args.hipModuleLaunchKernel.stream = hStream; \
1757 cb_data.args.hipModuleLaunchKernel.kernelParams = kernelParams; \
1758 cb_data.args.hipModuleLaunchKernel.extra = extra; \
1761 #define INIT_hipModuleGetTexRef_CB_ARGS_DATA(cb_data) { \
1762 cb_data.args.hipModuleGetTexRef.texRef = texRef; \
1763 cb_data.args.hipModuleGetTexRef.hmod = hmod; \
1764 cb_data.args.hipModuleGetTexRef.name = name; \
1767 #define INIT_hipDeviceGetLimit_CB_ARGS_DATA(cb_data) { \
1768 cb_data.args.hipDeviceGetLimit.pValue = pValue; \
1769 cb_data.args.hipDeviceGetLimit.limit = limit; \
1772 #define INIT_hipModuleLoadDataEx_CB_ARGS_DATA(cb_data) { \
1773 cb_data.args.hipModuleLoadDataEx.module = module; \
1774 cb_data.args.hipModuleLoadDataEx.image = image; \
1775 cb_data.args.hipModuleLoadDataEx.numOptions = numOptions; \
1776 cb_data.args.hipModuleLoadDataEx.options = options; \
1777 cb_data.args.hipModuleLoadDataEx.optionValues = optionValues; \
1780 #define INIT_hipRuntimeGetVersion_CB_ARGS_DATA(cb_data) { \
1781 cb_data.args.hipRuntimeGetVersion.runtimeVersion = runtimeVersion; \
1784 #define INIT_hipGetDeviceProperties_CB_ARGS_DATA(cb_data) { \
1785 cb_data.args.hipGetDeviceProperties.prop = props; \
1786 cb_data.args.hipGetDeviceProperties.deviceId = device; \
1789 #define INIT_hipFreeArray_CB_ARGS_DATA(cb_data) { \
1790 cb_data.args.hipFreeArray.array = array; \
1793 #define INIT_hipDevicePrimaryCtxRelease_CB_ARGS_DATA(cb_data) { \
1794 cb_data.args.hipDevicePrimaryCtxRelease.dev = dev; \
1797 #define INIT_hipHostGetDevicePointer_CB_ARGS_DATA(cb_data) { \
1798 cb_data.args.hipHostGetDevicePointer.devPtr = devicePointer; \
1799 cb_data.args.hipHostGetDevicePointer.hstPtr = hostPointer; \
1800 cb_data.args.hipHostGetDevicePointer.flags = flags; \
1803 #define INIT_hipMemcpyParam2D_CB_ARGS_DATA(cb_data) { \
1804 cb_data.args.hipMemcpyParam2D.pCopy = pCopy; \
1807 #define INIT_hipModuleGetFunction_CB_ARGS_DATA(cb_data) { \
1808 cb_data.args.hipModuleGetFunction.function = hfunc; \
1809 cb_data.args.hipModuleGetFunction.module = hmod; \
1810 cb_data.args.hipModuleGetFunction.kname = name; \
1813 #define INIT_hipMemsetD32Async_CB_ARGS_DATA(cb_data) { \
1814 cb_data.args.hipMemsetD32Async.dst = dst; \
1815 cb_data.args.hipMemsetD32Async.value = value; \
1816 cb_data.args.hipMemsetD32Async.count = count; \
1817 cb_data.args.hipMemsetD32Async.stream = stream; \
1820 #define INIT_hipGetDevice_CB_ARGS_DATA(cb_data) { \
1821 cb_data.args.hipGetDevice.deviceId = deviceId; \
1824 #define INIT_hipGetDeviceCount_CB_ARGS_DATA(cb_data) { \
1825 cb_data.args.hipGetDeviceCount.count = count; \
1827 #define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
1828 #endif // _HIP_PROF_STR_H
Definition: hip_runtime_api.h:278
Definition: driver_types.h:240
Definition: hip_runtime_api.h:142
Definition: hip_module.cpp:106
Definition: hip_hcc_internal.h:883
Definition: texture_types.h:74
Definition: driver_types.h:77
hipDeviceAttribute_t
Definition: hip_runtime_api.h:264
Definition: hip_runtime_api.h:269
Definition: driver_types.h:68
Definition: driver_types.h:253
Definition: driver_types.h:61
Definition: driver_types.h:233
hipFuncCache_t
Definition: hip_runtime_api.h:245
Definition: hip_runtime_api.h:83
hipSharedMemConfig
Definition: hip_runtime_api.h:256
Definition: hip_hcc_internal.h:703
Definition: hip_hcc_internal.h:524
Definition: driver_types.h:90
Definition: hip_runtime_api.h:106
Definition: hip_hcc_internal.h:370
Definition: hip_prof_str.h:372
void(* hipStreamCallback_t)(hipStream_t stream, hipError_t status, void *userData)
Definition: hip_runtime_api.h:843