pub struct MegakernelWorkloadHints {
pub hot_opcode_count: u32,
pub hot_window_count: u32,
pub graph_node_count: u32,
pub graph_edge_count: u32,
pub frontier_density_bps: u16,
pub memory_pressure_bps: u16,
pub resident_device_bytes: u64,
pub device_memory_budget_bytes: u64,
}Expand description
Optional scale signals that let the megakernel launch policy choose sparse, dense, hybrid, fused, or memory-constrained execution from real workload shape instead of queue length alone.
Fields§
§hot_opcode_count: u32Count of opcodes observed hot enough for promotion consideration.
hot_window_count: u32Count of ticketed route windows observed hot enough for promotion.
graph_node_count: u32Resident dependency-graph node count.
graph_edge_count: u32Resident dependency-graph edge count.
frontier_density_bps: u16Active frontier density in basis points. Zero means infer when possible.
memory_pressure_bps: u16Device memory pressure in basis points. Zero means infer when possible.
resident_device_bytes: u64Device-resident bytes already required by this dispatch family.
device_memory_budget_bytes: u64Hard device-memory budget. Zero means unbounded.
Trait Implementations§
Source§impl Clone for MegakernelWorkloadHints
impl Clone for MegakernelWorkloadHints
Source§fn clone(&self) -> MegakernelWorkloadHints
fn clone(&self) -> MegakernelWorkloadHints
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 MegakernelWorkloadHints
Source§impl Debug for MegakernelWorkloadHints
impl Debug for MegakernelWorkloadHints
Source§impl Default for MegakernelWorkloadHints
impl Default for MegakernelWorkloadHints
Source§fn default() -> MegakernelWorkloadHints
fn default() -> MegakernelWorkloadHints
Returns the “default value” for a type. Read more
impl Eq for MegakernelWorkloadHints
Source§impl PartialEq for MegakernelWorkloadHints
impl PartialEq for MegakernelWorkloadHints
Source§fn eq(&self, other: &MegakernelWorkloadHints) -> bool
fn eq(&self, other: &MegakernelWorkloadHints) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MegakernelWorkloadHints
Auto Trait Implementations§
impl Freeze for MegakernelWorkloadHints
impl RefUnwindSafe for MegakernelWorkloadHints
impl Send for MegakernelWorkloadHints
impl Sync for MegakernelWorkloadHints
impl Unpin for MegakernelWorkloadHints
impl UnsafeUnpin for MegakernelWorkloadHints
impl UnwindSafe for MegakernelWorkloadHints
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.