rlx-driver 0.2.5

RLX driver layer — device handles, arenas, buffers, command streams
Documentation

rlx-driver

Driver layer for RLX — Device enum + cross-cutting types (arenas, buffers, command streams).

This crate sits between rlx-ir (vocabulary) and the per-backend crates (execution). Backends consume the types here so the runtime can dispatch to any of them through a uniform interface.

What's here

  • DeviceCpu, Metal, Mlx, Ane, Cuda, Rocm, Tpu, Gpu (wgpu), Vulkan, OpenGl, DirectX, WebGpu, Fpga. Used by the runtime to pick a backend and by tests to pin graphs to a specific path.
  • registry — process-global table of which Device variants have a registered backend (set at runtime, queried by rlx_runtime::Device::is_available).
  • Collective primitives — types for distributed / multi-stream scenarios that the runtime composes on top.

Install

[dependencies]
rlx-driver = "0.2"

Usually pulled in transitively via rlx-runtime or rlx.

License

GPL-3.0-only.