Skip to main content

Module device

Module device 

Source
Expand description

The process-wide Level Zero driver / device / context / compute-queue singleton, brought up through the dynamically-loaded libze_loader. If no loader is present, zeInit fails, or no GPU device is exposed, oneapi_device returns None and the backend reports itself unavailable — mirroring rlx-cuda / rlx-rocm / rlx-vulkan on a host with no driver.

Structs§

OneApiDevice
Owned Level Zero context. One per process.

Functions§

oneapi_device
The process-wide oneAPI device, or None when unavailable.