[PATCH] D13171: [CUDA] Added a wrapper header for inclusion of stock CUDA headers.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 10:58:41 PDT 2015


tra created this revision.
tra added reviewers: echristo, eliben, jholewinski.
tra added a subscriber: cfe-commits.

Header files that come with CUDA are assuming split host/device compilation and are not usable by clang out of the box.
With a bit of preprocessor magic it's possible to twist them into a form usable by clang after D13170 and D13144 land.

http://reviews.llvm.org/D13171

Files:
  lib/Headers/CMakeLists.txt
  lib/Headers/clang_cuda_support.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13171.35739.patch
Type: text/x-patch
Size: 4578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150925/435233f4/attachment.bin>


More information about the cfe-commits mailing list