pub struct MegakernelMemoryPlan {
pub graph_bytes: u64,
pub frontier_bytes: u64,
pub scratch_bytes: u64,
pub output_bytes: u64,
pub required_bytes: u64,
pub budget_bytes: u64,
pub memory_pressure_bps: u32,
}Expand description
Detailed megakernel memory plan.
Fields§
§graph_bytes: u64Graph-layout bytes retained on device.
frontier_bytes: u64Frontier-state bytes retained on device.
scratch_bytes: u64Temporary scratch bytes required by the selected topology.
output_bytes: u64Final compact output/readback bytes.
required_bytes: u64Total peak bytes required by the plan.
budget_bytes: u64Caller-approved byte budget.
memory_pressure_bps: u32Required/budget pressure in basis points.
Trait Implementations§
Source§impl Clone for MegakernelMemoryPlan
impl Clone for MegakernelMemoryPlan
Source§fn clone(&self) -> MegakernelMemoryPlan
fn clone(&self) -> MegakernelMemoryPlan
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 moreimpl Copy for MegakernelMemoryPlan
Source§impl Debug for MegakernelMemoryPlan
impl Debug for MegakernelMemoryPlan
impl Eq for MegakernelMemoryPlan
Source§impl PartialEq for MegakernelMemoryPlan
impl PartialEq for MegakernelMemoryPlan
Source§fn eq(&self, other: &MegakernelMemoryPlan) -> bool
fn eq(&self, other: &MegakernelMemoryPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelMemoryPlan
Auto Trait Implementations§
impl Freeze for MegakernelMemoryPlan
impl RefUnwindSafe for MegakernelMemoryPlan
impl Send for MegakernelMemoryPlan
impl Sync for MegakernelMemoryPlan
impl Unpin for MegakernelMemoryPlan
impl UnsafeUnpin for MegakernelMemoryPlan
impl UnwindSafe for MegakernelMemoryPlan
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.