HIP: Heterogenous-computing Interface for Portability
Loading...
Searching...
No Matches
hip_api_trace.hpp
1/*
2 Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
3
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to deal
6 in the Software without restriction, including without limitation the rights
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 THE SOFTWARE.
21 */
22#pragma once
23
24#include <hip/hip_runtime.h>
25
26// HIP API interface
27typedef hipError_t (*t___hipPopCallConfiguration)(dim3* gridDim, dim3* blockDim, size_t* sharedMem,
28 hipStream_t* stream);
29typedef hipError_t (*t___hipPushCallConfiguration)(dim3 gridDim, dim3 blockDim, size_t sharedMem,
30 hipStream_t stream);
31typedef void** (*t___hipRegisterFatBinary)(const void* data);
32typedef void (*t___hipRegisterFunction)(void** modules, const void* hostFunction,
33 char* deviceFunction, const char* deviceName,
34 unsigned int threadLimit, uint3* tid, uint3* bid,
35 dim3* blockDim, dim3* gridDim, int* wSize);
36typedef void (*t___hipRegisterManagedVar)(void* hipModule, void** pointer, void* init_value,
37 const char* name, size_t size, unsigned align);
38typedef void (*t___hipRegisterSurface)(void** modules, void* var, char* hostVar,
39 char* deviceVar, int type, int ext);
40typedef void (*t___hipRegisterTexture)(void** modules, void* var, char* hostVar,
41 char* deviceVar, int type, int norm, int ext);
42typedef void (*t___hipRegisterVar)(void** modules, void* var, char* hostVar,
43 char* deviceVar, int ext, size_t size, int constant, int global);
44typedef void (*t___hipUnregisterFatBinary)(void** modules);
45
46typedef const char* (*t_hipApiName)(uint32_t id);
47typedef hipError_t (*t_hipArray3DCreate)(hipArray_t* array,
48 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray);
49typedef hipError_t (*t_hipArray3DGetDescriptor)(HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor,
50 hipArray_t array);
51typedef hipError_t (*t_hipArrayCreate)(hipArray_t* pHandle,
52 const HIP_ARRAY_DESCRIPTOR* pAllocateArray);
53typedef hipError_t (*t_hipArrayDestroy)(hipArray_t array);
54typedef hipError_t (*t_hipArrayGetDescriptor)(HIP_ARRAY_DESCRIPTOR* pArrayDescriptor,
55 hipArray_t array);
56typedef hipError_t (*t_hipArrayGetInfo)(hipChannelFormatDesc* desc, hipExtent* extent,
57 unsigned int* flags, hipArray_t array);
58typedef hipError_t (*t_hipBindTexture)(size_t* offset, const textureReference* tex,
59 const void* devPtr, const hipChannelFormatDesc* desc,
60 size_t size);
61typedef hipError_t (*t_hipBindTexture2D)(size_t* offset, const textureReference* tex,
62 const void* devPtr, const hipChannelFormatDesc* desc,
63 size_t width, size_t height, size_t pitch);
64typedef hipError_t (*t_hipBindTextureToArray)(const textureReference* tex, hipArray_const_t array,
65 const hipChannelFormatDesc* desc);
66typedef hipError_t (*t_hipBindTextureToMipmappedArray)(const textureReference* tex,
67 hipMipmappedArray_const_t mipmappedArray,
68 const hipChannelFormatDesc* desc);
69typedef hipError_t (*t_hipChooseDevice)(int* device, const hipDeviceProp_t* prop);
70typedef hipError_t (*t_hipChooseDeviceR0000)(int* device, const hipDeviceProp_tR0000* properties);
71typedef hipError_t (*t_hipConfigureCall)(dim3 gridDim, dim3 blockDim, size_t sharedMem,
72 hipStream_t stream);
73typedef hipError_t (*t_hipCreateSurfaceObject)(hipSurfaceObject_t* pSurfObject,
74 const hipResourceDesc* pResDesc);
75typedef hipError_t (*t_hipCreateTextureObject)(hipTextureObject_t* pTexObject,
76 const hipResourceDesc* pResDesc,
77 const hipTextureDesc* pTexDesc,
78 const struct hipResourceViewDesc* pResViewDesc);
79typedef hipError_t (*t_hipCtxCreate)(hipCtx_t* ctx, unsigned int flags, hipDevice_t device);
80typedef hipError_t (*t_hipCtxDestroy)(hipCtx_t ctx);
81typedef hipError_t (*t_hipCtxDisablePeerAccess)(hipCtx_t peerCtx);
82typedef hipError_t (*t_hipCtxEnablePeerAccess)(hipCtx_t peerCtx, unsigned int flags);
83typedef hipError_t (*t_hipCtxGetApiVersion)(hipCtx_t ctx, int* apiVersion);
84typedef hipError_t (*t_hipCtxGetCacheConfig)(hipFuncCache_t* cacheConfig);
85typedef hipError_t (*t_hipCtxGetCurrent)(hipCtx_t* ctx);
86typedef hipError_t (*t_hipCtxGetDevice)(hipDevice_t* device);
87typedef hipError_t (*t_hipCtxGetFlags)(unsigned int* flags);
88typedef hipError_t (*t_hipCtxGetSharedMemConfig)(hipSharedMemConfig* pConfig);
89typedef hipError_t (*t_hipCtxPopCurrent)(hipCtx_t* ctx);
90typedef hipError_t (*t_hipCtxPushCurrent)(hipCtx_t ctx);
91typedef hipError_t (*t_hipCtxSetCacheConfig)(hipFuncCache_t cacheConfig);
92typedef hipError_t (*t_hipCtxSetCurrent)(hipCtx_t ctx);
93typedef hipError_t (*t_hipCtxSetSharedMemConfig)(hipSharedMemConfig config);
94typedef hipError_t (*t_hipCtxSynchronize)(void);
95typedef hipError_t (*t_hipDestroyExternalMemory)(hipExternalMemory_t extMem);
96typedef hipError_t (*t_hipDestroyExternalSemaphore)(hipExternalSemaphore_t extSem);
97typedef hipError_t (*t_hipDestroySurfaceObject)(hipSurfaceObject_t surfaceObject);
98typedef hipError_t (*t_hipDestroyTextureObject)(hipTextureObject_t textureObject);
99typedef hipError_t (*t_hipDeviceCanAccessPeer)(int* canAccessPeer, int deviceId, int peerDeviceId);
100typedef hipError_t (*t_hipDeviceComputeCapability)(int* major, int* minor, hipDevice_t device);
101typedef hipError_t (*t_hipDeviceDisablePeerAccess)(int peerDeviceId);
102typedef hipError_t (*t_hipDeviceEnablePeerAccess)(int peerDeviceId, unsigned int flags);
103typedef hipError_t (*t_hipDeviceGet)(hipDevice_t* device, int ordinal);
104typedef hipError_t (*t_hipDeviceGetAttribute)(int* pi, hipDeviceAttribute_t attr, int deviceId);
105typedef hipError_t (*t_hipDeviceGetByPCIBusId)(int* device, const char* pciBusId);
106typedef hipError_t (*t_hipDeviceGetCacheConfig)(hipFuncCache_t* cacheConfig);
107typedef hipError_t (*t_hipDeviceGetDefaultMemPool)(hipMemPool_t* mem_pool, int device);
108typedef hipError_t (*t_hipDeviceGetGraphMemAttribute)(int device, hipGraphMemAttributeType attr,
109 void* value);
110typedef hipError_t (*t_hipDeviceGetLimit)(size_t* pValue, enum hipLimit_t limit);
111typedef hipError_t (*t_hipDeviceGetMemPool)(hipMemPool_t* mem_pool, int device);
112typedef hipError_t (*t_hipDeviceGetName)(char* name, int len, hipDevice_t device);
113typedef hipError_t (*t_hipDeviceGetP2PAttribute)(int* value, hipDeviceP2PAttr attr, int srcDevice,
114 int dstDevice);
115typedef hipError_t (*t_hipDeviceGetPCIBusId)(char* pciBusId, int len, int device);
116typedef hipError_t (*t_hipDeviceGetSharedMemConfig)(hipSharedMemConfig* pConfig);
117typedef hipError_t (*t_hipDeviceGetStreamPriorityRange)(int* leastPriority, int* greatestPriority);
118typedef hipError_t (*t_hipDeviceGetUuid)(hipUUID* uuid, hipDevice_t device);
119typedef hipError_t (*t_hipDeviceGraphMemTrim)(int device);
120typedef hipError_t (*t_hipDevicePrimaryCtxGetState)(hipDevice_t dev, unsigned int* flags,
121 int* active);
122typedef hipError_t (*t_hipDevicePrimaryCtxRelease)(hipDevice_t dev);
123typedef hipError_t (*t_hipDevicePrimaryCtxReset)(hipDevice_t dev);
124typedef hipError_t (*t_hipDevicePrimaryCtxRetain)(hipCtx_t* pctx, hipDevice_t dev);
125typedef hipError_t (*t_hipDevicePrimaryCtxSetFlags)(hipDevice_t dev, unsigned int flags);
126typedef hipError_t (*t_hipDeviceReset)(void);
127typedef hipError_t (*t_hipDeviceSetCacheConfig)(hipFuncCache_t cacheConfig);
128typedef hipError_t (*t_hipDeviceSetGraphMemAttribute)(int device, hipGraphMemAttributeType attr,
129 void* value);
130typedef hipError_t (*t_hipDeviceSetLimit)(enum hipLimit_t limit, size_t value);
131typedef hipError_t (*t_hipDeviceSetMemPool)(int device, hipMemPool_t mem_pool);
132typedef hipError_t (*t_hipDeviceSetSharedMemConfig)(hipSharedMemConfig config);
133typedef hipError_t (*t_hipDeviceSynchronize)(void);
134typedef hipError_t (*t_hipDeviceTotalMem)(size_t* bytes, hipDevice_t device);
135typedef hipError_t (*t_hipDriverGetVersion)(int* driverVersion);
136typedef hipError_t (*t_hipDrvGetErrorName)(hipError_t hipError, const char** errorString);
137typedef hipError_t (*t_hipDrvGetErrorString)(hipError_t hipError, const char** errorString);
138typedef hipError_t (*t_hipDrvGraphAddMemcpyNode)(hipGraphNode_t* phGraphNode, hipGraph_t hGraph,
139 const hipGraphNode_t* dependencies,
140 size_t numDependencies,
141 const HIP_MEMCPY3D* copyParams, hipCtx_t ctx);
142typedef hipError_t (*t_hipDrvMemcpy2DUnaligned)(const hip_Memcpy2D* pCopy);
143typedef hipError_t (*t_hipDrvMemcpy3D)(const HIP_MEMCPY3D* pCopy);
144typedef hipError_t (*t_hipDrvMemcpy3DAsync)(const HIP_MEMCPY3D* pCopy, hipStream_t stream);
145typedef hipError_t (*t_hipDrvPointerGetAttributes)(unsigned int numAttributes,
146 hipPointer_attribute* attributes, void** data,
147 hipDeviceptr_t ptr);
148typedef hipError_t (*t_hipEventCreate)(hipEvent_t* event);
149typedef hipError_t (*t_hipEventCreateWithFlags)(hipEvent_t* event, unsigned flags);
150typedef hipError_t (*t_hipEventDestroy)(hipEvent_t event);
151typedef hipError_t (*t_hipEventElapsedTime)(float* ms, hipEvent_t start, hipEvent_t stop);
152typedef hipError_t (*t_hipEventQuery)(hipEvent_t event);
153typedef hipError_t (*t_hipEventRecord)(hipEvent_t event, hipStream_t stream);
154typedef hipError_t (*t_hipEventSynchronize)(hipEvent_t event);
155typedef hipError_t (*t_hipExtGetLinkTypeAndHopCount)(int device1, int device2, uint32_t* linktype,
156 uint32_t* hopcount);
157typedef hipError_t (*t_hipExtLaunchKernel)(const void* function_address, dim3 numBlocks,
158 dim3 dimBlocks, void** args, size_t sharedMemBytes,
159 hipStream_t stream, hipEvent_t startEvent,
160 hipEvent_t stopEvent, int flags);
161typedef hipError_t (*t_hipExtLaunchMultiKernelMultiDevice)(hipLaunchParams* launchParamsList,
162 int numDevices, unsigned int flags);
163typedef hipError_t (*t_hipExtMallocWithFlags)(void** ptr, size_t sizeBytes, unsigned int flags);
164typedef hipError_t (*t_hipExtStreamCreateWithCUMask)(hipStream_t* stream, uint32_t cuMaskSize,
165 const uint32_t* cuMask);
166typedef hipError_t (*t_hipExtStreamGetCUMask)(hipStream_t stream, uint32_t cuMaskSize,
167 uint32_t* cuMask);
168typedef hipError_t (*t_hipExternalMemoryGetMappedBuffer)(
169 void** devPtr, hipExternalMemory_t extMem, const hipExternalMemoryBufferDesc* bufferDesc);
170typedef hipError_t (*t_hipFree)(void* ptr);
171typedef hipError_t (*t_hipFreeArray)(hipArray_t array);
172typedef hipError_t (*t_hipFreeAsync)(void* dev_ptr, hipStream_t stream);
173typedef hipError_t (*t_hipFreeHost)(void* ptr);
174typedef hipError_t (*t_hipFreeMipmappedArray)(hipMipmappedArray_t mipmappedArray);
175typedef hipError_t (*t_hipFuncGetAttribute)(int* value, hipFunction_attribute attrib,
176 hipFunction_t hfunc);
177typedef hipError_t (*t_hipFuncGetAttributes)(struct hipFuncAttributes* attr, const void* func);
178typedef hipError_t (*t_hipFuncSetAttribute)(const void* func, hipFuncAttribute attr, int value);
179typedef hipError_t (*t_hipFuncSetCacheConfig)(const void* func, hipFuncCache_t config);
180typedef hipError_t (*t_hipFuncSetSharedMemConfig)(const void* func, hipSharedMemConfig config);
181typedef hipError_t (*t_hipGLGetDevices)(unsigned int* pHipDeviceCount, int* pHipDevices,
182 unsigned int hipDeviceCount, hipGLDeviceList deviceList);
183typedef hipError_t (*t_hipGetChannelDesc)(hipChannelFormatDesc* desc, hipArray_const_t array);
184typedef hipError_t (*t_hipGetDevice)(int* deviceId);
185typedef hipError_t (*t_hipGetDeviceCount)(int* count);
186typedef hipError_t (*t_hipGetDeviceFlags)(unsigned int* flags);
187typedef hipError_t (*t_hipGetDevicePropertiesR0600)(hipDeviceProp_tR0600* prop, int device);
188typedef hipError_t (*t_hipGetDevicePropertiesR0000)(hipDeviceProp_tR0000* prop, int device);
189typedef const char* (*t_hipGetErrorName)(hipError_t hip_error);
190typedef const char* (*t_hipGetErrorString)(hipError_t hipError);
191typedef hipError_t (*t_hipGetLastError)(void);
192typedef hipError_t (*t_hipGetMipmappedArrayLevel)(hipArray_t* levelArray,
193 hipMipmappedArray_const_t mipmappedArray,
194 unsigned int level);
195typedef hipError_t (*t_hipGetSymbolAddress)(void** devPtr, const void* symbol);
196typedef hipError_t (*t_hipGetSymbolSize)(size_t* size, const void* symbol);
197typedef hipError_t (*t_hipGetTextureAlignmentOffset)(size_t* offset,
198 const textureReference* texref);
199typedef hipError_t (*t_hipGetTextureObjectResourceDesc)(hipResourceDesc* pResDesc,
200 hipTextureObject_t textureObject);
201typedef hipError_t (*t_hipGetTextureObjectResourceViewDesc)(
202 struct hipResourceViewDesc* pResViewDesc, hipTextureObject_t textureObject);
203typedef hipError_t (*t_hipGetTextureObjectTextureDesc)(hipTextureDesc* pTexDesc,
204 hipTextureObject_t textureObject);
205typedef hipError_t (*t_hipGetTextureReference)(const textureReference** texref, const void* symbol);
206typedef hipError_t (*t_hipGraphAddChildGraphNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
207 const hipGraphNode_t* pDependencies,
208 size_t numDependencies, hipGraph_t childGraph);
209typedef hipError_t (*t_hipGraphAddDependencies)(hipGraph_t graph, const hipGraphNode_t* from,
210 const hipGraphNode_t* to, size_t numDependencies);
211typedef hipError_t (*t_hipGraphAddEmptyNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
212 const hipGraphNode_t* pDependencies,
213 size_t numDependencies);
214typedef hipError_t (*t_hipGraphAddEventRecordNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
215 const hipGraphNode_t* pDependencies,
216 size_t numDependencies, hipEvent_t event);
217typedef hipError_t (*t_hipGraphAddEventWaitNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
218 const hipGraphNode_t* pDependencies,
219 size_t numDependencies, hipEvent_t event);
220typedef hipError_t (*t_hipGraphAddHostNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
221 const hipGraphNode_t* pDependencies,
222 size_t numDependencies,
223 const hipHostNodeParams* pNodeParams);
224typedef hipError_t (*t_hipGraphAddKernelNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
225 const hipGraphNode_t* pDependencies,
226 size_t numDependencies,
227 const hipKernelNodeParams* pNodeParams);
228typedef hipError_t (*t_hipGraphAddMemAllocNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
229 const hipGraphNode_t* pDependencies,
230 size_t numDependencies,
231 hipMemAllocNodeParams* pNodeParams);
232typedef hipError_t (*t_hipGraphAddMemFreeNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
233 const hipGraphNode_t* pDependencies,
234 size_t numDependencies, void* dev_ptr);
235typedef hipError_t (*t_hipGraphAddMemcpyNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
236 const hipGraphNode_t* pDependencies,
237 size_t numDependencies,
238 const hipMemcpy3DParms* pCopyParams);
239typedef hipError_t (*t_hipGraphAddMemcpyNode1D)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
240 const hipGraphNode_t* pDependencies,
241 size_t numDependencies, void* dst, const void* src,
242 size_t count, hipMemcpyKind kind);
243typedef hipError_t (*t_hipGraphAddMemcpyNodeFromSymbol)(hipGraphNode_t* pGraphNode,
244 hipGraph_t graph,
245 const hipGraphNode_t* pDependencies,
246 size_t numDependencies, void* dst,
247 const void* symbol, size_t count,
248 size_t offset, hipMemcpyKind kind);
249typedef hipError_t (*t_hipGraphAddMemcpyNodeToSymbol)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
250 const hipGraphNode_t* pDependencies,
251 size_t numDependencies, const void* symbol,
252 const void* src, size_t count, size_t offset,
253 hipMemcpyKind kind);
254typedef hipError_t (*t_hipGraphAddMemsetNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
255 const hipGraphNode_t* pDependencies,
256 size_t numDependencies,
257 const hipMemsetParams* pMemsetParams);
258typedef hipError_t (*t_hipGraphChildGraphNodeGetGraph)(hipGraphNode_t node, hipGraph_t* pGraph);
259typedef hipError_t (*t_hipGraphClone)(hipGraph_t* pGraphClone, hipGraph_t originalGraph);
260typedef hipError_t (*t_hipGraphCreate)(hipGraph_t* pGraph, unsigned int flags);
261typedef hipError_t (*t_hipGraphDebugDotPrint)(hipGraph_t graph, const char* path,
262 unsigned int flags);
263typedef hipError_t (*t_hipGraphDestroy)(hipGraph_t graph);
264typedef hipError_t (*t_hipGraphDestroyNode)(hipGraphNode_t node);
265typedef hipError_t (*t_hipGraphEventRecordNodeGetEvent)(hipGraphNode_t node, hipEvent_t* event_out);
266typedef hipError_t (*t_hipGraphEventRecordNodeSetEvent)(hipGraphNode_t node, hipEvent_t event);
267typedef hipError_t (*t_hipGraphEventWaitNodeGetEvent)(hipGraphNode_t node, hipEvent_t* event_out);
268typedef hipError_t (*t_hipGraphEventWaitNodeSetEvent)(hipGraphNode_t node, hipEvent_t event);
269typedef hipError_t (*t_hipGraphExecChildGraphNodeSetParams)(hipGraphExec_t hGraphExec,
270 hipGraphNode_t node,
271 hipGraph_t childGraph);
272typedef hipError_t (*t_hipGraphExecDestroy)(hipGraphExec_t graphExec);
273typedef hipError_t (*t_hipGraphExecEventRecordNodeSetEvent)(hipGraphExec_t hGraphExec,
274 hipGraphNode_t hNode, hipEvent_t event);
275typedef hipError_t (*t_hipGraphExecEventWaitNodeSetEvent)(hipGraphExec_t hGraphExec,
276 hipGraphNode_t hNode, hipEvent_t event);
277typedef hipError_t (*t_hipGraphExecHostNodeSetParams)(hipGraphExec_t hGraphExec,
278 hipGraphNode_t node,
279 const hipHostNodeParams* pNodeParams);
280typedef hipError_t (*t_hipGraphExecKernelNodeSetParams)(hipGraphExec_t hGraphExec,
281 hipGraphNode_t node,
282 const hipKernelNodeParams* pNodeParams);
283typedef hipError_t (*t_hipGraphExecMemcpyNodeSetParams)(hipGraphExec_t hGraphExec,
284 hipGraphNode_t node,
285 hipMemcpy3DParms* pNodeParams);
286typedef hipError_t (*t_hipGraphExecMemcpyNodeSetParams1D)(hipGraphExec_t hGraphExec,
287 hipGraphNode_t node, void* dst,
288 const void* src, size_t count,
289 hipMemcpyKind kind);
290typedef hipError_t (*t_hipGraphExecMemcpyNodeSetParamsFromSymbol)(hipGraphExec_t hGraphExec,
291 hipGraphNode_t node, void* dst,
292 const void* symbol, size_t count,
293 size_t offset,
294 hipMemcpyKind kind);
295typedef hipError_t (*t_hipGraphExecMemcpyNodeSetParamsToSymbol)(hipGraphExec_t hGraphExec,
296 hipGraphNode_t node,
297 const void* symbol, const void* src,
298 size_t count, size_t offset,
299 hipMemcpyKind kind);
300typedef hipError_t (*t_hipGraphExecMemsetNodeSetParams)(hipGraphExec_t hGraphExec,
301 hipGraphNode_t node,
302 const hipMemsetParams* pNodeParams);
303typedef hipError_t (*t_hipGraphExecUpdate)(hipGraphExec_t hGraphExec, hipGraph_t hGraph,
304 hipGraphNode_t* hErrorNode_out,
305 hipGraphExecUpdateResult* updateResult_out);
306typedef hipError_t (*t_hipGraphGetEdges)(hipGraph_t graph, hipGraphNode_t* from, hipGraphNode_t* to,
307 size_t* numEdges);
308typedef hipError_t (*t_hipGraphGetNodes)(hipGraph_t graph, hipGraphNode_t* nodes, size_t* numNodes);
309typedef hipError_t (*t_hipGraphGetRootNodes)(hipGraph_t graph, hipGraphNode_t* pRootNodes,
310 size_t* pNumRootNodes);
311typedef hipError_t (*t_hipGraphHostNodeGetParams)(hipGraphNode_t node,
312 hipHostNodeParams* pNodeParams);
313typedef hipError_t (*t_hipGraphHostNodeSetParams)(hipGraphNode_t node,
314 const hipHostNodeParams* pNodeParams);
315typedef hipError_t (*t_hipGraphInstantiate)(hipGraphExec_t* pGraphExec, hipGraph_t graph,
316 hipGraphNode_t* pErrorNode, char* pLogBuffer,
317 size_t bufferSize);
318typedef hipError_t (*t_hipGraphInstantiateWithFlags)(hipGraphExec_t* pGraphExec, hipGraph_t graph,
319 unsigned long long flags);
320typedef hipError_t (*t_hipGraphKernelNodeCopyAttributes)(hipGraphNode_t hSrc, hipGraphNode_t hDst);
321typedef hipError_t (*t_hipGraphKernelNodeGetAttribute)(hipGraphNode_t hNode,
322 hipKernelNodeAttrID attr,
323 hipKernelNodeAttrValue* value);
324typedef hipError_t (*t_hipGraphKernelNodeGetParams)(hipGraphNode_t node,
325 hipKernelNodeParams* pNodeParams);
326typedef hipError_t (*t_hipGraphKernelNodeSetAttribute)(hipGraphNode_t hNode,
327 hipKernelNodeAttrID attr,
328 const hipKernelNodeAttrValue* value);
329typedef hipError_t (*t_hipGraphKernelNodeSetParams)(hipGraphNode_t node,
330 const hipKernelNodeParams* pNodeParams);
331typedef hipError_t (*t_hipGraphLaunch)(hipGraphExec_t graphExec, hipStream_t stream);
332typedef hipError_t (*t_hipGraphMemAllocNodeGetParams)(hipGraphNode_t node,
333 hipMemAllocNodeParams* pNodeParams);
334typedef hipError_t (*t_hipGraphMemFreeNodeGetParams)(hipGraphNode_t node, void* dev_ptr);
335typedef hipError_t (*t_hipGraphMemcpyNodeGetParams)(hipGraphNode_t node,
336 hipMemcpy3DParms* pNodeParams);
337typedef hipError_t (*t_hipGraphMemcpyNodeSetParams)(hipGraphNode_t node,
338 const hipMemcpy3DParms* pNodeParams);
339typedef hipError_t (*t_hipGraphMemcpyNodeSetParams1D)(hipGraphNode_t node, void* dst,
340 const void* src, size_t count,
341 hipMemcpyKind kind);
342typedef hipError_t (*t_hipGraphMemcpyNodeSetParamsFromSymbol)(hipGraphNode_t node, void* dst,
343 const void* symbol, size_t count,
344 size_t offset, hipMemcpyKind kind);
345typedef hipError_t (*t_hipGraphMemcpyNodeSetParamsToSymbol)(hipGraphNode_t node, const void* symbol,
346 const void* src, size_t count,
347 size_t offset, hipMemcpyKind kind);
348typedef hipError_t (*t_hipGraphMemsetNodeGetParams)(hipGraphNode_t node,
349 hipMemsetParams* pNodeParams);
350typedef hipError_t (*t_hipGraphMemsetNodeSetParams)(hipGraphNode_t node,
351 const hipMemsetParams* pNodeParams);
352typedef hipError_t (*t_hipGraphNodeFindInClone)(hipGraphNode_t* pNode, hipGraphNode_t originalNode,
353 hipGraph_t clonedGraph);
354typedef hipError_t (*t_hipGraphNodeGetDependencies)(hipGraphNode_t node,
355 hipGraphNode_t* pDependencies,
356 size_t* pNumDependencies);
357typedef hipError_t (*t_hipGraphNodeGetDependentNodes)(hipGraphNode_t node,
358 hipGraphNode_t* pDependentNodes,
359 size_t* pNumDependentNodes);
360typedef hipError_t (*t_hipGraphNodeGetEnabled)(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
361 unsigned int* isEnabled);
362typedef hipError_t (*t_hipGraphNodeGetType)(hipGraphNode_t node, hipGraphNodeType* pType);
363typedef hipError_t (*t_hipGraphNodeSetEnabled)(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
364 unsigned int isEnabled);
365typedef hipError_t (*t_hipGraphReleaseUserObject)(hipGraph_t graph, hipUserObject_t object,
366 unsigned int count);
367typedef hipError_t (*t_hipGraphRemoveDependencies)(hipGraph_t graph, const hipGraphNode_t* from,
368 const hipGraphNode_t* to,
369 size_t numDependencies);
370typedef hipError_t (*t_hipGraphRetainUserObject)(hipGraph_t graph, hipUserObject_t object,
371 unsigned int count, unsigned int flags);
372typedef hipError_t (*t_hipGraphUpload)(hipGraphExec_t graphExec, hipStream_t stream);
373typedef hipError_t (*t_hipGraphicsGLRegisterBuffer)(hipGraphicsResource** resource, GLuint buffer,
374 unsigned int flags);
375typedef hipError_t (*t_hipGraphicsGLRegisterImage)(hipGraphicsResource** resource, GLuint image,
376 GLenum target, unsigned int flags);
377typedef hipError_t (*t_hipGraphicsMapResources)(int count, hipGraphicsResource_t* resources,
378 hipStream_t stream);
379typedef hipError_t (*t_hipGraphicsResourceGetMappedPointer)(void** devPtr, size_t* size,
380 hipGraphicsResource_t resource);
381typedef hipError_t (*t_hipGraphicsSubResourceGetMappedArray)(hipArray_t* array,
382 hipGraphicsResource_t resource,
383 unsigned int arrayIndex,
384 unsigned int mipLevel);
385typedef hipError_t (*t_hipGraphicsUnmapResources)(int count, hipGraphicsResource_t* resources,
386 hipStream_t stream);
387typedef hipError_t (*t_hipGraphicsUnregisterResource)(hipGraphicsResource_t resource);
388typedef hipError_t (*t_hipHostAlloc)(void** ptr, size_t size, unsigned int flags);
389typedef hipError_t (*t_hipHostFree)(void* ptr);
390typedef hipError_t (*t_hipHostGetDevicePointer)(void** devPtr, void* hstPtr, unsigned int flags);
391typedef hipError_t (*t_hipHostGetFlags)(unsigned int* flagsPtr, void* hostPtr);
392typedef hipError_t (*t_hipHostMalloc)(void** ptr, size_t size, unsigned int flags);
393typedef hipError_t (*t_hipHostRegister)(void* hostPtr, size_t sizeBytes, unsigned int flags);
394typedef hipError_t (*t_hipHostUnregister)(void* hostPtr);
395typedef hipError_t (*t_hipImportExternalMemory)(hipExternalMemory_t* extMem_out,
396 const hipExternalMemoryHandleDesc* memHandleDesc);
397typedef hipError_t (*t_hipImportExternalSemaphore)(
398 hipExternalSemaphore_t* extSem_out, const hipExternalSemaphoreHandleDesc* semHandleDesc);
399typedef hipError_t (*t_hipInit)(unsigned int flags);
400typedef hipError_t (*t_hipIpcCloseMemHandle)(void* devPtr);
401typedef hipError_t (*t_hipIpcGetEventHandle)(hipIpcEventHandle_t* handle, hipEvent_t event);
402typedef hipError_t (*t_hipIpcGetMemHandle)(hipIpcMemHandle_t* handle, void* devPtr);
403typedef hipError_t (*t_hipIpcOpenEventHandle)(hipEvent_t* event, hipIpcEventHandle_t handle);
404typedef hipError_t (*t_hipIpcOpenMemHandle)(void** devPtr, hipIpcMemHandle_t handle,
405 unsigned int flags);
406typedef const char* (*t_hipKernelNameRef)(const hipFunction_t f);
407typedef const char* (*t_hipKernelNameRefByPtr)(const void* hostFunction, hipStream_t stream);
408typedef hipError_t (*t_hipLaunchByPtr)(const void* func);
409typedef hipError_t (*t_hipLaunchCooperativeKernel)(const void* f, dim3 gridDim, dim3 blockDimX,
410 void** kernelParams, unsigned int sharedMemBytes,
411 hipStream_t stream);
412typedef hipError_t (*t_hipLaunchCooperativeKernelMultiDevice)(hipLaunchParams* launchParamsList,
413 int numDevices, unsigned int flags);
414typedef hipError_t (*t_hipLaunchHostFunc)(hipStream_t stream, hipHostFn_t fn, void* userData);
415typedef hipError_t (*t_hipLaunchKernel)(const void* function_address, dim3 numBlocks,
416 dim3 dimBlocks, void** args, size_t sharedMemBytes,
417 hipStream_t stream);
418typedef hipError_t (*t_hipMalloc)(void** ptr, size_t size);
419typedef hipError_t (*t_hipMalloc3D)(hipPitchedPtr* pitchedDevPtr, hipExtent extent);
420typedef hipError_t (*t_hipMalloc3DArray)(hipArray_t* array, const struct hipChannelFormatDesc* desc,
421 struct hipExtent extent, unsigned int flags);
422typedef hipError_t (*t_hipMallocArray)(hipArray_t* array, const hipChannelFormatDesc* desc,
423 size_t width, size_t height, unsigned int flags);
424typedef hipError_t (*t_hipMallocAsync)(void** dev_ptr, size_t size, hipStream_t stream);
425typedef hipError_t (*t_hipMallocFromPoolAsync)(void** dev_ptr, size_t size, hipMemPool_t mem_pool,
426 hipStream_t stream);
427typedef hipError_t (*t_hipMallocHost)(void** ptr, size_t size);
428typedef hipError_t (*t_hipMallocManaged)(void** dev_ptr, size_t size, unsigned int flags);
429typedef hipError_t (*t_hipMallocMipmappedArray)(hipMipmappedArray_t* mipmappedArray,
430 const struct hipChannelFormatDesc* desc,
431 struct hipExtent extent, unsigned int numLevels,
432 unsigned int flags);
433typedef hipError_t (*t_hipMallocPitch)(void** ptr, size_t* pitch, size_t width, size_t height);
434typedef hipError_t (*t_hipMemAddressFree)(void* devPtr, size_t size);
435typedef hipError_t (*t_hipMemAddressReserve)(void** ptr, size_t size, size_t alignment, void* addr,
436 unsigned long long flags);
437typedef hipError_t (*t_hipMemAdvise)(const void* dev_ptr, size_t count, hipMemoryAdvise advice,
438 int device);
439typedef hipError_t (*t_hipMemAllocHost)(void** ptr, size_t size);
440typedef hipError_t (*t_hipMemAllocPitch)(hipDeviceptr_t* dptr, size_t* pitch, size_t widthInBytes,
441 size_t height, unsigned int elementSizeBytes);
442typedef hipError_t (*t_hipMemCreate)(hipMemGenericAllocationHandle_t* handle, size_t size,
443 const hipMemAllocationProp* prop, unsigned long long flags);
444typedef hipError_t (*t_hipMemExportToShareableHandle)(void* shareableHandle,
445 hipMemGenericAllocationHandle_t handle,
446 hipMemAllocationHandleType handleType,
447 unsigned long long flags);
448typedef hipError_t (*t_hipMemGetAccess)(unsigned long long* flags, const hipMemLocation* location,
449 void* ptr);
450typedef hipError_t (*t_hipMemGetAddressRange)(hipDeviceptr_t* pbase, size_t* psize,
451 hipDeviceptr_t dptr);
452typedef hipError_t (*t_hipMemGetAllocationGranularity)(size_t* granularity,
453 const hipMemAllocationProp* prop,
454 hipMemAllocationGranularity_flags option);
455typedef hipError_t (*t_hipMemGetAllocationPropertiesFromHandle)(
456 hipMemAllocationProp* prop, hipMemGenericAllocationHandle_t handle);
457typedef hipError_t (*t_hipMemGetInfo)(size_t* free, size_t* total);
458typedef hipError_t (*t_hipMemImportFromShareableHandle)(hipMemGenericAllocationHandle_t* handle,
459 void* osHandle,
460 hipMemAllocationHandleType shHandleType);
461typedef hipError_t (*t_hipMemMap)(void* ptr, size_t size, size_t offset,
462 hipMemGenericAllocationHandle_t handle, unsigned long long flags);
463typedef hipError_t (*t_hipMemMapArrayAsync)(hipArrayMapInfo* mapInfoList, unsigned int count,
464 hipStream_t stream);
465typedef hipError_t (*t_hipMemPoolCreate)(hipMemPool_t* mem_pool, const hipMemPoolProps* pool_props);
466typedef hipError_t (*t_hipMemPoolDestroy)(hipMemPool_t mem_pool);
467typedef hipError_t (*t_hipMemPoolExportPointer)(hipMemPoolPtrExportData* export_data,
468 void* dev_ptr);
469typedef hipError_t (*t_hipMemPoolExportToShareableHandle)(void* shared_handle,
470 hipMemPool_t mem_pool,
471 hipMemAllocationHandleType handle_type,
472 unsigned int flags);
473typedef hipError_t (*t_hipMemPoolGetAccess)(hipMemAccessFlags* flags, hipMemPool_t mem_pool,
474 hipMemLocation* location);
475typedef hipError_t (*t_hipMemPoolGetAttribute)(hipMemPool_t mem_pool, hipMemPoolAttr attr,
476 void* value);
477typedef hipError_t (*t_hipMemPoolImportFromShareableHandle)(hipMemPool_t* mem_pool,
478 void* shared_handle,
479 hipMemAllocationHandleType handle_type,
480 unsigned int flags);
481typedef hipError_t (*t_hipMemPoolImportPointer)(void** dev_ptr, hipMemPool_t mem_pool,
482 hipMemPoolPtrExportData* export_data);
483typedef hipError_t (*t_hipMemPoolSetAccess)(hipMemPool_t mem_pool,
484 const hipMemAccessDesc* desc_list, size_t count);
485typedef hipError_t (*t_hipMemPoolSetAttribute)(hipMemPool_t mem_pool, hipMemPoolAttr attr,
486 void* value);
487typedef hipError_t (*t_hipMemPoolTrimTo)(hipMemPool_t mem_pool, size_t min_bytes_to_hold);
488typedef hipError_t (*t_hipMemPrefetchAsync)(const void* dev_ptr, size_t count, int device,
489 hipStream_t stream);
490typedef hipError_t (*t_hipMemPtrGetInfo)(void* ptr, size_t* size);
491typedef hipError_t (*t_hipMemRangeGetAttribute)(void* data, size_t data_size,
492 hipMemRangeAttribute attribute, const void* dev_ptr,
493 size_t count);
494typedef hipError_t (*t_hipMemRangeGetAttributes)(void** data, size_t* data_sizes,
495 hipMemRangeAttribute* attributes,
496 size_t num_attributes, const void* dev_ptr,
497 size_t count);
498typedef hipError_t (*t_hipMemRelease)(hipMemGenericAllocationHandle_t handle);
499typedef hipError_t (*t_hipMemRetainAllocationHandle)(hipMemGenericAllocationHandle_t* handle,
500 void* addr);
501typedef hipError_t (*t_hipMemSetAccess)(void* ptr, size_t size, const hipMemAccessDesc* desc,
502 size_t count);
503typedef hipError_t (*t_hipMemUnmap)(void* ptr, size_t size);
504typedef hipError_t (*t_hipMemcpy)(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind);
505typedef hipError_t (*t_hipMemcpy2D)(void* dst, size_t dpitch, const void* src, size_t spitch,
506 size_t width, size_t height, hipMemcpyKind kind);
507typedef hipError_t (*t_hipMemcpy2DAsync)(void* dst, size_t dpitch, const void* src, size_t spitch,
508 size_t width, size_t height, hipMemcpyKind kind,
509 hipStream_t stream);
510typedef hipError_t (*t_hipMemcpy2DFromArray)(void* dst, size_t dpitch, hipArray_const_t src,
511 size_t wOffset, size_t hOffset, size_t width,
512 size_t height, hipMemcpyKind kind);
513typedef hipError_t (*t_hipMemcpy2DFromArrayAsync)(void* dst, size_t dpitch, hipArray_const_t src,
514 size_t wOffset, size_t hOffset, size_t width,
515 size_t height, hipMemcpyKind kind,
516 hipStream_t stream);
517typedef hipError_t (*t_hipMemcpy2DToArray)(hipArray_t dst, size_t wOffset, size_t hOffset,
518 const void* src, size_t spitch, size_t width,
519 size_t height, hipMemcpyKind kind);
520typedef hipError_t (*t_hipMemcpy2DToArrayAsync)(hipArray_t dst, size_t wOffset, size_t hOffset,
521 const void* src, size_t spitch, size_t width,
522 size_t height, hipMemcpyKind kind,
523 hipStream_t stream);
524typedef hipError_t (*t_hipMemcpy3D)(const struct hipMemcpy3DParms* p);
525typedef hipError_t (*t_hipMemcpy3DAsync)(const struct hipMemcpy3DParms* p, hipStream_t stream);
526typedef hipError_t (*t_hipMemcpyAsync)(void* dst, const void* src, size_t sizeBytes,
527 hipMemcpyKind kind, hipStream_t stream);
528typedef hipError_t (*t_hipMemcpyAtoH)(void* dst, hipArray_t srcArray, size_t srcOffset,
529 size_t count);
530typedef hipError_t (*t_hipMemcpyDtoD)(hipDeviceptr_t dst, hipDeviceptr_t src, size_t sizeBytes);
531typedef hipError_t (*t_hipMemcpyDtoDAsync)(hipDeviceptr_t dst, hipDeviceptr_t src, size_t sizeBytes,
532 hipStream_t stream);
533typedef hipError_t (*t_hipMemcpyDtoH)(void* dst, hipDeviceptr_t src, size_t sizeBytes);
534typedef hipError_t (*t_hipMemcpyDtoHAsync)(void* dst, hipDeviceptr_t src, size_t sizeBytes,
535 hipStream_t stream);
536typedef hipError_t (*t_hipMemcpyFromArray)(void* dst, hipArray_const_t srcArray, size_t wOffset,
537 size_t hOffset, size_t count, hipMemcpyKind kind);
538typedef hipError_t (*t_hipMemcpyFromSymbol)(void* dst, const void* symbol, size_t sizeBytes,
539 size_t offset, hipMemcpyKind kind);
540typedef hipError_t (*t_hipMemcpyFromSymbolAsync)(void* dst, const void* symbol, size_t sizeBytes,
541 size_t offset, hipMemcpyKind kind,
542 hipStream_t stream);
543typedef hipError_t (*t_hipMemcpyHtoA)(hipArray_t dstArray, size_t dstOffset, const void* srcHost,
544 size_t count);
545typedef hipError_t (*t_hipMemcpyHtoD)(hipDeviceptr_t dst, void* src, size_t sizeBytes);
546typedef hipError_t (*t_hipMemcpyHtoDAsync)(hipDeviceptr_t dst, void* src, size_t sizeBytes,
547 hipStream_t stream);
548typedef hipError_t (*t_hipMemcpyParam2D)(const hip_Memcpy2D* pCopy);
549typedef hipError_t (*t_hipMemcpyParam2DAsync)(const hip_Memcpy2D* pCopy, hipStream_t stream);
550typedef hipError_t (*t_hipMemcpyPeer)(void* dst, int dstDeviceId, const void* src, int srcDeviceId,
551 size_t sizeBytes);
552typedef hipError_t (*t_hipMemcpyPeerAsync)(void* dst, int dstDeviceId, const void* src,
553 int srcDevice, size_t sizeBytes, hipStream_t stream);
554typedef hipError_t (*t_hipMemcpyToArray)(hipArray_t dst, size_t wOffset, size_t hOffset,
555 const void* src, size_t count, hipMemcpyKind kind);
556typedef hipError_t (*t_hipMemcpyToSymbol)(const void* symbol, const void* src, size_t sizeBytes,
557 size_t offset, hipMemcpyKind kind);
558typedef hipError_t (*t_hipMemcpyToSymbolAsync)(const void* symbol, const void* src,
559 size_t sizeBytes, size_t offset, hipMemcpyKind kind,
560 hipStream_t stream);
561typedef hipError_t (*t_hipMemcpyWithStream)(void* dst, const void* src, size_t sizeBytes,
562 hipMemcpyKind kind, hipStream_t stream);
563typedef hipError_t (*t_hipMemset)(void* dst, int value, size_t sizeBytes);
564typedef hipError_t (*t_hipMemset2D)(void* dst, size_t pitch, int value, size_t width,
565 size_t height);
566typedef hipError_t (*t_hipMemset2DAsync)(void* dst, size_t pitch, int value, size_t width,
567 size_t height, hipStream_t stream);
568typedef hipError_t (*t_hipMemset3D)(hipPitchedPtr pitchedDevPtr, int value, hipExtent extent);
569typedef hipError_t (*t_hipMemset3DAsync)(hipPitchedPtr pitchedDevPtr, int value, hipExtent extent,
570 hipStream_t stream);
571typedef hipError_t (*t_hipMemsetAsync)(void* dst, int value, size_t sizeBytes, hipStream_t stream);
572typedef hipError_t (*t_hipMemsetD16)(hipDeviceptr_t dest, unsigned short value, size_t count);
573typedef hipError_t (*t_hipMemsetD16Async)(hipDeviceptr_t dest, unsigned short value, size_t count,
574 hipStream_t stream);
575typedef hipError_t (*t_hipMemsetD32)(hipDeviceptr_t dest, int value, size_t count);
576typedef hipError_t (*t_hipMemsetD32Async)(hipDeviceptr_t dst, int value, size_t count,
577 hipStream_t stream);
578typedef hipError_t (*t_hipMemsetD8)(hipDeviceptr_t dest, unsigned char value, size_t count);
579typedef hipError_t (*t_hipMemsetD8Async)(hipDeviceptr_t dest, unsigned char value, size_t count,
580 hipStream_t stream);
581typedef hipError_t (*t_hipMipmappedArrayCreate)(hipMipmappedArray_t* pHandle,
582 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc,
583 unsigned int numMipmapLevels);
584typedef hipError_t (*t_hipMipmappedArrayDestroy)(hipMipmappedArray_t hMipmappedArray);
585typedef hipError_t (*t_hipMipmappedArrayGetLevel)(hipArray_t* pLevelArray,
586 hipMipmappedArray_t hMipMappedArray,
587 unsigned int level);
588typedef hipError_t (*t_hipModuleGetFunction)(hipFunction_t* function, hipModule_t module,
589 const char* kname);
590typedef hipError_t (*t_hipModuleGetGlobal)(hipDeviceptr_t* dptr, size_t* bytes, hipModule_t hmod,
591 const char* name);
592typedef hipError_t (*t_hipModuleGetTexRef)(textureReference** texRef, hipModule_t hmod,
593 const char* name);
594typedef hipError_t (*t_hipModuleLaunchCooperativeKernel)(
595 hipFunction_t f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ,
596 unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ,
597 unsigned int sharedMemBytes, hipStream_t stream, void** kernelParams);
598typedef hipError_t (*t_hipModuleLaunchCooperativeKernelMultiDevice)(
599 hipFunctionLaunchParams* launchParamsList, unsigned int numDevices, unsigned int flags);
600typedef hipError_t (*t_hipModuleLaunchKernel)(hipFunction_t f, unsigned int gridDimX,
601 unsigned int gridDimY, unsigned int gridDimZ,
602 unsigned int blockDimX, unsigned int blockDimY,
603 unsigned int blockDimZ, unsigned int sharedMemBytes,
604 hipStream_t stream, void** kernelParams,
605 void** extra);
606typedef hipError_t (*t_hipModuleLoad)(hipModule_t* module, const char* fname);
607typedef hipError_t (*t_hipModuleLoadData)(hipModule_t* module, const void* image);
608typedef hipError_t (*t_hipModuleLoadDataEx)(hipModule_t* module, const void* image,
609 unsigned int numOptions, hipJitOption* options,
610 void** optionValues);
611typedef hipError_t (*t_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor)(
612 int* numBlocks, hipFunction_t f, int blockSize, size_t dynSharedMemPerBlk);
613typedef hipError_t (*t_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(
614 int* numBlocks, hipFunction_t f, int blockSize, size_t dynSharedMemPerBlk, unsigned int flags);
615typedef hipError_t (*t_hipModuleOccupancyMaxPotentialBlockSize)(int* gridSize, int* blockSize,
616 hipFunction_t f,
617 size_t dynSharedMemPerBlk,
618 int blockSizeLimit);
619typedef hipError_t (*t_hipModuleOccupancyMaxPotentialBlockSizeWithFlags)(
620 int* gridSize, int* blockSize, hipFunction_t f, size_t dynSharedMemPerBlk, int blockSizeLimit,
621 unsigned int flags);
622typedef hipError_t (*t_hipModuleUnload)(hipModule_t module);
623typedef hipError_t (*t_hipOccupancyMaxActiveBlocksPerMultiprocessor)(int* numBlocks, const void* f,
624 int blockSize,
625 size_t dynSharedMemPerBlk);
626typedef hipError_t (*t_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(
627 int* numBlocks, const void* f, int blockSize, size_t dynSharedMemPerBlk, unsigned int flags);
628typedef hipError_t (*t_hipOccupancyMaxPotentialBlockSize)(int* gridSize, int* blockSize,
629 const void* f, size_t dynSharedMemPerBlk,
630 int blockSizeLimit);
631typedef hipError_t (*t_hipPeekAtLastError)(void);
632typedef hipError_t (*t_hipPointerGetAttribute)(void* data, hipPointer_attribute attribute,
633 hipDeviceptr_t ptr);
634typedef hipError_t (*t_hipPointerGetAttributes)(hipPointerAttribute_t* attributes, const void* ptr);
635typedef hipError_t (*t_hipPointerSetAttribute)(const void* value, hipPointer_attribute attribute,
636 hipDeviceptr_t ptr);
637typedef hipError_t (*t_hipProfilerStart)();
638typedef hipError_t (*t_hipProfilerStop)();
639typedef hipError_t (*t_hipRuntimeGetVersion)(int* runtimeVersion);
640typedef hipError_t (*t_hipSetDevice)(int deviceId);
641typedef hipError_t (*t_hipSetDeviceFlags)(unsigned flags);
642typedef hipError_t (*t_hipSetupArgument)(const void* arg, size_t size, size_t offset);
643typedef hipError_t (*t_hipSignalExternalSemaphoresAsync)(
644 const hipExternalSemaphore_t* extSemArray, const hipExternalSemaphoreSignalParams* paramsArray,
645 unsigned int numExtSems, hipStream_t stream);
646typedef hipError_t (*t_hipStreamAddCallback)(hipStream_t stream, hipStreamCallback_t callback,
647 void* userData, unsigned int flags);
648typedef hipError_t (*t_hipStreamAttachMemAsync)(hipStream_t stream, void* dev_ptr, size_t length,
649 unsigned int flags);
650typedef hipError_t (*t_hipStreamBeginCapture)(hipStream_t stream, hipStreamCaptureMode mode);
651typedef hipError_t (*t_hipStreamCreate)(hipStream_t* stream);
652typedef hipError_t (*t_hipStreamCreateWithFlags)(hipStream_t* stream, unsigned int flags);
653typedef hipError_t (*t_hipStreamCreateWithPriority)(hipStream_t* stream, unsigned int flags,
654 int priority);
655typedef hipError_t (*t_hipStreamDestroy)(hipStream_t stream);
656typedef hipError_t (*t_hipStreamEndCapture)(hipStream_t stream, hipGraph_t* pGraph);
657typedef hipError_t (*t_hipStreamGetCaptureInfo)(hipStream_t stream,
658 hipStreamCaptureStatus* pCaptureStatus,
659 unsigned long long* pId);
660typedef hipError_t (*t_hipStreamGetCaptureInfo_v2)(
661 hipStream_t stream, hipStreamCaptureStatus* captureStatus_out, unsigned long long* id_out,
662 hipGraph_t* graph_out, const hipGraphNode_t** dependencies_out, size_t* numDependencies_out);
663typedef hipError_t (*t_hipStreamGetDevice)(hipStream_t stream, hipDevice_t* device);
664typedef hipError_t (*t_hipStreamGetFlags)(hipStream_t stream, unsigned int* flags);
665typedef hipError_t (*t_hipStreamGetPriority)(hipStream_t stream, int* priority);
666typedef hipError_t (*t_hipStreamIsCapturing)(hipStream_t stream,
667 hipStreamCaptureStatus* pCaptureStatus);
668typedef hipError_t (*t_hipStreamQuery)(hipStream_t stream);
669typedef hipError_t (*t_hipStreamSynchronize)(hipStream_t stream);
670typedef hipError_t (*t_hipStreamUpdateCaptureDependencies)(hipStream_t stream,
671 hipGraphNode_t* dependencies,
672 size_t numDependencies,
673 unsigned int flags);
674typedef hipError_t (*t_hipStreamWaitEvent)(hipStream_t stream, hipEvent_t event,
675 unsigned int flags);
676typedef hipError_t (*t_hipStreamWaitValue32)(hipStream_t stream, void* ptr, uint32_t value,
677 unsigned int flags, uint32_t mask);
678typedef hipError_t (*t_hipStreamWaitValue64)(hipStream_t stream, void* ptr, uint64_t value,
679 unsigned int flags, uint64_t mask);
680typedef hipError_t (*t_hipStreamWriteValue32)(hipStream_t stream, void* ptr, uint32_t value,
681 unsigned int flags);
682typedef hipError_t (*t_hipStreamWriteValue64)(hipStream_t stream, void* ptr, uint64_t value,
683 unsigned int flags);
684typedef hipError_t (*t_hipTexObjectCreate)(hipTextureObject_t* pTexObject,
685 const HIP_RESOURCE_DESC* pResDesc,
686 const HIP_TEXTURE_DESC* pTexDesc,
687 const HIP_RESOURCE_VIEW_DESC* pResViewDesc);
688typedef hipError_t (*t_hipTexObjectDestroy)(hipTextureObject_t texObject);
689typedef hipError_t (*t_hipTexObjectGetResourceDesc)(HIP_RESOURCE_DESC* pResDesc,
690 hipTextureObject_t texObject);
691typedef hipError_t (*t_hipTexObjectGetResourceViewDesc)(HIP_RESOURCE_VIEW_DESC* pResViewDesc,
692 hipTextureObject_t texObject);
693typedef hipError_t (*t_hipTexObjectGetTextureDesc)(HIP_TEXTURE_DESC* pTexDesc,
694 hipTextureObject_t texObject);
695typedef hipError_t (*t_hipTexRefGetAddress)(hipDeviceptr_t* dev_ptr,
696 const textureReference* texRef);
697typedef hipError_t (*t_hipTexRefGetAddressMode)(enum hipTextureAddressMode* pam,
698 const textureReference* texRef, int dim);
699typedef hipError_t (*t_hipTexRefGetFilterMode)(enum hipTextureFilterMode* pfm,
700 const textureReference* texRef);
701typedef hipError_t (*t_hipTexRefGetFlags)(unsigned int* pFlags, const textureReference* texRef);
702typedef hipError_t (*t_hipTexRefGetFormat)(hipArray_Format* pFormat, int* pNumChannels,
703 const textureReference* texRef);
704typedef hipError_t (*t_hipTexRefGetMaxAnisotropy)(int* pmaxAnsio, const textureReference* texRef);
705typedef hipError_t (*t_hipTexRefGetMipMappedArray)(hipMipmappedArray_t* pArray,
706 const textureReference* texRef);
707typedef hipError_t (*t_hipTexRefGetMipmapFilterMode)(enum hipTextureFilterMode* pfm,
708 const textureReference* texRef);
709typedef hipError_t (*t_hipTexRefGetMipmapLevelBias)(float* pbias, const textureReference* texRef);
710typedef hipError_t (*t_hipTexRefGetMipmapLevelClamp)(float* pminMipmapLevelClamp,
711 float* pmaxMipmapLevelClamp,
712 const textureReference* texRef);
713typedef hipError_t (*t_hipTexRefSetAddress)(size_t* ByteOffset, textureReference* texRef,
714 hipDeviceptr_t dptr, size_t bytes);
715typedef hipError_t (*t_hipTexRefSetAddress2D)(textureReference* texRef,
716 const HIP_ARRAY_DESCRIPTOR* desc, hipDeviceptr_t dptr,
717 size_t Pitch);
718typedef hipError_t (*t_hipTexRefSetAddressMode)(textureReference* texRef, int dim,
719 enum hipTextureAddressMode am);
720typedef hipError_t (*t_hipTexRefSetArray)(textureReference* tex, hipArray_const_t array,
721 unsigned int flags);
722typedef hipError_t (*t_hipTexRefSetBorderColor)(textureReference* texRef, float* pBorderColor);
723typedef hipError_t (*t_hipTexRefSetFilterMode)(textureReference* texRef,
724 enum hipTextureFilterMode fm);
725typedef hipError_t (*t_hipTexRefSetFlags)(textureReference* texRef, unsigned int Flags);
726typedef hipError_t (*t_hipTexRefSetFormat)(textureReference* texRef, hipArray_Format fmt,
727 int NumPackedComponents);
728typedef hipError_t (*t_hipTexRefSetMaxAnisotropy)(textureReference* texRef, unsigned int maxAniso);
729typedef hipError_t (*t_hipTexRefSetMipmapFilterMode)(textureReference* texRef,
730 enum hipTextureFilterMode fm);
731typedef hipError_t (*t_hipTexRefSetMipmapLevelBias)(textureReference* texRef, float bias);
732typedef hipError_t (*t_hipTexRefSetMipmapLevelClamp)(textureReference* texRef,
733 float minMipMapLevelClamp,
734 float maxMipMapLevelClamp);
735typedef hipError_t (*t_hipTexRefSetMipmappedArray)(textureReference* texRef,
736 struct hipMipmappedArray* mipmappedArray,
737 unsigned int Flags);
738typedef hipError_t (*t_hipThreadExchangeStreamCaptureMode)(hipStreamCaptureMode* mode);
739typedef hipError_t (*t_hipUnbindTexture)(const textureReference* tex);
740typedef hipError_t (*t_hipUserObjectCreate)(hipUserObject_t* object_out, void* ptr,
741 hipHostFn_t destroy, unsigned int initialRefcount,
742 unsigned int flags);
743typedef hipError_t (*t_hipUserObjectRelease)(hipUserObject_t object, unsigned int count);
744typedef hipError_t (*t_hipUserObjectRetain)(hipUserObject_t object, unsigned int count);
745typedef hipError_t (*t_hipWaitExternalSemaphoresAsync)(
746 const hipExternalSemaphore_t* extSemArray, const hipExternalSemaphoreWaitParams* paramsArray,
747 unsigned int numExtSems, hipStream_t stream);
748
749typedef hipError_t (*t_hipMemcpy_spt)(void* dst, const void* src, size_t sizeBytes,
750 hipMemcpyKind kind);
751
752typedef hipError_t (*t_hipMemcpyToSymbol_spt)(const void* symbol, const void* src, size_t sizeBytes,
753 size_t offset, hipMemcpyKind kind);
754
755typedef hipError_t (*t_hipMemcpyFromSymbol_spt)(void* dst, const void* symbol, size_t sizeBytes,
756 size_t offset, hipMemcpyKind kind);
757
758typedef hipError_t (*t_hipMemcpy2D_spt)(void* dst, size_t dpitch, const void* src, size_t spitch,
759 size_t width, size_t height, hipMemcpyKind kind);
760
761typedef hipError_t (*t_hipMemcpy2DFromArray_spt)(void* dst, size_t dpitch, hipArray_const_t src,
762 size_t wOffset, size_t hOffset, size_t width,
763 size_t height, hipMemcpyKind kind);
764
765typedef hipError_t (*t_hipMemcpy3D_spt)(const struct hipMemcpy3DParms* p);
766
767typedef hipError_t (*t_hipMemset_spt)(void* dst, int value, size_t sizeBytes);
768
769typedef hipError_t (*t_hipMemsetAsync_spt)(void* dst, int value, size_t sizeBytes,
770 hipStream_t stream);
771
772typedef hipError_t (*t_hipMemset2D_spt)(void* dst, size_t pitch, int value, size_t width,
773 size_t height);
774
775typedef hipError_t (*t_hipMemset2DAsync_spt)(void* dst, size_t pitch, int value, size_t width,
776 size_t height, hipStream_t stream);
777
778typedef hipError_t (*t_hipMemset3DAsync_spt)(hipPitchedPtr pitchedDevPtr, int value,
779 hipExtent extent, hipStream_t stream);
780
781typedef hipError_t (*t_hipMemset3D_spt)(hipPitchedPtr pitchedDevPtr, int value, hipExtent extent);
782
783typedef hipError_t (*t_hipMemcpyAsync_spt)(void* dst, const void* src, size_t sizeBytes,
784 hipMemcpyKind kind, hipStream_t stream);
785
786typedef hipError_t (*t_hipMemcpy3DAsync_spt)(const hipMemcpy3DParms* p, hipStream_t stream);
787
788typedef hipError_t (*t_hipMemcpy2DAsync_spt)(void* dst, size_t dpitch, const void* src,
789 size_t spitch, size_t width, size_t height,
790 hipMemcpyKind kind, hipStream_t stream);
791
792typedef hipError_t (*t_hipMemcpyFromSymbolAsync_spt)(void* dst, const void* symbol,
793 size_t sizeBytes, size_t offset,
794 hipMemcpyKind kind, hipStream_t stream);
795
796typedef hipError_t (*t_hipMemcpyToSymbolAsync_spt)(const void* symbol, const void* src,
797 size_t sizeBytes, size_t offset,
798 hipMemcpyKind kind, hipStream_t stream);
799
800typedef hipError_t (*t_hipMemcpyFromArray_spt)(void* dst, hipArray_const_t src, size_t wOffsetSrc,
801 size_t hOffset, size_t count, hipMemcpyKind kind);
802
803typedef hipError_t (*t_hipMemcpy2DToArray_spt)(hipArray_t dst, size_t wOffset, size_t hOffset,
804 const void* src, size_t spitch, size_t width,
805 size_t height, hipMemcpyKind kind);
806
807typedef hipError_t (*t_hipMemcpy2DFromArrayAsync_spt)(void* dst, size_t dpitch,
808 hipArray_const_t src, size_t wOffsetSrc,
809 size_t hOffsetSrc, size_t width,
810 size_t height, hipMemcpyKind kind,
811 hipStream_t stream);
812
813typedef hipError_t (*t_hipMemcpy2DToArrayAsync_spt)(hipArray_t dst, size_t wOffset, size_t hOffset,
814 const void* src, size_t spitch, size_t width,
815 size_t height, hipMemcpyKind kind,
816 hipStream_t stream);
817
818typedef hipError_t (*t_hipStreamQuery_spt)(hipStream_t stream);
819
820typedef hipError_t (*t_hipStreamSynchronize_spt)(hipStream_t stream);
821
822typedef hipError_t (*t_hipStreamGetPriority_spt)(hipStream_t stream, int* priority);
823
824typedef hipError_t (*t_hipStreamWaitEvent_spt)(hipStream_t stream, hipEvent_t event,
825 unsigned int flags);
826
827typedef hipError_t (*t_hipStreamGetFlags_spt)(hipStream_t stream, unsigned int* flags);
828
829typedef hipError_t (*t_hipStreamAddCallback_spt)(hipStream_t stream, hipStreamCallback_t callback,
830 void* userData, unsigned int flags);
831typedef hipError_t (*t_hipEventRecord_spt)(hipEvent_t event, hipStream_t stream);
832typedef hipError_t (*t_hipLaunchCooperativeKernel_spt)(const void* f, dim3 gridDim, dim3 blockDim,
833 void** kernelParams, uint32_t sharedMemBytes,
834 hipStream_t hStream);
835
836typedef hipError_t (*t_hipLaunchKernel_spt)(const void* function_address, dim3 numBlocks,
837 dim3 dimBlocks, void** args, size_t sharedMemBytes,
838 hipStream_t stream);
839
840typedef hipError_t (*t_hipGraphLaunch_spt)(hipGraphExec_t graphExec, hipStream_t stream);
841typedef hipError_t (*t_hipStreamBeginCapture_spt)(hipStream_t stream, hipStreamCaptureMode mode);
842typedef hipError_t (*t_hipStreamEndCapture_spt)(hipStream_t stream, hipGraph_t* pGraph);
843typedef hipError_t (*t_hipStreamIsCapturing_spt)(hipStream_t stream,
844 hipStreamCaptureStatus* pCaptureStatus);
845typedef hipError_t (*t_hipStreamGetCaptureInfo_spt)(hipStream_t stream,
846 hipStreamCaptureStatus* pCaptureStatus,
847 unsigned long long* pId);
848typedef hipError_t (*t_hipStreamGetCaptureInfo_v2_spt)(
849 hipStream_t stream, hipStreamCaptureStatus* captureStatus_out, unsigned long long* id_out,
850 hipGraph_t* graph_out, const hipGraphNode_t** dependencies_out, size_t* numDependencies_out);
851typedef hipError_t (*t_hipLaunchHostFunc_spt)(hipStream_t stream, hipHostFn_t fn, void* userData);
852typedef hipChannelFormatDesc (*t_hipCreateChannelDesc)(int x, int y, int z, int w,
853 hipChannelFormatKind f);
854typedef hipError_t (*t_hipExtModuleLaunchKernel)(hipFunction_t f, uint32_t globalWorkSizeX,
855 uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
856 uint32_t localWorkSizeX, uint32_t localWorkSizeY,
857 uint32_t localWorkSizeZ, size_t sharedMemBytes,
858 hipStream_t hStream, void** kernelParams,
859 void** extra, hipEvent_t startEvent,
860 hipEvent_t stopEvent, uint32_t flags);
861typedef hipError_t (*t_hipHccModuleLaunchKernel)(hipFunction_t f, uint32_t globalWorkSizeX,
862 uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
863 uint32_t localWorkSizeX, uint32_t localWorkSizeY,
864 uint32_t localWorkSizeZ, size_t sharedMemBytes,
865 hipStream_t hStream, void** kernelParams,
866 void** extra, hipEvent_t startEvent,
867 hipEvent_t stopEvent);
868typedef int (*t_hipGetStreamDeviceId)(hipStream_t stream);
869
870typedef hipError_t (*t_hipDrvGraphAddMemsetNode)(hipGraphNode_t* phGraphNode, hipGraph_t hGraph,
871 const hipGraphNode_t* dependencies, size_t numDependencies,
872 const HIP_MEMSET_NODE_PARAMS* memsetParams, hipCtx_t ctx);
873typedef hipError_t (*t_hipGraphAddExternalSemaphoresWaitNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
874 const hipGraphNode_t* pDependencies, size_t numDependencies,
875 const hipExternalSemaphoreWaitNodeParams* nodeParams);
876typedef hipError_t (*t_hipGraphAddExternalSemaphoresSignalNode)(hipGraphNode_t* pGraphNode, hipGraph_t graph,
877 const hipGraphNode_t* pDependencies, size_t numDependencies,
878 const hipExternalSemaphoreSignalNodeParams* nodeParams);
879typedef hipError_t (*t_hipGraphExternalSemaphoresSignalNodeSetParams)(hipGraphNode_t hNode,
880 const hipExternalSemaphoreSignalNodeParams* nodeParams);
881typedef hipError_t (*t_hipGraphExternalSemaphoresWaitNodeSetParams)(hipGraphNode_t hNode,
882 const hipExternalSemaphoreWaitNodeParams* nodeParams);
883typedef hipError_t (*t_hipGraphExternalSemaphoresSignalNodeGetParams)(hipGraphNode_t hNode,
884 hipExternalSemaphoreSignalNodeParams* params_out);
885typedef hipError_t (*t_hipGraphExternalSemaphoresWaitNodeGetParams)(hipGraphNode_t hNode,
886 hipExternalSemaphoreWaitNodeParams* params_out);
887typedef hipError_t (*t_hipGraphExecExternalSemaphoresSignalNodeSetParams)(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
888 const hipExternalSemaphoreSignalNodeParams* nodeParams);
889typedef hipError_t (*t_hipGraphExecExternalSemaphoresWaitNodeSetParams)(hipGraphExec_t hGraphExec, hipGraphNode_t hNode,
890 const hipExternalSemaphoreWaitNodeParams* nodeParams);
891
892// HIP Compiler dispatch table
894 size_t size;
895 t___hipPopCallConfiguration __hipPopCallConfiguration_fn;
896 t___hipPushCallConfiguration __hipPushCallConfiguration_fn;
897 t___hipRegisterFatBinary __hipRegisterFatBinary_fn;
898 t___hipRegisterFunction __hipRegisterFunction_fn;
899 t___hipRegisterManagedVar __hipRegisterManagedVar_fn;
900 t___hipRegisterSurface __hipRegisterSurface_fn;
901 t___hipRegisterTexture __hipRegisterTexture_fn;
902 t___hipRegisterVar __hipRegisterVar_fn;
903 t___hipUnregisterFatBinary __hipUnregisterFatBinary_fn;
904};
905
906// HIP API dispatch table
908 size_t size;
909 t_hipApiName hipApiName_fn;
910 t_hipArray3DCreate hipArray3DCreate_fn;
911 t_hipArray3DGetDescriptor hipArray3DGetDescriptor_fn;
912 t_hipArrayCreate hipArrayCreate_fn;
913 t_hipArrayDestroy hipArrayDestroy_fn;
914 t_hipArrayGetDescriptor hipArrayGetDescriptor_fn;
915 t_hipArrayGetInfo hipArrayGetInfo_fn;
916 t_hipBindTexture hipBindTexture_fn;
917 t_hipBindTexture2D hipBindTexture2D_fn;
918 t_hipBindTextureToArray hipBindTextureToArray_fn;
919 t_hipBindTextureToMipmappedArray hipBindTextureToMipmappedArray_fn;
920 t_hipChooseDevice hipChooseDevice_fn;
921 t_hipChooseDeviceR0000 hipChooseDeviceR0000_fn;
922 t_hipConfigureCall hipConfigureCall_fn;
923 t_hipCreateSurfaceObject hipCreateSurfaceObject_fn;
924 t_hipCreateTextureObject hipCreateTextureObject_fn;
925 t_hipCtxCreate hipCtxCreate_fn;
926 t_hipCtxDestroy hipCtxDestroy_fn;
927 t_hipCtxDisablePeerAccess hipCtxDisablePeerAccess_fn;
928 t_hipCtxEnablePeerAccess hipCtxEnablePeerAccess_fn;
929 t_hipCtxGetApiVersion hipCtxGetApiVersion_fn;
930 t_hipCtxGetCacheConfig hipCtxGetCacheConfig_fn;
931 t_hipCtxGetCurrent hipCtxGetCurrent_fn;
932 t_hipCtxGetDevice hipCtxGetDevice_fn;
933 t_hipCtxGetFlags hipCtxGetFlags_fn;
934 t_hipCtxGetSharedMemConfig hipCtxGetSharedMemConfig_fn;
935 t_hipCtxPopCurrent hipCtxPopCurrent_fn;
936 t_hipCtxPushCurrent hipCtxPushCurrent_fn;
937 t_hipCtxSetCacheConfig hipCtxSetCacheConfig_fn;
938 t_hipCtxSetCurrent hipCtxSetCurrent_fn;
939 t_hipCtxSetSharedMemConfig hipCtxSetSharedMemConfig_fn;
940 t_hipCtxSynchronize hipCtxSynchronize_fn;
941 t_hipDestroyExternalMemory hipDestroyExternalMemory_fn;
942 t_hipDestroyExternalSemaphore hipDestroyExternalSemaphore_fn;
943 t_hipDestroySurfaceObject hipDestroySurfaceObject_fn;
944 t_hipDestroyTextureObject hipDestroyTextureObject_fn;
945 t_hipDeviceCanAccessPeer hipDeviceCanAccessPeer_fn;
946 t_hipDeviceComputeCapability hipDeviceComputeCapability_fn;
947 t_hipDeviceDisablePeerAccess hipDeviceDisablePeerAccess_fn;
948 t_hipDeviceEnablePeerAccess hipDeviceEnablePeerAccess_fn;
949 t_hipDeviceGet hipDeviceGet_fn;
950 t_hipDeviceGetAttribute hipDeviceGetAttribute_fn;
951 t_hipDeviceGetByPCIBusId hipDeviceGetByPCIBusId_fn;
952 t_hipDeviceGetCacheConfig hipDeviceGetCacheConfig_fn;
953 t_hipDeviceGetDefaultMemPool hipDeviceGetDefaultMemPool_fn;
954 t_hipDeviceGetGraphMemAttribute hipDeviceGetGraphMemAttribute_fn;
955 t_hipDeviceGetLimit hipDeviceGetLimit_fn;
956 t_hipDeviceGetMemPool hipDeviceGetMemPool_fn;
957 t_hipDeviceGetName hipDeviceGetName_fn;
958 t_hipDeviceGetP2PAttribute hipDeviceGetP2PAttribute_fn;
959 t_hipDeviceGetPCIBusId hipDeviceGetPCIBusId_fn;
960 t_hipDeviceGetSharedMemConfig hipDeviceGetSharedMemConfig_fn;
961 t_hipDeviceGetStreamPriorityRange hipDeviceGetStreamPriorityRange_fn;
962 t_hipDeviceGetUuid hipDeviceGetUuid_fn;
963 t_hipDeviceGraphMemTrim hipDeviceGraphMemTrim_fn;
964 t_hipDevicePrimaryCtxGetState hipDevicePrimaryCtxGetState_fn;
965 t_hipDevicePrimaryCtxRelease hipDevicePrimaryCtxRelease_fn;
966 t_hipDevicePrimaryCtxReset hipDevicePrimaryCtxReset_fn;
967 t_hipDevicePrimaryCtxRetain hipDevicePrimaryCtxRetain_fn;
968 t_hipDevicePrimaryCtxSetFlags hipDevicePrimaryCtxSetFlags_fn;
969 t_hipDeviceReset hipDeviceReset_fn;
970 t_hipDeviceSetCacheConfig hipDeviceSetCacheConfig_fn;
971 t_hipDeviceSetGraphMemAttribute hipDeviceSetGraphMemAttribute_fn;
972 t_hipDeviceSetLimit hipDeviceSetLimit_fn;
973 t_hipDeviceSetMemPool hipDeviceSetMemPool_fn;
974 t_hipDeviceSetSharedMemConfig hipDeviceSetSharedMemConfig_fn;
975 t_hipDeviceSynchronize hipDeviceSynchronize_fn;
976 t_hipDeviceTotalMem hipDeviceTotalMem_fn;
977 t_hipDriverGetVersion hipDriverGetVersion_fn;
978 t_hipDrvGetErrorName hipDrvGetErrorName_fn;
979 t_hipDrvGetErrorString hipDrvGetErrorString_fn;
980 t_hipDrvGraphAddMemcpyNode hipDrvGraphAddMemcpyNode_fn;
981 t_hipDrvMemcpy2DUnaligned hipDrvMemcpy2DUnaligned_fn;
982 t_hipDrvMemcpy3D hipDrvMemcpy3D_fn;
983 t_hipDrvMemcpy3DAsync hipDrvMemcpy3DAsync_fn;
984 t_hipDrvPointerGetAttributes hipDrvPointerGetAttributes_fn;
985 t_hipEventCreate hipEventCreate_fn;
986 t_hipEventCreateWithFlags hipEventCreateWithFlags_fn;
987 t_hipEventDestroy hipEventDestroy_fn;
988 t_hipEventElapsedTime hipEventElapsedTime_fn;
989 t_hipEventQuery hipEventQuery_fn;
990 t_hipEventRecord hipEventRecord_fn;
991 t_hipEventSynchronize hipEventSynchronize_fn;
992 t_hipExtGetLinkTypeAndHopCount hipExtGetLinkTypeAndHopCount_fn;
993 t_hipExtLaunchKernel hipExtLaunchKernel_fn;
994 t_hipExtLaunchMultiKernelMultiDevice hipExtLaunchMultiKernelMultiDevice_fn;
995 t_hipExtMallocWithFlags hipExtMallocWithFlags_fn;
996 t_hipExtStreamCreateWithCUMask hipExtStreamCreateWithCUMask_fn;
997 t_hipExtStreamGetCUMask hipExtStreamGetCUMask_fn;
998 t_hipExternalMemoryGetMappedBuffer hipExternalMemoryGetMappedBuffer_fn;
999 t_hipFree hipFree_fn;
1000 t_hipFreeArray hipFreeArray_fn;
1001 t_hipFreeAsync hipFreeAsync_fn;
1002 t_hipFreeHost hipFreeHost_fn;
1003 t_hipFreeMipmappedArray hipFreeMipmappedArray_fn;
1004 t_hipFuncGetAttribute hipFuncGetAttribute_fn;
1005 t_hipFuncGetAttributes hipFuncGetAttributes_fn;
1006 t_hipFuncSetAttribute hipFuncSetAttribute_fn;
1007 t_hipFuncSetCacheConfig hipFuncSetCacheConfig_fn;
1008 t_hipFuncSetSharedMemConfig hipFuncSetSharedMemConfig_fn;
1009 t_hipGLGetDevices hipGLGetDevices_fn;
1010 t_hipGetChannelDesc hipGetChannelDesc_fn;
1011 t_hipGetDevice hipGetDevice_fn;
1012 t_hipGetDeviceCount hipGetDeviceCount_fn;
1013 t_hipGetDeviceFlags hipGetDeviceFlags_fn;
1014 t_hipGetDevicePropertiesR0600 hipGetDevicePropertiesR0600_fn;
1015 t_hipGetDevicePropertiesR0000 hipGetDevicePropertiesR0000_fn;
1016 t_hipGetErrorName hipGetErrorName_fn;
1017 t_hipGetErrorString hipGetErrorString_fn;
1018 t_hipGetLastError hipGetLastError_fn;
1019 t_hipGetMipmappedArrayLevel hipGetMipmappedArrayLevel_fn;
1020 t_hipGetSymbolAddress hipGetSymbolAddress_fn;
1021 t_hipGetSymbolSize hipGetSymbolSize_fn;
1022 t_hipGetTextureAlignmentOffset hipGetTextureAlignmentOffset_fn;
1023 t_hipGetTextureObjectResourceDesc hipGetTextureObjectResourceDesc_fn;
1024 t_hipGetTextureObjectResourceViewDesc hipGetTextureObjectResourceViewDesc_fn;
1025 t_hipGetTextureObjectTextureDesc hipGetTextureObjectTextureDesc_fn;
1026 t_hipGetTextureReference hipGetTextureReference_fn;
1027 t_hipGraphAddChildGraphNode hipGraphAddChildGraphNode_fn;
1028 t_hipGraphAddDependencies hipGraphAddDependencies_fn;
1029 t_hipGraphAddEmptyNode hipGraphAddEmptyNode_fn;
1030 t_hipGraphAddEventRecordNode hipGraphAddEventRecordNode_fn;
1031 t_hipGraphAddEventWaitNode hipGraphAddEventWaitNode_fn;
1032 t_hipGraphAddHostNode hipGraphAddHostNode_fn;
1033 t_hipGraphAddKernelNode hipGraphAddKernelNode_fn;
1034 t_hipGraphAddMemAllocNode hipGraphAddMemAllocNode_fn;
1035 t_hipGraphAddMemFreeNode hipGraphAddMemFreeNode_fn;
1036 t_hipGraphAddMemcpyNode hipGraphAddMemcpyNode_fn;
1037 t_hipGraphAddMemcpyNode1D hipGraphAddMemcpyNode1D_fn;
1038 t_hipGraphAddMemcpyNodeFromSymbol hipGraphAddMemcpyNodeFromSymbol_fn;
1039 t_hipGraphAddMemcpyNodeToSymbol hipGraphAddMemcpyNodeToSymbol_fn;
1040 t_hipGraphAddMemsetNode hipGraphAddMemsetNode_fn;
1041 t_hipGraphChildGraphNodeGetGraph hipGraphChildGraphNodeGetGraph_fn;
1042 t_hipGraphClone hipGraphClone_fn;
1043 t_hipGraphCreate hipGraphCreate_fn;
1044 t_hipGraphDebugDotPrint hipGraphDebugDotPrint_fn;
1045 t_hipGraphDestroy hipGraphDestroy_fn;
1046 t_hipGraphDestroyNode hipGraphDestroyNode_fn;
1047 t_hipGraphEventRecordNodeGetEvent hipGraphEventRecordNodeGetEvent_fn;
1048 t_hipGraphEventRecordNodeSetEvent hipGraphEventRecordNodeSetEvent_fn;
1049 t_hipGraphEventWaitNodeGetEvent hipGraphEventWaitNodeGetEvent_fn;
1050 t_hipGraphEventWaitNodeSetEvent hipGraphEventWaitNodeSetEvent_fn;
1051 t_hipGraphExecChildGraphNodeSetParams hipGraphExecChildGraphNodeSetParams_fn;
1052 t_hipGraphExecDestroy hipGraphExecDestroy_fn;
1053 t_hipGraphExecEventRecordNodeSetEvent hipGraphExecEventRecordNodeSetEvent_fn;
1054 t_hipGraphExecEventWaitNodeSetEvent hipGraphExecEventWaitNodeSetEvent_fn;
1055 t_hipGraphExecHostNodeSetParams hipGraphExecHostNodeSetParams_fn;
1056 t_hipGraphExecKernelNodeSetParams hipGraphExecKernelNodeSetParams_fn;
1057 t_hipGraphExecMemcpyNodeSetParams hipGraphExecMemcpyNodeSetParams_fn;
1058 t_hipGraphExecMemcpyNodeSetParams1D hipGraphExecMemcpyNodeSetParams1D_fn;
1059 t_hipGraphExecMemcpyNodeSetParamsFromSymbol hipGraphExecMemcpyNodeSetParamsFromSymbol_fn;
1060 t_hipGraphExecMemcpyNodeSetParamsToSymbol hipGraphExecMemcpyNodeSetParamsToSymbol_fn;
1061 t_hipGraphExecMemsetNodeSetParams hipGraphExecMemsetNodeSetParams_fn;
1062 t_hipGraphExecUpdate hipGraphExecUpdate_fn;
1063 t_hipGraphGetEdges hipGraphGetEdges_fn;
1064 t_hipGraphGetNodes hipGraphGetNodes_fn;
1065 t_hipGraphGetRootNodes hipGraphGetRootNodes_fn;
1066 t_hipGraphHostNodeGetParams hipGraphHostNodeGetParams_fn;
1067 t_hipGraphHostNodeSetParams hipGraphHostNodeSetParams_fn;
1068 t_hipGraphInstantiate hipGraphInstantiate_fn;
1069 t_hipGraphInstantiateWithFlags hipGraphInstantiateWithFlags_fn;
1070 t_hipGraphKernelNodeCopyAttributes hipGraphKernelNodeCopyAttributes_fn;
1071 t_hipGraphKernelNodeGetAttribute hipGraphKernelNodeGetAttribute_fn;
1072 t_hipGraphKernelNodeGetParams hipGraphKernelNodeGetParams_fn;
1073 t_hipGraphKernelNodeSetAttribute hipGraphKernelNodeSetAttribute_fn;
1074 t_hipGraphKernelNodeSetParams hipGraphKernelNodeSetParams_fn;
1075 t_hipGraphLaunch hipGraphLaunch_fn;
1076 t_hipGraphMemAllocNodeGetParams hipGraphMemAllocNodeGetParams_fn;
1077 t_hipGraphMemFreeNodeGetParams hipGraphMemFreeNodeGetParams_fn;
1078 t_hipGraphMemcpyNodeGetParams hipGraphMemcpyNodeGetParams_fn;
1079 t_hipGraphMemcpyNodeSetParams hipGraphMemcpyNodeSetParams_fn;
1080 t_hipGraphMemcpyNodeSetParams1D hipGraphMemcpyNodeSetParams1D_fn;
1081 t_hipGraphMemcpyNodeSetParamsFromSymbol hipGraphMemcpyNodeSetParamsFromSymbol_fn;
1082 t_hipGraphMemcpyNodeSetParamsToSymbol hipGraphMemcpyNodeSetParamsToSymbol_fn;
1083 t_hipGraphMemsetNodeGetParams hipGraphMemsetNodeGetParams_fn;
1084 t_hipGraphMemsetNodeSetParams hipGraphMemsetNodeSetParams_fn;
1085 t_hipGraphNodeFindInClone hipGraphNodeFindInClone_fn;
1086 t_hipGraphNodeGetDependencies hipGraphNodeGetDependencies_fn;
1087 t_hipGraphNodeGetDependentNodes hipGraphNodeGetDependentNodes_fn;
1088 t_hipGraphNodeGetEnabled hipGraphNodeGetEnabled_fn;
1089 t_hipGraphNodeGetType hipGraphNodeGetType_fn;
1090 t_hipGraphNodeSetEnabled hipGraphNodeSetEnabled_fn;
1091 t_hipGraphReleaseUserObject hipGraphReleaseUserObject_fn;
1092 t_hipGraphRemoveDependencies hipGraphRemoveDependencies_fn;
1093 t_hipGraphRetainUserObject hipGraphRetainUserObject_fn;
1094 t_hipGraphUpload hipGraphUpload_fn;
1095 t_hipGraphicsGLRegisterBuffer hipGraphicsGLRegisterBuffer_fn;
1096 t_hipGraphicsGLRegisterImage hipGraphicsGLRegisterImage_fn;
1097 t_hipGraphicsMapResources hipGraphicsMapResources_fn;
1098 t_hipGraphicsResourceGetMappedPointer hipGraphicsResourceGetMappedPointer_fn;
1099 t_hipGraphicsSubResourceGetMappedArray hipGraphicsSubResourceGetMappedArray_fn;
1100 t_hipGraphicsUnmapResources hipGraphicsUnmapResources_fn;
1101 t_hipGraphicsUnregisterResource hipGraphicsUnregisterResource_fn;
1102 t_hipHostAlloc hipHostAlloc_fn;
1103 t_hipHostFree hipHostFree_fn;
1104 t_hipHostGetDevicePointer hipHostGetDevicePointer_fn;
1105 t_hipHostGetFlags hipHostGetFlags_fn;
1106 t_hipHostMalloc hipHostMalloc_fn;
1107 t_hipHostRegister hipHostRegister_fn;
1108 t_hipHostUnregister hipHostUnregister_fn;
1109 t_hipImportExternalMemory hipImportExternalMemory_fn;
1110 t_hipImportExternalSemaphore hipImportExternalSemaphore_fn;
1111 t_hipInit hipInit_fn;
1112 t_hipIpcCloseMemHandle hipIpcCloseMemHandle_fn;
1113 t_hipIpcGetEventHandle hipIpcGetEventHandle_fn;
1114 t_hipIpcGetMemHandle hipIpcGetMemHandle_fn;
1115 t_hipIpcOpenEventHandle hipIpcOpenEventHandle_fn;
1116 t_hipIpcOpenMemHandle hipIpcOpenMemHandle_fn;
1117 t_hipKernelNameRef hipKernelNameRef_fn;
1118 t_hipKernelNameRefByPtr hipKernelNameRefByPtr_fn;
1119 t_hipLaunchByPtr hipLaunchByPtr_fn;
1120 t_hipLaunchCooperativeKernel hipLaunchCooperativeKernel_fn;
1121 t_hipLaunchCooperativeKernelMultiDevice hipLaunchCooperativeKernelMultiDevice_fn;
1122 t_hipLaunchHostFunc hipLaunchHostFunc_fn;
1123 t_hipLaunchKernel hipLaunchKernel_fn;
1124 t_hipMalloc hipMalloc_fn;
1125 t_hipMalloc3D hipMalloc3D_fn;
1126 t_hipMalloc3DArray hipMalloc3DArray_fn;
1127 t_hipMallocArray hipMallocArray_fn;
1128 t_hipMallocAsync hipMallocAsync_fn;
1129 t_hipMallocFromPoolAsync hipMallocFromPoolAsync_fn;
1130 t_hipMallocHost hipMallocHost_fn;
1131 t_hipMallocManaged hipMallocManaged_fn;
1132 t_hipMallocMipmappedArray hipMallocMipmappedArray_fn;
1133 t_hipMallocPitch hipMallocPitch_fn;
1134 t_hipMemAddressFree hipMemAddressFree_fn;
1135 t_hipMemAddressReserve hipMemAddressReserve_fn;
1136 t_hipMemAdvise hipMemAdvise_fn;
1137 t_hipMemAllocHost hipMemAllocHost_fn;
1138 t_hipMemAllocPitch hipMemAllocPitch_fn;
1139 t_hipMemCreate hipMemCreate_fn;
1140 t_hipMemExportToShareableHandle hipMemExportToShareableHandle_fn;
1141 t_hipMemGetAccess hipMemGetAccess_fn;
1142 t_hipMemGetAddressRange hipMemGetAddressRange_fn;
1143 t_hipMemGetAllocationGranularity hipMemGetAllocationGranularity_fn;
1144 t_hipMemGetAllocationPropertiesFromHandle hipMemGetAllocationPropertiesFromHandle_fn;
1145 t_hipMemGetInfo hipMemGetInfo_fn;
1146 t_hipMemImportFromShareableHandle hipMemImportFromShareableHandle_fn;
1147 t_hipMemMap hipMemMap_fn;
1148 t_hipMemMapArrayAsync hipMemMapArrayAsync_fn;
1149 t_hipMemPoolCreate hipMemPoolCreate_fn;
1150 t_hipMemPoolDestroy hipMemPoolDestroy_fn;
1151 t_hipMemPoolExportPointer hipMemPoolExportPointer_fn;
1152 t_hipMemPoolExportToShareableHandle hipMemPoolExportToShareableHandle_fn;
1153 t_hipMemPoolGetAccess hipMemPoolGetAccess_fn;
1154 t_hipMemPoolGetAttribute hipMemPoolGetAttribute_fn;
1155 t_hipMemPoolImportFromShareableHandle hipMemPoolImportFromShareableHandle_fn;
1156 t_hipMemPoolImportPointer hipMemPoolImportPointer_fn;
1157 t_hipMemPoolSetAccess hipMemPoolSetAccess_fn;
1158 t_hipMemPoolSetAttribute hipMemPoolSetAttribute_fn;
1159 t_hipMemPoolTrimTo hipMemPoolTrimTo_fn;
1160 t_hipMemPrefetchAsync hipMemPrefetchAsync_fn;
1161 t_hipMemPtrGetInfo hipMemPtrGetInfo_fn;
1162 t_hipMemRangeGetAttribute hipMemRangeGetAttribute_fn;
1163 t_hipMemRangeGetAttributes hipMemRangeGetAttributes_fn;
1164 t_hipMemRelease hipMemRelease_fn;
1165 t_hipMemRetainAllocationHandle hipMemRetainAllocationHandle_fn;
1166 t_hipMemSetAccess hipMemSetAccess_fn;
1167 t_hipMemUnmap hipMemUnmap_fn;
1168 t_hipMemcpy hipMemcpy_fn;
1169 t_hipMemcpy2D hipMemcpy2D_fn;
1170 t_hipMemcpy2DAsync hipMemcpy2DAsync_fn;
1171 t_hipMemcpy2DFromArray hipMemcpy2DFromArray_fn;
1172 t_hipMemcpy2DFromArrayAsync hipMemcpy2DFromArrayAsync_fn;
1173 t_hipMemcpy2DToArray hipMemcpy2DToArray_fn;
1174 t_hipMemcpy2DToArrayAsync hipMemcpy2DToArrayAsync_fn;
1175 t_hipMemcpy3D hipMemcpy3D_fn;
1176 t_hipMemcpy3DAsync hipMemcpy3DAsync_fn;
1177 t_hipMemcpyAsync hipMemcpyAsync_fn;
1178 t_hipMemcpyAtoH hipMemcpyAtoH_fn;
1179 t_hipMemcpyDtoD hipMemcpyDtoD_fn;
1180 t_hipMemcpyDtoDAsync hipMemcpyDtoDAsync_fn;
1181 t_hipMemcpyDtoH hipMemcpyDtoH_fn;
1182 t_hipMemcpyDtoHAsync hipMemcpyDtoHAsync_fn;
1183 t_hipMemcpyFromArray hipMemcpyFromArray_fn;
1184 t_hipMemcpyFromSymbol hipMemcpyFromSymbol_fn;
1185 t_hipMemcpyFromSymbolAsync hipMemcpyFromSymbolAsync_fn;
1186 t_hipMemcpyHtoA hipMemcpyHtoA_fn;
1187 t_hipMemcpyHtoD hipMemcpyHtoD_fn;
1188 t_hipMemcpyHtoDAsync hipMemcpyHtoDAsync_fn;
1189 t_hipMemcpyParam2D hipMemcpyParam2D_fn;
1190 t_hipMemcpyParam2DAsync hipMemcpyParam2DAsync_fn;
1191 t_hipMemcpyPeer hipMemcpyPeer_fn;
1192 t_hipMemcpyPeerAsync hipMemcpyPeerAsync_fn;
1193 t_hipMemcpyToArray hipMemcpyToArray_fn;
1194 t_hipMemcpyToSymbol hipMemcpyToSymbol_fn;
1195 t_hipMemcpyToSymbolAsync hipMemcpyToSymbolAsync_fn;
1196 t_hipMemcpyWithStream hipMemcpyWithStream_fn;
1197 t_hipMemset hipMemset_fn;
1198 t_hipMemset2D hipMemset2D_fn;
1199 t_hipMemset2DAsync hipMemset2DAsync_fn;
1200 t_hipMemset3D hipMemset3D_fn;
1201 t_hipMemset3DAsync hipMemset3DAsync_fn;
1202 t_hipMemsetAsync hipMemsetAsync_fn;
1203 t_hipMemsetD16 hipMemsetD16_fn;
1204 t_hipMemsetD16Async hipMemsetD16Async_fn;
1205 t_hipMemsetD32 hipMemsetD32_fn;
1206 t_hipMemsetD32Async hipMemsetD32Async_fn;
1207 t_hipMemsetD8 hipMemsetD8_fn;
1208 t_hipMemsetD8Async hipMemsetD8Async_fn;
1209 t_hipMipmappedArrayCreate hipMipmappedArrayCreate_fn;
1210 t_hipMipmappedArrayDestroy hipMipmappedArrayDestroy_fn;
1211 t_hipMipmappedArrayGetLevel hipMipmappedArrayGetLevel_fn;
1212 t_hipModuleGetFunction hipModuleGetFunction_fn;
1213 t_hipModuleGetGlobal hipModuleGetGlobal_fn;
1214 t_hipModuleGetTexRef hipModuleGetTexRef_fn;
1215 t_hipModuleLaunchCooperativeKernel hipModuleLaunchCooperativeKernel_fn;
1216 t_hipModuleLaunchCooperativeKernelMultiDevice hipModuleLaunchCooperativeKernelMultiDevice_fn;
1217 t_hipModuleLaunchKernel hipModuleLaunchKernel_fn;
1218 t_hipModuleLoad hipModuleLoad_fn;
1219 t_hipModuleLoadData hipModuleLoadData_fn;
1220 t_hipModuleLoadDataEx hipModuleLoadDataEx_fn;
1221 t_hipModuleOccupancyMaxActiveBlocksPerMultiprocessor
1222 hipModuleOccupancyMaxActiveBlocksPerMultiprocessor_fn;
1223 t_hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags
1224 hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_fn;
1225 t_hipModuleOccupancyMaxPotentialBlockSize hipModuleOccupancyMaxPotentialBlockSize_fn;
1226 t_hipModuleOccupancyMaxPotentialBlockSizeWithFlags
1227 hipModuleOccupancyMaxPotentialBlockSizeWithFlags_fn;
1228 t_hipModuleUnload hipModuleUnload_fn;
1229 t_hipOccupancyMaxActiveBlocksPerMultiprocessor hipOccupancyMaxActiveBlocksPerMultiprocessor_fn;
1230 t_hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags
1231 hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_fn;
1232 t_hipOccupancyMaxPotentialBlockSize hipOccupancyMaxPotentialBlockSize_fn;
1233 t_hipPeekAtLastError hipPeekAtLastError_fn;
1234 t_hipPointerGetAttribute hipPointerGetAttribute_fn;
1235 t_hipPointerGetAttributes hipPointerGetAttributes_fn;
1236 t_hipPointerSetAttribute hipPointerSetAttribute_fn;
1237 t_hipProfilerStart hipProfilerStart_fn;
1238 t_hipProfilerStop hipProfilerStop_fn;
1239 t_hipRuntimeGetVersion hipRuntimeGetVersion_fn;
1240 t_hipSetDevice hipSetDevice_fn;
1241 t_hipSetDeviceFlags hipSetDeviceFlags_fn;
1242 t_hipSetupArgument hipSetupArgument_fn;
1243 t_hipSignalExternalSemaphoresAsync hipSignalExternalSemaphoresAsync_fn;
1244 t_hipStreamAddCallback hipStreamAddCallback_fn;
1245 t_hipStreamAttachMemAsync hipStreamAttachMemAsync_fn;
1246 t_hipStreamBeginCapture hipStreamBeginCapture_fn;
1247 t_hipStreamCreate hipStreamCreate_fn;
1248 t_hipStreamCreateWithFlags hipStreamCreateWithFlags_fn;
1249 t_hipStreamCreateWithPriority hipStreamCreateWithPriority_fn;
1250 t_hipStreamDestroy hipStreamDestroy_fn;
1251 t_hipStreamEndCapture hipStreamEndCapture_fn;
1252 t_hipStreamGetCaptureInfo hipStreamGetCaptureInfo_fn;
1253 t_hipStreamGetCaptureInfo_v2 hipStreamGetCaptureInfo_v2_fn;
1254 t_hipStreamGetDevice hipStreamGetDevice_fn;
1255 t_hipStreamGetFlags hipStreamGetFlags_fn;
1256 t_hipStreamGetPriority hipStreamGetPriority_fn;
1257 t_hipStreamIsCapturing hipStreamIsCapturing_fn;
1258 t_hipStreamQuery hipStreamQuery_fn;
1259 t_hipStreamSynchronize hipStreamSynchronize_fn;
1260 t_hipStreamUpdateCaptureDependencies hipStreamUpdateCaptureDependencies_fn;
1261 t_hipStreamWaitEvent hipStreamWaitEvent_fn;
1262 t_hipStreamWaitValue32 hipStreamWaitValue32_fn;
1263 t_hipStreamWaitValue64 hipStreamWaitValue64_fn;
1264 t_hipStreamWriteValue32 hipStreamWriteValue32_fn;
1265 t_hipStreamWriteValue64 hipStreamWriteValue64_fn;
1266 t_hipTexObjectCreate hipTexObjectCreate_fn;
1267 t_hipTexObjectDestroy hipTexObjectDestroy_fn;
1268 t_hipTexObjectGetResourceDesc hipTexObjectGetResourceDesc_fn;
1269 t_hipTexObjectGetResourceViewDesc hipTexObjectGetResourceViewDesc_fn;
1270 t_hipTexObjectGetTextureDesc hipTexObjectGetTextureDesc_fn;
1271 t_hipTexRefGetAddress hipTexRefGetAddress_fn;
1272 t_hipTexRefGetAddressMode hipTexRefGetAddressMode_fn;
1273 t_hipTexRefGetFilterMode hipTexRefGetFilterMode_fn;
1274 t_hipTexRefGetFlags hipTexRefGetFlags_fn;
1275 t_hipTexRefGetFormat hipTexRefGetFormat_fn;
1276 t_hipTexRefGetMaxAnisotropy hipTexRefGetMaxAnisotropy_fn;
1277 t_hipTexRefGetMipMappedArray hipTexRefGetMipMappedArray_fn;
1278 t_hipTexRefGetMipmapFilterMode hipTexRefGetMipmapFilterMode_fn;
1279 t_hipTexRefGetMipmapLevelBias hipTexRefGetMipmapLevelBias_fn;
1280 t_hipTexRefGetMipmapLevelClamp hipTexRefGetMipmapLevelClamp_fn;
1281 t_hipTexRefSetAddress hipTexRefSetAddress_fn;
1282 t_hipTexRefSetAddress2D hipTexRefSetAddress2D_fn;
1283 t_hipTexRefSetAddressMode hipTexRefSetAddressMode_fn;
1284 t_hipTexRefSetArray hipTexRefSetArray_fn;
1285 t_hipTexRefSetBorderColor hipTexRefSetBorderColor_fn;
1286 t_hipTexRefSetFilterMode hipTexRefSetFilterMode_fn;
1287 t_hipTexRefSetFlags hipTexRefSetFlags_fn;
1288 t_hipTexRefSetFormat hipTexRefSetFormat_fn;
1289 t_hipTexRefSetMaxAnisotropy hipTexRefSetMaxAnisotropy_fn;
1290 t_hipTexRefSetMipmapFilterMode hipTexRefSetMipmapFilterMode_fn;
1291 t_hipTexRefSetMipmapLevelBias hipTexRefSetMipmapLevelBias_fn;
1292 t_hipTexRefSetMipmapLevelClamp hipTexRefSetMipmapLevelClamp_fn;
1293 t_hipTexRefSetMipmappedArray hipTexRefSetMipmappedArray_fn;
1294 t_hipThreadExchangeStreamCaptureMode hipThreadExchangeStreamCaptureMode_fn;
1295 t_hipUnbindTexture hipUnbindTexture_fn;
1296 t_hipUserObjectCreate hipUserObjectCreate_fn;
1297 t_hipUserObjectRelease hipUserObjectRelease_fn;
1298 t_hipUserObjectRetain hipUserObjectRetain_fn;
1299 t_hipWaitExternalSemaphoresAsync hipWaitExternalSemaphoresAsync_fn;
1300 t_hipCreateChannelDesc hipCreateChannelDesc_fn;
1301 t_hipExtModuleLaunchKernel hipExtModuleLaunchKernel_fn;
1302 t_hipHccModuleLaunchKernel hipHccModuleLaunchKernel_fn;
1303 t_hipMemcpy_spt hipMemcpy_spt_fn;
1304 t_hipMemcpyToSymbol_spt hipMemcpyToSymbol_spt_fn;
1305 t_hipMemcpyFromSymbol_spt hipMemcpyFromSymbol_spt_fn;
1306 t_hipMemcpy2D_spt hipMemcpy2D_spt_fn;
1307 t_hipMemcpy2DFromArray_spt hipMemcpy2DFromArray_spt_fn;
1308 t_hipMemcpy3D_spt hipMemcpy3D_spt_fn;
1309 t_hipMemset_spt hipMemset_spt_fn;
1310 t_hipMemsetAsync_spt hipMemsetAsync_spt_fn;
1311 t_hipMemset2D_spt hipMemset2D_spt_fn;
1312 t_hipMemset2DAsync_spt hipMemset2DAsync_spt_fn;
1313 t_hipMemset3DAsync_spt hipMemset3DAsync_spt_fn;
1314 t_hipMemset3D_spt hipMemset3D_spt_fn;
1315 t_hipMemcpyAsync_spt hipMemcpyAsync_spt_fn;
1316 t_hipMemcpy3DAsync_spt hipMemcpy3DAsync_spt_fn;
1317 t_hipMemcpy2DAsync_spt hipMemcpy2DAsync_spt_fn;
1318 t_hipMemcpyFromSymbolAsync_spt hipMemcpyFromSymbolAsync_spt_fn;
1319 t_hipMemcpyToSymbolAsync_spt hipMemcpyToSymbolAsync_spt_fn;
1320 t_hipMemcpyFromArray_spt hipMemcpyFromArray_spt_fn;
1321 t_hipMemcpy2DToArray_spt hipMemcpy2DToArray_spt_fn;
1322 t_hipMemcpy2DFromArrayAsync_spt hipMemcpy2DFromArrayAsync_spt_fn;
1323 t_hipMemcpy2DToArrayAsync_spt hipMemcpy2DToArrayAsync_spt_fn;
1324 t_hipStreamQuery_spt hipStreamQuery_spt_fn;
1325 t_hipStreamSynchronize_spt hipStreamSynchronize_spt_fn;
1326 t_hipStreamGetPriority_spt hipStreamGetPriority_spt_fn;
1327 t_hipStreamWaitEvent_spt hipStreamWaitEvent_spt_fn;
1328 t_hipStreamGetFlags_spt hipStreamGetFlags_spt_fn;
1329 t_hipStreamAddCallback_spt hipStreamAddCallback_spt_fn;
1330 t_hipEventRecord_spt hipEventRecord_spt_fn;
1331 t_hipLaunchCooperativeKernel_spt hipLaunchCooperativeKernel_spt_fn;
1332 t_hipLaunchKernel_spt hipLaunchKernel_spt_fn;
1333 t_hipGraphLaunch_spt hipGraphLaunch_spt_fn;
1334 t_hipStreamBeginCapture_spt hipStreamBeginCapture_spt_fn;
1335 t_hipStreamEndCapture_spt hipStreamEndCapture_spt_fn;
1336 t_hipStreamIsCapturing_spt hipStreamIsCapturing_spt_fn;
1337 t_hipStreamGetCaptureInfo_spt hipStreamGetCaptureInfo_spt_fn;
1338 t_hipStreamGetCaptureInfo_v2_spt hipStreamGetCaptureInfo_v2_spt_fn;
1339 t_hipLaunchHostFunc_spt hipLaunchHostFunc_spt_fn;
1340 t_hipGetStreamDeviceId hipGetStreamDeviceId_fn;
1341 t_hipDrvGraphAddMemsetNode hipDrvGraphAddMemsetNode_fn;
1342 t_hipGraphAddExternalSemaphoresWaitNode hipGraphAddExternalSemaphoresWaitNode_fn;
1343 t_hipGraphAddExternalSemaphoresSignalNode hipGraphAddExternalSemaphoresSignalNode_fn;
1344 t_hipGraphExternalSemaphoresSignalNodeSetParams hipGraphExternalSemaphoresSignalNodeSetParams_fn;
1345 t_hipGraphExternalSemaphoresWaitNodeSetParams hipGraphExternalSemaphoresWaitNodeSetParams_fn;
1346 t_hipGraphExternalSemaphoresSignalNodeGetParams hipGraphExternalSemaphoresSignalNodeGetParams_fn;
1347 t_hipGraphExternalSemaphoresWaitNodeGetParams hipGraphExternalSemaphoresWaitNodeGetParams_fn;
1348 t_hipGraphExecExternalSemaphoresSignalNodeSetParams hipGraphExecExternalSemaphoresSignalNodeSetParams_fn;
1349 t_hipGraphExecExternalSemaphoresWaitNodeSetParams hipGraphExecExternalSemaphoresWaitNodeSetParams_fn;
1350};
hipGLDeviceList
Definition amd_hip_gl_interop.h:40
unsigned int GLenum
Definition amd_hip_gl_interop.h:52
unsigned int GLuint
Definition amd_hip_gl_interop.h:50
Definition amd_hip_vector_types.h:1872
Definition hip_api_trace.hpp:893
Definition hip_api_trace.hpp:907