[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:22:45 PST 2025


================
@@ -15,6 +15,10 @@
 #--- pch.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 SYCL RT implementation will provide these declarations. For most tests, no implementation is required (this declaration could have omitted the function body).

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


More information about the cfe-commits mailing list