[PATCH] D18328: [CUDA] Add option to mark most functions inside <complex> as host+device.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 13:40:02 PDT 2016
jlebar created this revision.
jlebar added reviewers: tra, rnk.
jlebar added subscribers: cfe-commits, jhen.
clang --cuda-allow-std-complex translates into cc1
-fcuda-allow-std-complex. With this flag, we will mark all functions
inside <complex> within namespace std as host+device, other than
operator>> and operator<<, which use ostreams, which are not supported
in CUDA device code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9538 bytes
Desc: not available
More information about the cfe-commits