Wire the IR Emission (`codegen.rs`)
Open
Nobody has claimed this yet.
codegen
enhancement
- Dominant language
- Rust
- Stars
- 14
- Forks
- 2
- Avg merge
- 12h 42m
- Merged PRs (30d)
- 61
Description
Update src/codegen.rs to group topological boundaries into regions that can be delegated to plugins.
Sub-tasks
- Map
spawn onblocks into MLIRscf.execute_regionoperations. - Inside these blocks, ensure standard math calls map correctly to
linalgoperations. - Implement extraction logic (
extract_topology_block) to extract these regions for hardware plugins.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/codegen.rs and locating the existing topology and IR emission paths. Trace how spawn on blocks and standard math calls are currently handled, then inspect the expected responsibilities of extract_topology_block. Done means the three listed subtasks are implemented: execute_region mapping, linalg math mapping, and plugin-region extraction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100