Skip to content

Miscellaneous fixes to address issues seen with vectorization. - #3681

Merged
MaheshRavishankar merged 2 commits into
iree-org:mainfrom
MaheshRavishankar:propogate_tile_size
Nov 5, 2020
Merged

MaheshRavishankar merged 2 commits into
iree-org:mainfrom
MaheshRavishankar:propogate_tile_size

Conversation

@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

Propogate tile sizes to use on root operation to all dependent
operations. This enables each operation can be tiled the same way if
needed.
Also modifies the allocation/deallocation callbacks to allocate
workgroup memory at the entry of the function and not explicitly
deallocate it. This better matches semantics of workgroup memory and
also avoid complications arising from having to hoist the allocation.

Depends on patch : https://reviews.llvm.org/D90582

@ThomasRaoux ThomasRaoux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me. There is no test for the tiling part? Are you planning to add one? If not I can add some when integrating the fillOp vectorization code.

@MaheshRavishankar MaheshRavishankar left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Looks good to me. There is no test for the tiling part? Are you planning to add one? If not I can add some when integrating the fillOp vectorization code.

Yeah that would be great. There is no wasy way for testing that the tile sizes are propogated right now without actuallu doing the second level of tiling.

MaheshRavishankar added 2 commits November 5, 2020 09:17
Propogate tile sizes to use on root operation to all dependent
operations. This enables each operation can be tiled the same way if
needed.
Also modifies the allocation/deallocation callbacks to allocate
workgroup memory at the entry of the function and not explicitly
deallocate it. This better matches semantics of workgroup memory and
also avoid complications arising from having to hoist the allocation.
@MaheshRavishankar
MaheshRavishankar merged commit 436e5ef into iree-org:main Nov 5, 2020
@MaheshRavishankar
MaheshRavishankar deleted the propogate_tile_size branch November 5, 2020 18:04
@hanhanW hanhanW mentioned this pull request Nov 5, 2020
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