================ @@ -27,6 +27,8 @@ extern "C" { #endif +#if !defined(__CUDA_ARCH__) + ---------------- sarnex wrote:
i just pushed a commit which attempts to implement this, please take a look, thanks! 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