pub struct ResidentOdeExecutor { /* private fields */ }Expand description
Executes checked tensor ODE plans through the modeled resident site.
Implementations§
Source§impl ResidentOdeExecutor
impl ResidentOdeExecutor
Sourcepub fn new(profile: ModeledComputeProfile) -> Self
pub fn new(profile: ModeledComputeProfile) -> Self
Builds an ODE executor that auto-flushes bounded tensor submission batches.
Sourcepub fn tensor_executor(&self) -> &ModeledTensorExecutor
pub fn tensor_executor(&self) -> &ModeledTensorExecutor
Returns the underlying modeled tensor executor.
Sourcepub fn execute(
&self,
cx: &mut Cx,
plan: &ResidentOdePlan,
expr: Expr,
) -> Result<ResidentOdeExecution>
pub fn execute( &self, cx: &mut Cx, plan: &ResidentOdePlan, expr: Expr, ) -> Result<ResidentOdeExecution>
Executes an ODE expression through the resident tensor site.
Trait Implementations§
Source§impl Clone for ResidentOdeExecutor
impl Clone for ResidentOdeExecutor
Source§fn clone(&self) -> ResidentOdeExecutor
fn clone(&self) -> ResidentOdeExecutor
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 ResidentOdeExecutor
impl RefUnwindSafe for ResidentOdeExecutor
impl Send for ResidentOdeExecutor
impl Sync for ResidentOdeExecutor
impl Unpin for ResidentOdeExecutor
impl UnsafeUnpin for ResidentOdeExecutor
impl UnwindSafe for ResidentOdeExecutor
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