r264742 - [CUDA] Add missing #undef __DEVICE__ to CUDA shim header.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 29 09:24:24 PDT 2016
Author: jlebar
Date: Tue Mar 29 11:24:23 2016
New Revision: 264742
URL: http://llvm.org/viewvc/llvm-project?rev=264742&view=rev
Log:
[CUDA] Add missing #undef __DEVICE__ to CUDA shim header.
Modified:
cfe/trunk/lib/Headers/__clang_cuda_cmath.h
Modified: cfe/trunk/lib/Headers/__clang_cuda_cmath.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/__clang_cuda_cmath.h?rev=264742&r1=264741&r2=264742&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/__clang_cuda_cmath.h (original)
+++ cfe/trunk/lib/Headers/__clang_cuda_cmath.h Tue Mar 29 11:24:23 2016
@@ -194,4 +194,6 @@ using ::trunc;
} // namespace std
+#undef __DEVICE__
+
#endif
More information about the cfe-commits
mailing list