[all-commits] [llvm/llvm-project] f2bceb: [Offload][AMDGPU] accept generic target (#118919)

hidekisaito via All-commits all-commits at lists.llvm.org
Mon Dec 9 16:11:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2bceb2311f288f207a10d62d80390457c4cf05c
      https://github.com/llvm/llvm-project/commit/f2bceb2311f288f207a10d62d80390457c4cf05c
  Author: hidekisaito <hidekido at amd.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M offload/DeviceRTL/CMakeLists.txt
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp
    M offload/plugins-nextgen/common/src/Utils/ELF.cpp

  Log Message:
  -----------
  [Offload][AMDGPU] accept generic target (#118919)

Enables generic ISA, e.g., "--offload-arch=gfx11-generic" device code to
run on gfx11-generic ISA capable device.

Executable may contain one ELF that has specific target ISA and another
ELF that has compatible generic ISA.
Under that circumstance, this code should say both ELFs are compatible,
leaving the rest to PluginManager to handle.
Suggestions on how best to address that is welcome.



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