pub struct MemoryDirectThroughput<__R: Runtime> { /* private fields */ }Expand description
memory_direct_throughput Kernel
Implementations§
Source§impl<__R: Runtime> MemoryDirectThroughput<__R>
impl<__R: Runtime> MemoryDirectThroughput<__R>
pub fn new( settings: KernelSettings, client: ComputeClient<__R>, input: <[Vector<I, N>] as LaunchArg>::CompilationArg, output: <[Vector<I, N>] as LaunchArg>::CompilationArg, n_iter: <usize as LaunchArg>::CompilationArg, _n: usize, _dtype: StorageType, ) -> Self
Trait Implementations§
Source§impl<__R: Runtime> CubeKernel for MemoryDirectThroughput<__R>
impl<__R: Runtime> CubeKernel for MemoryDirectThroughput<__R>
Source§fn define(&self) -> KernelDefinition
fn define(&self) -> KernelDefinition
Define the kernel for compilation
Source§impl<__R: Runtime> KernelMetadata for MemoryDirectThroughput<__R>
impl<__R: Runtime> KernelMetadata for MemoryDirectThroughput<__R>
Auto Trait Implementations§
impl<__R> !RefUnwindSafe for MemoryDirectThroughput<__R>
impl<__R> !UnwindSafe for MemoryDirectThroughput<__R>
impl<__R> Freeze for MemoryDirectThroughput<__R>
impl<__R> Send for MemoryDirectThroughput<__R>
impl<__R> Sync for MemoryDirectThroughput<__R>
impl<__R> Unpin for MemoryDirectThroughput<__R>where
__R: Unpin,
impl<__R> UnsafeUnpin for MemoryDirectThroughput<__R>
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
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