pub struct MegakernelExecutionRequest {
pub sample: MegakernelExecutionSample,
pub graph: MegakernelGraphShape,
pub bytes_per_node: u64,
pub bytes_per_edge: u64,
pub frontier_bytes: u64,
pub scratch_bytes: u64,
pub output_bytes: u64,
pub budget_bytes: u64,
pub launch_overhead_ns: f64,
pub fusion_pressure: f64,
pub capabilities: MegakernelDeviceCapabilities,
}Expand description
Every input one candidate wave needs to reach an execution plan.
This is the argument list of plan_megakernel_execution as one value so a
backend can memoize the decision without restating it.
Fields§
§sample: MegakernelExecutionSampleRuntime telemetry for the candidate wave.
graph: MegakernelGraphShapeStatic graph shape.
bytes_per_node: u64Resident bytes per graph node.
bytes_per_edge: u64Resident bytes per graph edge.
frontier_bytes: u64Frontier-state bytes for the wave.
scratch_bytes: u64Base scratch bytes before the topology multiplier.
output_bytes: u64Final compact output bytes.
budget_bytes: u64Caller-approved device-memory budget.
launch_overhead_ns: f64Per-launch overhead observed for this device.
fusion_pressure: f64Caller-measured pressure toward fusing adjacent waves.
capabilities: MegakernelDeviceCapabilitiesCapabilities of the device that will run the wave.
Trait Implementations§
Source§impl Clone for MegakernelExecutionRequest
impl Clone for MegakernelExecutionRequest
Source§fn clone(&self) -> MegakernelExecutionRequest
fn clone(&self) -> MegakernelExecutionRequest
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 MegakernelExecutionRequest
Source§impl Debug for MegakernelExecutionRequest
impl Debug for MegakernelExecutionRequest
impl StructuralPartialEq for MegakernelExecutionRequest
Auto Trait Implementations§
impl Freeze for MegakernelExecutionRequest
impl RefUnwindSafe for MegakernelExecutionRequest
impl Send for MegakernelExecutionRequest
impl Sync for MegakernelExecutionRequest
impl Unpin for MegakernelExecutionRequest
impl UnsafeUnpin for MegakernelExecutionRequest
impl UnwindSafe for MegakernelExecutionRequest
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