Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions bin/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -12747,6 +12747,8 @@ my %hash_HipOnlyUnsupportedFunctions = (
'CU_GRAPH_EXEC_UPDATE_ERROR_ATTRIBUTES_CHANGED' => 1,
'CU_GRAPH_NODE_TYPE_CONDITIONAL' => 1,
'CU_GREEN_CTX_DEFAULT_STREAM' => 1,
'CU_HOST_TASK_BLOCKING' => 1,
'CU_HOST_TASK_SPINWAIT' => 1,
'CU_JIT_BINARY_LOADER_THREAD_COUNT' => 1,
'CU_JIT_CACHE_OPTION_CA' => 1,
'CU_JIT_CACHE_OPTION_CG' => 1,
Expand Down Expand Up @@ -12778,6 +12780,9 @@ my %hash_HipOnlyUnsupportedFunctions = (
'CU_LAUNCH_PARAM_BUFFER_POINTER_AS_INT' => 1,
'CU_LAUNCH_PARAM_BUFFER_SIZE_AS_INT' => 1,
'CU_LAUNCH_PARAM_END_AS_INT' => 1,
'CU_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE' => 1,
'CU_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT' => 1,
'CU_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE' => 1,
'CU_LIBRARY_NUM_OPTIONS' => 1,
'CU_LIMIT_CIG_ENABLED' => 1,
'CU_LIMIT_CIG_SHMEM_FALLBACK_ENABLED' => 1,
Expand Down Expand Up @@ -12825,6 +12830,9 @@ my %hash_HipOnlyUnsupportedFunctions = (
'CU_SHAREDMEM_CARVEOUT_DEFAULT' => 1,
'CU_SHAREDMEM_CARVEOUT_MAX_L1' => 1,
'CU_SHAREDMEM_CARVEOUT_MAX_SHARED' => 1,
'CU_SHARED_MEMORY_MODE_ALLOW_NON_PORTABLE' => 1,
'CU_SHARED_MEMORY_MODE_DEFAULT' => 1,
'CU_SHARED_MEMORY_MODE_REQUIRE_PORTABLE' => 1,
'CU_STREAM_ATOMIC_REDUCTION_OP_ADD' => 1,
'CU_STREAM_ATOMIC_REDUCTION_OP_AND' => 1,
'CU_STREAM_ATOMIC_REDUCTION_OP_OR' => 1,
Expand Down Expand Up @@ -13053,6 +13061,8 @@ my %hash_HipOnlyUnsupportedFunctions = (
'CUgreenCtx' => 1,
'CUgreenCtxCreate_flags' => 1,
'CUgreenCtx_st' => 1,
'CUhostTaskSyncMode' => 1,
'CUhostTaskSyncMode_enum' => 1,
'CUipcMem_flags' => 1,
'CUipcMem_flags_enum' => 1,
'CUjit_cacheMode' => 1,
Expand All @@ -13061,6 +13071,8 @@ my %hash_HipOnlyUnsupportedFunctions = (
'CUjit_fallback_enum' => 1,
'CUjit_target' => 1,
'CUjit_target_enum' => 1,
'CUlaunchAttributePortableClusterMode' => 1,
'CUlaunchAttributePortableClusterMode_enum' => 1,
'CUlibraryHostUniversalFunctionAndDataTable' => 1,
'CUlibraryHostUniversalFunctionAndDataTable_st' => 1,
'CUlogIterator' => 1,
Expand Down Expand Up @@ -13089,6 +13101,8 @@ my %hash_HipOnlyUnsupportedFunctions = (
'CUoccupancy_flags_enum' => 1,
'CUprocessState' => 1,
'CUprocessState_enum' => 1,
'CUsharedMemoryMode' => 1,
'CUsharedMemoryMode_enum' => 1,
'CUshared_carveout' => 1,
'CUshared_carveout_enum' => 1,
'CUstreamAtomicReductionDataType' => 1,
Expand Down
16 changes: 8 additions & 8 deletions docs/building/build-hipify-clang-linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Linux testing

On Linux, the following configurations are tested:

* Ubuntu 22-24: LLVM 13.0.0 - 22.1.2, CUDA 7.0 - 12.9.1, cuDNN 8.0.5 - 9.20.0, cuTensor 1.0.1.0 - 2.6.0.0
* Ubuntu 22-24: LLVM 13.0.0 - 22.1.3, CUDA 7.0 - 12.9.1, cuDNN 8.0.5 - 9.20.0, cuTensor 1.0.1.0 - 2.6.0.0
* Ubuntu 20-21: LLVM 9.0.0 - 20.1.8, CUDA 7.0 - 12.8.1, cuDNN 5.1.10 - 9.20.0, cuTensor 1.0.1.0 - 2.6.0.0
* Ubuntu 16-19: LLVM 8.0.0 - 14.0.6, CUDA 7.0 - 10.2, cuDNN 5.1.10 - 8.0.5
* Ubuntu 14: LLVM 4.0.0 - 7.1.0, CUDA 7.0 - 9.0, cuDNN 5.0.5 - 7.6.5
Expand Down Expand Up @@ -164,7 +164,7 @@ Here's how to build ``hipify-clang`` with testing support on ``Ubuntu 24.04.02``
-DLLVM_EXTERNAL_LIT=$ROOT_DIR/build/bin/llvm-lit \
../hipify

The corresponding successful output is (assuming ROOT_DIR is ``/usr/llvm/22.1.2``):
The corresponding successful output is (assuming ROOT_DIR is ``/usr/llvm/22.1.3``):

.. code-block:: shell

Expand All @@ -186,11 +186,11 @@ The corresponding successful output is (assuming ROOT_DIR is ``/usr/llvm/22.1.2`
-- - Is part of HIP SDK : OFF
-- - Install clang headers : ON
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3")
-- Found LLVM 22.1.2:
-- - CMake module path : /usr/llvm/22.1.2/dist/lib/cmake/llvm
-- - Clang include path : /usr/llvm/22.1.2/dist/include
-- - LLVM Include path : /usr/llvm/22.1.2/dist/include
-- - Binary path : /usr/llvm/22.1.2/dist/bin
-- Found LLVM 22.1.3:
-- - CMake module path : /usr/llvm/22.1.3/dist/lib/cmake/llvm
-- - Clang include path : /usr/llvm/22.1.3/dist/include
-- - LLVM Include path : /usr/llvm/22.1.3/dist/include
-- - Binary path : /usr/llvm/22.1.3/dist/bin
-- Linker detection: GNU ld
-- ---- The below configuring for hipify-clang testing only ----
-- Found Python: /usr/bin/python3.14 (found suitable version "3.14.3", required range is "3.0...3.15") found components: Interpreter
Expand Down Expand Up @@ -227,7 +227,7 @@ The corresponding successful output is:
Running HIPify regression tests
===============================================================
CUDA 12.9.86 - will be used for testing
LLVM 22.1.2 - will be used for testing
LLVM 22.1.3 - will be used for testing
x86_64 - Platform architecture
Linux 6.5.0-15-generic - Platform OS
64 - hipify-clang binary bitness
Expand Down
16 changes: 8 additions & 8 deletions docs/building/build-hipify-clang-windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Tested configurations:
- ``2019.16.11.51, 2022.17.14.14``
- ``4.1.1``
- ``3.13.7``
* - ``21.1.0 - 22.1.2``
* - ``21.1.0 - 22.1.3``
- ``7.0 - 12.9.1``
- ``8.0.5 - 9.20.0``
- ``2019.16.11.54, 2022.17.14.29, 2026.18.4.1``
Expand Down Expand Up @@ -284,7 +284,7 @@ Building with testing support using ``Visual Studio 17 2022`` on ``Windows 11``:
-DLLVM_EXTERNAL_LIT=%ROOT_DIR%/build/Release/bin/llvm-lit.py \
../hipify

The corresponding successful output is (assuming %ROOT_DIR% is ``D:/LLVM/22.1.2``):
The corresponding successful output is (assuming %ROOT_DIR% is ``D:/LLVM/22.1.3``):

.. code-block:: shell

Expand All @@ -306,15 +306,15 @@ The corresponding successful output is (assuming %ROOT_DIR% is ``D:/LLVM/22.1.2`
-- - Test hipify-clang : ON
-- - Is part of HIP SDK : OFF
-- - Install clang headers : ON
-- Found LLVM 22.1.2:
-- - CMake module path : D:/LLVM/22.1.2/dist/lib/cmake/llvm
-- - Clang include path : D:/LLVM/22.1.2/dist/include
-- - LLVM Include path : D:/LLVM/22.1.2/dist/include
-- - Binary path : D:/LLVM/22.1.2/dist/bin
-- Found LLVM 22.1.3:
-- - CMake module path : D:/LLVM/22.1.3/dist/lib/cmake/llvm
-- - Clang include path : D:/LLVM/22.1.3/dist/include
-- - LLVM Include path : D:/LLVM/22.1.3/dist/include
-- - Binary path : D:/LLVM/22.1.3/dist/bin
-- ---- The below configuring for hipify-clang testing only ----
-- Found Python: C:/Users/TT/AppData/Local/Programs/Python/Python314/python.exe (found suitable version "3.14.3", required range is "3.0...3.15") found components: Interpreter
-- Found lit: C:/Users/TT/AppData/Local/Programs/Python/Python314/Scripts/lit.exe
-- Found FileCheck: D:/LLVM/22.1.2/dist/bin/FileCheck.exe
-- Found FileCheck: D:/LLVM/22.1.3/dist/bin/FileCheck.exe
-- Initial CUDA to configure:
-- - CUDA Toolkit path : C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.9
-- - CUDA Samples path : C:/ProgramData/NVIDIA Corporation/CUDA Samples/v12.9
Expand Down
9 changes: 5 additions & 4 deletions docs/how-to/hipify-clang.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Release Dependencies

* `LLVM+Clang <http://releases.llvm.org>`_ version is determined at least partially by
the CUDA version you are using, as shown in the table below. The recommended Clang release
is the latest stable release `22.1.2 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.2>`_,
is the latest stable release `22.1.3 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.3>`_,
or at least version `4.0.0 <http://releases.llvm.org/download.html#4.0.0>`_.

.. list-table::
Expand All @@ -63,7 +63,8 @@ Release Dependencies
`21.1.8 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.8>`_,
`22.1.0 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.0>`_,
`22.1.1 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.1>`_,
`22.1.2 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.2>`_:sup:`1`
`22.1.2 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.2>`_,
`22.1.3 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.3>`_:sup:`1`
- ✅
- ✅
* - `12.8.1 <https://developer.nvidia.com/cuda-12-8-1-download-archive>`_
Expand Down Expand Up @@ -263,7 +264,7 @@ Release Dependencies
In most cases, you can get a suitable version of ``LLVM+Clang`` with your package manager. However, you can also
`download a release archive <http://releases.llvm.org/>`_ and build or install it. In case of multiple versions of ``LLVM`` installed, set
`CMAKE_PREFIX_PATH <https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html>`_ so that
``CMake`` can find the desired version of ``LLVM``. For example, ``-DCMAKE_PREFIX_PATH=D:\LLVM\22.1.2\dist``.
``CMake`` can find the desired version of ``LLVM``. For example, ``-DCMAKE_PREFIX_PATH=D:\LLVM\22.1.3\dist``.

Usage
=====
Expand Down Expand Up @@ -299,7 +300,7 @@ header files used during the hipification process:

.. code:: shell

./hipify-clang square.cu --cuda-path=/usr/local/cuda-12.9 --clang-resource-directory=/usr/llvm/22.1.2/dist/lib/clang/22
./hipify-clang square.cu --cuda-path=/usr/local/cuda-12.9 --clang-resource-directory=/usr/llvm/22.1.3/dist/lib/clang/22

For more information, refer to the `Clang manual for compiling CUDA <https://llvm.org/docs/CompileCudaWithLLVM.html#compiling-cuda-code>`_.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
|`CUDA_HOST_NODE_PARAMS`|10.0| | | |`hipHostNodeParams`|4.3.0| | | | | |
|`CUDA_HOST_NODE_PARAMS_st`|10.0| | | |`hipHostNodeParams`|4.3.0| | | | | |
|`CUDA_HOST_NODE_PARAMS_v1`|11.3| | | |`hipHostNodeParams`|4.3.0| | | | | |
|`CUDA_HOST_NODE_PARAMS_v2`|12.2| | | | | | | | | | |
|`CUDA_HOST_NODE_PARAMS_v2_st`|12.2| | | | | | | | | | |
|`CUDA_HOST_NODE_PARAMS_v2`|12.2| |13.2| | | | | | | | |
|`CUDA_HOST_NODE_PARAMS_v2_st`|12.2| |13.2| | | | | | | | |
|`CUDA_KERNEL_NODE_PARAMS`|10.0| | | |`hipKernelNodeParams`|4.3.0| | | | | |
|`CUDA_KERNEL_NODE_PARAMS_st`|10.0| | | |`hipKernelNodeParams`|4.3.0| | | | | |
|`CUDA_KERNEL_NODE_PARAMS_v1`|11.3| | | |`hipKernelNodeParams`|4.3.0| | | | | |
Expand Down Expand Up @@ -826,6 +826,8 @@
|`CU_GRAPH_NODE_TYPE_WAIT_EVENT`|11.1| | | |`hipGraphNodeTypeWaitEvent`|4.3.0| | | | | |
|`CU_GRAPH_USER_OBJECT_MOVE`|11.3| | | |`hipGraphUserObjectMove`|5.3.0| | | | | |
|`CU_GREEN_CTX_DEFAULT_STREAM`|12.4| | | | | | | | | | |
|`CU_HOST_TASK_BLOCKING`|13.2| | | | | | | | | | |
|`CU_HOST_TASK_SPINWAIT`|13.2| | | | | | | | | | |
|`CU_IPC_HANDLE_SIZE`| | | | |`HIP_IPC_HANDLE_SIZE`|1.6.0| | | | | |
|`CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS`| | | | |`hipIpcMemLazyEnablePeerAccess`|1.6.0| | | | | |
|`CU_JIT_BINARY_LOADER_THREAD_COUNT`|13.1| | | | | | | | | | |
Expand Down Expand Up @@ -911,6 +913,9 @@
|`CU_LAUNCH_PARAM_BUFFER_SIZE_AS_INT`|11.7| | | | | | | | | | |
|`CU_LAUNCH_PARAM_END`| | | | |`HIP_LAUNCH_PARAM_END`|1.6.0| | | | | |
|`CU_LAUNCH_PARAM_END_AS_INT`|11.7| | | | | | | | | | |
|`CU_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE`|13.2| | | | | | | | | | |
|`CU_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT`|13.2| | | | | | | | | | |
|`CU_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE`|13.2| | | | | | | | | | |
|`CU_LIBRARY_BINARY_IS_PRESERVED`|12.0| | | |`hipLibraryBinaryIsPreserved`|7.1.0| | | | | |
|`CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE`|12.0| | | |`hipLibraryHostUniversalFunctionAndDataTable`|7.1.0| | | | | |
|`CU_LIBRARY_NUM_OPTIONS`|12.0| | | | | | | | | | |
Expand Down Expand Up @@ -1088,6 +1093,9 @@
|`CU_SHAREDMEM_CARVEOUT_DEFAULT`|9.0| | | | | | | | | | |
|`CU_SHAREDMEM_CARVEOUT_MAX_L1`|9.0| | | | | | | | | | |
|`CU_SHAREDMEM_CARVEOUT_MAX_SHARED`|9.0| | | | | | | | | | |
|`CU_SHARED_MEMORY_MODE_ALLOW_NON_PORTABLE`|13.2| | | | | | | | | | |
|`CU_SHARED_MEMORY_MODE_DEFAULT`|13.2| | | | | | | | | | |
|`CU_SHARED_MEMORY_MODE_REQUIRE_PORTABLE`|13.2| | | | | | | | | | |
|`CU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE`| | | | |`hipSharedMemBankSizeDefault`|1.6.0| | | | | |
|`CU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE`| | | | |`hipSharedMemBankSizeEightByte`|1.6.0| | | | | |
|`CU_SHARED_MEM_CONFIG_FOUR_BYTE_BANK_SIZE`| | | | |`hipSharedMemBankSizeFourByte`|1.6.0| | | | | |
Expand Down Expand Up @@ -1425,6 +1433,8 @@
|`CUgreenCtxCreate_flags`|12.4| | | | | | | | | | |
|`CUgreenCtx_st`|12.4| | | | | | | | | | |
|`CUhostFn`|10.0| | | |`hipHostFn_t`|4.3.0| | | | | |
|`CUhostTaskSyncMode`|13.2| | | | | | | | | | |
|`CUhostTaskSyncMode_enum`|13.2| | | | | | | | | | |
|`CUipcEventHandle`| | | | |`hipIpcEventHandle_t`|1.6.0| | | | | |
|`CUipcEventHandle_st`| | | | |`hipIpcEventHandle_st`|3.5.0| | | | | |
|`CUipcEventHandle_v1`|11.3| | | |`hipIpcEventHandle_t`|1.6.0| | | | | |
Expand Down Expand Up @@ -1453,6 +1463,8 @@
|`CUlaunchAttribute`|11.8| | | |`hipLaunchAttribute`|7.0.0| | | | | |
|`CUlaunchAttributeID`|11.8| | | |`hipLaunchAttributeID`|6.2.0| | | | | |
|`CUlaunchAttributeID_enum`|11.8| | | |`hipLaunchAttributeID`|6.2.0| | | | | |
|`CUlaunchAttributePortableClusterMode`|13.2| | | | | | | | | | |
|`CUlaunchAttributePortableClusterMode_enum`|13.2| | | | | | | | | | |
|`CUlaunchAttributeValue`|11.8| | | |`hipLaunchAttributeValue`|6.2.0| |7.1.0| | | |
|`CUlaunchAttributeValue_union`|11.8| | | |`hipLaunchAttributeValue`|6.2.0| |7.1.0| | | |
|`CUlaunchAttribute_st`|11.8| | | |`hipLaunchAttribute_st`|7.0.0| | | | | |
Expand Down Expand Up @@ -1570,6 +1582,8 @@
|`CUresourcetype`| | | | |`HIPresourcetype`|3.5.0| | | | | |
|`CUresourcetype_enum`| | | | |`HIPresourcetype_enum`|3.5.0| | | | | |
|`CUresult`| | | | |`hipError_t`|1.5.0| | | | | |
|`CUsharedMemoryMode`|13.2| | | | | | | | | | |
|`CUsharedMemoryMode_enum`|13.2| | | | | | | | | | |
|`CUshared_carveout`|9.0| | | | | | | | | | |
|`CUshared_carveout_enum`|9.0| | | | | | | | | | |
|`CUsharedconfig`| | | | |`hipSharedMemConfig`|1.6.0| | | | | |
Expand Down
50 changes: 50 additions & 0 deletions src/CUDA2HIP_Driver_API_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3187,6 +3187,40 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DRIVER_TYPE_NAME_MAP = [] {
// cudaDevWorkqueueConfigScopeGreenCtxBalanced
m["CU_WORKQUEUE_SCOPE_GREEN_CTX_BALANCED"] = {"HIP_WORKQUEUE_SCOPE_GREEN_CTX_BALANCED", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};

//
m["CUhostTaskSyncMode"] = {"hipHostTaskSyncMode", "", CONV_TYPE, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CUhostTaskSyncMode_enum"] = {"hipHostTaskSyncMode", "", CONV_TYPE, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
// CUhostTaskSyncMode enum values
//
m["CU_HOST_TASK_BLOCKING"] = {"HIP_HOST_TASK_BLOCKING", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CU_HOST_TASK_SPINWAIT"] = {"HIP_HOST_TASK_SPINWAIT", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};

//
m["CUlaunchAttributePortableClusterMode"] = {"hipLaunchAttributePortableClusterMode", "", CONV_TYPE, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CUlaunchAttributePortableClusterMode_enum"] = {"hipLaunchAttributePortableClusterMode", "", CONV_TYPE, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
// CUlaunchAttributePortableClusterMode enum values
//
m["CU_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT"] = {"HIP_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CU_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE"] = {"HIP_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CU_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE"] = {"HIP_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};

//
m["CUsharedMemoryMode"] = {"hipSharedMemoryMode", "", CONV_TYPE, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CUsharedMemoryMode_enum"] = {"hipSharedMemoryMode", "", CONV_TYPE, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
// CUsharedMemoryMode enum values
//
m["CU_SHARED_MEMORY_MODE_DEFAULT"] = {"HIP_SHARED_MEMORY_MODE_DEFAULT", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CU_SHARED_MEMORY_MODE_REQUIRE_PORTABLE"] = {"HIP_SHARED_MEMORY_MODE_REQUIRE_PORTABLE", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};
//
m["CU_SHARED_MEMORY_MODE_ALLOW_NON_PORTABLE"] = {"HIP_SHARED_MEMORY_MODE_ALLOW_NON_PORTABLE", "", CONV_NUMERIC_LITERAL, API_DRIVER, SEC::DATA_TYPES, HIP_UNSUPPORTED};

// 4. Typedefs

// no analogue
Expand Down Expand Up @@ -4516,6 +4550,20 @@ const std::map<llvm::StringRef, cudaAPIversions> CUDA_DRIVER_TYPE_NAME_VER_MAP =
m["CUdevWorkqueueResource"] = {CUDA_131, CUDA_0, CUDA_0 };
m["CU_DEV_SM_RESOURCE_GROUP_PARAMS_st"] = {CUDA_131, CUDA_0, CUDA_0 };
m["CU_DEV_SM_RESOURCE_GROUP_PARAMS"] = {CUDA_131, CUDA_0, CUDA_0 };
m["CUhostTaskSyncMode"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CUhostTaskSyncMode_enum"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_HOST_TASK_BLOCKING"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_HOST_TASK_SPINWAIT"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CUlaunchAttributePortableClusterMode"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CUlaunchAttributePortableClusterMode_enum"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CUsharedMemoryMode"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CUsharedMemoryMode_enum"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_SHARED_MEMORY_MODE_DEFAULT"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_SHARED_MEMORY_MODE_REQUIRE_PORTABLE"] = {CUDA_132, CUDA_0, CUDA_0 };
m["CU_SHARED_MEMORY_MODE_ALLOW_NON_PORTABLE"] = {CUDA_132, CUDA_0, CUDA_0 };

return m;
}();
Expand Down Expand Up @@ -5018,6 +5066,8 @@ const std::map<llvm::StringRef, cudaAPIChangedVersions> CUDA_DRIVER_TYPE_CHANGED
m["CUdevSmResource_st"] = {CUDA_131};
m["CUdevResource_st"] = {CUDA_131};
m["CUstreamBatchMemOpParams_union"] = {CUDA_131};
m["CUDA_HOST_NODE_PARAMS_v2_st"] = {CUDA_132};
m["CUDA_HOST_NODE_PARAMS_v2"] = {CUDA_132};

return m;
}();
Expand Down
1 change: 1 addition & 0 deletions src/Statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ std::string Statistics::getCudaVersion(const cudaVersions &ver) {
case CUDA_129: return "12.9";
case CUDA_130: return "13.0";
case CUDA_131: return "13.1";
case CUDA_132: return "13.2";
case CUDNN_10: return "1.0.0";
case CUDNN_20: return "2.0.0";
case CUDNN_30: return "3.0.0";
Expand Down
3 changes: 2 additions & 1 deletion src/Statistics.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,9 @@ enum cudaVersions {
CUDA_129 = 12090,
CUDA_130 = 13000,
CUDA_131 = 13010,
CUDA_132 = 13020,
CUDA_LATEST = CUDA_129,
CUDA_PARTIALLY_SUPPORTED = CUDA_130,
CUDA_PARTIALLY_SUPPORTED = CUDA_131,
CUDNN_10 = 100,
CUDNN_20 = 200,
CUDNN_30 = 300,
Expand Down
Loading