Expand description
§ironaccelerator-levelzero
Intel accelerator backend via oneAPI Level Zero. Level Zero is the lowest-level user-mode Intel compute API — it sits below SYCL / OpenCL / oneDNN and exposes GPUs (Arc, Flex, Ponte Vecchio, Battlemage) and NPUs (Meteor / Arrow / Lunar Lake VPU) through a single device enumeration and command-queue model.
We dynamically load ze_loader (libze_loader.so.1 / ze_loader.dll),
call zeInit, then walk drivers → devices and expose each as a
DeviceDescriptor. ze_device_type_t distinguishes GPU and VPU
(NPU) so a single backend instance can surface both.
Re-exports§
pub use backend::LevelZeroBackend;pub use backend::LEVELZERO_BACKEND;
Modules§
- backend
- Level Zero
Backendimpl. One entry per GPU or NPU device the loader returns;ze_device_type_tdistinguishes the two. - compute
- Level Zero context + command queue / list scaffold.
- drv
- Minimal
ze_loaderdriver:zeInit, driver walk, device walk,zeDeviceGetProperties. Enough for the planner; kernel launch lives in higher layers.