forked from nod-ai/iree-amd-aie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AMD-AIE] Add support for C++ Pack pipeline (nod-ai#113)
This commit adds the c++ pass pipeline to lower linalg operations using pack-based approach. Since we now need to support three separate efforts now 1) Pad-based lowering 2) Simple Pack-based lowering (now set as default) 3) Pack-based lowering using more advanced optimizations like peeling and double buffering. This commit therefore now adds an enum to use to switch between the two pipelines. The flag `iree-amdaie-use-pipeline` can be used to pick between the three. Also removed is the use of the CPU pipeline enums from core as a proxy. Unfortunately, the enums for the pass pipelines setup in core don't make it extensible in a plugin. This needs to be addressed, but for now, the "None" value is used, and instead a pack based approach is set as default. This could be made robust, but will require upstream changes. --------- Signed-off-by: Abhishek Varma <[email protected]> Co-authored-by: yzhang93 <[email protected]> Co-authored-by: MaheshRavishankar <[email protected]>
- Loading branch information
1 parent
656e7ca
commit 89361be
Showing
17 changed files
with
257 additions
and
122 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
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.