Author: Shilei Tian Date: 2021-02-19T17:14:23-08:00 New Revision: 2f74c22048277d255078d376b55dd40dddbaa376
URL: https://github.com/llvm/llvm-project/commit/2f74c22048277d255078d376b55dd40dddbaa376 DIFF: https://github.com/llvm/llvm-project/commit/2f74c22048277d255078d376b55dd40dddbaa376.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 (cherry picked from commit 89827fd404f954605663776e746ec351bde61348) 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) _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits