Expand description
§HLX Runtime
Deterministic execution engine for LC-B crates.
§Architecture
LC-B Crate
│
▼
┌─────────────────┐
│ Runtime │
│ ┌───────────┐ │
│ │ Validator │ │ ← Integrity check (BLAKE3)
│ └───────────┘ │
│ │ │
│ ▼ │
│ ┌───────────┐ │
│ │ Executor │ │ ← Instruction dispatch
│ └───────────┘ │
│ │ │
│ ▼ │
│ ┌───────────┐ │
│ │ Backend │◄─┼── CPU (ndarray) | Vulkan (SPIR-V)
│ └───────────┘ │
└─────────────────┘
│
▼
Result (Value)§Determinism Guarantees
- Same crate + same config = same result
- Fixed workgroup sizes on GPU
- Deterministic reduction order
- No dynamic memory allocation during execution
Re-exports§
pub use config::RuntimeConfig;pub use backend::Backend;pub use executor::Executor;pub use value_store::ValueStore;pub use speculation::SpeculationCoordinator;pub use speculation::SpeculationConfig;pub use speculation::AgentState;pub use speculation::BarrierCoordinator;
Modules§
- backend
- Backend Trait
- backends
- Backends module
- config
- Runtime Configuration
- executor
- Executor
- speculation
- HLX-Scale Speculation Runtime
- tuning
- Hardware-Specific Tuning
- value_
store - Value Store
Functions§
- execute
- Execute a crate with default configuration
- execute_
with_ config - High-level entry point to execute a crate with specific config