[libclc] [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (PR #137932)

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 02:59:21 PDT 2025


================
@@ -9,15 +9,31 @@
 #define __CLC_DST_ADDR_SPACE local
 #define __CLC_SRC_ADDR_SPACE global
 #define __CLC_BODY <clc/async/async_work_group_copy.inc>
-#include <clc/async/gentype.inc>
+#include <clc/integer/gentype.inc>
+#undef __CLC_DST_ADDR_SPACE
----------------
frasercrmck wrote:

We probably don't need to `undef` and re-`define` here, when `local/global` isn't changing. Obviously we do when we swap them further down.

https://github.com/llvm/llvm-project/pull/137932


More information about the cfe-commits mailing list