pub struct ResidentWorkloadHints {
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 ResidentWorkloadHints
impl Clone for ResidentWorkloadHints
Source§fn clone(&self) -> ResidentWorkloadHints
fn clone(&self) -> ResidentWorkloadHints
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 ResidentWorkloadHints
Source§impl Debug for ResidentWorkloadHints
impl Debug for ResidentWorkloadHints
Source§impl Default for ResidentWorkloadHints
impl Default for ResidentWorkloadHints
Source§fn default() -> ResidentWorkloadHints
fn default() -> ResidentWorkloadHints
Returns the “default value” for a type. Read more
impl Eq for ResidentWorkloadHints
Source§impl PartialEq for ResidentWorkloadHints
impl PartialEq for ResidentWorkloadHints
impl StructuralPartialEq for ResidentWorkloadHints
Auto Trait Implementations§
impl Freeze for ResidentWorkloadHints
impl RefUnwindSafe for ResidentWorkloadHints
impl Send for ResidentWorkloadHints
impl Sync for ResidentWorkloadHints
impl Unpin for ResidentWorkloadHints
impl UnsafeUnpin for ResidentWorkloadHints
impl UnwindSafe for ResidentWorkloadHints
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.