[flang-commits] [flang] Skip POINTER components in implicit mapper generation (PR #177848)
via flang-commits
flang-commits at lists.llvm.org
Wed Aug 26 05:57:46 PDT 2026
agozillon wrote:
> Interesting, I would have hoped to get the output you saw on my system. I have been testing this issue on an NVIDIA RTX 5070 Ti only so far. I compiled with `flang -fopenmp --offload-arch=sm_120 -fopenmp-version=52 main.F90`. Running with `LIBOMPTARGET_INFO=-1 ./a.out` shows that offloading is happening.
>
> I have a Radeon Pro AI R9700 to my disposal where I would like to test this as well, but I could not build LLVM using `offload/cmake/caches/FlangOffoad.cmake` for the last month or so due to build failures.
Unfortunately I don't have access to an NVIDIA card, please do try the offload mandatory just incase. However, can you share the map entries the trace produces? From my understanding nothing the compiler emits at a Flang -> LLVM-IR lowering level should produce the extra mappings required for the pointers data to be mapped, and there isn't anything we produce that I'm aware of that's NVIDIA specific that would cause a deep-copy here.
https://github.com/llvm/llvm-project/pull/177848
More information about the flang-commits
mailing list