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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 2 08:43:32 PDT 2024


================
@@ -0,0 +1,82 @@
+// RUN: %libomptarget-compile-generic -fprofile-generate-gpu
----------------
jhuber6 wrote:

This is a limitation of the PTX target, globals cannot reference themselves. Most likely whatever NVIDIA engineer wrote the PTX parser found it annoying to reference something that wasn't fully parsed yet so he just decided to make it an error and here we are. See https://godbolt.org/z/53PP5c5ve.

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


More information about the cfe-commits mailing list