-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DispatchCreation] Changes to dispatch region in preparation for hori…
…zontal fusion changes. (#19876) Current dispatch region formation handles consumer fusion by making the consumer the root of the DAG moved into dispatches. For cases where we have more than one consumer that dont have a direct dependency, this approach does not work. This changes dispatch region formation to keep the root operation as is, and move in consumers into the dispatch iteratively. This required a few additional changes 1) Move the method `moveOperandDefs` into a utility function. 2) Changes to how the dynamic dims of results of `flow.dispatch.region` created are resolved. --------- Signed-off-by: MaheshRavishankar <[email protected]> Signed-off-by: Ian Wood <[email protected]> Co-authored-by: Ian Wood <[email protected]>
- Loading branch information
1 parent
eb58f82
commit 78ec7f2
Showing
9 changed files
with
425 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.