-
Notifications
You must be signed in to change notification settings - Fork 612
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CPU] Simplify how tile sizes are updated
This is a follow-up for #16350 and is meant to simplify how tile sizes are updated. In particular, a new wrapper for tile sizes is added, `SizesAndScalableFlagsTuple`, that enables the following simplification: **BEFORE** ```cpp vecTileSizes[idx] = innerVecTileSizes[idx]; vecScalableTileFlags[idx] = innerVecScalableTileFlags[idx]; ``` (size and scalable flag updated separately) **AFTER** ```cpp vecTileSizesAndFlags[idx] = innerVecTileSizesAndFlags[idx]; ``` (size and scalable flag updated in one stmt) The ultimate goal is to "hide" scalable flags for folks working on targets that don't require those while preserving enough flexibility for targets that do need to track this extra info. It should also simplify further work (and review process) for future patches similar to #16350.
- Loading branch information
1 parent
d1e1d05
commit 8c63a4c
Showing
2 changed files
with
88 additions
and
21 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