Skip to content

Commit

Permalink
[HIPIFY][doc][Windows] Revise building LLVM by Visual Studio on Windows
Browse files Browse the repository at this point in the history
+ LLVM 14.x.x is the latest major release, where Visual Studio 2017 is supported.
+ To build LLVM 14.x.x correctly by Visual Studio 2017, `-DLLVM_FORCE_USE_OLD_TOOLCHAIN=ON` should be added to a corresponding cmake command line.
+ LLVM < 14.x.x can be built correctly by Visual Studio 2017 without the `LLVM_FORCE_USE_OLD_TOOLCHAIN` option.
  • Loading branch information
emankov committed Sep 19, 2023
1 parent 6567d8f commit 7187ddd
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions docs/hipify-clang.md
Original file line number Diff line number Diff line change
Expand Up @@ -570,20 +570,24 @@ Testing Time: 7.90s

*Tested configurations:*

| **LLVM** | **CUDA** | **cuDNN** | **Visual Studio (latest)** | **cmake** | **Python** |
|----------------:|-------------:|---------------:|-----------------------------------------:|----------------:|--------------:|
| 4.0.0 - 5.0.2 | 7.0 - 8.0 | 5.1.10 - 7.1.4 | 2015.14.0, 2017.15.5.2 | 3.5.1 - 3.18.0 | 3.6.4 - 3.8.5 |
| 6.0.0 - 6.0.1 | 7.0 - 9.0 | 7.0.5 - 7.6.5 | 2015.14.0, 2017.15.5.5 | 3.6.0 - 3.18.0 | 3.7.2 - 3.8.5 |
| 7.0.0 - 7.1.0 | 7.0 - 9.2 | 7.6.5 | 2017.15.9.11 | 3.13.3 - 3.18.0 | 3.7.3 - 3.8.5 |
| 8.0.0 - 8.0.1 | 7.0 - 10.0 | 7.6.5 | 2017.15.9.15 | 3.14.2 - 3.18.0 | 3.7.4 - 3.8.5 |
| 9.0.0 - 9.0.1 | 7.0 - 10.1 | 7.6.5 | 2017.15.9.20, 2019.16.4.5 | 3.16.4 - 3.18.0 | 3.8.0 - 3.8.5 |
| 10.0.0 - 11.0.0 | 7.0 - 11.1 | 7.6.5 - 8.0.5 | 2017.15.9.30, 2019.16.8.3 | 3.19.2 | 3.9.1 |
| 11.0.1 - 11.1.0 | 7.0 - 11.2.2 | 7.6.5 - 8.0.5 | 2017.15.9.31, 2019.16.8.4 | 3.19.3 | 3.9.2 |
| 12.0.0 - 13.0.1 | 7.0 - 11.5.1 | 7.6.5 - 8.3.2 | 2017.15.9.43, 2019.16.11.9 | 3.22.2 | 3.10.2 |
| 14.0.0 - 14.0.6 | 7.0 - 11.7.1 | 8.0.5 - 8.4.1 | 2017.15.9.49, 2019.16.11.17, 2022.17.2.6 | 3.24.0 | 3.10.6 |
| 15.0.0 - 15.0.7 | 7.0 - 11.8.0 | 8.0.5 - 8.8.1 | 2017.15.9.53, 2019.16.11.25, 2022.17.5.2 | 3.26.0 | 3.11.2 |
| 16.0.0 - 16.0.6 | 7.0 - 12.2.2 | 8.0.5 - 8.9.5 | 2017.15.9.56, 2019.16.11.29, 2022.17.7.1 | 3.27.3 | 3.11.4 |
| 18.0.0git | 7.0 - 12.2.2 | 8.0.5 - 8.9.5 | 2017.15.9.56, 2019.16.11.29, 2022.17.7.1 | 3.27.3 | 3.11.4 |
| **LLVM** | **CUDA** | **cuDNN** | **Visual Studio (latest)** | **cmake** | **Python** |
|----------------:|-------------:|---------------:|------------------------------------------:|----------------:|--------------:|
| 4.0.0 - 5.0.2 | 7.0 - 8.0 | 5.1.10 - 7.1.4 | 2015.14.0, 2017.15.5.2 | 3.5.1 - 3.18.0 | 3.6.4 - 3.8.5 |
| 6.0.0 - 6.0.1 | 7.0 - 9.0 | 7.0.5 - 7.6.5 | 2015.14.0, 2017.15.5.5 | 3.6.0 - 3.18.0 | 3.7.2 - 3.8.5 |
| 7.0.0 - 7.1.0 | 7.0 - 9.2 | 7.6.5 | 2017.15.9.11 | 3.13.3 - 3.18.0 | 3.7.3 - 3.8.5 |
| 8.0.0 - 8.0.1 | 7.0 - 10.0 | 7.6.5 | 2017.15.9.15 | 3.14.2 - 3.18.0 | 3.7.4 - 3.8.5 |
| 9.0.0 - 9.0.1 | 7.0 - 10.1 | 7.6.5 | 2017.15.9.20, 2019.16.4.5 | 3.16.4 - 3.18.0 | 3.8.0 - 3.8.5 |
| 10.0.0 - 11.0.0 | 7.0 - 11.1 | 7.6.5 - 8.0.5 | 2017.15.9.30, 2019.16.8.3 | 3.19.2 | 3.9.1 |
| 11.0.1 - 11.1.0 | 7.0 - 11.2.2 | 7.6.5 - 8.0.5 | 2017.15.9.31, 2019.16.8.4 | 3.19.3 | 3.9.2 |
| 12.0.0 - 13.0.1 | 7.0 - 11.5.1 | 7.6.5 - 8.3.2 | 2017.15.9.43, 2019.16.11.9 | 3.22.2 | 3.10.2 |
| 14.0.0 - 14.0.6 | 7.0 - 11.7.1 | 8.0.5 - 8.4.1 | 2017.15.9.57*, 2019.16.11.17, 2022.17.2.6 | 3.24.0 | 3.10.6 |
| 15.0.0 - 15.0.7 | 7.0 - 11.8.0 | 8.0.5 - 8.8.1 | 2019.16.11.25, 2022.17.5.2 | 3.26.0 | 3.11.2 |
| 16.0.0 - 16.0.6 | 7.0 - 12.2.2 | 8.0.5 - 8.9.5 | 2019.16.11.29, 2022.17.7.1 | 3.27.3 | 3.11.4 |
| 18.0.0git | 7.0 - 12.2.2 | 8.0.5 - 8.9.5 | 2019.16.11.29, 2022.17.7.1 | 3.27.3 | 3.11.4 |

`*` LLVM 14.x.x is the latest major release, where Visual Studio 2017 is supported.
To build LLVM 14.x.x correctly by Visual Studio 2017, `-DLLVM_FORCE_USE_OLD_TOOLCHAIN=ON` should be added to a corresponding cmake command line.
LLVM < 14.x.x can be built correctly by Visual Studio 2017 without the `LLVM_FORCE_USE_OLD_TOOLCHAIN` option.

*Building with testing support by `Visual Studio 17 2022` on `Windows 10`:*

Expand Down

0 comments on commit 7187ddd

Please sign in to comment.