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 <echri...@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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits