[Openmp-commits] [openmp] 89827fd - [OpenMP][NVPTX] Add the support for CUDA 11.2 and CUDA 11.1

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 18 18:04:46 PST 2021


Author: Shilei Tian
Date: 2021-02-18T21:04:39-05:00
New Revision: 89827fd404f954605663776e746ec351bde61348

URL: https://github.com/llvm/llvm-project/commit/89827fd404f954605663776e746ec351bde61348
DIFF: https://github.com/llvm/llvm-project/commit/89827fd404f954605663776e746ec351bde61348.diff

LOG: [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

Added: 
    

Modified: 
    openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
index b705e0bb6a9f..5478cd3f6aea 100644
--- a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
+++ b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
@@ -152,8 +152,8 @@ add_custom_target(omptarget-nvptx-bc)
 
 # This map is from clang/lib/Driver/ToolChains/Cuda.cpp.
 # The last element is the default case.
-set(cuda_version_list 110 102 101 100 92 91 90 80)
-set(ptx_feature_list 70 65 64 63 61 61 60 42)
+set(cuda_version_list 112 111 110 102 101 100 92 91 90 80)
+set(ptx_feature_list 71 71 70 65 64 63 61 61 60 42)
 # The following two lines of ugly code is not needed when the minimal CMake
 # version requirement is 3.17+.
 list(LENGTH cuda_version_list num_version_supported)


        


More information about the Openmp-commits mailing list