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

Ethan Luis McDonough via Openmp-commits openmp-commits at lists.llvm.org
Mon Jun 24 07:09:13 PDT 2024


EthanLuisMcDonough wrote:

> Is this something that specifically requires its own flag? Or could we just do `-Xarch_device -fprofile-generate`.

Right now the `-fprofile-generate-gpu` and `-fprofile-instr-generate-gpu` flags make sure that the compiler-rt profiling library is included even if host profiling isn't enabled, but your suggestion seems quite nice and compact. I'm open to looking into this. Thoughts @jdoerfert?

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


More information about the Openmp-commits mailing list