Last updated: 2026-06-12

Inference Runtime

Cpu

All API Sections

T-CPU ring backend.

Walks packet batches and executes pure Zig kernels as the validation oracle used by every other ring tier (T1 PM4-direct, UMQ, Metal) to cross-check their outputs bit-for-bit against a reference run.

1 exports 2 methods src/zinc_rt/ring/cpu.zig

1 exports shown

struct

CpuRing

#
pub const CpuRing = struct

T-CPU ring backend that executes packet batches synchronously on the CPU.

dispatch is run by the pure Zig kernels in `isa/cpu_zig/mod.zig`.

Notes

Acts as the validation oracle for the GPU ring implementations; every

src/zinc_rt/ring/cpu.zig:12

Methods

2

method

CpuRing.init

#
pub fn init() CpuRing

Construct a fresh CPU ring.

The backend is stateless, so this is a trivial value initializer that exists to mirror the GPU ring API.

src/zinc_rt/ring/cpu.zig:15

method

CpuRing.deinit

#
pub fn deinit(_: *CpuRing) void}

Release any resources held by the ring.

No-op for the CPU backend.

src/zinc_rt/ring/cpu.zig:20