Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA:GPU] Refactor HloFusionAdaptor to a flat structure.
There is a need for HloInstructionAdaptor to know it's parent HloFusionAdaptor to be able to distinguish fusion instruction for operands and users. Current nested structure of HloFusionAdaptor prevents us from having a convenient single parent pointer. This CL add `parent` field to HloInstructionAdaptor, but doesn't set or use it consistently yet. PiperOrigin-RevId: 627556942
- Loading branch information
1 parent
0d6a9e6
commit 49837f3
Showing
7 changed files
with
167 additions
and
126 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
Oops, something went wrong.