Skip to content

Commit

Permalink
merge amd-mainline into release/rocm-rel-5.5
Browse files Browse the repository at this point in the history
Fixes SWDEV-374885; SWDEV-374886 to sync hipify
with HIP

Change-Id: I6c761005226cb703cb27db1bcb2f162c11a8a092
  • Loading branch information
searlmc1 committed Feb 24, 2023
2 parents d57a7df + f6c1f3d commit 04226b4
Show file tree
Hide file tree
Showing 30 changed files with 986 additions and 336 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,22 @@ After applying all the matchers, the output HIP source is produced.
<td bgcolor="eefaeb"><a href="https://developer.nvidia.com/cuda-11-8-0-download-archive"><b>11.8.0</b></a></td>
<td colspan=2 bgcolor="eefaeb"><font color="green"><b>LATEST STABLE CONFIG</b></font></td>
</tr>
<tr align="center">
<td><a href="https://github.com/llvm/llvm-project">17.0.0git</a></td>
<td><a href="https://developer.nvidia.com/cuda-12-0-0-download-archive">12.0.0</a>****</td>
<td>+</td>
<td>+</td>
</tr>
</tbody>
</table>

`*` `LLVM 3.x` is not supported anymore but might still work.

`**` Download the patch and unpack it into your `LLVM distributive directory`: a few header files will be overwritten; rebuilding of `LLVM` is not needed.
`**` Download the patch and unpack it into your `LLVM distributive directory`: a few header files will be overwritten; rebuilding of `LLVM` is not needed.

`***` Download the patch and unpack it into your `LLVM source directory`: the file `Cuda.cpp` will be overwritten; needs further rebuilding of `LLVM`.

