[PATCH] D37576: [CUDA] Added rudimentary support for CUDA-9 and sm_70.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 7 10:14:15 PDT 2017


tra created this revision.
Herald added subscribers: hiraditya, sanjoy, jholewinski.

For now CUDA-9 is not included in the list of CUDA versions clang
searches for, so the path to CUDA-9 must be explicitly passed
via --cuda-path=.

On LLVM side NVPTX added sm_70 GPU type which bumps required
PTX version to 6.0, but otherwise is equivalent to sm_62 at the moment.


https://reviews.llvm.org/D37576

Files:
  clang/include/clang/Basic/Cuda.h
  clang/lib/Basic/Cuda.cpp
  clang/lib/Basic/Targets/NVPTX.cpp
  clang/lib/Driver/ToolChains/Cuda.cpp
  clang/lib/Headers/__clang_cuda_runtime_wrapper.h
  llvm/lib/Target/NVPTX/NVPTX.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37576.114200.patch
Type: text/x-patch
Size: 9757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170907/a4458f64/attachment-0001.bin>


More information about the cfe-commits mailing list