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

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 1 14:42:07 PDT 2016


tra created this revision.
tra added a reviewer: jlebar.
tra added a subscriber: cfe-commits.

This makes clang's libdevice selection match that of NVCC as described in
http://docs.nvidia.com/cuda/libdevice-users-guide/basic-usage.html#version-selection

If required libdevice variant is not found, driver now fails with an error.

https://reviews.llvm.org/D23037

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  lib/Driver/ToolChains.cpp
  test/Driver/cuda-detect.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23037.66385.patch
Type: text/x-patch
Size: 6115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160801/9eff1e7a/attachment-0001.bin>


More information about the cfe-commits mailing list