-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AMDAIEAssignNpuDmaBdIds] Support both constant and semi-affine expre…
…ssions for BD IDs (#946) - Motivated by DMA chaining (#931), this update aims to encourage the use of different BD IDs wherever feasible. - When the DMA operation resides in the innermost loop of the control code, the BD ID will naturally form a semi-affine expression. - After loop unrolling, these BD IDs will simplify to constant. - The `value` operand for `BdIdOp` is changed from `UI32Attr` to `Index` to accommodate either a constant or expression. **_(question: Why use a separate `BdIdOp` instead of directly integrating as an operand into the DMA operation?)_** - Add an `incremental` mode for `ChannelBdIdGenerator` that prioritizes increasing BD IDs during assignment.
- Loading branch information
Showing
12 changed files
with
539 additions
and
165 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.