[PATCH] D89832: [CUDA] Extract CUDA version from cuda.h if version.txt is not found

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 16:11:11 PDT 2020


tra updated this revision to Diff 299501.
tra edited the summary of this revision.
tra added a comment.

Added more tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89832/new/

https://reviews.llvm.org/D89832

Files:
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/lib/Driver/ToolChains/Cuda.cpp
  clang/lib/Driver/ToolChains/Cuda.h
  clang/test/Driver/Inputs/CUDA_102/usr/local/cuda/bin/.keep
  clang/test/Driver/Inputs/CUDA_102/usr/local/cuda/include/.keep
  clang/test/Driver/Inputs/CUDA_102/usr/local/cuda/lib/.keep
  clang/test/Driver/Inputs/CUDA_102/usr/local/cuda/lib64/.keep
  clang/test/Driver/Inputs/CUDA_102/usr/local/cuda/nvvm/libdevice/libdevice.10.bc
  clang/test/Driver/Inputs/CUDA_102/usr/local/cuda/version.txt
  clang/test/Driver/Inputs/CUDA_111/usr/local/cuda/include/cuda.h
  clang/test/Driver/cuda-version-check.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89832.299501.patch
Type: text/x-patch
Size: 9841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201020/bb912d3b/attachment.bin>


More information about the cfe-commits mailing list