Skip to content

[xegpu] Remove grid search and genetic algorithm matmul tuners#198

Merged
tkarna merged 7 commits into
llvm:mainfrom
tkarna:xegpu-tune-refactor
Jun 25, 2026
Merged

[xegpu] Remove grid search and genetic algorithm matmul tuners#198
tkarna merged 7 commits into
llvm:mainfrom
tkarna:xegpu-tune-refactor

Conversation

@tkarna

@tkarna tkarna commented Jun 22, 2026

Copy link
Copy Markdown
Contributor
  • Updates MLP schedule constraints: SG tile size can be 16 (minimum was 32) + bugfixes.
  • tune_costmodel.py is refactored to have a more generic optimize_payload entry point.
  • Removes tune_matmul_gridsearch.py, tune_matmul_ga.py, genetic_algorithm.py.
  • Updates llvm version to the latest one. This includes upstream xegpu support for transpose-A gemms etc.

Grid search tuning has now become infeasible due to larger number of tunable parameters. The genetic algorithm tuner is now superseded by the cost model based tuning. This cleanup reduces the amount of code to maintain.

The motivation for the cost model refactoring is the upcoming KernelBench driver which can tune gemm-like kernels at runtime.

@tkarna tkarna requested review from adam-smnk and rengolin June 22, 2026 17:48
@tkarna tkarna merged commit ebf0610 into llvm:main Jun 25, 2026
3 checks passed
@tkarna tkarna deleted the xegpu-tune-refactor branch June 25, 2026 14:01
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