Skip to content

Commit 8c635ba

Browse files
committed
[CUDA] Fix missed CUDA version mappings.
1 parent ba40896 commit 8c635ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/Basic/Cuda.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ CudaVersion ToCudaVersion(llvm::VersionTuple Version) {
190190
return CudaVersion::CUDA_100;
191191
case 101:
192192
return CudaVersion::CUDA_101;
193+
case 102:
194+
return CudaVersion::CUDA_102;
195+
case 110:
196+
return CudaVersion::CUDA_110;
193197
default:
194198
return CudaVersion::UNKNOWN;
195199
}

0 commit comments

Comments
 (0)