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

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 18:43:34 PDT 2015


cuda_runtime.h may be a better choice. nvcc -includes it during both host
and device compilation and this wrapper file is intended to serve a similar
purpose and will probably end up being -included by cc1 in the end.

--Artem


On Mon, Sep 28, 2015 at 6:26 PM, Eric Christopher <echristo at gmail.com>
wrote:

> echristo added a comment.
>
> Why not just call it cuda.h and use #include next for it and then fix it
> up?
>
> -eric
>
>
> http://reviews.llvm.org/D13171
>
>
>
>


-- 
--Artem Belevich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150928/21b7cafc/attachment.html>


More information about the cfe-commits mailing list