[all-commits] [llvm/llvm-project] e3938f: [Offload] Detect native ELF machine from preproces...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed May 8 12:37:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3938f4d71493673033f6190454e7e19d5411ea7
      https://github.com/llvm/llvm-project/commit/e3938f4d71493673033f6190454e7e19d5411ea7
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M offload/plugins-nextgen/common/include/Utils/ELF.h
    M offload/plugins-nextgen/common/src/Utils/ELF.cpp
    M offload/plugins-nextgen/host/CMakeLists.txt
    M offload/plugins-nextgen/host/src/rtl.cpp

  Log Message:
  -----------
  [Offload] Detect native ELF machine from preprocessor (#91282)

Summary:
This gets the target's corresponding ELF value from the preprocessor.
We use this to detect if a given ELF is compatible with the CPU
offloading impolementation for OpenMP. Previously we used defitions from
CMake, but this is easier for people to understand as there may be new
users of this in the future.



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