[PATCH] D27631: [CUDA,Driver] Added --no-cuda-gpu-arch= option.

2016-12-09 Thread Artem Belevich via Phabricator via cfe-commits
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

[PATCH] D27631: [CUDA,Driver] Added --no-cuda-gpu-arch= option.

2016-12-09 Thread Artem Belevich via Phabricator via cfe-commits
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

[PATCH] D27631: [CUDA,Driver] Added --no-cuda-gpu-arch= option.

2016-12-09 Thread Justin Lebar via Phabricator via cfe-commits
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

[PATCH] D27631: [CUDA,Driver] Added --no-cuda-gpu-arch= option.

2016-12-09 Thread Artem Belevich via Phabricator via cfe-commits
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.