[PATCH] D152027: [CUDA] Update Kepler(sm_3*) support info.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 2 14:16:44 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0f49116e261c: [CUDA] Update Kepler(sm_3*) support info. (authored by tra).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152027/new/
https://reviews.llvm.org/D152027
Files:
clang/lib/Basic/Cuda.cpp
Index: clang/lib/Basic/Cuda.cpp
===================================================================
--- clang/lib/Basic/Cuda.cpp
+++ clang/lib/Basic/Cuda.cpp
@@ -222,7 +222,11 @@
case CudaArch::SM_21:
return CudaVersion::CUDA_80;
case CudaArch::SM_30:
- return CudaVersion::CUDA_110;
+ case CudaArch::SM_32:
+ return CudaVersion::CUDA_102;
+ case CudaArch::SM_35:
+ case CudaArch::SM_37:
+ return CudaVersion::CUDA_118;
default:
return CudaVersion::NEW;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152027.527972.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230602/fccec4a6/attachment.bin>
More information about the cfe-commits
mailing list