pub struct Planner;Expand description
Load-time planning driver. Stateless.
Implementations§
Source§impl Planner
impl Planner
Sourcepub fn warm(
_graph: &Arc<RwLock<Graph>>,
_targets: &[NodeId],
_device: &Device,
) -> Result<()>
pub fn warm( _graph: &Arc<RwLock<Graph>>, _targets: &[NodeId], _device: &Device, ) -> Result<()>
Load-time pre-optimization hook for (graph, device).
No-op as of PR-A3b-2: the per-graph plan store this used to
populate was deleted with the legacy compile_plan/PlanStore
path. The “plan IS the graph” form is built once per realize by
optimize_graph (in fuel-tensor::pipelined_bridge), so there is
nothing to memoize ahead of the first realize until the
load-time-build model (Phase D) lands. This hook is preserved as
the seam Phase D will reimplement to optimize the graph in place
at load.
Always Ok(()). Callers (e.g. the decode loop in
fuel-tensor::lazy) already treat warm as advisory and discard
its result; the realize path runs the authoritative optimization.
Auto Trait Implementations§
impl Freeze for Planner
impl RefUnwindSafe for Planner
impl Send for Planner
impl Sync for Planner
impl Unpin for Planner
impl UnsafeUnpin for Planner
impl UnwindSafe for Planner
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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