[transform] Tiling strategy framework - #260
Open
adam-smnk wants to merge 1 commit into
Open
Conversation
Adds a pluggable tile-size selection framework. As an initial integration, the separate cache tiling is ported over to a strategy implementation. The tiling strategies act as plugins to steer tile size selection step of Tile'n'Fuse framework while fully reusing the common infrastructure powering further propagation and tiling/fusion. By separating the tile size selection logic, Tile'n'Fuse tools become more flexible and can more easily adapt to payload IR. Assisted-by: Claude
Member
Author
|
Follow-up to #240 laying foundations for unifying multi-level tiling under Tile'n'Fuse framework. The strategies serve as tile size selection "cost models" as tiles are the core difference between cache and register transformations. Starting with 1-to-1 conversion of the existing tiling schedules; here the default cache tiling, with later PRs converting register-level schedules. The main goal is to move away from individual per kernel and data type schedules. Selection logic is shifted to runtime transforms that can examine the payload, pull target information, and make on the spot decisions. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a pluggable tile-size selection framework.
As an initial integration, the current default tile sizes are ported over to a cache strategy implementation.
The tiling strategies act as plugins to steer tile size selection step of Tile'n'Fuse framework while fully reusing the common infrastructure powering further propagation and tiling/fusion.
By separating the tile size selection logic, Tile'n'Fuse tools become more flexible and can more easily adapt to payload IR.
Assisted-by: Claude