This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

HIP API Support

HIP API Support#

HIPFORT API Reference: HIP API Support
HIP API Support
# API Name Variants
1 hipMalloc C binding
2 hipMallocManaged C binding
3 hipHostMalloc C binding
4 hipFree C binding
5 hipHostFree C binding
1 hipMemcpy C binding
2 hipMemcpyAsync C binding
3 hipMemcpy2D C binding
4 hipMemcpy2DAsync C binding
1 hipGetDeviceProperties C binding
1 hipInit C binding
2 hipDriverGetVersion C binding
3 hipRuntimeGetVersion C binding
4 hipDeviceGet C binding
5 hipDeviceComputeCapability C binding
6 hipDeviceGetName C binding
7 hipDeviceGetP2PAttribute C binding
8 hipDeviceGetPCIBusId C binding
9 hipDeviceGetByPCIBusId C binding
10 hipDeviceTotalMem C binding
11 hipDeviceSynchronize C binding
12 hipDeviceReset C binding
13 hipSetDevice C binding
14 hipGetDevice C binding
15 hipGetDeviceCount C binding
16 hipDeviceGetAttribute C binding
17 hipDeviceSetCacheConfig C binding
18 hipDeviceGetCacheConfig C binding
19 hipDeviceGetLimit C binding
20 hipDeviceGetSharedMemConfig C binding
21 hipGetDeviceFlags C binding
22 hipDeviceSetSharedMemConfig C binding
23 hipSetDeviceFlags C binding
24 hipChooseDevice C binding
25 hipExtGetLinkTypeAndHopCount C binding
26 hipIpcGetMemHandle C binding
27 hipIpcOpenMemHandle C binding
28 hipIpcCloseMemHandle C binding
29 hipIpcGetEventHandle C binding
30 hipIpcOpenEventHandle C binding
31 hipFuncSetAttribute C binding
32 hipFuncSetCacheConfig C binding
33 hipFuncSetSharedMemConfig C binding
34 hipGetLastError C binding
35 hipPeekAtLastError C binding
36 hipStreamCreate C binding
37 hipStreamCreateWithFlags C binding
38 hipStreamCreateWithPriority C binding
39 hipDeviceGetStreamPriorityRange C binding
40 hipStreamDestroy C binding
41 hipStreamQuery C binding
42 hipStreamSynchronize C binding
43 hipStreamWaitEvent C binding
44 hipStreamGetFlags C binding
45 hipStreamGetPriority C binding
46 hipExtStreamCreateWithCUMask C binding
47 hipExtStreamGetCUMask C binding
48 hipStreamAddCallback C binding
49 hipStreamWriteValue32 C binding
50 hipStreamWriteValue64 C binding
51 hipEventCreateWithFlags C binding
52 hipEventCreate C binding
53 hipEventRecord C binding
54 hipEventDestroy C binding
55 hipEventSynchronize C binding
56 hipEventElapsedTime C binding
57 hipEventQuery C binding
58 hipPointerGetAttributes C binding
59 hipPointerGetAttribute C binding
60 hipDrvPointerGetAttributes C binding
61 hipSignalExternalSemaphoresAsync C binding
62 hipWaitExternalSemaphoresAsync C binding
63 hipDestroyExternalSemaphore C binding
64 hipExternalMemoryGetMappedBuffer C binding
65 hipDestroyExternalMemory C binding
66 hipExtMallocWithFlags C binding
67 hipMallocHost C binding
68 hipMemAllocHost C binding
69 hipMemPrefetchAsync C binding
70 hipMemAdvise C binding
71 hipMemRangeGetAttribute C binding
72 hipMemRangeGetAttributes C binding
73 hipStreamAttachMemAsync C binding
74 hipHostAlloc C binding
75 hipMallocPitch C binding
76 hipMemAllocPitch C binding
77 hipFreeHost C binding
78 hipMemcpyWithStream C binding
79 hipMemcpyHtoD C binding
80 hipMemcpyDtoH C binding
81 hipMemcpyDtoD C binding
82 hipMemcpyHtoDAsync C binding
83 hipMemcpyDtoHAsync C binding
84 hipMemcpyDtoDAsync C binding
85 hipModuleGetGlobal C binding
86 hipGetSymbolAddress C binding
87 hipGetSymbolSize C binding
88 hipMemcpyToSymbol C binding
89 hipMemcpyToSymbolAsync C binding
90 hipMemcpyFromSymbol C binding
91 hipMemcpyFromSymbolAsync C binding
92 hipMemset C binding
93 hipMemsetD8 C binding
94 hipMemsetD8Async C binding
95 hipMemsetD16 C binding
96 hipMemsetD16Async C binding
97 hipMemsetD32 C binding
98 hipMemsetAsync C binding
99 hipMemsetD32Async C binding
100 hipMemset2D C binding
101 hipMemset2DAsync C binding
102 hipMemset3D C binding
103 hipMemset3DAsync C binding
104 hipMemGetInfo C binding
105 hipMemPtrGetInfo C binding
106 hipMallocArray C binding
107 hipArrayCreate C binding
108 hipArrayDestroy C binding
109 hipArray3DCreate C binding
110 hipMalloc3D C binding
111 hipFreeArray C binding
112 hipFreeMipmappedArray C binding
113 hipMalloc3DArray C binding
114 hipMallocMipmappedArray C binding
115 hipGetMipmappedArrayLevel C binding
116 hipMemcpyParam2D C binding
117 hipMemcpyParam2DAsync C binding
118 hipMemcpy2DToArray C binding
119 hipMemcpy2DToArrayAsync C binding
120 hipMemcpyToArray C binding
121 hipMemcpyFromArray C binding
122 hipMemcpy2DFromArray C binding
123 hipMemcpy2DFromArrayAsync C binding
124 hipMemcpyAtoH C binding
125 hipMemcpyHtoA C binding
126 hipMemcpy3D C binding
127 hipMemcpy3DAsync C binding
128 hipDrvMemcpy3D C binding
129 hipDrvMemcpy3DAsync C binding
130 hipDeviceCanAccessPeer C binding
131 hipDeviceEnablePeerAccess C binding
132 hipDeviceDisablePeerAccess C binding
133 hipMemGetAddressRange C binding
134 hipMemcpyPeer C binding
135 hipMemcpyPeerAsync C binding
136 hipCtxCreate C binding
137 hipCtxDestroy C binding
138 hipCtxPopCurrent C binding
139 hipCtxPushCurrent C binding
140 hipCtxSetCurrent C binding
141 hipCtxGetCurrent C binding
142 hipCtxGetDevice C binding
143 hipCtxGetApiVersion C binding
144 hipCtxGetCacheConfig C binding
145 hipCtxSetCacheConfig C binding
146 hipCtxSetSharedMemConfig C binding
147 hipCtxGetSharedMemConfig C binding
148 hipCtxSynchronize C binding
149 hipCtxGetFlags C binding
150 hipCtxEnablePeerAccess C binding
151 hipCtxDisablePeerAccess C binding
152 hipDevicePrimaryCtxGetState C binding
153 hipDevicePrimaryCtxRelease C binding
154 hipDevicePrimaryCtxRetain C binding
155 hipDevicePrimaryCtxReset C binding
156 hipDevicePrimaryCtxSetFlags C binding
157 hipModuleLoad C binding
158 hipModuleUnload C binding
159 hipModuleGetFunction C binding
160 hipFuncGetAttributes C binding
161 hipFuncGetAttribute C binding
162 hipModuleGetTexRef C binding
163 hipModuleLoadData C binding
164 hipModuleLoadDataEx C binding
165 hipModuleLaunchKernel C binding
166 hipLaunchCooperativeKernel C binding
167 hipLaunchCooperativeKernelMultiDevice C binding
168 hipExtLaunchMultiKernelMultiDevice C binding
169 hipModuleOccupancyMaxPotentialBlockSize C binding
170 hipModuleOccupancyMaxPotentialBlockSizeWithFlags C binding
171 hipModuleOccupancyMaxActiveBlocksPerMultiprocessor C binding
172 hipOccupancyMaxActiveBlocksPerMultiprocessor C binding
173 hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags C binding
174 hipOccupancyMaxPotentialBlockSize C binding
175 hipProfilerStart C binding
176 hipProfilerStop C binding
177 hipConfigureCall C binding
178 hipSetupArgument C binding
179 hipLaunchByPtr C binding
180 hipLaunchKernel C binding
181 hipDrvMemcpy2DUnaligned C binding
182 hipExtLaunchKernel C binding
183 hipBindTexture C binding
184 hipBindTexture2D C binding
185 hipBindTextureToArray C binding
186 hipGetTextureAlignmentOffset C binding
187 hipUnbindTexture C binding
188 hipTexRefGetAddress C binding
189 hipTexRefGetAddressMode C binding
190 hipTexRefGetFilterMode C binding
191 hipTexRefGetFlags C binding
192 hipTexRefGetFormat C binding
193 hipTexRefGetMaxAnisotropy C binding
194 hipTexRefGetMipmapFilterMode C binding
195 hipTexRefGetMipmapLevelBias C binding
196 hipTexRefGetMipmapLevelClamp C binding
197 hipTexRefGetMipMappedArray C binding
198 hipTexRefSetAddress C binding
199 hipTexRefSetAddress2D C binding
200 hipTexRefSetMaxAnisotropy C binding
201 hipBindTextureToMipmappedArray C binding
202 hipCreateTextureObject C binding
203 hipDestroyTextureObject C binding
204 hipGetChannelDesc C binding
205 hipGetTextureObjectResourceDesc C binding
206 hipGetTextureObjectResourceViewDesc C binding
207 hipGetTextureObjectTextureDesc C binding
208 hipTexRefSetAddressMode C binding
209 hipTexRefSetArray C binding
210 hipTexRefSetFilterMode C binding
211 hipTexRefSetFlags C binding
212 hipTexRefSetFormat C binding
213 hipTexObjectCreate C binding
214 hipTexObjectDestroy C binding
215 hipTexObjectGetResourceDesc C binding
216 hipTexObjectGetResourceViewDesc C binding
217 hipTexObjectGetTextureDesc C binding
218 hipTexRefSetBorderColor C binding
219 hipTexRefSetMipmapFilterMode C binding
220 hipTexRefSetMipmapLevelBias C binding
221 hipTexRefSetMipmapLevelClamp C binding
222 hipTexRefSetMipmappedArray C binding
223 hipMipmappedArrayCreate C binding
224 hipMipmappedArrayDestroy C binding
225 hipMipmappedArrayGetLevel C binding
226 hipRegisterApiCallback C binding
227 hipRemoveApiCallback C binding
228 hipRegisterActivityCallback C binding
229 hipRemoveActivityCallback C binding
230 hipStreamBeginCapture C binding
231 hipStreamEndCapture C binding
232 hipStreamGetCaptureInfo C binding
233 hipStreamGetCaptureInfo_v2 C binding
234 hipStreamIsCapturing C binding
235 hipStreamUpdateCaptureDependencies C binding
236 hipGraphCreate C binding
237 hipGraphDestroy C binding
238 hipGraphAddDependencies C binding
239 hipGraphRemoveDependencies C binding
240 hipGraphGetEdges C binding
241 hipGraphGetNodes C binding
242 hipGraphGetRootNodes C binding
243 hipGraphNodeGetDependencies C binding
244 hipGraphNodeGetDependentNodes C binding
245 hipGraphNodeGetType C binding
246 hipGraphDestroyNode C binding
247 hipGraphClone C binding
248 hipGraphNodeFindInClone C binding
249 hipGraphInstantiate C binding
250 hipGraphInstantiateWithFlags C binding
251 hipGraphLaunch C binding
252 hipGraphExecDestroy C binding
253 hipGraphExecUpdate C binding
254 hipGraphAddKernelNode C binding
255 hipGraphKernelNodeGetParams C binding
256 hipGraphKernelNodeSetParams C binding
257 hipGraphExecKernelNodeSetParams C binding
258 hipGraphAddMemcpyNode C binding
259 hipGraphMemcpyNodeGetParams C binding
260 hipGraphMemcpyNodeSetParams C binding
261 hipGraphExecMemcpyNodeSetParams C binding
262 hipGraphAddMemcpyNode1D C binding
263 hipGraphMemcpyNodeSetParams1D C binding
264 hipGraphExecMemcpyNodeSetParams1D C binding
265 hipGraphAddMemcpyNodeFromSymbol C binding
266 hipGraphMemcpyNodeSetParamsFromSymbol C binding
267 hipGraphExecMemcpyNodeSetParamsFromSymbol C binding
268 hipGraphAddMemcpyNodeToSymbol C binding
269 hipGraphMemcpyNodeSetParamsToSymbol C binding
270 hipGraphExecMemcpyNodeSetParamsToSymbol C binding
271 hipGraphAddMemsetNode C binding
272 hipGraphMemsetNodeGetParams C binding
273 hipGraphMemsetNodeSetParams C binding
274 hipGraphExecMemsetNodeSetParams C binding
275 hipGraphAddHostNode C binding
276 hipGraphHostNodeGetParams C binding
277 hipGraphHostNodeSetParams C binding
278 hipGraphExecHostNodeSetParams C binding
279 hipGraphAddChildGraphNode C binding
280 hipGraphChildGraphNodeGetGraph C binding
281 hipGraphExecChildGraphNodeSetParams C binding
282 hipGraphAddEmptyNode C binding
283 hipGraphAddEventRecordNode C binding
284 hipGraphEventRecordNodeGetEvent C binding
285 hipGraphEventRecordNodeSetEvent C binding
286 hipGraphExecEventRecordNodeSetEvent C binding
287 hipGraphAddEventWaitNode C binding
288 hipGraphEventWaitNodeGetEvent C binding
289 hipGraphEventWaitNodeSetEvent C binding
290 hipGraphExecEventWaitNodeSetEvent C binding