pub struct ExpertSlot {
pub gate: DevicePtr,
pub up: DevicePtr,
pub down: DevicePtr,
pub host: *const u8,
}Expand description
Where one cached expert’s three projections are, as the GPU sees them.
Fields§
§gate: DevicePtr§up: DevicePtr§down: DevicePtr§host: *const u8Host address of the slot (for oracles and CPU-side reads).
Trait Implementations§
Source§impl Clone for ExpertSlot
impl Clone for ExpertSlot
Source§fn clone(&self) -> ExpertSlot
fn clone(&self) -> ExpertSlot
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 ExpertSlot
impl Debug for ExpertSlot
Source§impl PartialEq for ExpertSlot
impl PartialEq for ExpertSlot
impl Copy for ExpertSlot
impl Eq for ExpertSlot
impl StructuralPartialEq for ExpertSlot
Auto Trait Implementations§
impl Freeze for ExpertSlot
impl RefUnwindSafe for ExpertSlot
impl !Send for ExpertSlot
impl !Sync for ExpertSlot
impl Unpin for ExpertSlot
impl UnwindSafe for ExpertSlot
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.