Skip to content

Factor CPU matmul into more modular approach#135

Merged
rengolin merged 2 commits intollvm:mainfrom
rengolin:cpu_pipeline
May 8, 2026
Merged

Factor CPU matmul into more modular approach#135
rengolin merged 2 commits intollvm:mainfrom
rengolin:cpu_pipeline

Conversation

@rengolin
Copy link
Copy Markdown
Member

@rengolin rengolin commented May 8, 2026

Uses previous changes in Pipeline, Descriptor, and the removal of bundles to construct a heterogeneous pipeline with schedules, passes, and descriptor files into a single pipeline.

This should serve as the core example on how to compose a complex pipeline using Python, by creating on-the-fly custom schedules while reusing the existing infrastructure (passes, transforms) that we have in Lighthouse.

Uses previous changes in Pipeline, Descriptor, and the removal of
bundles to construct a heterogeneous pipeline with schedules, passes,
and descriptor files into a single pipeline.

This should serve as the core example on how to compose a complex
pipeline using Python, by creating on-the-fly custom schedules while
reusing the existing infrastructure (passes, transforms) that we have
in Lighthouse.
@rengolin rengolin requested a review from adam-smnk May 8, 2026 09:25
Copy link
Copy Markdown
Member

@adam-smnk adam-smnk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but I observe performance regression.
There must be some small delta in updated lowering.

Comment thread examples/cpu/x86/matmul.py Outdated
Comment thread examples/cpu/x86/matmul.py
@rengolin rengolin merged commit c788bbe into llvm:main May 8, 2026
3 checks passed
@rengolin rengolin deleted the cpu_pipeline branch May 8, 2026 09:51
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