]> granicus.if.org Git - clang/commit
[CUDA] runtime wrapper header tweaks
authorArtem Belevich <tra@google.com>
Thu, 17 Dec 2015 22:25:22 +0000 (22:25 +0000)
committerArtem Belevich <tra@google.com>
Thu, 17 Dec 2015 22:25:22 +0000 (22:25 +0000)
commit4c27e4665a22d75d87d0c84d6904c29f0d7b924a
tree62f929d32aaefe1ace66dd5f77eda0a3b8ab78a9
parent688d26d1edffb234c75e82ab459d40ce5f52ad73
[CUDA] runtime wrapper header tweaks

* Pull in host-only implementations of few CUDA-specific math functions.
* #nclude <cmath> early to prevent its inclusion from CUDA headers after
  they've messed with __THROW macro.

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