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

Ronan Keryell via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 23:25:07 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">;
----------------
keryell wrote:

On the other hand SYCL is a trademark from Khronos, so if it can stay SYCL it is better from this perspective.
Otherwise people get confused and create more effort like https://github.com/llvm/llvm-project/pull/113060 :smiley: 

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


More information about the cfe-commits mailing list