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

Joel E. Denny via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 11:45:26 PST 2024


jdenny-ornl 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.

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


More information about the cfe-commits mailing list