https://bugs.llvm.org/show_bug.cgi?id=34379
Artem Belevich <t...@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |t...@google.com
Resolution|--- |WONTFIX
--- Comment #1 from Artem Belevich <t...@google.com> ---
#include of a CUDA file from inside a CPP file is not going to work as clang
has no idea that the source will have CUDA in it.
If you want to do it this way, you'll need to explicitly tell clang to compile
your top-level .cpp file as CUDA by passing '-x cuda' option.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs