[clang] [llvm] [Driver][SYCL] Add initial SYCL offload compilation support (PR #107493)

Alexey Bader via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 22:16:37 PDT 2024


================
@@ -1073,6 +1074,8 @@ void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA,
     getToolChain().AddCudaIncludeArgs(Args, CmdArgs);
   if (JA.isOffloading(Action::OFK_HIP))
     getToolChain().AddHIPIncludeArgs(Args, CmdArgs);
+  if (JA.isOffloading(Action::OFK_SYCL))
----------------
bader wrote:

Please, add SYCL to the comment above this code block.

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


More information about the llvm-commits mailing list