Issue |
134561
|
Summary |
[OpenMP] Enable libomptarget debugging for apt.llvm.org packages
|
Labels |
new issue
|
Assignees |
|
Reporter |
ouankou
|
I happened to notice that official packages of LLVM 20 have supported OpenMP GPU offloading directly if corresponding libraries (CUDA, ROCM, etc.) are installed. So there's no need to spend quite some time building from the source. However, it seems debugging is not enabled. Is it possible to enable it while packaging, please? Or is there some particular reason to keep it off? Thanks!
```bash
$ which clang
/usr/lib/llvm-20/bin/clang
$ clang -fopenmp -fopenmp-targets=nvptx64 test.c
$ LIBOMPTARGET_DEBUG=1 ./a.out
sum = 15050
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs