API reference
The Python SDK reference is generated from Python signatures and docstrings. See the Python guide for installation.
The public Rust API is documented with rustdoc and built for the whole workspace
with all features enabled. The generated documentation is served under
/api/.
Crates
| Crate | Tier | Role |
|---|---|---|
virtio-accel | core + alloc | Facade re-exporting the portable layers |
virtio-accel-proto | core | Pointer-free, little-endian protocol 1.0 wire structures |
virtio-accel-transport | core | Descriptor-chain, queue, reset, and notification ports |
virtio-accel-core | core | Backend lifecycle, memory, program, queue, and event contracts |
virtio-accel-tosa | core + alloc | Bounded zero-copy TOSA 1.0 validation and lowering analysis |
virtio-accel-tosa-build | core + alloc | Borrowed and owned static TOSA 1.0 authoring |
virtio-accel-vaccel | core | Adapter seam for native provider contracts |
virtio-accel-coreml | macOS std | TOSA-to-Core ML lowering and ANE-capable prediction |
virtio-accel-openvino | Linux std | TOSA-to-OpenVINO IR lowering and NPU/GPU/CPU inference |
virtio-accel-hexagon | Windows ARM64 std | Strict FP16/INT8 TOSA-to-QNN lowering |
virtio-accel-xdna | std | AMD XDNA2 NPU backend over HRX with BF16/FP8/INT8 TOSA tiers |
virtio-accel-vulkan | std | Vendor-neutral Vulkan 1.3 compute backend with the shared FP32 tier plus the native FP16 and FP8 tiers |
virtio-accel-split-queue | core + alloc | Bounded in-memory split-ring reference model |
virtio-accel-shared-queue | core | Both halves of the split ring over memory a driver and a device share |
virtio-accel-guest | core + alloc | Typed reference client |
virtio-accel-device | core + alloc | Device-owned state with generational IDs |
virtio-accel-mock | std | In-memory backend with deterministic test-only artifacts |
virtio-accel-conformance | std | Transport-free semantic suite and numerical corpus |
virtio-accel-cleanroom | core | Independent conformance codec |
The rustdoc index at /api/ lists every crate and its
feature-gated items. See the public API policy for how the
documentation layers are split and what is guaranteed stable.