This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Add --cuda-compile-host-device, which overrides --cuda-host-only and --cuda-device-only.
ClosedPublic

Authored by jlebar on Apr 18 2016, 6:11 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 54143.Apr 18 2016, 6:11 PM
jlebar retitled this revision from to [CUDA] Add --cuda-compile-host-device, which overrides --cuda-host-only and --cuda-device-only..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added subscribers: jhen, cfe-commits.
tra edited edge metadata.Apr 18 2016, 6:20 PM

Help strings seem to be backwards.
LGTM otherwise.

include/clang/Driver/Options.td
378 ↗(On Diff #54143)

for *device*

381 ↗(On Diff #54143)

for *host*

tra accepted this revision.Apr 18 2016, 6:20 PM
tra edited edge metadata.
This revision is now accepted and ready to land.Apr 18 2016, 6:20 PM
jlebar updated this revision to Diff 54148.Apr 18 2016, 6:22 PM
jlebar marked 2 inline comments as done.
jlebar edited edge metadata.

Fix help text.

Wow, oops. Thank you.

This revision was automatically updated to reflect the committed changes.