vx-lang / vx-lang/Vx

Draft the C Header (`vx_hardware_runtime.h`)

Open
#23 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

Add the vx_hardware_runtime.h to the project and implement a mock C library for it.

Sub-tasks

  • Create include/vx_hardware_runtime.h with the base dispatch and lifecycle signatures.
  • Implement vx_plugin_alloc_and_transfer and vx_plugin_dispatch_async.
  • Implement memory read-back (vx_plugin_transfer_device_to_host) and teardown (vx_plugin_free).
  • Implement device discovery using VX_CTRL_GET_DEVICE_COUNT.
  • Document the memory layout unpacking expectations for device_args.

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 with the requested include/vx_hardware_runtime.h and map the base dispatch and lifecycle signatures to the listed plugin functions. Implement the mock library behavior for allocation and transfer, async dispatch, device-to-host read-back, freeing, and VX_CTRL_GET_DEVICE_COUNT discovery; document the expected device_args memory layout when all subtasks are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.