#[repr(C, align(64))]pub struct P64LayerScheduleEntry {
pub layer: u32,
pub blob_begin: u32,
pub blob_end: u32,
pub tensor_count: u16,
pub roles_mask: u16,
pub reserved: [u8; 48],
}Expand description
One row of the optional layer schedule table (64 B, cache-line DOD).
Written when P64_FLAG_LAYER_SCHEDULE is set; offset in role_table_offset.
Fields§
§layer: u32§blob_begin: u32Inclusive start of first blob in this layer (file offset).
blob_end: u32Exclusive end of last blob in this layer.
tensor_count: u16§roles_mask: u16Bit i set if role_id i (0..14) appears in this layer.
reserved: [u8; 48]Trait Implementations§
Source§impl Clone for P64LayerScheduleEntry
impl Clone for P64LayerScheduleEntry
Source§fn clone(&self) -> P64LayerScheduleEntry
fn clone(&self) -> P64LayerScheduleEntry
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 moreSource§impl Debug for P64LayerScheduleEntry
impl Debug for P64LayerScheduleEntry
Source§impl Default for P64LayerScheduleEntry
impl Default for P64LayerScheduleEntry
impl Copy for P64LayerScheduleEntry
Auto Trait Implementations§
impl Freeze for P64LayerScheduleEntry
impl RefUnwindSafe for P64LayerScheduleEntry
impl Send for P64LayerScheduleEntry
impl Sync for P64LayerScheduleEntry
impl Unpin for P64LayerScheduleEntry
impl UnsafeUnpin for P64LayerScheduleEntry
impl UnwindSafe for P64LayerScheduleEntry
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.