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

Eli Bendersky via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 12:14:30 PDT 2015


eliben added inline comments.

================
Comment at: lib/Headers/clang_cuda_support.h:53
@@ +52,3 @@
+// WARNING: Preprocessor hacks below are based on specific of
+// implementation of CUDA-7.0 headers and are expected to break with
+// any other version of CUDA headers.
----------------
If this includes CUDA headers, maybe you can #error out if the CUDA version isn't good?


http://reviews.llvm.org/D13171





More information about the cfe-commits mailing list