summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-03-23 22:42:27 +0000
committerJustin Lebar <jlebar@google.com>2016-03-23 22:42:27 +0000
commit334535132f43f1376e3f3f4bf79e72e86e7d8bac (patch)
tree7647a50b1dda8fc6b44c109e5c06effcbc4c19aa /llvm/lib
parent47e5399cd30f5e68076906278d3879af7f6e73e1 (diff)
downloadbcm5719-llvm-334535132f43f1376e3f3f4bf79e72e86e7d8bac.tar.gz
bcm5719-llvm-334535132f43f1376e3f3f4bf79e72e86e7d8bac.zip
[CUDA] Don't define __NVCC__.
Summary: We decided this makes life too difficult for code authors. For example, people may want to detect NVCC and disable variadic templates, which NVCC does not support, but which we do. Since people are going to have to change compiler flags *anyway* in order to compile with clang, if they really want the old behavior, they can pass -D__NVCC__. Tested with tensorflow and thrust, no apparent problems. Reviewers: tra Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18417 llvm-svn: 264205
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud