This revision was automatically updated to reflect the committed changes.
Closed by commit rL289287: [CUDA,Driver] Added --no-cuda-gpu-arch= option.
(authored by tra).
Changed prior to commit:
https://reviews.llvm.org/D27631?vs=80950=80961#toc
Repository:
rL LLVM
tra updated this revision to Diff 80950.
tra added a comment.
Removed sorting and extraneous empty lines.
https://reviews.llvm.org/D27631
Files:
include/clang/Driver/Options.td
lib/Driver/Driver.cpp
test/Driver/cuda-options.cu
Index: test/Driver/cuda-options.cu
jlebar accepted this revision.
jlebar added inline comments.
This revision is now accepted and ready to land.
Comment at: lib/Driver/Driver.cpp:1952
+
+
+ // Default to sm_20 which is the lowest common denominator for
Extra linebreak
tra created this revision.
tra added reviewers: jlebar, echristo.
tra added a subscriber: cfe-commits.
Herald added a subscriber: mehdi_amini.
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.