Implement the Trait (`hardware_trait.rs`)
Open
Nobody has claimed this yet.
enhancement
runtime
- Dominant language
- Rust
- Stars
- 14
- Forks
- 2
- Avg merge
- 12h 42m
- Merged PRs (30d)
- 61
Description
Define the VxHardwarePlugin Rust trait in the compiler tree.
Sub-tasks
- Define the base
VxHardwarePlugintrait. - Implement
plugin_nameandtarget_topologymethods. - Implement
is_op_supportedandannotate_operationfor MLIR interception. - Implement
register_passesto allow vendors to inject their MLIR passes. - Implement
lower_to_binaryto output the final hardware-specific payload. - Add
preferred_tensor_layoutandrequired_alignmentconstraints.
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 in the compiler tree with hardware_trait.rs and map the existing MLIR interception and pass-registration entry points before defining the VxHardwarePlugin trait. Review each listed method and constraint, then verify that vendor pass injection, operation support and annotation, lowering to a hardware payload, tensor layout, and alignment are all represented.
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
- 35/100