pub struct BatchDispatchPlan {
pub queue_len: u32,
pub worker_groups: u32,
pub workgroup_size_x: u32,
pub hit_capacity: u32,
pub estimated_peak_device_bytes: u64,
pub device_memory_budget_bytes: u64,
pub topology: MegakernelDispatchTopology,
}Expand description
Reusable fixed-batch megakernel launch metadata.
Fields§
§queue_len: u32Queue length this plan was derived for.
worker_groups: u32Workgroups submitted by the compiled persistent megakernel.
workgroup_size_x: u32Worker lanes per workgroup.
hit_capacity: u32Sparse hit-ring capacity compiled into the dispatcher pipeline.
estimated_peak_device_bytes: u64Estimated peak device bytes required by the selected launch plan.
device_memory_budget_bytes: u64Hard device-memory budget applied to this plan. Zero means unbounded.
topology: MegakernelDispatchTopologyScale-aware topology selected for this queue shape.
Trait Implementations§
Source§impl Clone for BatchDispatchPlan
impl Clone for BatchDispatchPlan
Source§fn clone(&self) -> BatchDispatchPlan
fn clone(&self) -> BatchDispatchPlan
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 BatchDispatchPlan
Source§impl Debug for BatchDispatchPlan
impl Debug for BatchDispatchPlan
impl Eq for BatchDispatchPlan
Source§impl PartialEq for BatchDispatchPlan
impl PartialEq for BatchDispatchPlan
impl StructuralPartialEq for BatchDispatchPlan
Auto Trait Implementations§
impl Freeze for BatchDispatchPlan
impl RefUnwindSafe for BatchDispatchPlan
impl Send for BatchDispatchPlan
impl Sync for BatchDispatchPlan
impl Unpin for BatchDispatchPlan
impl UnsafeUnpin for BatchDispatchPlan
impl UnwindSafe for BatchDispatchPlan
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.