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

Kareem Ergawy llvmlistbot at llvm.org
Tue Nov 25 03:12:02 PST 2025


================
@@ -2001,6 +2001,9 @@ def DeclareReductionOp : OpenMP_Op<"declare_reduction", [IsolatedFromAbove,
          allocated by the initializer region. The region has an argument that
          contains the value of the thread-local reduction accumulator. This will
          be executed after the reduction has completed.
+      6. The DataPtrPtr region specifies how to access the base address of a
+         boxed-value. This is used, in particular, for GPU reductions in order
+         know where partial reduction resutls are stored in remote lanes.
----------------
ergawy wrote:

Deon 😛 

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


More information about the Mlir-commits mailing list