vx-lang / vx-lang/Vx

Implement the Trait (`hardware_trait.rs`)

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

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 VxHardwarePlugin trait.
  • Implement plugin_name and target_topology methods.
  • Implement is_op_supported and annotate_operation for MLIR interception.
  • Implement register_passes to allow vendors to inject their MLIR passes.
  • Implement lower_to_binary to output the final hardware-specific payload.
  • Add preferred_tensor_layout and required_alignment constraints.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.