pub struct FixedDimLayoutLaunch<D, R: Runtime>{ /* private fields */ }Implementations§
Source§impl<D, R: Runtime> FixedDimLayoutLaunch<D, R>
impl<D, R: Runtime> FixedDimLayoutLaunch<D, R>
Sourcepub fn new(
shape: <D as LaunchArg>::RuntimeArg<R>,
strides: <Sequence<usize> as LaunchArg>::RuntimeArg<R>,
vector_size: VectorSize,
checked: bool,
) -> Self
pub fn new( shape: <D as LaunchArg>::RuntimeArg<R>, strides: <Sequence<usize> as LaunchArg>::RuntimeArg<R>, vector_size: VectorSize, checked: bool, ) -> Self
New kernel
Source§impl<D: IntoDyn, R: Runtime> FixedDimLayoutLaunch<D, R>
impl<D: IntoDyn, R: Runtime> FixedDimLayoutLaunch<D, R>
pub fn from_shape_handle( handle: &TensorBinding<R>, shape: D::RuntimeArg<R>, vector_size: VectorSize, ) -> Self
pub fn from_shape_handle_unchecked( handle: &TensorBinding<R>, shape: D::RuntimeArg<R>, vector_size: VectorSize, ) -> Self
Auto Trait Implementations§
impl<D, R> Freeze for FixedDimLayoutLaunch<D, R>
impl<D, R> RefUnwindSafe for FixedDimLayoutLaunch<D, R>where
<D as CubeType>::ExpandType: Sized,
<D as LaunchArg>::RuntimeArg<R>: RefUnwindSafe,
R: RefUnwindSafe,
impl<D, R> Send for FixedDimLayoutLaunch<D, R>
impl<D, R> Sync for FixedDimLayoutLaunch<D, R>
impl<D, R> Unpin for FixedDimLayoutLaunch<D, R>
impl<D, R> UnsafeUnpin for FixedDimLayoutLaunch<D, R>
impl<D, R> UnwindSafe for FixedDimLayoutLaunch<D, R>where
<D as CubeType>::ExpandType: Sized,
<D as LaunchArg>::RuntimeArg<R>: UnwindSafe,
R: 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
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