Skip to content
Snippets Groups Projects
Commit 2c416522 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

[MIN] Update line spacing.

parent 334dcbd2
No related branches found
No related tags found
3 merge requests!17v0.1.0,!12v0.4.0,!11Export refactor
// MEMINFO CONF // MEMINFO {{ name }}
{# TODO : Suppose graph input is always connected to first input #} {# TODO : Suppose graph input is always connected to first input #}
{# Graph input are stored in external memory so giving static values #} {# Graph input are stored in external memory so giving static values #}
{%if is_input %} {%- if is_input -%}
// GRAPH INPUT MEMINFO // GRAPH INPUT MEMINFO
#define {{ in_name[0]|upper }}_SIZE {{ in_chan[0] }} #define {{ in_name[0]|upper }}_SIZE {{ in_chan[0] }}
#define {{ in_name[0]|upper }}_OFFSET 0 #define {{ in_name[0]|upper }}_OFFSET 0
...@@ -12,9 +11,7 @@ ...@@ -12,9 +11,7 @@
#define {{ in_name[0]|upper }}_CONT_OFFSET 0 #define {{ in_name[0]|upper }}_CONT_OFFSET 0
#define {{ in_name[0]|upper }}_WRAP_OFFSET 0 #define {{ in_name[0]|upper }}_WRAP_OFFSET 0
#define {{ in_name[0]|upper }}_WRAP_SIZE 0 #define {{ in_name[0]|upper }}_WRAP_SIZE 0
{% endif %} {% endif -%}
// MEMINFO {{ name }}
{% for outidx in range(nb_out) -%} {% for outidx in range(nb_out) -%}
// OUTPUT {{ outidx }} // OUTPUT {{ outidx }}
#define {{ out_name[outidx]|upper }}_SIZE {{ mem_info_size[outidx]}} #define {{ out_name[outidx]|upper }}_SIZE {{ mem_info_size[outidx]}}
...@@ -25,4 +22,4 @@ ...@@ -25,4 +22,4 @@
#define {{ out_name[outidx]|upper }}_CONT_OFFSET {{ mem_info_cont_offset[outidx]}} #define {{ out_name[outidx]|upper }}_CONT_OFFSET {{ mem_info_cont_offset[outidx]}}
#define {{ out_name[outidx]|upper }}_WRAP_OFFSET {{ mem_info_wrap_offset[outidx]}} #define {{ out_name[outidx]|upper }}_WRAP_OFFSET {{ mem_info_wrap_offset[outidx]}}
#define {{ out_name[outidx]|upper }}_WRAP_SIZE {{ mem_info_wrap_size[outidx]}} #define {{ out_name[outidx]|upper }}_WRAP_SIZE {{ mem_info_wrap_size[outidx]}}
{% endfor %} {% endfor -%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment