pub struct PersistentOutputs { /* private fields */ }Expand description
Persistent per-node output buffers for CUDA-graph capture (the
“CapturedRun executor” build-out). Maps each compute node’s NodeId
to a FIXED-ADDRESS output Storage Arc that survives across realizes,
so a captured graph’s baked kernel-argument addresses stay valid on
replay.
Two modes, both driven by the executor’s Kernel arm:
Record(warm run): the executor allocates each kernel output as usual AND records the Arc here. Produces the fixed buffers.Reuse(capture / replay run): the executor REUSES the recorded Arc for each node — no allocation (mandatory inside a capture scope) — and the kernel’s write-into path writes into it in place.
None (the param default at every existing realize call site) preserves
byte-identical behavior: fresh alloc every realize, nothing recorded.
Implementations§
Auto Trait Implementations§
impl Freeze for PersistentOutputs
impl RefUnwindSafe for PersistentOutputs
impl Send for PersistentOutputs
impl Sync for PersistentOutputs
impl Unpin for PersistentOutputs
impl UnsafeUnpin for PersistentOutputs
impl UnwindSafe for PersistentOutputs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more