[Mlir-commits] [mlir] [mlir][xegpu] Raise the reduction vector size to match maxReduceVectorSize (PR #225122)

Igor Zamyatin llvmlistbot at llvm.org
Fri Sep 25 13:10:00 PDT 2026


================
@@ -2436,7 +2540,7 @@ xegpu::SliceAttr xegpu::setupMultiReductionResultLayout(
   auto context = srcVecTy.getContext();
 
   const int subgroupSize = uArch->getSubgroupSize();
-  int64_t maxReduceVectorSize = 1; // could extend to spirv vector Size
+  int64_t maxReduceVectorSize = 16; // extend to spirv vector Size
----------------
Garra1980 wrote:

should it be uArch parameter instead of hardcoded one?

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


More information about the Mlir-commits mailing list