Last updated: 2026-06-12

Inference Runtime

Mod

All API Sections

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 0 methods src/zinc_rt/ring/mod.zig

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.

src/zinc_rt/ring/mod.zig:15

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.

src/zinc_rt/ring/mod.zig:27