Skip to content

Commit 5b96fcb

Browse files
[mlir][Interfaces][NFC] DestinationStyleOpInterface: Improve documentation (#65927)
Mention that sizes of dynamic dims of tied OpResults/operands match at runtime.
1 parent 6d2b2b8 commit 5b96fcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def DestinationStyleOpInterface : OpInterface<"DestinationStyleOpInterface"> {
2929
ranked tensors and every tensor init is tied to a corresponding tensor
3030
OpResult in a 1-to-1 fashion. The i-th init tensor is tied to the i-th
3131
OpResult. The op may not have any additional OpResults. Init operands and
32-
their tied OpResults have the same type.
32+
their tied OpResults have the same type. Dynamic dimension sizes also match
33+
at runtime.
3334

3435
If the op has "buffer semantics", then the input operands are either ranked
3536
memrefs or other non-tensor/memref types ("scalar" types). Furthermore, the

0 commit comments

Comments
 (0)