]> granicus.if.org Git - clang/commit
[CUDA] Tweak CUDA wrappers to make cuda-9 work with libc++
authorArtem Belevich <tra@google.com>
Thu, 30 Nov 2017 22:22:21 +0000 (22:22 +0000)
committerArtem Belevich <tra@google.com>
Thu, 30 Nov 2017 22:22:21 +0000 (22:22 +0000)
commit02fb715d1f7a37697625ee0d562acd097a9f268a
tree13943f39fb740110b1a51a5875d9a55de98c144f
parentaf90f306af1e790a9329ff06fae4f85a67ccaf64
[CUDA] Tweak CUDA wrappers to make cuda-9 work with libc++

CUDA-9 headers check for specific libc++ version and ifdef out
some of the definitions we need if LIBCPP_VERSION >= 3800.

Differential Revision: https://reviews.llvm.org/D40198

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319485 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/__clang_cuda_runtime_wrapper.h