Struct cubecl_core::codegen::Execution
source · pub struct Execution<'h, K, R: Runtime, Scalars> { /* private fields */ }
Implementations§
source§impl<'h, K, R> Execution<'h, K, R, ()>
impl<'h, K, R> Execution<'h, K, R, ()>
pub fn with_scalars<E>(self, scalars: &[E]) -> Execution<'h, K, R, (&[E],)>
sourcepub fn execute(self, launch: CubeCountSettings<R::Server>)
pub fn execute(self, launch: CubeCountSettings<R::Server>)
Execute a dynamic kernel.
source§impl<'h, 'a, K, R, E> Execution<'h, K, R, (&'a [E],)>
impl<'h, 'a, K, R, E> Execution<'h, K, R, (&'a [E],)>
pub fn with_scalars<'b, E2>( self, scalars: &'b [E2], ) -> Execution<'h, K, R, (&'a [E], &'b [E2])>
sourcepub fn execute(self, launch: CubeCountSettings<R::Server>)
pub fn execute(self, launch: CubeCountSettings<R::Server>)
Execute a dynamic kernel.
Auto Trait Implementations§
impl<'h, K, R, Scalars> Freeze for Execution<'h, K, R, Scalars>
impl<'h, K, R, Scalars> RefUnwindSafe for Execution<'h, K, R, Scalars>where
Scalars: RefUnwindSafe,
K: RefUnwindSafe,
<R as Runtime>::Channel: RefUnwindSafe,
<<<R as Runtime>::Server as ComputeServer>::MemoryManagement as MemoryManagement<<<R as Runtime>::Server as ComputeServer>::Storage>>::Handle: RefUnwindSafe,
impl<'h, K, R, Scalars> Send for Execution<'h, K, R, Scalars>
impl<'h, K, R, Scalars> Sync for Execution<'h, K, R, Scalars>
impl<'h, K, R, Scalars> Unpin for Execution<'h, K, R, Scalars>
impl<'h, K, R, Scalars> UnwindSafe for Execution<'h, K, R, Scalars>where
Scalars: UnwindSafe,
K: UnwindSafe,
<R as Runtime>::Channel: UnwindSafe,
<<<R as Runtime>::Server as ComputeServer>::MemoryManagement as MemoryManagement<<<R as Runtime>::Server as ComputeServer>::Storage>>::Handle: 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