pub struct GdnCarryBinding {
pub flag: DevicePtr,
pub stash: DevicePtr,
pub pend: DevicePtr,
pub slot_tab: DevicePtr,
pub seq_floats: usize,
pub conv_stash: DevicePtr,
pub conv_seq_elems: usize,
pub conv_tab: DevicePtr,
}Expand description
2026-09-26: A GDN layer’s device buffers for the carried-state verify, set once by the
model (model-engine gdn_carry.rs) before any capture.
Fields§
§flag: DevicePtr2026-09-26: This layer’s engaged words, one u32 per batch position; a carry
kernel sets each position it verified to 1.
stash: DevicePtr2026-09-26: This layer’s stash, slots * seq_floats f32.
pend: DevicePtr2026-09-26: This layer’s pending-row counts, one u32 per slot.
slot_tab: DevicePtr2026-09-26: Batch position to slot, shared by every layer.
seq_floats: usize§conv_stash: DevicePtr2026-09-26: This layer’s conv stash, slots * conv_seq_elems BF16 (four input rows
per slot).
conv_seq_elems: usize§conv_tab: DevicePtr2026-09-26: This layer’s conv-state pointer per batch position, staged per verify; a declining layer folds through it.
Trait Implementations§
Source§impl Clone for GdnCarryBinding
impl Clone for GdnCarryBinding
Source§fn clone(&self) -> GdnCarryBinding
fn clone(&self) -> GdnCarryBinding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GdnCarryBinding
impl Debug for GdnCarryBinding
Source§impl PartialEq for GdnCarryBinding
impl PartialEq for GdnCarryBinding
impl Copy for GdnCarryBinding
impl Eq for GdnCarryBinding
impl StructuralPartialEq for GdnCarryBinding
Auto Trait Implementations§
impl Freeze for GdnCarryBinding
impl RefUnwindSafe for GdnCarryBinding
impl Send for GdnCarryBinding
impl Sync for GdnCarryBinding
impl Unpin for GdnCarryBinding
impl UnwindSafe for GdnCarryBinding
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.