[flang-commits] [flang] [RFC][flang] Add support for assumed-shape dummy arrays repacking. (PR #127147)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Wed Feb 26 16:54:36 PST 2025
vzakhari wrote:
Tom, I think a valid program may process different parts of the same array in different threads (such as in example #2 in the doc) without any synchronization. The packing/unpacking breaks such a correct program just because it reads/modifies the whole array vs only the part that is supposed to be processed by the thread where pack/unpack is executed. And there is no way for packing/unpacking to know which part of the array needs to be copied.
https://github.com/llvm/llvm-project/pull/127147
More information about the flang-commits
mailing list