pub struct DispatchPolicyInputs {
pub persistent: PersistentKernelInputs,
pub arm_a: ArmBindingSummary,
pub arm_b: ArmBindingSummary,
pub copy_dst_slot: Option<u32>,
pub graph: CommandReuseInputs,
pub bindless: BindlessInputs,
pub trace_jit: TraceJitInputs,
}Expand description
Input bundle for a single dispatch-policy invocation.
Two arms (arm_a, arm_b) are needed for D2 / D3 even when
only one is real - pass an empty ArmBindingSummary::default()
for the absent slot. The copy_dst_slot is None when no H2D
copy is queued for this batch.
Fields§
§persistent: PersistentKernelInputsD1 persistent-kernel inputs.
arm_a: ArmBindingSummaryFirst arm of the D2 pair (also the kernel side of the D3 copy).
arm_b: ArmBindingSummarySecond arm of the D2 pair.
copy_dst_slot: Option<u32>D3 copy destination slot, or None when no H2D copy is queued.
graph: CommandReuseInputsD4 command-reuse inputs.
bindless: BindlessInputsD9 bindless inputs.
trace_jit: TraceJitInputsI2 trace-JIT speculation inputs.
Trait Implementations§
Source§impl Clone for DispatchPolicyInputs
impl Clone for DispatchPolicyInputs
Source§fn clone(&self) -> DispatchPolicyInputs
fn clone(&self) -> DispatchPolicyInputs
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 moreAuto Trait Implementations§
impl Freeze for DispatchPolicyInputs
impl RefUnwindSafe for DispatchPolicyInputs
impl Send for DispatchPolicyInputs
impl Sync for DispatchPolicyInputs
impl Unpin for DispatchPolicyInputs
impl UnsafeUnpin for DispatchPolicyInputs
impl UnwindSafe for DispatchPolicyInputs
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