[PATCH] D19248: [CUDA] Add --cuda-compile-host-device, which overrides --cuda-host-only and --cuda-device-only.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 18:11:00 PDT 2016


jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added subscribers: jhen, cfe-commits.

This completes the flag's tristate, letting you override it at will on
the command line.

http://reviews.llvm.org/D19248

Files:
  include/clang/Driver/Options.td
  lib/Driver/Driver.cpp
  test/Driver/cuda-options.cu
  test/Driver/cuda-unused-arg-warning.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19248.54143.patch
Type: text/x-patch
Size: 8912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160419/9d1e6fe8/attachment.bin>


More information about the cfe-commits mailing list