[clang] AMDGPU: Find device files even when ROCM_PATH is set (PR #177346)
Matthias Gehre via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 22 09:28:17 PST 2026
mgehre-amd wrote:
> The problem is that device-libs from a different ROCm version may not work with the one specified by `ROCM_PATH`, because device-libs are highly compiler dependent, as pointed out by @jhuber6. It is fundamentally wrong to mix components from one ROCm version with components from another.
Are you saying that I should remove the code that uses `ROCM_PATH` env. variable from the driver and just always use the resource dir? I'm not sure about the implications, but it would fix my issue.
https://github.com/llvm/llvm-project/pull/177346
More information about the cfe-commits
mailing list