[PATCH] D89752: [CUDA] Improve clang's ability to detect recent CUDA versions.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 20 15:10:56 PDT 2020
tra added inline comments.
================
Comment at: clang/test/Driver/cuda-version-check.cu:13
// RUN: FileCheck %s --check-prefix=UNKNOWN_VERSION
+// CUDA-11.1 does not carry version.txt file. Make sure we still detect it as a
+// new version and handle it the same as we handle other new CUDA versions.
----------------
emankov wrote:
> CUDA-11.0 Update 1 doesn't carry version.txt as well.
> CUDA-11.0 Update 1 doesn't carry version.txt as well.
This assertion appears to be incorrect. I've just installed 11.0 update1 using Ubuntu [[ https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda_11.0.3_450.51.06_linux.run | .run ]] installer I've got from https://developer.nvidia.com/cuda-11.0-update1-download-archive and the installed version does have version.txt saying
```
CUDA Version 11.0.228
```
Did you use some other installer variant?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89752/new/
https://reviews.llvm.org/D89752
More information about the cfe-commits
mailing list