[clang] [SYCL] The sycl_kernel_entry_point attribute. (PR #111389)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 13:51:46 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:
The `SYCLIsDevice` and `SYCLIsHost` members of `LangOpt` are pre-existing and referenced from numerous source files. I'm not going to change them as part of this PR. You are welcome to submit a PR to change them if you like. Otherwise, we can investigate changing them as part of a future offload unification effort.
https://github.com/llvm/llvm-project/pull/111389
More information about the cfe-commits
mailing list