summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains/TCE.h
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2020-01-22 12:44:22 -0800
committerHans Wennborg <hans@chromium.org>2020-01-29 21:18:27 +0100
commit5777899f146aaa53f598e6978702a7a2725200d7 (patch)
tree1fa64d19a01300a4a0b1844bbfb275b56a7dd823 /clang/lib/Driver/ToolChains/TCE.h
parent967658150edb2cbb860c19ce54ac1e216bdc8461 (diff)
downloadbcm5719-llvm-5777899f146aaa53f598e6978702a7a2725200d7.tar.gz
bcm5719-llvm-5777899f146aaa53f598e6978702a7a2725200d7.zip
[CUDA] Assume the latest known CUDA version if we've found an unknown one.
This makes clang somewhat forward-compatible with new CUDA releases without having to patch it for every minor release without adding any new function. If an unknown version is found, clang issues a warning (can be disabled with -Wno-cuda-unknown-version) and assumes that it has detected the latest known version. CUDA releases are usually supersets of older ones feature-wise, so it should be sufficient to keep released clang versions working with minor CUDA updates without having to upgrade clang, too. Differential Revision: https://reviews.llvm.org/D73231 (cherry picked from commit 12fefeef203ab4ef52d19bcdbd4180608a4deae1)
Diffstat (limited to 'clang/lib/Driver/ToolChains/TCE.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud