pub struct PreparedResidentGraph { /* private fields */ }Expand description
A fully allocated, instantiated resident transaction that has not launched.
Implementations§
Source§impl PreparedResidentGraph
impl PreparedResidentGraph
Sourcepub fn preflight_report(&self) -> &ResidentGraphPreflightReport
pub fn preflight_report(&self) -> &ResidentGraphPreflightReport
Return immutable prelaunch topology and memory diagnostics.
Sourcepub fn refresh_source_set_snapshots(
&mut self,
executor: &Executor,
) -> Result<(), ResidentGraphExecutionError>
pub fn refresh_source_set_snapshots( &mut self, executor: &Executor, ) -> Result<(), ResidentGraphExecutionError>
Rebind source versions after an in-place device copy without changing any address or captured source geometry.
Sourcepub fn restore_outputs(
&mut self,
executor: &mut Executor,
) -> Result<(), ResidentGraphExecutionError>
pub fn restore_outputs( &mut self, executor: &mut Executor, ) -> Result<(), ResidentGraphExecutionError>
Return staged output owners to their captured slots after the caller has finished inspecting them. The caller must discard this graph on error.
Sourcepub fn launch<'executor>(
self,
source_guard: &'executor Executor,
) -> Result<ResidentGraphInFlight<'executor>, ResidentGraphExecutionError>
pub fn launch<'executor>( self, source_guard: &'executor Executor, ) -> Result<ResidentGraphInFlight<'executor>, ResidentGraphExecutionError>
Launch the already-instantiated graph exactly once.
Auto Trait Implementations§
impl !Freeze for PreparedResidentGraph
impl !RefUnwindSafe for PreparedResidentGraph
impl !UnwindSafe for PreparedResidentGraph
impl Send for PreparedResidentGraph
impl Sync for PreparedResidentGraph
impl Unpin for PreparedResidentGraph
impl UnsafeUnpin for PreparedResidentGraph
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