Author: Artem Belevich Date: 2020-04-13T15:54:12-07:00 New Revision: 8c635ba4a84f8b5dbde1984fe2d7eeefaf827ffe
URL: https://github.com/llvm/llvm-project/commit/8c635ba4a84f8b5dbde1984fe2d7eeefaf827ffe DIFF: https://github.com/llvm/llvm-project/commit/8c635ba4a84f8b5dbde1984fe2d7eeefaf827ffe.diff LOG: [CUDA] Fix missed CUDA version mappings. Added: Modified: clang/lib/Basic/Cuda.cpp Removed: ################################################################################ diff --git a/clang/lib/Basic/Cuda.cpp b/clang/lib/Basic/Cuda.cpp index 664f635abd95..709185707bd9 100644 --- a/clang/lib/Basic/Cuda.cpp +++ b/clang/lib/Basic/Cuda.cpp @@ -190,6 +190,10 @@ CudaVersion ToCudaVersion(llvm::VersionTuple Version) { return CudaVersion::CUDA_100; case 101: return CudaVersion::CUDA_101; + case 102: + return CudaVersion::CUDA_102; + case 110: + return CudaVersion::CUDA_110; default: return CudaVersion::UNKNOWN; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits