Skip to content

[transform] Target-aware register parallel dim tiling strategy - #273

Merged
adam-smnk merged 1 commit into
llvm:mainfrom
adam-smnk:tiling-register-parallel
Sep 4, 2026
Merged

[transform] Target-aware register parallel dim tiling strategy#273
adam-smnk merged 1 commit into
llvm:mainfrom
adam-smnk:tiling-register-parallel

Conversation

@adam-smnk

@adam-smnk adam-smnk commented Sep 2, 2026

Copy link
Copy Markdown
Member

Adds register-level parallel strategy that derives tile sizes based on operations and target.
Includes shared target-capability analysis and tile-assignment helpers.

Register-level strategy which directly mimics existing first-level register tiling which focuses on parallel dimension to ensure data can fit in available registers.
The strategy folds in the two existing variants: general f32 and AMX bf16, and provides a generic target-aware SIMD size fallback.

Assisted-by: Claude

Adds register-level parallel strategy that derives tile sizes based on
operations and TargetInfo.
Includes shared target-capability analysis and tile-assignment helpers.

Register-level strategy which directly mimics existing first-level
register tiling which focuses on parallel dimension to ensure data can
fit in available registers.
The strategy folds in the two existing variants: general f32 and AMX
bf16, and provides a generic target-aware SIMD size fallback.

Assisted-by: Claude
@adam-smnk
adam-smnk requested a review from rengolin September 2, 2026 15:37
@adam-smnk

Copy link
Copy Markdown
Member Author

No new optimizations for now.
Primary goal is to translate different tiling steps present in YAML descriptors into the tiling strategy framework.

The overall idea for now is to continue with further tiling steps until different matmul descriptors can be collapsed into one.
Later each strategy can be enhanced independently to pick better sizes.

@adam-smnk
adam-smnk merged commit e3a3e4f into llvm:main Sep 4, 2026
3 checks passed
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.

2 participants