[clang] [HIP] Fix OffloadBundler triple when using extra 'llvm' environment (PR #214841)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 8 11:39:25 PDT 2026


shiltian wrote:

> As it stands, you literally _cannot_ run any HIP program with any existing HIP runtime if you use this triple.

Yes, I've been there. It took me quite some time to get all the downstream components to work properly when I changed the triple from 3-component to 4-component last time. It would not be just one HIP runtime. I really think the runtime should do the triple check in the right way. I think nowadays it might be a little easier, since most of the runtime directly call `comgr` to do the unbundle, etc., so it might be worth a shot to update `comgr` first.

https://github.com/llvm/llvm-project/pull/214841


More information about the cfe-commits mailing list