[all-commits] [llvm/llvm-project] 6cfec2: [Offload][SYCL] Refactor OffloadKind implementatio...

Arvind Sudarsanam via All-commits all-commits at lists.llvm.org
Wed Apr 16 07:13:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cfec29cb9bc44ec907eeda99df508985ecbd49b
      https://github.com/llvm/llvm-project/commit/6cfec29cb9bc44ec907eeda99df508985ecbd49b
  Author: Arvind Sudarsanam <arvind.sudarsanam at intel.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M clang/test/CodeGenCUDA/offloading-entries.cu
    M clang/test/Driver/linker-wrapper-image.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M llvm/include/llvm/Object/OffloadBinary.h

  Log Message:
  -----------
  [Offload][SYCL] Refactor OffloadKind implementation (#135809)

Following are the changes:

1. Make OffloadKind enum values to be powers of two so we can use them
like a bitfield
2. Include OFK_SYCL enum value
3. Modify ActiveOffloadKinds support in clang-linker-wrapper to use
bitfields instead of a vector.

Thanks

---------

Signed-off-by: Arvind Sudarsanam <arvind.sudarsanam at intel.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list