[clang] [SYCL] The sycl_kernel_entry_point attribute. (PR #111389)

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 09:29:18 PDT 2024


================
@@ -407,7 +407,8 @@ def MicrosoftExt : LangOpt<"MicrosoftExt">;
 def Borland : LangOpt<"Borland">;
 def CUDA : LangOpt<"CUDA">;
 def HIP : LangOpt<"HIP">;
-def SYCL : LangOpt<"SYCLIsDevice">;
+def SYCLHost : LangOpt<"SYCLIsHost">;
----------------
tahonermann wrote:

Thanks, Erich. The model Aaron described matches what I had in mind as part of some future offload unification effort, so it sounds like we are all aligned here.

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


More information about the cfe-commits mailing list