[Mlir-commits] [mlir] [mlir][TilingInterface] Update documentation for `TilingInterface.td`. (PR #95178)

Quinn Dawkins llvmlistbot at llvm.org
Tue Jun 11 16:44:13 PDT 2024


================
@@ -98,51 +155,66 @@ def TilingInterface : OpInterface<"TilingInterface"> {
       >,
       InterfaceMethod<
         /*desc=*/[{
-          Method to return the tile of the iteration domain where
-          values from the given tile of the operand are used.
+          Method to generate the code that produces a tile of the result.
+
+          This method is required to allow operations to be "tiled and fused"
+          with an (already tiled) consumer. Typically, for two operations with
+          producer -> consumer relation ship, to compute a tile of the
+          consumer a `slice` of the producer is needed. This method allows
+          computing that slice of the produce in-place, there-by "fusing"
----------------
qedawkins wrote:

```suggestion
          computing that slice of the producer in-place, thereby "fusing"
```

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


More information about the Mlir-commits mailing list