[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 Oct 2 08:41:21 PDT 2024
================
@@ -0,0 +1,82 @@
+// RUN: %libomptarget-compile-generic -fprofile-generate-gpu
----------------
jdenny-ornl wrote:
When targeting a V100, this command fails for me in both pgo1.c and pgo2.c. In the LTO case:
```
LLVM ERROR: Circular dependency found in global variable set
```
In the non-LTO case:
```
fatal error: error in backend: NVPTX aliasee must be a non-kernel function definition
```
I do not see this problem in PR #93365's pgo1.c.
https://github.com/llvm/llvm-project/pull/94268
More information about the cfe-commits
mailing list