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

Tom Honermann via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 08:44:05 PST 2024


================
@@ -288,6 +289,7 @@ class LLVM_LIBRARY_VISIBILITY Generic_GCC : public ToolChain {
   GCCInstallationDetector GCCInstallation;
   LazyDetector<CudaInstallationDetector> CudaInstallation;
   LazyDetector<RocmInstallationDetector> RocmInstallation;
+  SYCLInstallationDetector SYCLInstallation;
----------------
tahonermann wrote:

A `LazyDetector` is used for both CUDA and ROCm; any reason not to do similarly for SYCL?

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


More information about the llvm-commits mailing list