Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ObjectFifo] Add pass to flatten the logical objectFifo #638

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

yzhang93
Copy link
Contributor

@yzhang93 yzhang93 commented Aug 3, 2024

This PR is part to achieve #644

@yzhang93 yzhang93 changed the title [WIP][ObjectFifo] Add pass to flatten the logical objectFifo [ObjectFifo] Add pass to flatten the logical objectFifo Aug 6, 2024
Copy link
Contributor

@Abhishek-Varma Abhishek-Varma left a comment

Choose a reason for hiding this comment

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

Few comments.

Could you come up with a smaller lit test?
Essentially the pass is to demo the linearization of the memref involved in logicalobjectfifo.from_memref + logicalobjectfifo.access. So, we should be able to form a smaller lit test.

Copy link
Contributor

@Abhishek-Varma Abhishek-Varma 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!

@yzhang93 yzhang93 enabled auto-merge (squash) August 6, 2024 22:46
@yzhang93 yzhang93 merged commit ab9fabd into nod-ai:main Aug 6, 2024
2 checks passed
yzhang93 added a commit that referenced this pull request Aug 9, 2024
This PR is to add `FlattenLogicalObjectFifo` pass
#638 into the pipeline, and
modifies the tests accordingly.
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.

2 participants