[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:38 PDT 2024


================
@@ -217,10 +217,11 @@ static bool ActionFailed(const Action *A,
   if (FailingCommands.empty())
     return false;
 
-  // CUDA/HIP can have the same input source code compiled multiple times so do
-  // not compiled again if there are already failures. It is OK to abort the
-  // CUDA pipeline on errors.
-  if (A->isOffloading(Action::OFK_Cuda) || A->isOffloading(Action::OFK_HIP))
+  // CUDA/HIP/SYCL can have the same input source code compiled multiple times
+  // so do not compile again if there are already failures. It is OK to abort
+  // the CUDA pipeline on errors.
----------------
bader wrote:


```suggestion
  // the CUDA/HIP/SYCL pipeline on errors.
```

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


More information about the llvm-commits mailing list