-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make lmem assignment stage more analyzable
- define some commonly used LOG macro (Logger.h) - define some strinify function to show lmem type and timestep mode (LayerGroupDefs.h) - add show_timestep_table to print readable timestep table (BasicTimeStep.h/BasicTimeStep.cpp) - add many DEBUG_WITH_TYPE logs and comments in lmem assignment stage (BasicTimeStep.cpp/LmemAllocator.cpp/TimeStepMethod.cpp/SwPipeline.cpp) - rename some variables and function names for better represent the process(gen_all_mem_buffer_ts/tgt_min_address/...) - reduce assignLmemAddr cyclomatic complexity.(LmemAllocator.cpp:989) Change-Id: I31dadb9424be334da481f9dfbd45985ca89dc058
- Loading branch information
Showing
13 changed files
with
598 additions
and
183 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
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.