Module expert_tier

Module expert_tier 

Source

Structs§

ArenaSlot
A destination slot in the residency ring: which slab, which slot within it.
ExpertResidency
The six sub-buffer device addresses (+ scalars) of one resident expert — exactly what the ptr-table patcher writes into the shadow tables.
PosixTier
Deterministic bounce oracle: pread the record (no O_DIRECT) into a host buffer, copy_h2d into a per-slot device buffer, stream-synced. This is the reference every other tier must match byte-for-byte.
UmaArenaTier
The zero-copy path: O_DIRECT the record straight into the pinned arena slot; the returned addresses point INTO the arena (GPU-addressable at the same VA), no copy_h2d.

Enums§

TierKind

Traits§

ExpertTier
Fetch an expert record into a slot; return the addresses to patch.

Functions§

open_tier
Open the tier named by backend over a built store:
read_device
Copy len bytes from a device VA to a fresh host Vec (test/verify helper).