Skip to content

[transform] Tiling strategy framework - #260

Open
adam-smnk wants to merge 1 commit into
llvm:mainfrom
adam-smnk:tiling-strategy-framework
Open

[transform] Tiling strategy framework#260
adam-smnk wants to merge 1 commit into
llvm:mainfrom
adam-smnk:tiling-strategy-framework

Conversation

@adam-smnk

@adam-smnk adam-smnk commented Aug 13, 2026

Copy link
Copy Markdown
Member

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

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
@adam-smnk
adam-smnk requested a review from rengolin August 13, 2026 15:38
@adam-smnk

adam-smnk commented Aug 13, 2026

Copy link
Copy Markdown
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.

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.

1 participant