Skip to content

Commit

Permalink
[HIPIFY][DNN] cuDNN 8.9.7 is the latest supported version
Browse files Browse the repository at this point in the history
  • Loading branch information
emankov committed Dec 26, 2023
1 parent 3fb34aa commit 13228d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions docs/hipify-clang.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Run `Visual Studio 17 2022`, open the generated `LLVM.sln`, build all, build pro

* ***Linux***: `-DCUDA_DNN_ROOT_DIR=/usr/include`

* ***Windows***: `-DCUDA_DNN_ROOT_DIR=D:/CUDA/cuDNN/8.9.6`
* ***Windows***: `-DCUDA_DNN_ROOT_DIR=D:/CUDA/cuDNN/8.9.7`

5. Ensure [`CUB`](https://github.com/NVlabs/cub) of the version corresponding to CUDA's version is installed.

Expand Down Expand Up @@ -416,9 +416,9 @@ Ubuntu 14: LLVM 4.0.0 - 7.1.0, CUDA 7.0 - 9.0, cuDNN 5.0.5 - 7.6.5

Ubuntu 16-18: LLVM 8.0.0 - 14.0.6, CUDA 8.0 - 10.2, cuDNN 5.1.10 - 8.0.5

Ubuntu 20-21: LLVM 9.0.0 - 17.0.6, CUDA 8.0 - 12.2.2, cuDNN 5.1.10 - 8.9.6
Ubuntu 20-21: LLVM 9.0.0 - 17.0.6, CUDA 8.0 - 12.2.2, cuDNN 5.1.10 - 8.9.7

Ubuntu 22: LLVM 13.0.0 - 17.0.6, CUDA 10.0 - 12.2.2, cuDNN 8.0.5 - 8.9.6
Ubuntu 22: LLVM 13.0.0 - 17.0.6, CUDA 10.0 - 12.2.2, cuDNN 8.0.5 - 8.9.7

Minimum build system requirements for the above configurations:

Expand Down Expand Up @@ -608,8 +608,8 @@ Testing Time: 7.90s
| 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 |
| 17.0.1** 17.0.6 | 7.0 - 12.2.2 | 8.0.5 - 8.9.6 | 2019.16.11.30, 2022.17.7.4 | 3.27.6 | 3.12.0 |
| 18.0.0git | 7.0 - 12.2.2 | 8.0.5 - 8.9.6 | 2019.16.11.30, 2022.17.7.4 | 3.27.6 | 3.12.0 |
| 17.0.1** 17.0.6 | 7.0 - 12.2.2 | 8.0.5 - 8.9.7 | 2019.16.11.30, 2022.17.7.4 | 3.27.6 | 3.12.0 |
| 18.0.0git | 7.0 - 12.2.2 | 8.0.5 - 8.9.7 | 2019.16.11.30, 2022.17.7.4 | 3.27.6 | 3.12.0 |

`*` LLVM 14.x.x is the latest major release supporting Visual Studio 2017.
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.
Expand All @@ -630,7 +630,7 @@ cmake
-DCMAKE_PREFIX_PATH=D:/LLVM/17.0.6/dist \
-DCUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.2" \
-DCUDA_SDK_ROOT_DIR="C:/ProgramData/NVIDIA Corporation/CUDA Samples/v12.2" \
-DCUDA_DNN_ROOT_DIR=D:/CUDA/cuDNN/8.9.6 \
-DCUDA_DNN_ROOT_DIR=D:/CUDA/cuDNN/8.9.7 \
-DCUDA_CUB_ROOT_DIR=D:/CUDA/CUB/cub-2.1.0 \
-DLLVM_EXTERNAL_LIT=D:/LLVM/17.0.6/build/Release/bin/llvm-lit.py \
../hipify
Expand Down Expand Up @@ -668,13 +668,13 @@ cmake
-- Initial CUDA to configure:
-- - CUDA Toolkit path : C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.2
-- - CUDA Samples path : C:/ProgramData/NVIDIA Corporation/CUDA Samples/v12.2
-- - cuDNN path : D:/CUDA/cuDNN/8.9.6
-- - cuDNN path : D:/CUDA/cuDNN/8.9.7
-- - CUB path : D:/CUDA/CUB/cub-2.1.0
-- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.2/include (found version "12.2.140")
-- Found CUDA config:
-- - CUDA Toolkit path : C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.2
-- - CUDA Samples path : C:/ProgramData/NVIDIA Corporation/CUDA Samples/v12.2
-- - cuDNN path : D:/CUDA/cuDNN/8.9.6
-- - cuDNN path : D:/CUDA/cuDNN/8.9.7
-- - CUB path : D:/CUDA/CUB/cub-2.1.0
-- Configuring done (1.4s)
-- Generating done (0.1s)
Expand Down
1 change: 1 addition & 0 deletions src/Statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ std::string Statistics::getCudaVersion(const cudaVersions& ver) {
case CUDNN_894: return "8.9.4";
case CUDNN_895: return "8.9.5";
case CUDNN_896: return "8.9.6";
case CUDNN_897: return "8.9.7";
}
return "";
}
Expand Down
3 changes: 2 additions & 1 deletion src/Statistics.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ enum cudaVersions {
CUDNN_894 = 894,
CUDNN_895 = 895,
CUDNN_896 = 896,
CUDNN_LATEST = CUDNN_896,
CUDNN_897 = 897,
CUDNN_LATEST = CUDNN_897,
};

enum hipVersions {
Expand Down

0 comments on commit 13228d5

Please sign in to comment.