Skip to content

[TIR] Handle DeclBuffer in MergeDynamicSharedMemoryAllocations#15094

Merged
vinx13 merged 2 commits intoapache:mainfrom
Lunderberg:declbuffer_merge_dynamic_shared_alloc
Jun 16, 2023
Merged

[TIR] Handle DeclBuffer in MergeDynamicSharedMemoryAllocations#15094
vinx13 merged 2 commits intoapache:mainfrom
Lunderberg:declbuffer_merge_dynamic_shared_alloc

Conversation

@Lunderberg
Copy link
Copy Markdown
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
Copy Markdown
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