25#include <rocprofiler-sdk/defines.h>
26#include <rocprofiler-sdk/fwd.h>
28#include <hip/hip_runtime.h>
29#include <hip/hip_runtime_api.h>
30#include <hip/hip_version.h>
32#include <hip/hip_deprecated.h>
34#include <hip/amd_detail/amd_hip_gl_interop.h>
35#include <hip/amd_detail/hip_api_trace.hpp>
39ROCPROFILER_EXTERN_C_INIT
44typedef struct rocprofiler_hip_api_no_args
47} rocprofiler_hip_api_no_args;
49typedef union rocprofiler_hip_api_retval_t
52 rocprofiler_hip_api_retval_t() =
default;
53 ~rocprofiler_hip_api_retval_t() =
default;
56 uint64_t uint64_t_retval;
58 const char* const_charp_retval;
59 hipError_t hipError_t_retval;
60 hipChannelFormatDesc hipChannelFormatDesc_retval;
62} rocprofiler_hip_api_retval_t;
66typedef union rocprofiler_hip_api_args_t
69 rocprofiler_hip_api_args_t() =
default;
70 ~rocprofiler_hip_api_args_t() =
default;
80 } __hipPopCallConfiguration;
87 } __hipPushCallConfiguration;
91 } __hipRegisterFatBinary;
95 const void* hostFunction;
97 const char* deviceName;
98 unsigned int threadLimit;
104 } __hipRegisterFunction;
113 } __hipRegisterManagedVar;
122 } __hipRegisterSurface;
132 } __hipRegisterTexture;
147 } __hipUnregisterFatBinary;
156 const HIP_ARRAY3D_DESCRIPTOR* pAllocateArray;
160 HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor;
162 } hipArray3DGetDescriptor;
166 const HIP_ARRAY_DESCRIPTOR* pAllocateArray;
174 HIP_ARRAY_DESCRIPTOR* pArrayDescriptor;
176 } hipArrayGetDescriptor;
179 hipChannelFormatDesc* desc;
187 const textureReference* tex;
189 const hipChannelFormatDesc* desc;
195 const textureReference* tex;
197 const hipChannelFormatDesc* desc;
204 const textureReference* tex;
205 hipArray_const_t array;
206 const hipChannelFormatDesc* desc;
207 } hipBindTextureToArray;
210 const textureReference* tex;
211 hipMipmappedArray_const_t mipmappedArray;
212 const hipChannelFormatDesc* desc;
213 } hipBindTextureToMipmappedArray;
217 const hipDeviceProp_tR0600* prop;
222 const hipDeviceProp_tR0000* prop;
223 } hipChooseDeviceR0000;
233 hipSurfaceObject_t* pSurfObject;
234 const hipResourceDesc* pResDesc;
235 } hipCreateSurfaceObject;
238 hipTextureObject_t* pTexObject;
239 const hipResourceDesc* pResDesc;
240 const hipTextureDesc* pTexDesc;
241 const struct hipResourceViewDesc* pResViewDesc;
242 } hipCreateTextureObject;
256 } hipCtxDisablePeerAccess;
261 } hipCtxEnablePeerAccess;
269#if ROCPROFILER_SDK_COMPUTE_VERSION(HIP_VERSION_MAJOR, HIP_VERSION_MINOR, 0) >= \
270 ROCPROFILER_SDK_COMPUTE_VERSION(7, 0, 0)
271 unsigned int* apiVersion;
275 } hipCtxGetApiVersion;
278 hipFuncCache_t* cacheConfig;
279 } hipCtxGetCacheConfig;
294 hipSharedMemConfig* pConfig;
295 } hipCtxGetSharedMemConfig;
306 hipFuncCache_t cacheConfig;
307 } hipCtxSetCacheConfig;
314 hipSharedMemConfig config;
315 } hipCtxSetSharedMemConfig;
320 rocprofiler_hip_api_no_args no_args;
324 hipExternalMemory_t extMem;
325 } hipDestroyExternalMemory;
328 hipExternalSemaphore_t extSem;
329 } hipDestroyExternalSemaphore;
332 hipSurfaceObject_t surfaceObject;
333 } hipDestroySurfaceObject;
336 hipTextureObject_t textureObject;
337 } hipDestroyTextureObject;
343 } hipDeviceCanAccessPeer;
349 } hipDeviceComputeCapability;
353 } hipDeviceDisablePeerAccess;
358 } hipDeviceEnablePeerAccess;
367 hipDeviceAttribute_t attr;
369 } hipDeviceGetAttribute;
373 const char* pciBusId;
374 } hipDeviceGetByPCIBusId;
377 hipFuncCache_t* cacheConfig;
378 } hipDeviceGetCacheConfig;
381 hipMemPool_t* mem_pool;
383 } hipDeviceGetDefaultMemPool;
387 hipGraphMemAttributeType attr;
389 } hipDeviceGetGraphMemAttribute;
393 enum hipLimit_t limit;
397 hipMemPool_t* mem_pool;
399 } hipDeviceGetMemPool;
410 hipDeviceP2PAttr attr;
413 } hipDeviceGetP2PAttribute;
420 } hipDeviceGetPCIBusId;
423 hipSharedMemConfig* pConfig;
424 } hipDeviceGetSharedMemConfig;
428 int* greatestPriority;
429 } hipDeviceGetStreamPriorityRange;
438 } hipDeviceGraphMemTrim;
444 } hipDevicePrimaryCtxGetState;
448 } hipDevicePrimaryCtxRelease;
452 } hipDevicePrimaryCtxReset;
457 } hipDevicePrimaryCtxRetain;
462 } hipDevicePrimaryCtxSetFlags;
467 rocprofiler_hip_api_no_args no_args;
471 hipFuncCache_t cacheConfig;
472 } hipDeviceSetCacheConfig;
476 hipGraphMemAttributeType attr;
478 } hipDeviceSetGraphMemAttribute;
481 enum hipLimit_t limit;
487 hipMemPool_t mem_pool;
488 } hipDeviceSetMemPool;
491 hipSharedMemConfig config;
492 } hipDeviceSetSharedMemConfig;
497 rocprofiler_hip_api_no_args no_args;
498 } hipDeviceSynchronize;
507 } hipDriverGetVersion;
511 const char** errorString;
512 } hipDrvGetErrorName;
516 const char** errorString;
517 } hipDrvGetErrorString;
520 hipGraphNode_t* phGraphNode;
522 const hipGraphNode_t* dependencies;
523 size_t numDependencies;
524 const HIP_MEMCPY3D* copyParams;
526 } hipDrvGraphAddMemcpyNode;
529 const hip_Memcpy2D* pCopy;
530 } hipDrvMemcpy2DUnaligned;
533 const HIP_MEMCPY3D* pCopy;
537 const HIP_MEMCPY3D* pCopy;
539 } hipDrvMemcpy3DAsync;
542 unsigned int numAttributes;
543 hipPointer_attribute* attributes;
546 } hipDrvPointerGetAttributes;
555 } hipEventCreateWithFlags;
565 } hipEventElapsedTime;
578 } hipEventSynchronize;
585 } hipExtGetLinkTypeAndHopCount;
588 const void* function_address;
592 size_t sharedMemBytes;
594 hipEvent_t startEvent;
595 hipEvent_t stopEvent;
597 } hipExtLaunchKernel;
600 hipLaunchParams* launchParamsList;
603 } hipExtLaunchMultiKernelMultiDevice;
609 } hipExtMallocWithFlags;
614 const uint32_t* cuMask;
615 } hipExtStreamCreateWithCUMask;
621 } hipExtStreamGetCUMask;
625 hipExternalMemory_t extMem;
626 const hipExternalMemoryBufferDesc* bufferDesc;
627 } hipExternalMemoryGetMappedBuffer;
647 hipMipmappedArray_t mipmappedArray;
648 } hipFreeMipmappedArray;
652 hipFunction_attribute attrib;
654 } hipFuncGetAttribute;
657 struct hipFuncAttributes* attr;
659 } hipFuncGetAttributes;
663 hipFuncAttribute attr;
665 } hipFuncSetAttribute;
669 hipFuncCache_t config;
670 } hipFuncSetCacheConfig;
674 hipSharedMemConfig config;
675 } hipFuncSetSharedMemConfig;
678 unsigned int* pHipDeviceCount;
680 unsigned int hipDeviceCount;
681 hipGLDeviceList deviceList;
685 hipChannelFormatDesc* desc;
686 hipArray_const_t array;
702 hipDeviceProp_tR0600* prop;
704 } hipGetDevicePropertiesR0600;
707 hipDeviceProp_tR0000* prop;
709 } hipGetDevicePropertiesR0000;
712 hipError_t hip_error;
722 rocprofiler_hip_api_no_args no_args;
726 hipArray_t* levelArray;
727 hipMipmappedArray_const_t mipmappedArray;
729 } hipGetMipmappedArrayLevel;
734 } hipGetSymbolAddress;
743 const textureReference* texref;
744 } hipGetTextureAlignmentOffset;
747 hipResourceDesc* pResDesc;
748 hipTextureObject_t textureObject;
749 } hipGetTextureObjectResourceDesc;
752 struct hipResourceViewDesc* pResViewDesc;
753 hipTextureObject_t textureObject;
754 } hipGetTextureObjectResourceViewDesc;
757 hipTextureDesc* pTexDesc;
758 hipTextureObject_t textureObject;
759 } hipGetTextureObjectTextureDesc;
762 const textureReference** texref;
764 } hipGetTextureReference;
767 hipGraphNode_t* pGraphNode;
769 const hipGraphNode_t* pDependencies;
770 size_t numDependencies;
771 hipGraph_t childGraph;
772 } hipGraphAddChildGraphNode;
776 const hipGraphNode_t* from;
777 const hipGraphNode_t* to;
778 size_t numDependencies;
779 } hipGraphAddDependencies;
782 hipGraphNode_t* pGraphNode;
784 const hipGraphNode_t* pDependencies;
785 size_t numDependencies;
786 } hipGraphAddEmptyNode;
789 hipGraphNode_t* pGraphNode;
791 const hipGraphNode_t* pDependencies;
792 size_t numDependencies;
794 } hipGraphAddEventRecordNode;
797 hipGraphNode_t* pGraphNode;
799 const hipGraphNode_t* pDependencies;
800 size_t numDependencies;
802 } hipGraphAddEventWaitNode;
805 hipGraphNode_t* pGraphNode;
807 const hipGraphNode_t* pDependencies;
808 size_t numDependencies;
809 const hipHostNodeParams* pNodeParams;
810 } hipGraphAddHostNode;
813 hipGraphNode_t* pGraphNode;
815 const hipGraphNode_t* pDependencies;
816 size_t numDependencies;
817 const hipKernelNodeParams* pNodeParams;
818 } hipGraphAddKernelNode;
821 hipGraphNode_t* pGraphNode;
823 const hipGraphNode_t* pDependencies;
824 size_t numDependencies;
825 hipMemAllocNodeParams* pNodeParams;
826 } hipGraphAddMemAllocNode;
829 hipGraphNode_t* pGraphNode;
831 const hipGraphNode_t* pDependencies;
832 size_t numDependencies;
834 } hipGraphAddMemFreeNode;
837 hipGraphNode_t* pGraphNode;
839 const hipGraphNode_t* pDependencies;
840 size_t numDependencies;
841 const hipMemcpy3DParms* pCopyParams;
842 } hipGraphAddMemcpyNode;
845 hipGraphNode_t* pGraphNode;
847 const hipGraphNode_t* pDependencies;
848 size_t numDependencies;
853 } hipGraphAddMemcpyNode1D;
856 hipGraphNode_t* pGraphNode;
858 const hipGraphNode_t* pDependencies;
859 size_t numDependencies;
865 } hipGraphAddMemcpyNodeFromSymbol;
868 hipGraphNode_t* pGraphNode;
870 const hipGraphNode_t* pDependencies;
871 size_t numDependencies;
877 } hipGraphAddMemcpyNodeToSymbol;
880 hipGraphNode_t* pGraphNode;
882 const hipGraphNode_t* pDependencies;
883 size_t numDependencies;
884 const hipMemsetParams* pMemsetParams;
885 } hipGraphAddMemsetNode;
890 } hipGraphChildGraphNodeGetGraph;
893 hipGraph_t* pGraphClone;
894 hipGraph_t originalGraph;
906 } hipGraphDebugDotPrint;
914 } hipGraphDestroyNode;
918 hipEvent_t* event_out;
919 } hipGraphEventRecordNodeGetEvent;
924 } hipGraphEventRecordNodeSetEvent;
928 hipEvent_t* event_out;
929 } hipGraphEventWaitNodeGetEvent;
934 } hipGraphEventWaitNodeSetEvent;
937 hipGraphExec_t hGraphExec;
939 hipGraph_t childGraph;
940 } hipGraphExecChildGraphNodeSetParams;
943 hipGraphExec_t graphExec;
944 } hipGraphExecDestroy;
947 hipGraphExec_t hGraphExec;
948 hipGraphNode_t hNode;
950 } hipGraphExecEventRecordNodeSetEvent;
953 hipGraphExec_t hGraphExec;
954 hipGraphNode_t hNode;
956 } hipGraphExecEventWaitNodeSetEvent;
959 hipGraphExec_t hGraphExec;
961 const hipHostNodeParams* pNodeParams;
962 } hipGraphExecHostNodeSetParams;
965 hipGraphExec_t hGraphExec;
967 const hipKernelNodeParams* pNodeParams;
968 } hipGraphExecKernelNodeSetParams;
971 hipGraphExec_t hGraphExec;
973 hipMemcpy3DParms* pNodeParams;
974 } hipGraphExecMemcpyNodeSetParams;
977 hipGraphExec_t hGraphExec;
983 } hipGraphExecMemcpyNodeSetParams1D;
986 hipGraphExec_t hGraphExec;
993 } hipGraphExecMemcpyNodeSetParamsFromSymbol;
996 hipGraphExec_t hGraphExec;
1003 } hipGraphExecMemcpyNodeSetParamsToSymbol;
1006 hipGraphExec_t hGraphExec;
1007 hipGraphNode_t node;
1008 const hipMemsetParams* pNodeParams;
1009 } hipGraphExecMemsetNodeSetParams;
1012 hipGraphExec_t hGraphExec;
1014 hipGraphNode_t* hErrorNode_out;
1015 hipGraphExecUpdateResult* updateResult_out;
1016 } hipGraphExecUpdate;
1020 hipGraphNode_t* from;
1027 hipGraphNode_t* nodes;
1033 hipGraphNode_t* pRootNodes;
1034 size_t* pNumRootNodes;
1035 } hipGraphGetRootNodes;
1038 hipGraphNode_t node;
1039 hipHostNodeParams* pNodeParams;
1040 } hipGraphHostNodeGetParams;
1043 hipGraphNode_t node;
1044 const hipHostNodeParams* pNodeParams;
1045 } hipGraphHostNodeSetParams;
1048 hipGraphExec_t* pGraphExec;
1050 hipGraphNode_t* pErrorNode;
1054 } hipGraphInstantiate;
1057 hipGraphExec_t* pGraphExec;
1059 unsigned long long flags;
1060 } hipGraphInstantiateWithFlags;
1063 hipGraphNode_t hSrc;
1064 hipGraphNode_t hDst;
1065 } hipGraphKernelNodeCopyAttributes;
1068 hipGraphNode_t hNode;
1069 hipKernelNodeAttrID attr;
1070 hipKernelNodeAttrValue* value;
1071 } hipGraphKernelNodeGetAttribute;
1074 hipGraphNode_t node;
1075 hipKernelNodeParams* pNodeParams;
1076 } hipGraphKernelNodeGetParams;
1079 hipGraphNode_t hNode;
1080 hipKernelNodeAttrID attr;
1081 const hipKernelNodeAttrValue* value;
1082 } hipGraphKernelNodeSetAttribute;
1085 hipGraphNode_t node;
1086 const hipKernelNodeParams* pNodeParams;
1087 } hipGraphKernelNodeSetParams;
1090 hipGraphExec_t graphExec;
1095 hipGraphNode_t node;
1096 hipMemAllocNodeParams* pNodeParams;
1097 } hipGraphMemAllocNodeGetParams;
1100 hipGraphNode_t node;
1102 } hipGraphMemFreeNodeGetParams;
1105 hipGraphNode_t node;
1106 hipMemcpy3DParms* pNodeParams;
1107 } hipGraphMemcpyNodeGetParams;
1110 hipGraphNode_t node;
1111 const hipMemcpy3DParms* pNodeParams;
1112 } hipGraphMemcpyNodeSetParams;
1115 hipGraphNode_t node;
1120 } hipGraphMemcpyNodeSetParams1D;
1123 hipGraphNode_t node;
1129 } hipGraphMemcpyNodeSetParamsFromSymbol;
1132 hipGraphNode_t node;
1138 } hipGraphMemcpyNodeSetParamsToSymbol;
1141 hipGraphNode_t node;
1142 hipMemsetParams* pNodeParams;
1143 } hipGraphMemsetNodeGetParams;
1146 hipGraphNode_t node;
1147 const hipMemsetParams* pNodeParams;
1148 } hipGraphMemsetNodeSetParams;
1151 hipGraphNode_t* pNode;
1152 hipGraphNode_t originalNode;
1153 hipGraph_t clonedGraph;
1154 } hipGraphNodeFindInClone;
1157 hipGraphNode_t node;
1158 hipGraphNode_t* pDependencies;
1159 size_t* pNumDependencies;
1160 } hipGraphNodeGetDependencies;
1163 hipGraphNode_t node;
1164 hipGraphNode_t* pDependentNodes;
1165 size_t* pNumDependentNodes;
1166 } hipGraphNodeGetDependentNodes;
1169 hipGraphExec_t hGraphExec;
1170 hipGraphNode_t hNode;
1171 unsigned int* isEnabled;
1172 } hipGraphNodeGetEnabled;
1175 hipGraphNode_t node;
1176 hipGraphNodeType* pType;
1177 } hipGraphNodeGetType;
1180 hipGraphExec_t hGraphExec;
1181 hipGraphNode_t hNode;
1182 unsigned int isEnabled;
1183 } hipGraphNodeSetEnabled;
1187 hipUserObject_t object;
1189 } hipGraphReleaseUserObject;
1193 const hipGraphNode_t* from;
1194 const hipGraphNode_t* to;
1195 size_t numDependencies;
1196 } hipGraphRemoveDependencies;
1200 hipUserObject_t object;
1203 } hipGraphRetainUserObject;
1206 hipGraphExec_t graphExec;
1211 hipGraphicsResource** resource;
1214 } hipGraphicsGLRegisterBuffer;
1217 hipGraphicsResource** resource;
1221 } hipGraphicsGLRegisterImage;
1225 hipGraphicsResource_t* resources;
1227 } hipGraphicsMapResources;
1232 hipGraphicsResource_t resource;
1233 } hipGraphicsResourceGetMappedPointer;
1237 hipGraphicsResource_t resource;
1238 unsigned int arrayIndex;
1239 unsigned int mipLevel;
1240 } hipGraphicsSubResourceGetMappedArray;
1244 hipGraphicsResource_t* resources;
1246 } hipGraphicsUnmapResources;
1249 hipGraphicsResource_t resource;
1250 } hipGraphicsUnregisterResource;
1266 } hipHostGetDevicePointer;
1269 unsigned int* flagsPtr;
1287 } hipHostUnregister;
1290 hipExternalMemory_t* extMem_out;
1291 const hipExternalMemoryHandleDesc* memHandleDesc;
1292 } hipImportExternalMemory;
1295 hipExternalSemaphore_t* extSem_out;
1296 const hipExternalSemaphoreHandleDesc* semHandleDesc;
1297 } hipImportExternalSemaphore;
1305 } hipIpcCloseMemHandle;
1308 hipIpcEventHandle_t* handle;
1310 } hipIpcGetEventHandle;
1313 hipIpcMemHandle_t* handle;
1315 } hipIpcGetMemHandle;
1319 hipIpcEventHandle_t handle;
1320 } hipIpcOpenEventHandle;
1324 hipIpcMemHandle_t handle;
1326 } hipIpcOpenMemHandle;
1333 const void* hostFunction;
1335 } hipKernelNameRefByPtr;
1345 void** kernelParams;
1346 unsigned int sharedMemBytes;
1348 } hipLaunchCooperativeKernel;
1351 hipLaunchParams* launchParamsList;
1354 } hipLaunchCooperativeKernelMultiDevice;
1360 } hipLaunchHostFunc;
1363 const void* function_address;
1367 size_t sharedMemBytes;
1377 hipPitchedPtr* pitchedDevPtr;
1383 const struct hipChannelFormatDesc* desc;
1384 struct hipExtent extent;
1390 const hipChannelFormatDesc* desc;
1405 hipMemPool_t mem_pool;
1407 } hipMallocFromPoolAsync;
1421 hipMipmappedArray_t* mipmappedArray;
1422 const struct hipChannelFormatDesc* desc;
1423 struct hipExtent extent;
1424 unsigned int numLevels;
1426 } hipMallocMipmappedArray;
1438 } hipMemAddressFree;
1445 unsigned long long flags;
1446 } hipMemAddressReserve;
1449 const void* dev_ptr;
1451 hipMemoryAdvise advice;
1461 hipDeviceptr_t* dptr;
1463 size_t widthInBytes;
1465 unsigned int elementSizeBytes;
1469 hipMemGenericAllocationHandle_t* handle;
1471 const hipMemAllocationProp* prop;
1472 unsigned long long flags;
1476 void* shareableHandle;
1477 hipMemGenericAllocationHandle_t handle;
1478 hipMemAllocationHandleType handleType;
1479 unsigned long long flags;
1480 } hipMemExportToShareableHandle;
1483 unsigned long long* flags;
1484 const hipMemLocation* location;
1489 hipDeviceptr_t* pbase;
1491 hipDeviceptr_t dptr;
1492 } hipMemGetAddressRange;
1495 size_t* granularity;
1496 const hipMemAllocationProp* prop;
1497 hipMemAllocationGranularity_flags option;
1498 } hipMemGetAllocationGranularity;
1501 hipMemAllocationProp* prop;
1502 hipMemGenericAllocationHandle_t handle;
1503 } hipMemGetAllocationPropertiesFromHandle;
1511 hipMemGenericAllocationHandle_t* handle;
1513 hipMemAllocationHandleType shHandleType;
1514 } hipMemImportFromShareableHandle;
1520 hipMemGenericAllocationHandle_t handle;
1521 unsigned long long flags;
1525 hipArrayMapInfo* mapInfoList;
1528 } hipMemMapArrayAsync;
1531 hipMemPool_t* mem_pool;
1532 const hipMemPoolProps* pool_props;
1536 hipMemPool_t mem_pool;
1537 } hipMemPoolDestroy;
1540 hipMemPoolPtrExportData* export_data;
1542 } hipMemPoolExportPointer;
1545 void* shared_handle;
1546 hipMemPool_t mem_pool;
1547 hipMemAllocationHandleType handle_type;
1549 } hipMemPoolExportToShareableHandle;
1552 hipMemAccessFlags* flags;
1553 hipMemPool_t mem_pool;
1554 hipMemLocation* location;
1555 } hipMemPoolGetAccess;
1558 hipMemPool_t mem_pool;
1559 hipMemPoolAttr attr;
1561 } hipMemPoolGetAttribute;
1564 hipMemPool_t* mem_pool;
1565 void* shared_handle;
1566 hipMemAllocationHandleType handle_type;
1568 } hipMemPoolImportFromShareableHandle;
1572 hipMemPool_t mem_pool;
1573 hipMemPoolPtrExportData* export_data;
1574 } hipMemPoolImportPointer;
1577 hipMemPool_t mem_pool;
1578 const hipMemAccessDesc* desc_list;
1580 } hipMemPoolSetAccess;
1583 hipMemPool_t mem_pool;
1584 hipMemPoolAttr attr;
1586 } hipMemPoolSetAttribute;
1589 hipMemPool_t mem_pool;
1590 size_t min_bytes_to_hold;
1594 const void* dev_ptr;
1598 } hipMemPrefetchAsync;
1608 hipMemRangeAttribute attribute;
1609 const void* dev_ptr;
1611 } hipMemRangeGetAttribute;
1616 hipMemRangeAttribute* attributes;
1617 size_t num_attributes;
1618 const void* dev_ptr;
1620 } hipMemRangeGetAttributes;
1623 hipMemGenericAllocationHandle_t handle;
1627 hipMemGenericAllocationHandle_t* handle;
1629 } hipMemRetainAllocationHandle;
1634 const hipMemAccessDesc* desc;
1674 hipArray_const_t src;
1680 } hipMemcpy2DFromArray;
1685 hipArray_const_t src;
1692 } hipMemcpy2DFromArrayAsync;
1703 } hipMemcpy2DToArray;
1715 } hipMemcpy2DToArrayAsync;
1718 const struct hipMemcpy3DParms* p;
1722 const struct hipMemcpy3DParms* p;
1736 hipArray_t srcArray;
1752 } hipMemcpyDtoDAsync;
1765 } hipMemcpyDtoHAsync;
1769 hipArray_const_t srcArray;
1774 } hipMemcpyFromArray;
1782 } hipMemcpyFromSymbol;
1791 } hipMemcpyFromSymbolAsync;
1794 hipArray_t dstArray;
1796 const void* srcHost;
1811 } hipMemcpyHtoDAsync;
1814 const hip_Memcpy2D* pCopy;
1818 const hip_Memcpy2D* pCopy;
1820 } hipMemcpyParam2DAsync;
1837 } hipMemcpyPeerAsync;
1854 } hipMemcpyToSymbol;
1863 } hipMemcpyToSymbolAsync;
1871 } hipMemcpyWithStream;
1897 hipPitchedPtr pitchedDevPtr;
1903 hipPitchedPtr pitchedDevPtr;
1917 hipDeviceptr_t dest;
1918 unsigned short value;
1923 hipDeviceptr_t dest;
1924 unsigned short value;
1927 } hipMemsetD16Async;
1930 hipDeviceptr_t dest;
1940 } hipMemsetD32Async;
1943 hipDeviceptr_t dest;
1944 unsigned char value;
1949 hipDeviceptr_t dest;
1950 unsigned char value;
1956 hipMipmappedArray_t* pHandle;
1957 HIP_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc;
1958 unsigned int numMipmapLevels;
1959 } hipMipmappedArrayCreate;
1962 hipMipmappedArray_t hMipmappedArray;
1963 } hipMipmappedArrayDestroy;
1966 hipArray_t* pLevelArray;
1967 hipMipmappedArray_t hMipMappedArray;
1969 } hipMipmappedArrayGetLevel;
1972 hipFunction_t* function;
1975 } hipModuleGetFunction;
1978 hipDeviceptr_t* dptr;
1982 } hipModuleGetGlobal;
1985 textureReference** texRef;
1988 } hipModuleGetTexRef;
1992 unsigned int gridDimX;
1993 unsigned int gridDimY;
1994 unsigned int gridDimZ;
1995 unsigned int blockDimX;
1996 unsigned int blockDimY;
1997 unsigned int blockDimZ;
1998 unsigned int sharedMemBytes;
2000 void** kernelParams;
2001 } hipModuleLaunchCooperativeKernel;
2004 hipFunctionLaunchParams* launchParamsList;
2005 unsigned int numDevices;
2007 } hipModuleLaunchCooperativeKernelMultiDevice;
2011 unsigned int gridDimX;
2012 unsigned int gridDimY;
2013 unsigned int gridDimZ;
2014 unsigned int blockDimX;
2015 unsigned int blockDimY;
2016 unsigned int blockDimZ;
2017 unsigned int sharedMemBytes;
2019 void** kernelParams;
2021 } hipModuleLaunchKernel;
2024 hipModule_t*
module;
2029 hipModule_t*
module;
2031 } hipModuleLoadData;
2034 hipModule_t*
module;
2036 unsigned int numOptions;
2037 hipJitOption* options;
2038 void** optionValues;
2039 } hipModuleLoadDataEx;
2045 size_t dynSharedMemPerBlk;
2046 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessor;
2052 size_t dynSharedMemPerBlk;
2054 } hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
2060 size_t dynSharedMemPerBlk;
2062 } hipModuleOccupancyMaxPotentialBlockSize;
2068 size_t dynSharedMemPerBlk;
2071 } hipModuleOccupancyMaxPotentialBlockSizeWithFlags;
2081 size_t dynSharedMemPerBlk;
2082 } hipOccupancyMaxActiveBlocksPerMultiprocessor;
2088 size_t dynSharedMemPerBlk;
2090 } hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags;
2096 size_t dynSharedMemPerBlk;
2098 } hipOccupancyMaxPotentialBlockSize;
2103 rocprofiler_hip_api_no_args no_args;
2104 } hipPeekAtLastError;
2108 hipPointer_attribute attribute;
2110 } hipPointerGetAttribute;
2113 hipPointerAttribute_t* attributes;
2115 } hipPointerGetAttributes;
2119 hipPointer_attribute attribute;
2121 } hipPointerSetAttribute;
2126 rocprofiler_hip_api_no_args no_args;
2132 rocprofiler_hip_api_no_args no_args;
2136 int* runtimeVersion;
2137 } hipRuntimeGetVersion;
2145 } hipSetDeviceFlags;
2154 const hipExternalSemaphore_t* extSemArray;
2155 const hipExternalSemaphoreSignalParams* paramsArray;
2156 unsigned int numExtSems;
2158 } hipSignalExternalSemaphoresAsync;
2162 hipStreamCallback_t callback;
2165 } hipStreamAddCallback;
2172 } hipStreamAttachMemAsync;
2176 hipStreamCaptureMode mode;
2177 } hipStreamBeginCapture;
2180 hipStream_t* stream;
2184 hipStream_t* stream;
2186 } hipStreamCreateWithFlags;
2189 hipStream_t* stream;
2192 } hipStreamCreateWithPriority;
2201 } hipStreamEndCapture;
2205 hipStreamCaptureStatus* pCaptureStatus;
2206 unsigned long long* pId;
2207 } hipStreamGetCaptureInfo;
2211 hipStreamCaptureStatus* captureStatus_out;
2212 unsigned long long* id_out;
2213 hipGraph_t* graph_out;
2214 const hipGraphNode_t** dependencies_out;
2215 size_t* numDependencies_out;
2216 } hipStreamGetCaptureInfo_v2;
2220 hipDevice_t* device;
2221 } hipStreamGetDevice;
2225 unsigned int* flags;
2226 } hipStreamGetFlags;
2231 } hipStreamGetPriority;
2235 hipStreamCaptureStatus* pCaptureStatus;
2236 } hipStreamIsCapturing;
2244 } hipStreamSynchronize;
2248 hipGraphNode_t* dependencies;
2249 size_t numDependencies;
2251 } hipStreamUpdateCaptureDependencies;
2257 } hipStreamWaitEvent;
2265 } hipStreamWaitValue32;
2273 } hipStreamWaitValue64;
2280 } hipStreamWriteValue32;
2287 } hipStreamWriteValue64;
2290 hipTextureObject_t* pTexObject;
2291 const HIP_RESOURCE_DESC* pResDesc;
2292 const HIP_TEXTURE_DESC* pTexDesc;
2293 const HIP_RESOURCE_VIEW_DESC* pResViewDesc;
2294 } hipTexObjectCreate;
2297 hipTextureObject_t texObject;
2298 } hipTexObjectDestroy;
2301 HIP_RESOURCE_DESC* pResDesc;
2302 hipTextureObject_t texObject;
2303 } hipTexObjectGetResourceDesc;
2306 HIP_RESOURCE_VIEW_DESC* pResViewDesc;
2307 hipTextureObject_t texObject;
2308 } hipTexObjectGetResourceViewDesc;
2311 HIP_TEXTURE_DESC* pTexDesc;
2312 hipTextureObject_t texObject;
2313 } hipTexObjectGetTextureDesc;
2316 hipDeviceptr_t* dev_ptr;
2317 const textureReference* texRef;
2318 } hipTexRefGetAddress;
2321 enum hipTextureAddressMode* pam;
2322 const textureReference* texRef;
2324 } hipTexRefGetAddressMode;
2327 enum hipTextureFilterMode* pfm;
2328 const textureReference* texRef;
2329 } hipTexRefGetFilterMode;
2332 unsigned int* pFlags;
2333 const textureReference* texRef;
2334 } hipTexRefGetFlags;
2337 hipArray_Format* pFormat;
2339 const textureReference* texRef;
2340 } hipTexRefGetFormat;
2344 const textureReference* texRef;
2345 } hipTexRefGetMaxAnisotropy;
2348 hipMipmappedArray_t* pArray;
2349 const textureReference* texRef;
2350 } hipTexRefGetMipMappedArray;
2353 enum hipTextureFilterMode* pfm;
2354 const textureReference* texRef;
2355 } hipTexRefGetMipmapFilterMode;
2359 const textureReference* texRef;
2360 } hipTexRefGetMipmapLevelBias;
2363 float* pminMipmapLevelClamp;
2364 float* pmaxMipmapLevelClamp;
2365 const textureReference* texRef;
2366 } hipTexRefGetMipmapLevelClamp;
2370 textureReference* texRef;
2371 hipDeviceptr_t dptr;
2373 } hipTexRefSetAddress;
2376 textureReference* texRef;
2377 const HIP_ARRAY_DESCRIPTOR* desc;
2378 hipDeviceptr_t dptr;
2380 } hipTexRefSetAddress2D;
2383 textureReference* texRef;
2385 enum hipTextureAddressMode am;
2386 } hipTexRefSetAddressMode;
2389 textureReference* tex;
2390 hipArray_const_t array;
2392 } hipTexRefSetArray;
2395 textureReference* texRef;
2396 float* pBorderColor;
2397 } hipTexRefSetBorderColor;
2400 textureReference* texRef;
2401 enum hipTextureFilterMode fm;
2402 } hipTexRefSetFilterMode;
2405 textureReference* texRef;
2407 } hipTexRefSetFlags;
2410 textureReference* texRef;
2411 hipArray_Format fmt;
2412 int NumPackedComponents;
2413 } hipTexRefSetFormat;
2416 textureReference* texRef;
2417 unsigned int maxAniso;
2418 } hipTexRefSetMaxAnisotropy;
2421 textureReference* texRef;
2422 enum hipTextureFilterMode fm;
2423 } hipTexRefSetMipmapFilterMode;
2426 textureReference* texRef;
2428 } hipTexRefSetMipmapLevelBias;
2431 textureReference* texRef;
2432 float minMipMapLevelClamp;
2433 float maxMipMapLevelClamp;
2434 } hipTexRefSetMipmapLevelClamp;
2437 textureReference* texRef;
2438 struct hipMipmappedArray* mipmappedArray;
2440 } hipTexRefSetMipmappedArray;
2443 hipStreamCaptureMode* mode;
2444 } hipThreadExchangeStreamCaptureMode;
2447 const textureReference* tex;
2451 hipUserObject_t* object_out;
2453 hipHostFn_t destroy;
2454 unsigned int initialRefcount;
2456 } hipUserObjectCreate;
2459 hipUserObject_t object;
2461 } hipUserObjectRelease;
2464 hipUserObject_t object;
2466 } hipUserObjectRetain;
2469 const hipExternalSemaphore_t* extSemArray;
2470 const hipExternalSemaphoreWaitParams* paramsArray;
2471 unsigned int numExtSems;
2473 } hipWaitExternalSemaphoresAsync;
2480 hipChannelFormatKind f;
2481 } hipCreateChannelDesc;
2485 uint32_t globalWorkSizeX;
2486 uint32_t globalWorkSizeY;
2487 uint32_t globalWorkSizeZ;
2488 uint32_t localWorkSizeX;
2489 uint32_t localWorkSizeY;
2490 uint32_t localWorkSizeZ;
2491 size_t sharedMemBytes;
2493 void** kernelParams;
2495 hipEvent_t startEvent;
2496 hipEvent_t stopEvent;
2498 } hipExtModuleLaunchKernel;
2502 uint32_t globalWorkSizeX;
2503 uint32_t globalWorkSizeY;
2504 uint32_t globalWorkSizeZ;
2505 uint32_t localWorkSizeX;
2506 uint32_t localWorkSizeY;
2507 uint32_t localWorkSizeZ;
2508 size_t sharedMemBytes;
2510 void** kernelParams;
2512 hipEvent_t startEvent;
2513 hipEvent_t stopEvent;
2514 } hipHccModuleLaunchKernel;
2529 } hipMemcpyToSymbol_spt;
2537 } hipMemcpyFromSymbol_spt;
2552 hipArray_const_t src;
2558 } hipMemcpy2DFromArray_spt;
2561 const struct hipMemcpy3DParms* p;
2575 } hipMemsetAsync_spt;
2592 } hipMemset2DAsync_spt;
2595 hipPitchedPtr pitchedDevPtr;
2599 } hipMemset3DAsync_spt;
2602 hipPitchedPtr pitchedDevPtr;
2613 } hipMemcpyAsync_spt;
2616 const hipMemcpy3DParms* p;
2618 } hipMemcpy3DAsync_spt;
2629 } hipMemcpy2DAsync_spt;
2638 } hipMemcpyFromSymbolAsync_spt;
2647 } hipMemcpyToSymbolAsync_spt;
2651 hipArray_const_t src;
2656 } hipMemcpyFromArray_spt;
2667 } hipMemcpy2DToArray_spt;
2672 hipArray_const_t src;
2679 } hipMemcpy2DFromArrayAsync_spt;
2691 } hipMemcpy2DToArrayAsync_spt;
2695 } hipStreamQuery_spt;
2699 } hipStreamSynchronize_spt;
2704 } hipStreamGetPriority_spt;
2710 } hipStreamWaitEvent_spt;
2714 unsigned int* flags;
2715 } hipStreamGetFlags_spt;
2719 hipStreamCallback_t callback;
2722 } hipStreamAddCallback_spt;
2727 } hipEventRecord_spt;
2733 void** kernelParams;
2734 uint32_t sharedMemBytes;
2736 } hipLaunchCooperativeKernel_spt;
2739 const void* function_address;
2743 size_t sharedMemBytes;
2745 } hipLaunchKernel_spt;
2748 hipGraphExec_t graphExec;
2750 } hipGraphLaunch_spt;
2754 hipStreamCaptureMode mode;
2755 } hipStreamBeginCapture_spt;
2760 } hipStreamEndCapture_spt;
2764 hipStreamCaptureStatus* pCaptureStatus;
2765 } hipStreamIsCapturing_spt;
2769 hipStreamCaptureStatus* pCaptureStatus;
2770 unsigned long long* pId;
2771 } hipStreamGetCaptureInfo_spt;
2775 hipStreamCaptureStatus* captureStatus_out;
2776 unsigned long long* id_out;
2777 hipGraph_t* graph_out;
2778 const hipGraphNode_t** dependencies_out;
2779 size_t* numDependencies_out;
2780 } hipStreamGetCaptureInfo_v2_spt;
2786 } hipLaunchHostFunc_spt;
2790 } hipGetStreamDeviceId;
2793 hipGraphNode_t* phGraphNode;
2795 const hipGraphNode_t* dependencies;
2796 size_t numDependencies;
2797#if HIP_RUNTIME_API_TABLE_STEP_VERSION < 13
2798 const HIP_MEMSET_NODE_PARAMS* memsetParams;
2800#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 13
2801 const hipMemsetParams* memsetParams;
2804 } hipDrvGraphAddMemsetNode;
2807 hipGraphNode_t* pGraphNode;
2809 const hipGraphNode_t* pDependencies;
2810 size_t numDependencies;
2811 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2812 } hipGraphAddExternalSemaphoresWaitNode;
2815 hipGraphNode_t* pGraphNode;
2817 const hipGraphNode_t* pDependencies;
2818 size_t numDependencies;
2819 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2820 } hipGraphAddExternalSemaphoresSignalNode;
2823 hipGraphNode_t hNode;
2824 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2825 } hipGraphExternalSemaphoresSignalNodeSetParams;
2828 hipGraphNode_t hNode;
2829 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2830 } hipGraphExternalSemaphoresWaitNodeSetParams;
2833 hipGraphNode_t hNode;
2834 hipExternalSemaphoreSignalNodeParams* params_out;
2835 } hipGraphExternalSemaphoresSignalNodeGetParams;
2838 hipGraphNode_t hNode;
2839 hipExternalSemaphoreWaitNodeParams* params_out;
2840 } hipGraphExternalSemaphoresWaitNodeGetParams;
2843 hipGraphExec_t hGraphExec;
2844 hipGraphNode_t hNode;
2845 const hipExternalSemaphoreSignalNodeParams* nodeParams;
2846 } hipGraphExecExternalSemaphoresSignalNodeSetParams;
2849 hipGraphExec_t hGraphExec;
2850 hipGraphNode_t hNode;
2851 const hipExternalSemaphoreWaitNodeParams* nodeParams;
2852 } hipGraphExecExternalSemaphoresWaitNodeSetParams;
2855 hipGraphNode_t* pGraphNode;
2857 const hipGraphNode_t* pDependencies;
2858 size_t numDependencies;
2859 hipGraphNodeParams* nodeParams;
2863 hipGraphExec_t* pGraphExec;
2865 hipGraphInstantiateParams* instantiateParams;
2866 } hipGraphInstantiateWithParams;
2871 rocprofiler_hip_api_no_args no_args;
2872 } hipExtGetLastError;
2875 float* pBorderColor;
2876 const textureReference* texRef;
2877 } hipTexRefGetBorderColor;
2881 const textureReference* texRef;
2882 } hipTexRefGetArray;
2883#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 1
2890 hipDriverProcAddressQueryResult* symbolStatus;
2891 } hipGetProcAddress;
2893#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 2
2898 const hipGraphNode_t* dependencies;
2899 const hipGraphEdgeData* dependencyData;
2900 size_t numDependencies;
2901 hipStreamCaptureMode mode;
2902 } hipStreamBeginCaptureToGraph;
2904#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 3
2907 hipFunction_t* functionPtr;
2908 const void* symbolPtr;
2909 } hipGetFuncBySymbol;
2914 } hipSetValidDevices;
2917 hipDeviceptr_t dstDevice;
2918 hipArray_t srcArray;
2924 hipArray_t dstArray;
2926 hipDeviceptr_t srcDevice;
2931 hipArray_t dstArray;
2933 hipArray_t srcArray;
2940 hipArray_t srcArray;
2944 } hipMemcpyAtoHAsync;
2947 hipArray_t dstArray;
2949 const void* srcHost;
2952 } hipMemcpyHtoAAsync;
2958 hipArray_const_t src;
2964 } hipMemcpy2DArrayToArray;
2966#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 4
2969 hipGraphNode_t* phGraphNode;
2971 const hipGraphNode_t* dependencies;
2972 size_t numDependencies;
2973 hipDeviceptr_t dptr;
2974 } hipDrvGraphAddMemFreeNode;
2977 hipGraphExec_t hGraphExec;
2978 hipGraphNode_t hNode;
2979 const HIP_MEMCPY3D* copyParams;
2981 } hipDrvGraphExecMemcpyNodeSetParams;
2984 hipGraphExec_t hGraphExec;
2985 hipGraphNode_t hNode;
2986# if HIP_RUNTIME_API_TABLE_STEP_VERSION < 13
2987 const HIP_MEMSET_NODE_PARAMS* memsetParams;
2989# if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 13
2990 const hipMemsetParams* memsetParams;
2993 } hipDrvGraphExecMemsetNodeSetParams;
2996 hipGraphExec_t graphExec;
2997 unsigned long long* flags;
2998 } hipGraphExecGetFlags;
3001 hipGraphNode_t node;
3002 hipGraphNodeParams* nodeParams;
3003 } hipGraphNodeSetParams;
3006 hipGraphExec_t graphExec;
3007 hipGraphNode_t node;
3008 hipGraphNodeParams* nodeParams;
3009 } hipGraphExecNodeSetParams;
3012 hipMipmappedArray_t* mipmap;
3013 hipExternalMemory_t extMem;
3014 const hipExternalMemoryMipmappedArrayDesc* mipmapDesc;
3015 } hipExternalMemoryGetMappedMipmappedArray;
3018 hipGraphNode_t hNode;
3019 HIP_MEMCPY3D* nodeParams;
3020 } hipDrvGraphMemcpyNodeGetParams;
3023 hipGraphNode_t hNode;
3024 const HIP_MEMCPY3D* nodeParams;
3025 } hipDrvGraphMemcpyNodeSetParams;
3027#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 5
3035#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 6
3038 size_t* maxWidthInElements;
3039 const hipChannelFormatDesc* fmtDesc;
3041 } hipDeviceGetTexture1DLinearMaxWidth;
3043#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 7
3048 hipStreamBatchMemOpParams* paramArray;
3050 } hipStreamBatchMemOp;
3052#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 8
3055 hipGraphNode_t* phGraphNode;
3057 const hipGraphNode_t* dependencies;
3058 size_t numDependencies;
3059 const hipBatchMemOpNodeParams* nodeParams;
3060 } hipGraphAddBatchMemOpNode;
3063 hipGraphNode_t hNode;
3064 hipBatchMemOpNodeParams* nodeParams_out;
3065 } hipGraphBatchMemOpNodeGetParams;
3068 hipGraphNode_t hNode;
3069 hipBatchMemOpNodeParams* nodeParams;
3070 } hipGraphBatchMemOpNodeSetParams;
3073 hipGraphExec_t hGraphExec;
3074 hipGraphNode_t hNode;
3075 const hipBatchMemOpNodeParams* nodeParams;
3076 } hipGraphExecBatchMemOpNodeSetParams;
3078#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 9
3081 hipLinkState_t state;
3082 hipJitInputType type;
3086 unsigned int numOptions;
3087 hipJitOption* options;
3088 void** optionValues;
3092 hipLinkState_t state;
3093 hipJitInputType type;
3095 unsigned int numOptions;
3096 hipJitOption* options;
3097 void** optionValues;
3101 hipLinkState_t state;
3107 unsigned int numOptions;
3108 hipJitOption* options;
3109 void** optionValues;
3110 hipLinkState_t* stateOut;
3114 hipLinkState_t state;
3117#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 10
3123 } hipEventRecordWithFlags;
3125#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 11
3128 const hipLaunchConfig_t* config;
3131 } hipLaunchKernelExC;
3134 const HIP_LAUNCH_CONFIG* config;
3138 } hipDrvLaunchKernelEx;
3140#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 12
3144 hipDeviceptr_t dptr;
3146 hipMemRangeHandleType handleType;
3147 unsigned long long flags;
3148 } hipMemGetHandleForAddressRange;
3150#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 14
3153 unsigned int* count;
3155 } hipModuleGetFunctionCount;
3160 unsigned char value;
3168 unsigned char value;
3172 } hipMemsetD2D8Async;
3177 unsigned short value;
3185 unsigned short value;
3189 } hipMemsetD2D16Async;
3206 } hipMemsetD2D32Async;
3210 hipLaunchAttributeID attr;
3211 const hipLaunchAttributeValue* value_out;
3212 } hipStreamGetAttribute;
3216 hipLaunchAttributeID attr;
3217 const hipLaunchAttributeValue* value;
3218 } hipStreamSetAttribute;
3221 hipModule_t*
module;
3223 } hipModuleLoadFatBinary;
3230 hipMemcpyAttributes* attrs;
3235 } hipMemcpyBatchAsync;
3239 hipMemcpy3DBatchOp* opList;
3241 unsigned long long flags;
3243 } hipMemcpy3DBatchAsync;
3246 hipMemcpy3DPeerParms* p;
3250 hipMemcpy3DPeerParms* p;
3252 } hipMemcpy3DPeerAsync;
3257 unsigned long long flags;
3258 hipDriverEntryPointQueryResult* driverStatus;
3259 } hipGetDriverEntryPoint;
3264 unsigned long long flags;
3265 hipDriverEntryPointQueryResult* driverStatus;
3266 } hipGetDriverEntryPoint_spt;
3269 const void* dev_ptr;
3271 hipMemLocation location;
3274 } hipMemPrefetchAsync_v2;
3277 const void* dev_ptr;
3279 hipMemoryAdvise advice;
3280 hipMemLocation location;
3285 unsigned long long* streamId;
3288#if HIP_RUNTIME_API_TABLE_STEP_VERSION >= 15
3291 hipLibrary_t* library;
3293 hipJitOption* jitOptions;
3294 void** jitOptionsValues;
3295 unsigned int numJitOptions;
3296 hipLibraryOption* libraryOptions;
3297 void** libraryOptionValues;
3298 unsigned int numLibraryOptions;
3299 } hipLibraryLoadData;
3302 hipLibrary_t* library;
3303 const char* fileName;
3304 hipJitOption* jitOptions;
3305 void** jitOptionsValues;
3306 unsigned int numJitOptions;
3307 hipLibraryOption* libraryOptions;
3308 void** libraryOptionValues;
3309 unsigned int numLibraryOptions;
3310 } hipLibraryLoadFromFile;
3313 hipLibrary_t library;
3317 hipKernel_t* pKernel;
3318 hipLibrary_t library;
3320 } hipLibraryGetKernel;
3323 unsigned int* count;
3324 hipLibrary_t library;
3325 } hipLibraryGetKernelCount;
3327} rocprofiler_hip_api_args_t;
3329ROCPROFILER_EXTERN_C_FINI
Multi-dimensional struct of data used to describe GPU workgroup and grid sizes.