projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba40896
)
[CUDA] Fix missed CUDA version mappings.
author
Artem Belevich
<tra@google.com>
Mon, 13 Apr 2020 21:55:26 +0000
(14:55 -0700)
committer
Artem Belevich
<tra@google.com>
Mon, 13 Apr 2020 22:54:12 +0000
(15:54 -0700)
clang/lib/Basic/Cuda.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/Cuda.cpp
b/clang/lib/Basic/Cuda.cpp
index
664f635
..
7091857
100644
(file)
--- 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;
}