[Mlir-commits] [mlir] [mlir][TilingInterface] Allow multiple results in PartialReductionOpInterface (PR #92624)

Kunwar Grover llvmlistbot at llvm.org
Wed May 22 10:03:41 PDT 2024


================
@@ -182,6 +182,9 @@ static LogicalResult generateLoopNestUsingForOp(
   if (loops.empty())
     return success();
 
+  assert(tiledResults.size() == destinationTensors.size() &&
----------------
Groverkss wrote:

This assert is same as iter_args == number of values yielded. I think it is fair to expect that from an implementation that its tiled implementation should not generate more results than inits.

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


More information about the Mlir-commits mailing list