[clang] [llvm] [SYCL] Add clang-linker-wrapper changes to call clang-sycl-linker for SYCL offloads (PR #135683)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 14 15:05:20 PDT 2025


================
@@ -35,6 +35,7 @@ enum OffloadKind : uint16_t {
   OFK_OpenMP,
   OFK_Cuda,
   OFK_HIP,
+  OFK_SYCL,
----------------
jhuber6 wrote:

I think we should assign specific values for these and make them powers of two apart so we can use them like a bitfield. Clang does that already.

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


More information about the cfe-commits mailing list