pub struct ResidentLaunchRequest {Show 17 fields
pub queue_len: u32,
pub requested_worker_groups: u32,
pub max_workgroup_size_x: u32,
pub max_compute_workgroups_per_dimension: u32,
pub max_compute_invocations_per_workgroup: u32,
pub requested_hit_capacity: u32,
pub expected_hits_per_item: u32,
pub hot_opcode_count: u32,
pub hot_window_count: u32,
pub requeue_count: u64,
pub max_priority_age: 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
Inputs for one launch-policy recommendation.
Fields§
§queue_len: u32Logical ring slots or work items queued for this launch.
requested_worker_groups: u32Caller-requested worker workgroup ceiling. Zero means derive from occupancy.
max_workgroup_size_x: u32Adapter maximum workgroup size in the x dimension.
max_compute_workgroups_per_dimension: u32Adapter maximum compute workgroups per dimension.
max_compute_invocations_per_workgroup: u32Adapter maximum invocations per compute workgroup.
requested_hit_capacity: u32Caller-requested sparse-hit capacity. Zero means derive from queue shape.
expected_hits_per_item: u32Expected sparse hits per queued item when deriving hit capacity.
hot_opcode_count: u32Count of opcodes observed hot enough for promotion.
hot_window_count: u32Count of ticketed route windows observed hot enough for promotion.
requeue_count: u64Slots requeued by priority scheduling since the last recommendation.
max_priority_age: u32Maximum priority age observed since the last recommendation.
graph_node_count: u32Nodes in the resident dependency graph. Zero means the caller has no graph-shape telemetry for this launch.
graph_edge_count: u32Edges in the resident dependency graph. Zero means the caller has no graph-shape telemetry for this launch.
frontier_density_bps: u16Active frontier density in basis points relative to graph nodes.
memory_pressure_bps: u16Device-memory pressure in basis points relative to the active budget.
resident_device_bytes: u64Device-resident bytes already required by this dispatch family.
device_memory_budget_bytes: u64Hard device-memory budget for this launch. Zero means unbounded.
Implementations§
Trait Implementations§
Source§impl Clone for ResidentLaunchRequest
impl Clone for ResidentLaunchRequest
Source§fn clone(&self) -> ResidentLaunchRequest
fn clone(&self) -> ResidentLaunchRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ResidentLaunchRequest
Source§impl Debug for ResidentLaunchRequest
impl Debug for ResidentLaunchRequest
impl Eq for ResidentLaunchRequest
Source§impl Hash for ResidentLaunchRequest
impl Hash for ResidentLaunchRequest
Source§impl PartialEq for ResidentLaunchRequest
impl PartialEq for ResidentLaunchRequest
impl StructuralPartialEq for ResidentLaunchRequest
Auto Trait Implementations§
impl Freeze for ResidentLaunchRequest
impl RefUnwindSafe for ResidentLaunchRequest
impl Send for ResidentLaunchRequest
impl Sync for ResidentLaunchRequest
impl Unpin for ResidentLaunchRequest
impl UnsafeUnpin for ResidentLaunchRequest
impl UnwindSafe for ResidentLaunchRequest
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
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
key and return true if they are equal.