Repository navigation
[GPU] Add rematerialize parallel ops in the vector distribute pipeline - #21073
Merged
Merged
Conversation
pashu123
requested review from
Groverkss,
MaheshRavishankar,
kuhar and
qedawkins
as code owners
June 11, 2025 04:50
pashu123
force-pushed
the
enable_rematerialize_fusion
branch
from
June 11, 2025 08:44
ce29f55 to
1ed55e7
Compare
pashu123
force-pushed
the
enable_rematerialize_fusion
branch
2 times, most recently
from
June 11, 2025 08:47
7d61135 to
fbf895f
Compare
This enables elementwise op fusion and some of cases might benefit from this. Fix for the issue: iree-org#20875
pashu123
force-pushed
the
enable_rematerialize_fusion
branch
from
June 11, 2025 09:24
fbf895f to
bd83cec
Compare
kuhar
reviewed
Jun 11, 2025
| return t.isIntOrIndexOrFloat(); | ||
| } | ||
|
|
||
| static bool hasExternalCapture(linalg::GenericOp genericOp) { |
Member
There was a problem hiding this comment.
Could you add a comment explaining what this does and maybe provide an example of a generic with an external capture?
| } | ||
| } | ||
| } | ||
| return false; // All operands are locally defined or block arguments |
Member
There was a problem hiding this comment.
Suggested change
| return false; // All operands are locally defined or block arguments | |
| return false; // All operands are locally defined or block arguments. |
kuhar
approved these changes
Jun 11, 2025
hhkit
pushed a commit
to opencompl/iree
that referenced
this pull request
Sep 11, 2025
…fig (iree-org#21797) There was an attempted fix in iree-org#21073 which was wrong. The real fix is that we should not be serially tiling parallel dimensions which will anyway get fused into another op which gets tiled. This removes the rematerialize parallel ops pass and instead fixes the configuration logic. Signed-off-by: Ivan Ho <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This enables elementwise op fusion and some of cases might benefit from this. Fix for the issue: #20875