pub struct LayerPlacement {
pub card1: Vec<u32>,
/* private fields */
}Expand description
One layer’s resolved placement. Card 0 keeps the FULL resident bank, so a card-0
expert’s local slot IS its global id (no remap, exactly as the even split behaved);
card 1 holds a gathered half, so its local slot is the position in card1.
Fields§
§card1: Vec<u32>GLOBAL expert ids owned by card 1, ASCENDING — the bank gather order and the local-slot order. Ascending is load-bearing: it makes the even case a contiguous copy, and it makes the gather order a function of the map alone (no host set iteration order can leak into device bytes).
Implementations§
Trait Implementations§
Source§impl Clone for LayerPlacement
impl Clone for LayerPlacement
Source§fn clone(&self) -> LayerPlacement
fn clone(&self) -> LayerPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LayerPlacement
impl RefUnwindSafe for LayerPlacement
impl Send for LayerPlacement
impl Sync for LayerPlacement
impl Unpin for LayerPlacement
impl UnsafeUnpin for LayerPlacement
impl UnwindSafe for LayerPlacement
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