[PATCH] D88668: [CUDA] Add support for 11.1
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 2 14:33:50 PST 2020
tra added a comment.
Herald added a subscriber: dexonsmith.
This patch is also missing corresponding LLVM changes that define features for sm_86 and ptx71.
See https://github.com/llvm/llvm-project/blob/master/llvm/lib/Target/NVPTX/NVPTX.td
================
Comment at: clang/lib/Driver/ToolChains/Cuda.cpp:158-160
+ // CUDA 7.0 and 11.1 don't have a version.txt, so try to guess
+ // if version.txt isn't present.
+ Version = CudaVersion::CUDA_111;
----------------
This should not be needed any more. Clang now extracts CUDA version from cuda.h.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88668/new/
https://reviews.llvm.org/D88668
More information about the cfe-commits
mailing list