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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 06:03:14 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">;
----------------
erichkeane wrote:

Aaron chatted with me off-line, and I think THAT is the eventual place we want to be.  So doing this work now, while beneficial, would eventually become wasted work.  So I'm resolving this.

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


More information about the cfe-commits mailing list