================
@@ -27,6 +27,8 @@
 extern "C" {
 #endif
 
+#if !defined(__CUDA__)
----------------
jhuber6 wrote:

We'd want this to compile for the CUDA host, you should be able to check 
`__CUDA_ARCH__` for the CUDA device only.

https://github.com/llvm/llvm-project/pull/128222
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to