forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allocation workaround for unused write-only dispatch results. (iree-o…
…rg#13748) The stream allocation pass is currently just looking at the top level of each execution region and values nested under concurrency regions with no users don't get allocated any memory. Since there are cases where dispatch region formation can produce unused write-only results we need to handle these even if suboptimal (wasting an allocation for /dev/null). Fixes iree-org#13729.
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 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