[CUDA,Driver] Added --no-cuda-gpu-arch= option.
authorArtem Belevich <tra@google.com>
Fri, 9 Dec 2016 22:59:17 +0000 (22:59 +0000)
committerArtem Belevich <tra@google.com>
Fri, 9 Dec 2016 22:59:17 +0000 (22:59 +0000)
commita424e88eab624fc2f7167c89f8d4bc2c942ba41d
tree976eeb5e7506b1a7d51019734b6495d9017a1e47
parent4b46cb9190504d59ffee001e36ee56634a76b241
[CUDA,Driver] Added --no-cuda-gpu-arch= option.

This allows us to negate preceding --cuda-gpu-arch=X.
This comes handy when user needs to override default
flags set for them by the build system.

Differential Revision: https://reviews.llvm.org/D27631

llvm-svn: 289287
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/cuda-options.cu