Skip to content

Commit bb3f931

Browse files
authored
Merge pull request #2136 from emankov/amd-develop
[HIPIFY][doc] `LLVM 21.1.3` is the latest stable supported versions
2 parents 5a89c07 + 9febceb commit bb3f931

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

docs/building/build-hipify-clang-linux.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Linux testing
134134

135135
On Linux, the following configurations are tested:
136136

137-
* Ubuntu 22-24: LLVM 13.0.0 - 21.1.2, CUDA 7.0 - 12.9.1, cuDNN 8.0.5 - 9.13.1, cuTensor 1.0.1.0 - 2.3.1.0
137+
* Ubuntu 22-24: LLVM 13.0.0 - 21.1.3, CUDA 7.0 - 12.9.1, cuDNN 8.0.5 - 9.13.1, cuTensor 1.0.1.0 - 2.3.1.0
138138
* Ubuntu 20-21: LLVM 9.0.0 - 20.1.8, CUDA 7.0 - 12.8.1, cuDNN 5.1.10 - 9.13.1, cuTensor 1.0.1.0 - 2.3.1.0
139139
* Ubuntu 16-19: LLVM 8.0.0 - 14.0.6, CUDA 7.0 - 10.2, cuDNN 5.1.10 - 8.0.5
140140
* Ubuntu 14: LLVM 4.0.0 - 7.1.0, CUDA 7.0 - 9.0, cuDNN 5.0.5 - 7.6.5
@@ -164,7 +164,7 @@ Here's how to build ``hipify-clang`` with testing support on ``Ubuntu 24.04.02``
164164
-DLLVM_EXTERNAL_LIT=$ROOT_DIR/build/bin/llvm-lit \
165165
../hipify
166166
167-
The corresponding successful output is (assuming ROOT_DIR is ``/usr/llvm/21.1.2``):
167+
The corresponding successful output is (assuming ROOT_DIR is ``/usr/llvm/21.1.3``):
168168

169169
.. code-block:: shell
170170
@@ -186,11 +186,11 @@ The corresponding successful output is (assuming ROOT_DIR is ``/usr/llvm/21.1.2`
186186
-- - Is part of HIP SDK : OFF
187187
-- - Install clang headers : ON
188188
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3")
189-
-- Found LLVM 21.1.2:
190-
-- - CMake module path : /usr/llvm/21.1.2/dist/lib/cmake/llvm
191-
-- - Clang include path : /usr/llvm/21.1.2/dist/include
192-
-- - LLVM Include path : /usr/llvm/21.1.2/dist/include
193-
-- - Binary path : /usr/llvm/21.1.2/dist/bin
189+
-- Found LLVM 21.1.3:
190+
-- - CMake module path : /usr/llvm/21.1.3/dist/lib/cmake/llvm
191+
-- - Clang include path : /usr/llvm/21.1.3/dist/include
192+
-- - LLVM Include path : /usr/llvm/21.1.3/dist/include
193+
-- - Binary path : /usr/llvm/21.1.3/dist/bin
194194
-- Linker detection: GNU ld
195195
-- ---- The below configuring for hipify-clang testing only ----
196196
-- Found Python: /usr/bin/python3.13 (found suitable version "3.13.7", required range is "3.0...3.14") found components: Interpreter
@@ -227,7 +227,7 @@ The corresponding successful output is:
227227
Running HIPify regression tests
228228
===============================================================
229229
CUDA 12.9.86 - will be used for testing
230-
LLVM 21.1.2 - will be used for testing
230+
LLVM 21.1.3 - will be used for testing
231231
x86_64 - Platform architecture
232232
Linux 6.5.0-15-generic - Platform OS
233233
64 - hipify-clang binary bitness

docs/building/build-hipify-clang-windows.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Tested configurations:
230230
- ``2019.16.11.51, 2022.17.14.14``
231231
- ``4.1.1``
232232
- ``3.13.7``
233-
* - ``21.1.0 - 21.1.2``
233+
* - ``21.1.0 - 21.1.3``
234234
- ``7.0 - 12.9.1``
235235
- ``8.0.5 - 9.13.1``
236236
- ``2019.16.11.51, 2022.17.14.14``
@@ -268,7 +268,7 @@ Building with testing support using ``Visual Studio 17 2022`` on ``Windows 11``:
268268
-DLLVM_EXTERNAL_LIT=%ROOT_DIR%/build/Release/bin/llvm-lit.py \
269269
../hipify
270270
271-
The corresponding successful output is (assuming %ROOT_DIR% is ``D:/LLVM/21.1.2``):
271+
The corresponding successful output is (assuming %ROOT_DIR% is ``D:/LLVM/21.1.3``):
272272

273273
.. code-block:: shell
274274
@@ -289,15 +289,15 @@ The corresponding successful output is (assuming %ROOT_DIR% is ``D:/LLVM/21.1.2`
289289
-- - Test hipify-clang : ON
290290
-- - Is part of HIP SDK : OFF
291291
-- - Install clang headers : ON
292-
-- Found LLVM 21.1.2:
293-
-- - CMake module path : D:/LLVM/21.1.2/dist/lib/cmake/llvm
294-
-- - Clang include path : D:/LLVM/21.1.2/dist/include
295-
-- - LLVM Include path : D:/LLVM/21.1.2/dist/include
296-
-- - Binary path : D:/LLVM/21.1.2/dist/bin
292+
-- Found LLVM 21.1.3:
293+
-- - CMake module path : D:/LLVM/21.1.3/dist/lib/cmake/llvm
294+
-- - Clang include path : D:/LLVM/21.1.3/dist/include
295+
-- - LLVM Include path : D:/LLVM/21.1.3/dist/include
296+
-- - Binary path : D:/LLVM/21.1.3/dist/bin
297297
-- ---- The below configuring for hipify-clang testing only ----
298298
-- Found Python: C:/Users/TT/AppData/Local/Programs/Python/Python313/python.exe (found suitable version "3.13.6", required range is "3.0...3.14") found components: Interpreter
299299
-- Found lit: C:/Users/TT/AppData/Local/Programs/Python/Python313/Scripts/lit.exe
300-
-- Found FileCheck: D:/LLVM/21.1.2/dist/bin/FileCheck.exe
300+
-- Found FileCheck: D:/LLVM/21.1.3/dist/bin/FileCheck.exe
301301
-- Initial CUDA to configure:
302302
-- - CUDA Toolkit path : C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.9
303303
-- - CUDA Samples path : C:/ProgramData/NVIDIA Corporation/CUDA Samples/v12.9

docs/how-to/hipify-clang.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Release Dependencies
4242

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

4848
.. list-table::
@@ -54,7 +54,8 @@ Release Dependencies
5454
* - `12.9.1 <https://developer.nvidia.com/cuda-12-9-1-download-archive>`_:sup:`1`
5555
- `21.1.0 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.0>`_,
5656
`21.1.1 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.1>`_,
57-
`21.1.2 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.2>`_:sup:`1`
57+
`21.1.2 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.2>`_,
58+
`21.1.3 <https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.3>`_:sup:`1`
5859
- ✅
5960
- ✅
6061
* - `12.8.1 <https://developer.nvidia.com/cuda-12-8-1-download-archive>`_
@@ -254,7 +255,7 @@ Release Dependencies
254255
In most cases, you can get a suitable version of ``LLVM+Clang`` with your package manager. However, you can also
255256
`download a release archive <http://releases.llvm.org/>`_ and build or install it. In case of multiple versions of ``LLVM`` installed, set
256257
`CMAKE_PREFIX_PATH <https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html>`_ so that
257-
``CMake`` can find the desired version of ``LLVM``. For example, ``-DCMAKE_PREFIX_PATH=D:\LLVM\21.1.2\dist``.
258+
``CMake`` can find the desired version of ``LLVM``. For example, ``-DCMAKE_PREFIX_PATH=D:\LLVM\21.1.3\dist``.
258259

259260
Usage
260261
=====
@@ -290,7 +291,7 @@ header files used during the hipification process:
290291

291292
.. code:: shell
292293
293-
./hipify-clang square.cu --cuda-path=/usr/local/cuda-12.9 --clang-resource-directory=/usr/llvm/21.1.2/dist/lib/clang/21
294+
./hipify-clang square.cu --cuda-path=/usr/local/cuda-12.9 --clang-resource-directory=/usr/llvm/21.1.3/dist/lib/clang/21
294295
295296
For more information, refer to the `Clang manual for compiling CUDA <https://llvm.org/docs/CompileCudaWithLLVM.html#compiling-cuda-code>`_.
296297

0 commit comments

Comments
 (0)