[PATCH] D23037: [CUDA] Fix libdevice selection.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 16:01:30 PDT 2016


tra updated this revision to Diff 66579.
tra added a comment.

Now that https://reviews.llvm.org/D23042 / r277537 makes sure that CudaToolchain is only used on device side, we can 
remove defaults for -march and restore asserts() ensuring that -march is added by the driver.


https://reviews.llvm.org/D23037

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  lib/Driver/ToolChains.cpp
  test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc
  test/Driver/cuda-detect.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23037.66579.patch
Type: text/x-patch
Size: 9141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160802/ed231e3b/attachment.bin>


More information about the cfe-commits mailing list