[clang] [Clang][ARM] Only try to redefine builtins for non-CUDA (PR #128222)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 21 14:39:47 PST 2025
================
@@ -27,6 +27,8 @@
extern "C" {
#endif
+#if !defined(__CUDA_ARCH__)
+
----------------
Artem-B wrote:
```
#if __CUDA_ARCH__
// Make sure the declarations here are in sync with the functions provided under #else.
<declarations>
#else
<existing code>
#endif
```
https://github.com/llvm/llvm-project/pull/128222
More information about the cfe-commits
mailing list