[clang] [compiler-rt] [PGO][HIP] HSA-introspection device profile drain + GPU PGO tests (PR #203056)

Larry Meadows via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 15:48:43 PDT 2026


lfmeadow wrote:

> I'm a little confused now. Weren't we using the HIP runtime earlier and now we're using HSA as well?

That's right. There are cases (such as RCCL) where the device code doesn't have a corresponding host shadow HIP module. HSA is used to introspect the device side modules and drain the counters.
Note that for linux, we don't even need the HIP path with this PR. Windows doesn't have HSA so we still need the HIP path there.

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


More information about the cfe-commits mailing list