pub struct CompiledBackend<C: Compiler> { /* private fields */ }
Expand description
Compiled backend that holds compiler, buffers and programs
Implementations§
Trait Implementations§
Source§impl<C: Compiler> RuntimeBackend for CompiledBackend<C>
impl<C: Compiler> RuntimeBackend for CompiledBackend<C>
Source§fn is_evaluated(&self, x: Id) -> bool
fn is_evaluated(&self, x: Id) -> bool
Is tensor x evaluated?
Source§fn is_free_id(&self, x: Id) -> bool
fn is_free_id(&self, x: Id) -> bool
Check if there are no more buffers on id x
Source§fn store<T: Scalar, IT>(&mut self, x: Id, iter: IT) -> Result<(), ZyxError>
fn store<T: Scalar, IT>(&mut self, x: Id, iter: IT) -> Result<(), ZyxError>
Store iterator into runtime backend
Auto Trait Implementations§
impl<C> Freeze for CompiledBackend<C>where
C: Freeze,
impl<C> RefUnwindSafe for CompiledBackend<C>where
C: RefUnwindSafe,
<C as Compiler>::Buffer: RefUnwindSafe,
<C as Compiler>::Program: RefUnwindSafe,
impl<C> Send for CompiledBackend<C>
impl<C> Sync for CompiledBackend<C>
impl<C> Unpin for CompiledBackend<C>where
C: Unpin,
impl<C> UnwindSafe for CompiledBackend<C>where
C: UnwindSafe,
<C as Compiler>::Buffer: RefUnwindSafe,
<C as Compiler>::Program: RefUnwindSafe,
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