[flang-commits] [clang] [flang] [llvm] [mlir] [OpenMP][flang] Add initial support for by-ref reductions on the GPU (PR #165714)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Wed Nov 5 03:36:21 PST 2025


Meinersbur wrote:

> Thanks for the review Michael.
> 
> > Is this implementing the following from the sepcification?
> 
> Yes, exactly. 

Isn't `scalar_alloc` shared in the outer context of the worksharing-loop (e.g. `parallel`) in the example from your summary, so that part from the specification does not apply? I am not sure which pre-determined data-sharing attribute applies here.


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


More information about the flang-commits mailing list