-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AMDAIEFoldDmaWaits] Fold DMA wait operations across multi columns (#986
) This is an enhancement for #962. In the previous PR, DMA waits on the same `connection` (and the same tile) could be folded, exploiting the fact that each DMA channel has a queue size of 4. In this PR, DMA waits across multiple `columns` can also be folded, provided their corresponding `row`, `channel`, and `direction` are the same. This optimization leverages the ability to specify `colNum` in `TCTSync`, where the range `[col, col + colNum)` can be addressed. The numbers in the following table show the instruction size in words. | Test (MxKxN) | No Folding | Only Fold by Connection | Only Fold by Column | Fold Both | |---------------|------------|--------------------|----------------|-----------| | 512x4096x512 | 1228 | 1132 | 1120 | 1096 | | 512x512x4096 | 820 | 772 | 748 | 736 | | 4096x512x512 | 4628 | 4244 | 4220 | 4124 |
- Loading branch information
Showing
4 changed files
with
618 additions
and
23 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
Oops, something went wrong.