Skip to content

Conversation

@janetsc
Copy link
Contributor

@janetsc janetsc commented Oct 6, 2022

In order to simplify the dynamic VTCM memory pool, it will support the following alignments:

2k boundaries, allocated from the front of the pool in the smallest open spot possible.
128 byte boundaries, allocated from the end of the pool.

Made this support explicit, modified test to hit these boundaries.

cc: @kparzysz-quic, @supersat, @csullivan

@janetsc janetsc marked this pull request as ready for review October 6, 2022 18:17
Copy link
Contributor

@nverke nverke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for adding those tests even though I didnt publish the comment haha!

@janetsc
Copy link
Contributor Author

janetsc commented Oct 11, 2022

@tvm-bot rerun

@driazati driazati merged commit 4f975c7 into apache:main Oct 11, 2022
@janetsc janetsc deleted the vtcm_alignment branch October 11, 2022 21:09
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
In order to simplify the dynamic VTCM memory pool, it will support the following alignments:

2k boundaries, allocated from the front of the pool in the smallest open spot possible.
128 byte boundaries, allocated from the end of the pool.

Made this support explicit, modified test to hit these boundaries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants