[all-commits] [llvm/llvm-project] 804335: [Offload] Change HSA header search order (#95769)

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jun 17 12:53:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 804335638078f5a7c2bd31847b6080763cb22159
      https://github.com/llvm/llvm-project/commit/804335638078f5a7c2bd31847b6080763cb22159
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [Offload] Change HSA header search order (#95769)

Summary:
The HSA headers existed previously in `include/hsa.h` and were moved to
`include/hsa/hsa.h` in a later ROCm version. The include headers here
were originally designed to favor a newer one. However, this
unintentionally prevented the dyanmic HSA's `hsa.h` from being used if
both were present. This patch changes the order so it will be found
first.

Related to https://github.com/llvm/llvm-project/pull/95484.



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