Expand description
Level Zero context + command queue / list scaffold.
Resolves one driver + device by ordinal, creates a ze_context on
it, a compute ze_command_queue, and a default ze_command_list.
Higher layers will allocate memory and kernels on top; this module
is intentionally the minimum to reach a dispatchable state.
Structs§
- Context
- Device
Buffer - Kernel
- Module
- Pipeline
- A SPIR-V module and one kernel from it, kept together — Level Zero destroys
the kernel before the module, and the unified
ComputeDevicetrait hands back a single pipeline object.kernelis declared first so it drops first.