pub struct GraphCaptureBindingPlan {
pub input_device_capacity: usize,
pub output_device_capacity: usize,
pub output_readback_capacity: usize,
pub kernel_pointer_capacity: usize,
pub kernel_argument_capacity: usize,
pub resident_input_replay_safe: bool,
}Expand description
Capacity and safety plan for recording one replayable dispatch graph.
Fields§
§input_device_capacity: usizeDevice/storage entries needed for runtime input buffers. Input-output bindings are counted here because their input allocation is reused for output readback.
output_device_capacity: usizeDevice/storage entries needed for non-input runtime buffers. This is
intentionally separate from Self::output_readback_capacity because
an input-output binding needs output readback metadata but does not need
a second device pointer.
output_readback_capacity: usizeHost/readback entries needed for bindings with an output view.
kernel_pointer_capacity: usizePointer arguments passed to the captured kernel in binding order.
kernel_argument_capacity: usizeKernel pointer arguments plus the trailing launch-parameter pointer.
resident_input_replay_safe: boolTrue when a backend can replay a no-upload steady-state graph after the device inputs have been initialized once.
Trait Implementations§
Source§impl Clone for GraphCaptureBindingPlan
impl Clone for GraphCaptureBindingPlan
Source§fn clone(&self) -> GraphCaptureBindingPlan
fn clone(&self) -> GraphCaptureBindingPlan
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 GraphCaptureBindingPlan
Source§impl Debug for GraphCaptureBindingPlan
impl Debug for GraphCaptureBindingPlan
impl Eq for GraphCaptureBindingPlan
Source§impl PartialEq for GraphCaptureBindingPlan
impl PartialEq for GraphCaptureBindingPlan
Source§fn eq(&self, other: &GraphCaptureBindingPlan) -> bool
fn eq(&self, other: &GraphCaptureBindingPlan) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphCaptureBindingPlan
Auto Trait Implementations§
impl Freeze for GraphCaptureBindingPlan
impl RefUnwindSafe for GraphCaptureBindingPlan
impl Send for GraphCaptureBindingPlan
impl Sync for GraphCaptureBindingPlan
impl Unpin for GraphCaptureBindingPlan
impl UnsafeUnpin for GraphCaptureBindingPlan
impl UnwindSafe for GraphCaptureBindingPlan
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.