Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3c1b4cb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
asyms committed Feb 21, 2024
1 parent 66c8473 commit 22ac4aa
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 23 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/visualization.doctree
Binary file not shown.
42 changes: 22 additions & 20 deletions _sources/visualization.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,28 @@ The code block demonstrates how to use it:
The function will show the loops of the temporal mapping and for each operand shows at which memory level it resides.
For example:

********* Temporal Mapping - CostModelEvaluation(layer=LayerNode_0, core=1) *********
O (O): [[('FX', 11), ('FY', 11)], [('OY', 7), ('OY', 2), ('OX', 14), ('K', 12)], []]
W (I2): [[], [('FX', 11), ('FY', 11), ('OY', 7), ('OY', 2), ('OX', 14)], [('K', 12)]]
I (I1): [[('FX', 11), ('FY', 11), ('OY', 7), ('OY', 2), ('OX', 14), ('K', 12)], []]

-------------------------------------------------------------------------------------
Temporal Loops O W I
-------------------------------------------------------------------------------------
for K in [0:12) sram_2MB dram sram_2MB
-------------------------------------------------------------------------------------
for OX in [0:14) sram_2MB sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for OY in [0:2) sram_2MB sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for OY in [0:7) sram_2MB sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for FY in [0:11) rf_2B sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for FX in [0:11) rf_2B sram_32KB sram_2MB
-------------------------------------------------------------------------------------
::

********* Temporal Mapping - CostModelEvaluation(layer=LayerNode_0, core=1) *********
O (O): [[('FX', 11), ('FY', 11)], [('OY', 7), ('OY', 2), ('OX', 14), ('K', 12)], []]
W (I2): [[], [('FX', 11), ('FY', 11), ('OY', 7), ('OY', 2), ('OX', 14)], [('K', 12)]]
I (I1): [[('FX', 11), ('FY', 11), ('OY', 7), ('OY', 2), ('OX', 14), ('K', 12)], []]
-------------------------------------------------------------------------------------
Temporal Loops O W I
-------------------------------------------------------------------------------------
for K in [0:12) sram_2MB dram sram_2MB
-------------------------------------------------------------------------------------
for OX in [0:14) sram_2MB sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for OY in [0:2) sram_2MB sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for OY in [0:7) sram_2MB sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for FY in [0:11) rf_2B sram_32KB sram_2MB
-------------------------------------------------------------------------------------
for FX in [0:11) rf_2B sram_32KB sram_2MB
-------------------------------------------------------------------------------------

The top loop is the outer-most for loop, where as the bottom loop is the inner-most. Going from bottom to top, loops are allocated to the innermost memories of the memory hierarchy for each operand.
The names of the memories match the names of the ``MemoryInstance`` object used to create the memory level using the ``add_memory()`` call in the ``MemoryHierarchy``.
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions visualization.html

Large diffs are not rendered by default.

0 comments on commit 22ac4aa

Please sign in to comment.