================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to