-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SnitchToLLVM] Properly detect contiguous MemRefs (#56)
Contiguous MemRefs can be copied using just `snrt_dma_start_1d` which simplifies some of the required setup for the DMA. This PR properly implements the detection of such contiguous MemRefs by first checking for an identity layout and otherwise, checking if the sided layout describes an identity layout in all but offset.
- Loading branch information
Showing
2 changed files
with
55 additions
and
15 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