[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:

Can you write more here on what is expected from `pack` and `unpackFn`?

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


More information about the Mlir-commits mailing list