pub struct KernelTask<C: Compiler, K: CubeKernel> { /* private fields */ }
Expand description
Wraps a kernel to allow it be compiled.
Implementations§
Source§impl<C: Compiler, K: CubeKernel> KernelTask<C, K>
impl<C: Compiler, K: CubeKernel> KernelTask<C, K>
Trait Implementations§
Source§impl<C: Compiler, K: CubeKernel> CubeTask<C> for KernelTask<C, K>
impl<C: Compiler, K: CubeKernel> CubeTask<C> for KernelTask<C, K>
fn compile( &self, compiler: &mut C, compilation_options: &C::CompilationOptions, mode: ExecutionMode, ) -> CompiledKernel<C>
Source§impl<C: Compiler, K: CubeKernel> KernelMetadata for KernelTask<C, K>
impl<C: Compiler, K: CubeKernel> KernelMetadata for KernelTask<C, K>
Auto Trait Implementations§
impl<C, K> Freeze for KernelTask<C, K>where
K: Freeze,
impl<C, K> RefUnwindSafe for KernelTask<C, K>where
K: RefUnwindSafe,
C: RefUnwindSafe,
impl<C, K> Send for KernelTask<C, K>
impl<C, K> Sync for KernelTask<C, K>
impl<C, K> Unpin for KernelTask<C, K>
impl<C, K> UnwindSafe for KernelTask<C, K>where
K: UnwindSafe,
C: UnwindSafe,
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