[flang-commits] [flang] [flang] Add reductions for CUF Kernels: Lowering (PR #95184)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Wed Jun 12 08:37:11 PDT 2024
================
@@ -260,9 +263,28 @@ def cuf_KernelOp : cuf_Op<"kernel", [AttrSizedOperandSegments,
( `,` `stream` `=` $stream^ )? `>` `>` `>`
custom<CUFKernelLoopControl>($region, $lowerbound, type($lowerbound),
$upperbound, type($upperbound), $step, type($step))
+ ( `reduce` `(` $reduceOperands^ `:` type($reduceOperands) `)` )?
+ ( `reduce_attrs` `(` $reduceAttrs^ `)` )?
----------------
clementval wrote:
Thanks and sorry I didn't notice that in the initial review!
https://github.com/llvm/llvm-project/pull/95184
More information about the flang-commits
mailing list