pub struct DynamicLaunchPlan {
pub config: DynamicParallelismConfig,
pub parent_kernel_name: String,
pub child_kernel_name: String,
pub estimated_child_launches: u64,
pub memory_overhead_bytes: u64,
}Expand description
A validated plan for a dynamic (device-side) kernel launch.
Contains the configuration, kernel names, and estimated resource usage.
Created by plan_dynamic_launch.
Fields§
§config: DynamicParallelismConfigThe validated configuration.
parent_kernel_name: StringName of the parent kernel that launches child kernels.
child_kernel_name: StringName of the child kernel to be launched from device code.
estimated_child_launches: u64Estimated total number of child kernel launches.
memory_overhead_bytes: u64Estimated memory overhead per launch in bytes.
Trait Implementations§
Source§impl Clone for DynamicLaunchPlan
impl Clone for DynamicLaunchPlan
Source§fn clone(&self) -> DynamicLaunchPlan
fn clone(&self) -> DynamicLaunchPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynamicLaunchPlan
impl Debug for DynamicLaunchPlan
Auto Trait Implementations§
impl Freeze for DynamicLaunchPlan
impl RefUnwindSafe for DynamicLaunchPlan
impl Send for DynamicLaunchPlan
impl Sync for DynamicLaunchPlan
impl Unpin for DynamicLaunchPlan
impl UnsafeUnpin for DynamicLaunchPlan
impl UnwindSafe for DynamicLaunchPlan
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