projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3918647
)
[CUDA] Add missing #undef __DEVICE__ to CUDA shim header.
author
Justin Lebar
<jlebar@google.com>
Tue, 29 Mar 2016 16:24:23 +0000
(16:24 +0000)
committer
Justin Lebar
<jlebar@google.com>
Tue, 29 Mar 2016 16:24:23 +0000
(16:24 +0000)
llvm-svn: 264742
clang/lib/Headers/__clang_cuda_cmath.h
patch
|
blob
|
history
diff --git
a/clang/lib/Headers/__clang_cuda_cmath.h
b/clang/lib/Headers/__clang_cuda_cmath.h
index
0d865d2
..
9fe3f71
100644
(file)
--- a/
clang/lib/Headers/__clang_cuda_cmath.h
+++ b/
clang/lib/Headers/__clang_cuda_cmath.h
@@
-194,4
+194,6
@@
using ::trunc;
} // namespace std
+#undef __DEVICE__
+
#endif