pub enum StridedLayoutExpand {
Pitched(<FastDivmod as CubeType>::ExpandType),
None,
}
Variants§
Pitched(<FastDivmod as CubeType>::ExpandType)
None
Implementations§
Source§impl StridedLayoutExpand
impl StridedLayoutExpand
pub fn __expand_index_method<T: CubePrimitive>( self, context: &mut Scope, tensor: <Tensor<Line<T>> as CubeType>::ExpandType, index: <u32 as CubeType>::ExpandType, ) -> <u32 as CubeType>::ExpandType
pub fn __expand_index<T: CubePrimitive>( context: &mut Scope, this: Self, tensor: <Tensor<Line<T>> as CubeType>::ExpandType, index: <u32 as CubeType>::ExpandType, ) -> <u32 as CubeType>::ExpandType
Trait Implementations§
Source§impl Clone for StridedLayoutExpand
impl Clone for StridedLayoutExpand
Source§impl CubeDebug for StridedLayoutExpand
impl CubeDebug for StridedLayoutExpand
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Auto Trait Implementations§
impl Freeze for StridedLayoutExpand
impl RefUnwindSafe for StridedLayoutExpand
impl !Send for StridedLayoutExpand
impl !Sync for StridedLayoutExpand
impl Unpin for StridedLayoutExpand
impl UnwindSafe for StridedLayoutExpand
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