[PATCH] D21869: [CUDA] Check that our CUDA install supports the requested architectures.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 16:00:09 PDT 2016


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

Raise an error if you're using a CUDA installation that's too old for
the requested architectures.  In practice, this means that you need a
CUDA 8 install to compile for sm_6*.

http://reviews.llvm.org/D21869

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  include/clang/Driver/Options.td
  lib/Driver/ToolChains.cpp
  lib/Driver/ToolChains.h
  lib/Driver/Tools.cpp
  test/Driver/Inputs/CUDA_80/usr/local/cuda/bin/.keep
  test/Driver/Inputs/CUDA_80/usr/local/cuda/include/.keep
  test/Driver/Inputs/CUDA_80/usr/local/cuda/lib/.keep
  test/Driver/Inputs/CUDA_80/usr/local/cuda/lib64/.keep
  test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_20.10.bc
  test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_35.10.bc
  test/Driver/Inputs/CUDA_80/usr/local/cuda/version.txt
  test/Driver/cuda-version-check.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21869.62301.patch
Type: text/x-patch
Size: 11266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160629/0e62ce4c/attachment.bin>


More information about the cfe-commits mailing list