[clang] [SYCL] SYCL host kernel launch support for the sycl_kernel_entry_point attribute. (PR #152403)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 06:17:06 PST 2026


================
@@ -13279,6 +13284,18 @@ def err_sycl_entry_point_return_type : Error<
 def err_sycl_entry_point_deduced_return_type : Error<
   "the %0 attribute only applies to functions with a non-deduced 'void' return"
   " type">;
+def note_sycl_runtime_defect : Note<
+  "this error is due to a defect in SYCL runtime header files; please report"
----------------
erichkeane wrote:

I was thinking about this overnight... we don't do this sort of tone/anything like this when the standard library is wrong (like with type_info or initializer_list/etc).  So I don't see why we'd want to do this to our library vendors...

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


More information about the cfe-commits mailing list