forked from apache/tvm
-
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.
[TIR][Transform] Clear buffer_map during MakeUnpackedAPI (apache#12891)
* [TIR][Transform] Clear buffer_map during MakeUnpackedAPI This mimics the behavior in `MakePackedAPI`, and is assumed to be the case for some codegens. * Remove read of buffer_map in ethosu.tir_to_cs_translator This previously relied on `MakeUnpackedAPI` preserving the `PrimFunc::buffer_map`, even after it had been used for lowering. It now reads from the `BufferLoad` and `BufferStore` nodes to determine buffer shapes. * Added more documentation for MakePackedAPI/MakeUnpackedAPI
- Loading branch information
1 parent
a07a46e
commit bec9f16
Showing
4 changed files
with
88 additions
and
16 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