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