Skip to content
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

[mlir][doc] Improve Destination-passing-style documentation #70283

Merged
merged 4 commits into from
Oct 26, 2023

Conversation

joker-eph
Copy link
Collaborator

mlir/docs/Bufferization.md Outdated Show resolved Hide resolved
*destination-passing style*. For every tensor result, such ops have a tensor
operand, whose buffer could be utilized for storing the result of the op in the
absence of other conflicts. We call such tensor operands the *destination*.
To simplify this problem, One-Shot Bufferize was designed to take advantage of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't current generate web docs for this, but we could like to this: https://github.com/llvm/llvm-project/blob/main/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed!

@joker-eph joker-eph merged commit 76dea22 into main Oct 26, 2023
2 of 3 checks passed
@joker-eph joker-eph deleted the users/joker-eph/dps-doc branch October 26, 2023 03:46
zahiraam pushed a commit to zahiraam/llvm-project that referenced this pull request Oct 26, 2023
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.

None yet

3 participants