[clang] [SYCL] SYCL host kernel launch support for the sycl_kernel_entry_point attribute. (PR #152403)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 10 09:21:09 PST 2025
================
@@ -17,6 +17,10 @@ module M2 { header "m2.h" }
#--- common.h
template<int> struct KN;
+// A generic kernel launch function.
+template<typename KN, typename... Ts>
+void sycl_kernel_launch(const char *, Ts...) {}
----------------
tahonermann wrote:
The downside of doing so is that a requested change to the name or in how the implicit calls are constructed would have required the declarations to be updated. I understand the goal of making the patch smaller, but I think there is also value in keeping it contained (especially if it were to be reverted later).
https://github.com/llvm/llvm-project/pull/152403
More information about the cfe-commits
mailing list