[PATCH] D18417: [CUDA] Don't define __NVCC__.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 23 15:47:32 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL264205: [CUDA] Don't define __NVCC__. (authored by jlebar).
Changed prior to commit:
http://reviews.llvm.org/D18417?vs=51482&id=51483#toc
Repository:
rL LLVM
http://reviews.llvm.org/D18417
Files:
cfe/trunk/lib/Headers/__clang_cuda_runtime_wrapper.h
Index: cfe/trunk/lib/Headers/__clang_cuda_runtime_wrapper.h
===================================================================
--- cfe/trunk/lib/Headers/__clang_cuda_runtime_wrapper.h
+++ cfe/trunk/lib/Headers/__clang_cuda_runtime_wrapper.h
@@ -199,7 +199,6 @@
// Set up compiler macros expected to be seen during compilation.
#undef __CUDABE__
#define __CUDACC__
-#define __NVCC__
#if defined(__CUDA_ARCH__)
// We need to emit IR declaration for non-existing __nvvm_reflect() to
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18417.51483.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160323/3beb4e5f/attachment-0001.bin>
More information about the cfe-commits
mailing list