-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AIROptMemtileDmaBDs: Add memtile dma bd generator (#887)
* Fixup stride calculation math when folding for loops; pass in maxSize for wrap-and-stride canonicalization * Update the mlir ir test to reflect the optimized dma bds generated * (Test) Revert removing const check for offset[i-1] * Revert "(Test) Revert removing const check for offset[i-1]" This reverts commit 0e4059f. * Add support for arith addi/muli ops in wrap-and-stride canonicalization * Add air-opt-memtile-dma-bds pass which generates AIE memtile dma bds from logical air.channel ops * Create a new affine apply op for each offset composition * Change foldForLoopNestAsExtendedSizesAndStrides to not directly mutate any existing ops; leave the loop folding and mutation later, so that the code can fall back * When tiling illegal wrap dim, attempt to erase one dummy wrap-and-stride dimension, if any * Replace uses of air-specialize-channel-wrap-and-stride with air-opt-memtile-dma-bds in xrt tests
- Loading branch information
1 parent
264fec6
commit c0ac177
Showing
36 changed files
with
494 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
Oops, something went wrong.