[llvm] [Offload] Change HSA header search order (PR #95769)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 11:48:03 PDT 2024
jhuber6 wrote:
> I'm actually not sure why the order makes a difference here? Is the issue caused by existence of `include/hsa/hsa.h` and `include/hsa.h` and they are actually different versions?
We add `dyanic_hsa/has.h` to the include path. If the user has `hsa` installed on the system it will find `hsa/hsa.h` first even when we intended to use the dyanmic_hsa version.
https://github.com/llvm/llvm-project/pull/95769
More information about the llvm-commits
mailing list