pub struct WorkerTile {
pub tile_id: TileId,
pub tick: u32,
pub generation: u16,
pub status: u8,
pub patch_graph: PatchGraph,
pub syndrome_buffer: SyndromBuffer,
pub evidence: EvidenceAccumulator,
pub local_cut_state: LocalCutState,
/* private fields */
}Expand description
Worker tile - individual processing unit in the 256-tile fabric
Memory budget: ~64KB
- PatchGraph: ~32KB
- SyndromBuffer: ~16KB
- Evidence + LocalCut + Control: ~16KB
Fields§
§tile_id: TileIdTile identifier (1-255)
tick: u32Current tick number
generation: u16Generation number
status: u8Status flags
patch_graph: PatchGraphLocal graph shard
syndrome_buffer: SyndromBufferSyndrome ring buffer
evidence: EvidenceAccumulatorEvidence accumulator
local_cut_state: LocalCutStateLocal cut state
Implementations§
Source§impl WorkerTile
impl WorkerTile
Sourcepub fn tick(&mut self, delta: &SyndromeDelta) -> TileReport
pub fn tick(&mut self, delta: &SyndromeDelta) -> TileReport
Process one tick of the coherence gate
This is the main entry point for per-cycle processing:
- Apply syndrome delta to patch graph
- Update local cut state
- Accumulate evidence
- Generate tile report
Sourcepub const fn memory_size() -> usize
pub const fn memory_size() -> usize
Get memory size
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkerTile
impl RefUnwindSafe for WorkerTile
impl Send for WorkerTile
impl Sync for WorkerTile
impl Unpin for WorkerTile
impl UnwindSafe for WorkerTile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more