Skip to content

Commit 2f74c22

Browse files
shiltiantstellar
authored andcommitted
[OpenMP][NVPTX] Add the support for CUDA 11.2 and CUDA 11.1
CUDA 11.2 and CUDA 11.1 are all available now. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D97004 (cherry picked from commit 89827fd)
1 parent a338d57 commit 2f74c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ add_custom_target(omptarget-nvptx-bc)
152152

153153
# This map is from clang/lib/Driver/ToolChains/Cuda.cpp.
154154
# The last element is the default case.
155-
set(cuda_version_list 110 102 101 100 92 91 90 80)
156-
set(ptx_feature_list 70 65 64 63 61 61 60 42)
155+
set(cuda_version_list 112 111 110 102 101 100 92 91 90 80)
156+
set(ptx_feature_list 71 71 70 65 64 63 61 61 60 42)
157157
# The following two lines of ugly code is not needed when the minimal CMake
158158
# version requirement is 3.17+.
159159
list(LENGTH cuda_version_list num_version_supported)

0 commit comments

Comments
 (0)