-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Codegen][GPU] Fix allocation space in iree_gpu.shuffle_tensor loweri…
…ng (#18250) The memory space for the destination of an `iree_gpu.shuffle_tensor` op must always be shared once lowered. Before lowering it is valid for it to be unspecified, but up until now the lowering was making no guarantee that we ended up with a shared memory space. This changes the memory space and re-enables private allocations from bufferization. This fixes any potential correctness problems arising from vectorization failures.
- Loading branch information
Showing
3 changed files
with
34 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters