[clang] [compiler-rt] [llvm] [openmp] [PGO][Offload] Add GPU profiling flags to driver (PR #94268)

Ethan Luis McDonough via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 13:50:03 PST 2024


EthanLuisMcDonough wrote:

> > > For some codes, I get the following error for a gfx906:
> > > ```
> > > LLVM ERROR: Relocation for CG Profile could not be created: unknown relocation name 
> > > ```
> 
> > Not sure if this is still relevant, but I think #114617 should fix this issue. The ASM builder was trying to create a reloc directive with the kind `BFD_RELOC_NONE`, which isn't defined in `getFixupKind` for AMDGPU.
> 
> Thanks, it does seem to fix it.
> 
> If possible, would you please keep this PR in sync with PR #93365? That should bring in the above fix and generally help me to review against my use cases.

Sure, I'll sync this branch with my changes in the other PR.

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


More information about the cfe-commits mailing list