rlx-driver 0.2.0

RLX driver layer — device handles, arenas, buffers, command streams
Documentation
  • Coverage
  • 67.71%
    65 out of 96 items documented0 out of 53 items with examples
  • Size
  • Source code size: 52.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.14 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • MIT-RLX/rlx
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • eugenehp

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.