[flang] [llvm] [mlir] [flang][mlir][OpenMP] Add support for COPYPRIVATE (PR #73128)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 22:02:41 PST 2024


harishch4 wrote:

> Only one thread prints 1, all the others print 0. In this case the sync variable will indeed end up in a "private" thread stack, instead of the "shared" stack. So with this approach a global sync variable would be needed instead. Thanks for catching this.

Hi @luporl Is this issue resolved? I see it is still giving the wrong output. could you please confirm?

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


More information about the llvm-commits mailing list