`***` Download the patch and unpack it into your `LLVM source directory`: the file `Cuda.cpp` will be overwritten; needs further rebuilding of `LLVM`.
`****` [CUDA 12.0](https://developer.nvidia.com/cuda-12-0-0-download-archive) is supported experimentally by `hipify-clang` built against the latest [LLVM 17.0.0git](https://github.com/llvm/llvm-project) sources.

In most cases, you can get a suitable version of `LLVM+CLANG` with your package manager.

Expand Down
227 changes: 164 additions & 63 deletions bin/hipify-perl

Large diffs are not rendered by default.

20 changes: 16 additions & 4 deletions doc/markdown/CUDA_Device_API_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,10 @@
|`__hdiv`| | | |`__hdiv`|1.9.0| | | |
|`__heq`| | | |`__heq`|1.6.0| | | |
|`__heq2`| | | |`__heq2`|1.6.0| | | |
|`__heq2_mask`|12.0| | | | | | | |
|`__hequ`| | | |`__hequ`|1.9.0| | | |
|`__hequ2`| | | |`__hequ2`|1.9.0| | | |
|`__hequ2_mask`|12.0| | | | | | | |
|`__hfma`| | | |`__hfma`|1.6.0| | | |
|`__hfma2`| | | |`__hfma2`|1.6.0| | | |
|`__hfma2_relu`|11.0| | | | | | | |
Expand All @@ -239,12 +241,16 @@
|`__hfma_sat`| | | |`__hfma_sat`|1.6.0| | | |
|`__hge`| | | |`__hge`|1.6.0| | | |
|`__hge2`| | | |`__hge2`|1.6.0| | | |
|`__hge2_mask`|12.0| | | | | | | |
|`__hgeu`| | | |`__hgeu`|1.9.0| | | |
|`__hgeu2`| | | |`__hgeu2`|1.9.0| | | |
|`__hgeu2_mask`|12.0| | | | | | | |
|`__hgt`| | | |`__hgt`|1.6.0| | | |
|`__hgt2`| | | |`__hgt2`|1.6.0| | | |
|`__hgt2_mask`|12.0| | | | | | | |
|`__hgtu`| | | |`__hgtu`|1.9.0| | | |
|`__hgtu2`| | | |`__hgtu2`|1.9.0| | | |
|`__hgtu2_mask`|12.0| | | | | | | |
|`__high2bfloat16`|11.0| | | | | | | |
|`__high2bfloat162`|11.0| | | | | | | |
|`__high2float`| | | |`__high2float`|1.6.0| | | |
Expand All @@ -258,20 +264,24 @@
|`__hisnan2`| | | |`__hisnan2`|1.6.0| | | |
|`__hle`| | | |`__hle`|1.6.0| | | |
|`__hle2`| | | |`__hle2`|1.6.0| | | |
|`__hle2_mask`|12.0| | | | | | | |
|`__hleu`| | | |`__hleu`|1.9.0| | | |
|`__hleu2`| | | |`__hleu2`|1.9.0| | | |
|`__hleu2_mask`|12.0| | | | | | | |
|`__hlt`| | | |`__hlt`|1.6.0| | | |
|`__hlt2`| | | |`__hlt2`|1.6.0| | | |
|`__hlt2_mask`|12.0| | | | | | | |
|`__hltu`| | | |`__hltu`|1.9.0| | | |
|`__hltu2`| | | |`__hltu2`|1.9.0| | | |
|`__hmax`|11.0| | | | | | | |
|`__hltu2_mask`|12.0| | | | | | | |
|`__hmax`|11.0| | |`__hmax`|5.5.0| | |5.5.0|
|`__hmax2`|11.0| | | | | | | |
|`__hmax2_nan`|11.0| | | | | | | |
|`__hmax_nan`|11.0| | | | | | | |
|`__hmin`|11.0| | | | | | | |
|`__hmax_nan`|11.0| | |`__hmax_nan`|5.5.0| | |5.5.0|
|`__hmin`|11.0| | |`__hmin`|5.5.0| | |5.5.0|
|`__hmin2`|11.0| | | | | | | |
|`__hmin2_nan`|11.0| | | | | | | |
|`__hmin_nan`|11.0| | | | | | | |
|`__hmin_nan`|11.0| | |`__hmin_nan`|5.5.0| | |5.5.0|
|`__hmul`| | | |`__hmul`|1.6.0| | | |
|`__hmul2`| | | |`__hmul2`|1.6.0| | | |
|`__hmul2_rn`|11.6| | | | | | | |
Expand All @@ -280,10 +290,12 @@
|`__hmul_sat`| | | |`__hmul_sat`|1.6.0| | | |
|`__hne`| | | |`__hne`|1.6.0| | | |
|`__hne2`| | | |`__hne2`|1.6.0| | | |
|`__hne2_mask`|12.0| | | | | | | |
|`__hneg`| | | |`__hneg`|1.6.0| | | |
|`__hneg2`| | | |`__hneg2`|1.6.0| | | |
|`__hneu`| | | |`__hneu`|1.9.0| | | |
|`__hneu2`| | | |`__hneu2`|1.9.0| | | |
|`__hneu2_mask`|12.0| | | | | | | |
|`__hsub`| | | |`__hsub`|1.6.0| | | |
|`__hsub2`| | | |`__hsub2`|1.6.0| | | |
|`__hsub2_rn`|11.6| | | | | | | |
Expand Down
72 changes: 36 additions & 36 deletions doc/markdown/CUDA_Driver_API_functions_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
|`CUDA_EXTERNAL_MEMORY_BUFFER_DESC`|10.0| | |`hipExternalMemoryBufferDesc`|4.3.0| | | |
|`CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st`|10.0| | |`hipExternalMemoryBufferDesc_st`|4.3.0| | | |
|`CUDA_EXTERNAL_MEMORY_BUFFER_DESC_v1`|11.3| | |`hipExternalMemoryBufferDesc`|4.3.0| | | |
|`CUDA_EXTERNAL_MEMORY_DEDICATED`|10.0| | | | | | | |
|`CUDA_EXTERNAL_MEMORY_DEDICATED`|10.0| | |`hipExternalMemoryDedicated`|5.5.0| | |5.5.0|
|`CUDA_EXTERNAL_MEMORY_HANDLE_DESC`|10.0| | |`hipExternalMemoryHandleDesc`|4.3.0| | | |
|`CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st`|10.0| | |`hipExternalMemoryHandleDesc_st`|4.3.0| | | |
|`CUDA_EXTERNAL_MEMORY_HANDLE_DESC_v1`|11.3| | |`hipExternalMemoryHandleDesc`|4.3.0| | | |
Expand Down Expand Up @@ -169,9 +169,9 @@
|`CUDA_KERNEL_NODE_PARAMS_v1`|11.3| | |`hipKernelNodeParams`|4.3.0| | | |
|`CUDA_KERNEL_NODE_PARAMS_v2`|12.0| | | | | | | |
|`CUDA_KERNEL_NODE_PARAMS_v2_st`|12.0| | | | | | | |
|`CUDA_LAUNCH_PARAMS`|9.0| | | | | | | |
|`CUDA_LAUNCH_PARAMS_st`|9.0| | | | | | | |
|`CUDA_LAUNCH_PARAMS_v1`|11.3| | | | | | | |
|`CUDA_LAUNCH_PARAMS`|9.0| | |`hipFunctionLaunchParams`|5.5.0| | |5.5.0|
|`CUDA_LAUNCH_PARAMS_st`|9.0| | |`hipFunctionLaunchParams_t`|5.5.0| | |5.5.0|
|`CUDA_LAUNCH_PARAMS_v1`|11.3| | |`hipFunctionLaunchParams`|5.5.0| | |5.5.0|
|`CUDA_MEMCPY2D`| | | |`hip_Memcpy2D`|1.7.0| | | |
|`CUDA_MEMCPY2D_st`| | | |`hip_Memcpy2D`|1.7.0| | | |
|`CUDA_MEMCPY2D_v1`| | | |`hip_Memcpy2D`|1.7.0| | | |
Expand All @@ -188,8 +188,8 @@
|`CUDA_MEMSET_NODE_PARAMS`|10.0| | |`hipMemsetParams`|4.3.0| | | |
|`CUDA_MEMSET_NODE_PARAMS_st`|10.0| | |`hipMemsetParams`|4.3.0| | | |
|`CUDA_MEMSET_NODE_PARAMS_v1`|11.3| | |`hipMemsetParams`|4.3.0| | | |
|`CUDA_MEM_ALLOC_NODE_PARAMS`|11.4| | | | | | | |
|`CUDA_MEM_ALLOC_NODE_PARAMS_st`|11.4| | | | | | | |
|`CUDA_MEM_ALLOC_NODE_PARAMS`|11.4| | |`hipMemAllocNodeParams`|5.5.0| | |5.5.0|
|`CUDA_MEM_ALLOC_NODE_PARAMS_st`|11.4| | |`hipMemAllocNodeParams`|5.5.0| | |5.5.0|
|`CUDA_NVSCISYNC_ATTR_SIGNAL`|10.2| | | | | | | |
|`CUDA_NVSCISYNC_ATTR_WAIT`|10.2| | | | | | | |
|`CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS`|11.1| | | | | | | |
Expand Down Expand Up @@ -601,20 +601,20 @@
|`CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER`| | | |`hipGraphicsRegisterFlagsTextureGather`|4.4.0| | | |
|`CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD`| | | |`hipGraphicsRegisterFlagsWriteDiscard`|4.4.0| | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_BATCH_MEM_OP_NODE_PARAMS`|11.7| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_EVENT_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_EVENT_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsEventNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_EXTRA_TOPO_INFO`|12.0| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_EXT_SEMAS_SIGNAL_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_EXT_SEMAS_WAIT_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_HANDLES`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_HOST_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_KERNEL_NODE_ATTRIBUTES`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_KERNEL_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_MEMCPY_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_MEMSET_NODE_PARAMS`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_EXT_SEMAS_SIGNAL_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsExtSemasSignalNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_EXT_SEMAS_WAIT_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsExtSemasWaitNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_HANDLES`|11.3| | |`hipGraphDebugDotFlagsHandles`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_HOST_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsHostNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_KERNEL_NODE_ATTRIBUTES`|11.3| | |`hipGraphDebugDotFlagsKernelNodeAttributes`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_KERNEL_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsKernelNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_MEMCPY_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsMemcpyNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_MEMSET_NODE_PARAMS`|11.3| | |`hipGraphDebugDotFlagsMemsetNodeParams`|5.5.0| | |5.5.0|
|`CU_GRAPH_DEBUG_DOT_FLAGS_MEM_ALLOC_NODE_PARAMS`|11.4| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_MEM_FREE_NODE_PARAMS`|11.4| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_RUNTIME_TYPES`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_VERBOSE`|11.3| | | | | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_RUNTIME_TYPES`|11.3| | |`hipGraphDebugDotFlagsRuntimeTypes`| | | | |
|`CU_GRAPH_DEBUG_DOT_FLAGS_VERBOSE`|11.3| | |`hipGraphDebugDotFlagsVerbose`|5.5.0| | |5.5.0|
|`CU_GRAPH_EXEC_UPDATE_ERROR`|10.2| | |`hipGraphExecUpdateError`|4.3.0| | | |
|`CU_GRAPH_EXEC_UPDATE_ERROR_ATTRIBUTES_CHANGED`|11.6| | | | | | | |
|`CU_GRAPH_EXEC_UPDATE_ERROR_FUNCTION_CHANGED`|10.2| | |`hipGraphExecUpdateErrorFunctionChanged`|4.3.0| | | |
Expand All @@ -639,8 +639,8 @@
|`CU_GRAPH_NODE_TYPE_KERNEL`|10.0| | |`hipGraphNodeTypeKernel`|4.3.0| | | |
|`CU_GRAPH_NODE_TYPE_MEMCPY`|10.0| | |`hipGraphNodeTypeMemcpy`|4.3.0| | | |
|`CU_GRAPH_NODE_TYPE_MEMSET`|10.0| | |`hipGraphNodeTypeMemset`|4.3.0| | | |
|`CU_GRAPH_NODE_TYPE_MEM_ALLOC`|11.4| | | | | | | |
|`CU_GRAPH_NODE_TYPE_MEM_FREE`|11.4| | | | | | | |
|`CU_GRAPH_NODE_TYPE_MEM_ALLOC`|11.4| | |`hipGraphNodeTypeMemAlloc`|5.5.0| | |5.5.0|
|`CU_GRAPH_NODE_TYPE_MEM_FREE`|11.4| | |`hipGraphNodeTypeMemFree`|5.5.0| | |5.5.0|
|`CU_GRAPH_NODE_TYPE_WAIT_EVENT`|11.1| | |`hipGraphNodeTypeWaitEvent`|4.3.0| | | |
|`CU_GRAPH_USER_OBJECT_MOVE`|11.3| | |`hipGraphUserObjectMove`|5.3.0| | | |
|`CU_IPC_HANDLE_SIZE`| | | |`HIP_IPC_HANDLE_SIZE`|1.6.0| | | |
Expand Down Expand Up @@ -963,9 +963,9 @@
|`CUaddress_mode`| | | |`HIPaddress_mode`|3.5.0| | | |
|`CUaddress_mode_enum`| | | |`HIPaddress_mode_enum`|3.5.0| | | |
|`CUarray`| | | |`hipArray_t`|1.7.0| | | |
|`CUarrayMapInfo`|11.1| | |`hipArrayMapInfo`| | | | |
|`CUarrayMapInfo_st`|11.1| | |`hipArrayMapInfo`| | | | |
|`CUarrayMapInfo_v1`|11.3| | |`hipArrayMapInfo`| | | | |
|`CUarrayMapInfo`|11.1| | |`hipArrayMapInfo`|5.2.0| | | |
|`CUarrayMapInfo_st`|11.1| | |`hipArrayMapInfo`|5.2.0| | | |
|`CUarrayMapInfo_v1`|11.3| | |`hipArrayMapInfo`|5.2.0| | | |
|`CUarraySparseSubresourceType`|11.1| | |`hipArraySparseSubresourceType`|5.2.0| | | |
|`CUarraySparseSubresourceType_enum`|11.1| | |`hipArraySparseSubresourceType`|5.2.0| | | |
|`CUarray_cubemap_face`| | | | | | | | |
Expand Down Expand Up @@ -1060,8 +1060,8 @@
|`CUfunction_attribute`| | | |`hipFunction_attribute`|2.8.0| | | |
|`CUfunction_attribute_enum`| | | |`hipFunction_attribute`|2.8.0| | | |
|`CUgraph`|10.0| | |`hipGraph_t`|4.3.0| | | |
|`CUgraphDebugDot_flags`|11.3| | | | | | | |
|`CUgraphDebugDot_flags_enum`|11.3| | | | | | | |
|`CUgraphDebugDot_flags`|11.3| | |`hipGraphDebugDotFlags`|5.5.0| | |5.5.0|
|`CUgraphDebugDot_flags_enum`|11.3| | |`hipGraphDebugDotFlags`|5.5.0| | |5.5.0|
|`CUgraphExec`|10.0| | |`hipGraphExec_t`|4.3.0| | | |
|`CUgraphExecUpdateResult`|10.2| | |`hipGraphExecUpdateResult`|4.3.0| | | |
|`CUgraphExecUpdateResultInfo`|12.0| | | | | | | |
Expand Down Expand Up @@ -1455,7 +1455,7 @@
|`cuMemGetHandleForAddressRange`|11.7| | | | | | | |
|`cuMemGetInfo`| | | |`hipMemGetInfo`|1.6.0| | | |
|`cuMemGetInfo_v2`| | | |`hipMemGetInfo`|1.6.0| | | |
|`cuMemHostAlloc`| | | |`hipHostAlloc`| | | | |
|`cuMemHostAlloc`| | | |`hipHostAlloc`|1.6.0| | | |
|`cuMemHostGetDevicePointer`| | | |`hipHostGetDevicePointer`|1.6.0| | | |
|`cuMemHostGetDevicePointer_v2`| | | |`hipHostGetDevicePointer`|1.6.0| | | |
|`cuMemHostGetFlags`| | | |`hipHostGetFlags`|1.6.0| | | |
Expand Down Expand Up @@ -1575,7 +1575,7 @@
|`cuMemRangeGetAttributes`|8.0| | |`hipMemRangeGetAttributes`|3.7.0| | | |
|`cuPointerGetAttribute`| | | |`hipPointerGetAttribute`|5.0.0| | | |
|`cuPointerGetAttributes`| | | |`hipDrvPointerGetAttributes`|5.0.0| | | |
|`cuPointerSetAttribute`| | | | | | | | |
|`cuPointerSetAttribute`| | | |`hipPointerSetAttribute`|5.5.0| | |5.5.0|

## **17. Stream Management**

Expand Down Expand Up @@ -1657,8 +1657,8 @@
|`cuFuncSetAttribute`|9.0| | | | | | | |
|`cuFuncSetCacheConfig`| | | | | | | | |
|`cuFuncSetSharedMemConfig`| | | | | | | | |
|`cuLaunchCooperativeKernel`|9.0| | | | | | | |
|`cuLaunchCooperativeKernelMultiDevice`|9.0|11.3| | | | | | |
|`cuLaunchCooperativeKernel`|9.0| | |`hipModuleLaunchCooperativeKernel`|5.5.0| | |5.5.0|
|`cuLaunchCooperativeKernelMultiDevice`|9.0|11.3| |`hipModuleLaunchCooperativeKernelMultiDevice`|5.5.0| | |5.5.0|
|`cuLaunchHostFunc`|10.0| | |`hipLaunchHostFunc`|5.2.0| | | |
|`cuLaunchKernel`| | | |`hipModuleLaunchKernel`|1.6.0| | | |
|`cuLaunchKernelEx`|11.8| | | | | | | |
Expand Down Expand Up @@ -1695,16 +1695,16 @@
|`cuGraphAddExternalSemaphoresWaitNode`|11.2| | | | | | | |
|`cuGraphAddHostNode`|10.0| | |`hipGraphAddHostNode`|5.0.0| | | |
|`cuGraphAddKernelNode`|10.0| | |`hipGraphAddKernelNode`|4.3.0| | | |
|`cuGraphAddMemAllocNode`|11.4| | | | | | | |
|`cuGraphAddMemFreeNode`|11.4| | | | | | | |
|`cuGraphAddMemAllocNode`|11.4| | |`hipGraphAddMemAllocNode`|5.5.0| | |5.5.0|
|`cuGraphAddMemFreeNode`|11.4| | |`hipGraphAddMemFreeNode`|5.5.0| | |5.5.0|
|`cuGraphAddMemcpyNode`|10.0| | | | | | | |
|`cuGraphAddMemsetNode`|10.0| | | | | | | |
|`cuGraphBatchMemOpNodeGetParams`|11.7| | | | | | | |
|`cuGraphBatchMemOpNodeSetParams`|11.7| | | | | | | |
|`cuGraphChildGraphNodeGetGraph`|10.0| | |`hipGraphChildGraphNodeGetGraph`|5.0.0| | | |
|`cuGraphClone`|10.0| | |`hipGraphClone`|5.0.0| | | |
|`cuGraphCreate`|10.0| | |`hipGraphCreate`|4.3.0| | | |
|`cuGraphDebugDotPrint`|11.3| | | | | | | |
|`cuGraphDebugDotPrint`|11.3| | |`hipGraphDebugDotPrint`|5.5.0| | |5.5.0|
|`cuGraphDestroy`|10.0| | |`hipGraphDestroy`|4.3.0| | | |
|`cuGraphDestroyNode`|10.0| | |`hipGraphDestroyNode`|5.0.0| | | |
|`cuGraphEventRecordNodeGetEvent`|11.1| | |`hipGraphEventRecordNodeGetEvent`|5.0.0| | | |
Expand Down Expand Up @@ -1737,24 +1737,24 @@
|`cuGraphInstantiateWithFlags`|11.4| | |`hipGraphInstantiateWithFlags`|5.0.0| | | |
|`cuGraphInstantiateWithParams`|12.0| | | | | | | |
|`cuGraphInstantiate_v2`|11.0| | |`hipGraphInstantiate`|4.3.0| | | |
|`cuGraphKernelNodeCopyAttributes`|11.0| | | | | | | |
|`cuGraphKernelNodeCopyAttributes`|11.0| | |`hipGraphKernelNodeCopyAttributes`|5.5.0| | |5.5.0|
|`cuGraphKernelNodeGetAttribute`|11.0| | |`hipGraphKernelNodeGetAttribute`|5.2.0| | | |
|`cuGraphKernelNodeGetParams`|10.0| | |`hipGraphKernelNodeGetParams`|4.5.0| | | |
|`cuGraphKernelNodeSetAttribute`|11.0| | |`hipGraphKernelNodeSetAttribute`|5.2.0| | | |
|`cuGraphKernelNodeSetParams`|10.0| | |`hipGraphKernelNodeSetParams`|4.5.0| | | |
|`cuGraphLaunch`|10.0| | |`hipGraphLaunch`|4.3.0| | | |
|`cuGraphMemAllocNodeGetParams`|11.4| | | | | | | |
|`cuGraphMemFreeNodeGetParams`|11.4| | | | | | | |
|`cuGraphMemAllocNodeGetParams`|11.4| | |`hipGraphMemAllocNodeGetParams`|5.5.0| | |5.5.0|
|`cuGraphMemFreeNodeGetParams`|11.4| | |`hipGraphMemFreeNodeGetParams`|5.5.0| | |5.5.0|
|`cuGraphMemcpyNodeGetParams`|10.0| | |`hipGraphMemcpyNodeGetParams`|4.5.0| | | |
|`cuGraphMemcpyNodeSetParams`|10.0| | |`hipGraphMemcpyNodeSetParams`|4.5.0| | | |
|`cuGraphMemsetNodeGetParams`|10.0| | |`hipGraphMemsetNodeGetParams`|4.5.0| | | |
|`cuGraphMemsetNodeSetParams`|10.0| | |`hipGraphMemsetNodeSetParams`|4.5.0| | | |
|`cuGraphNodeFindInClone`|10.0| | |`hipGraphNodeFindInClone`|5.0.0| | | |
|`cuGraphNodeGetDependencies`|10.0| | |`hipGraphNodeGetDependencies`|5.0.0| | | |
|`cuGraphNodeGetDependentNodes`|10.0| | |`hipGraphNodeGetDependentNodes`|5.0.0| | | |
|`cuGraphNodeGetEnabled`|11.6| | | | | | | |
|`cuGraphNodeGetEnabled`|11.6| | |`hipGraphNodeGetEnabled`|5.5.0| | |5.5.0|
|`cuGraphNodeGetType`|10.0| | |`hipGraphNodeGetType`|5.0.0| | | |
|`cuGraphNodeSetEnabled`|11.6| | | | | | | |
|`cuGraphNodeSetEnabled`|11.6| | |`hipGraphNodeSetEnabled`|5.5.0| | |5.5.0|
|`cuGraphReleaseUserObject`|11.3| | |`hipGraphReleaseUserObject`|5.3.0| | | |
|`cuGraphRemoveDependencies`|10.0| | |`hipGraphRemoveDependencies`|5.0.0| | | |
|`cuGraphRetainUserObject`|11.3| | |`hipGraphRetainUserObject`|5.3.0| | | |
Expand Down
8 changes: 6 additions & 2 deletions doc/markdown/CUDA_RTC_API_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@
|`nvrtcGetCUBIN`|11.1| | |`hiprtcGetBitcode`|5.3.0| | | |
|`nvrtcGetCUBINSize`|11.1| | |`hiprtcGetBitcodeSize`|5.3.0| | | |
|`nvrtcGetErrorString`| | | |`hiprtcGetErrorString`|2.6.0| | | |
|`nvrtcGetLTOIR`|12.0| | | | | | | |
|`nvrtcGetLTOIRSize`|12.0| | | | | | | |
|`nvrtcGetLoweredName`|8.0| | |`hiprtcGetLoweredName`|2.6.0| | | |
|`nvrtcGetNVVM`|11.4| | | | | | | |
|`nvrtcGetNVVMSize`|11.4| | | | | | | |
|`nvrtcGetNVVM`|11.4|12.0| | | | | | |
|`nvrtcGetNVVMSize`|11.4|12.0| | | | | | |
|`nvrtcGetNumSupportedArchs`|11.2| | | | | | | |
|`nvrtcGetOptiXIR`|12.0| | | | | | | |
|`nvrtcGetOptiXIRSize`|12.0| | | | | | | |
|`nvrtcGetPTX`| | | |`hiprtcGetCode`|2.6.0| | | |
|`nvrtcGetPTXSize`| | | |`hiprtcGetCodeSize`|2.6.0| | | |
|`nvrtcGetProgramLog`| | | |`hiprtcGetProgramLog`|2.6.0| | | |
Expand Down
Loading

0 comments on commit 04226b4

Please sign in to comment.