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

[TIR] Handle DeclBuffer in MergeDynamicSharedMemoryAllocations #15094

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

Lunderberg
Copy link
Contributor

Preserve DeclBuffer node when transforming with MergeDynamicSharedMemoryAllocations. Any DeclBuffer nodes that refer to merged allocations nodes are updated to refer to the merged allocation. This is a subset of changes, being split out from #14778 into independent portions.

Preserve DeclBuffer node when transforming with
`MergeDynamicSharedMemoryAllocations`.  Any `DeclBuffer` nodes that
refer to merged allocations nodes are updated to refer to the merged
allocation.  This is a subset of changes, being split out from
apache#14778 into independent portions.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Jun 13, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Some of the unit tests passed a Allocate/DeclBuffer whose different
shapes, due to alignment restrictions.  Moved the stripping of
DeclBuffer that occurs in FlattenBuffer to a dedicated visitor, rather
than occurring as part of the Allocate visitor.
@Lunderberg Lunderberg force-pushed the declbuffer_merge_dynamic_shared_alloc branch from 5e4a095 to ebfc007 Compare June 15, 2023 14:22
@vinx13 vinx13 merged commit 64f9b12 into apache:main Jun 16, 2023
@Lunderberg Lunderberg deleted the declbuffer_merge_dynamic_shared_alloc branch June 17, 2023 01:25
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.

3 participants