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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to