Last updated: 2026-06-12
Inference Runtime
Mod
Backend-neutral packet batch types for ZINC_RT rings.
These packet structs are the handoff point between lowered IR and concrete ring implementations such as T-CPU, T2 UMQ, and future direct tiers.
2 exports shown
union
Packet
pub const Packet = union(enum) Tagged union describing one unit of work submitted to a ZINC_RT ring.
Each variant carries the CPU ISA parameter struct that fully describes a single decode-step kernel; the `barrier` variant marks an in-stream ordering point with no shader payload.
struct
PacketBatch
pub const PacketBatch = struct Borrowed slice of packets that form one submission to a ring.
Ring implementations consume a batch in order, treating `.barrier` entries as completion fences between adjacent dispatches.