Skip to content

[CK_TILE] Stream-K Tile Engine Fixes#5544

Open
arai713 wants to merge 3 commits intodevelopfrom
users/arai/ck/streamk_tile_engine_fix
Open

[CK_TILE] Stream-K Tile Engine Fixes#5544
arai713 wants to merge 3 commits intodevelopfrom
users/arai/ck/streamk_tile_engine_fix

Conversation

@arai713
Copy link
Contributor

@arai713 arai713 commented Mar 17, 2026

Motivation

Stream-K GEMM in Tile Engine was unable to support instances where the matrix dimensions were not perfectly aligned due to bugs with padding support. This PR implements support for padding back into the Stream-K implementation in Tile Engine along with other minor fixes. Additionally, this PR introduces a benchmarking script that is standard for Tile Engine to run all compiled instances with user specified matrix dimensions.

Technical Details

  • Fixed padding boolean comparison and parsing in gen_single so that padding flags from the config files are correctly propagated into the Stream-K template
  • Updated trait combo parsing to have the reduction_strategy for Stream-K in the correct order
  • Addition of gemm_streamk_benchmark.py to run all compiled Stream-K instances

Test Plan

Tested using the benchmark scripts to run instances.

Test Result

All instances passed.

Submission Checklist

arai713 added 3 commits March 18, 2026 12:48
This adds support for padding to the Stream-K tile engine and lines
up the style to match othe other operations in Tile Engine. This also
resolves a mismatch with how the order for trait combos were being read
out into the generated kernel name.
@arai713 arai713 force-pushed the users/arai/ck/streamk_tile_engine_fix branch from 4cb70c6 to d82578d Compare March 18, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant