Skip to content

[mlir][Interfaces][NFC] DestinationStyleOpInterface: Improve documentation #65927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

matthias-springer
Copy link
Member

Mention that sizes of dynamic dims of tied OpResults/operands match at runtime.

Mention that sizes of dynamic dims of tied OpResults/operands match at runtime.
@llvmbot
Copy link
Member

llvmbot commented Sep 11, 2023

@llvm/pr-subscribers-mlir

Changes

Mention that sizes of dynamic dims of tied OpResults/operands match at runtime.

Full diff: https://github.com/llvm/llvm-project/pull/65927.diff

1 Files Affected:

  • (modified) mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td (+2-1)
diff --git a/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td b/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td
index ff2da985c53d7c4..8558e0279e3e5bb 100644
--- a/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td
+++ b/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td
@@ -29,7 +29,8 @@ def DestinationStyleOpInterface : OpInterface<"DestinationStyleOpInterface"> {
     ranked tensors and every tensor init is tied to a corresponding tensor
     OpResult in a 1-to-1 fashion. The i-th init tensor is tied to the i-th
     OpResult. The op may not have any additional OpResults. Init operands and
-    their tied OpResults have the same type.
+    their tied OpResults have the same type. Dynamic dimension sizes also match
+    at runtime.
 
     If the op has "buffer semantics", then the input operands are either ranked
     memrefs or other non-tensor/memref types ("scalar" types). Furthermore, the

@matthias-springer matthias-springer changed the title [mlir][Interfaces] DestinationStyleOpInterface: Improve documentation [mlir][Interfaces][NFC] DestinationStyleOpInterface: Improve documentation Sep 11, 2023
@matthias-springer matthias-springer merged commit 5b96fcb into llvm:main Sep 11, 2023
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
…ation (llvm#65927)

Mention that sizes of dynamic dims of tied OpResults/operands match at
runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants