[Mlir-commits] [mlir] [mlir][gpu] Add subgroup_reduce to shuffle lowering (PR #76530)

Kunwar Grover llvmlistbot at llvm.org
Tue Jan 2 08:39:13 PST 2024


================
@@ -139,6 +143,164 @@ struct ScalarizeSingleElementReduce final
   }
 };
 
+/// Emits a subgroup reduction using a sequence of shuffles. Uses the `packFn`
+/// and `unpackFn` to convert to/from the native shuffle type. Assumes that the
----------------
Groverkss wrote:

Maybe an example also could help.

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


More information about the Mlir-commits mailing list