pub struct WhiteboxFragmentExpand<E: Numeric> {
pub array: <Array<E> as CubeType>::ExpandType,
pub layout: WhiteboxFragmentLayout,
}Fields§
§array: <Array<E> as CubeType>::ExpandType§layout: WhiteboxFragmentLayoutImplementations§
Source§impl<E: Numeric> WhiteboxFragmentExpand<E>
impl<E: Numeric> WhiteboxFragmentExpand<E>
pub fn __expand_clone_method(&self, _scope: &mut Scope) -> Self
Source§impl<E: Numeric> WhiteboxFragmentExpand<E>
impl<E: Numeric> WhiteboxFragmentExpand<E>
pub fn __expand_zero_method( self, scope: &mut Scope, ) -> <() as CubeType>::ExpandType
pub fn __expand_load_from_slice_method( self, scope: &mut Scope, smem_slice: <Slice<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_load_from_strided_tile_method<E2: Numeric, N: Size>( self, scope: &mut Scope, strided_tile: <StridedTile<E2, N> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_store_to_method<F: Float>( self, scope: &mut Scope, smem_slice: <SliceMut<F> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_scale_method( self, scope: &mut Scope, scale: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_max_method( self, scope: &mut Scope, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_rowwise_sum_method( self, scope: &mut Scope, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_num_units_per_row_method(self, scope: &mut Scope) -> u32
pub fn __expand_scale_and_mask_method<M: Mask>( self, scope: &mut Scope, scale: <E as CubeType>::ExpandType, mask: <M as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_new( scope: &mut Scope, layout: WhiteboxFragmentLayout, ) -> <WhiteboxFragment<E> as CubeType>::ExpandType
pub fn __expand_zero( scope: &mut Scope, this: Self, ) -> <() as CubeType>::ExpandType
pub fn __expand_load_from_slice( scope: &mut Scope, this: Self, smem_slice: <Slice<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_load_from_strided_tile<E2: Numeric, N: Size>( scope: &mut Scope, this: Self, strided_tile: <StridedTile<E2, N> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_store_to<F: Float>( scope: &mut Scope, this: Self, smem_slice: <SliceMut<F> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_scale( scope: &mut Scope, this: Self, scale: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_rowwise_max( scope: &mut Scope, this: Self, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_rowwise_sum( scope: &mut Scope, this: Self, ) -> <RowWise<E> as CubeType>::ExpandType
pub fn __expand_num_units_per_row(scope: &mut Scope, this: Self) -> u32
pub fn __expand_scale_and_mask<M: Mask>( scope: &mut Scope, this: Self, scale: <E as CubeType>::ExpandType, mask: <M as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
Source§impl<E: Float> WhiteboxFragmentExpand<E>
impl<E: Float> WhiteboxFragmentExpand<E>
pub fn __expand_exp_diff_method( self, scope: &mut Scope, rowwise: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_exp_diff( scope: &mut Scope, this: Self, rowwise: <RowWise<E> as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
Trait Implementations§
Source§impl<E: Numeric> Clone for WhiteboxFragmentExpand<E>
impl<E: Numeric> Clone for WhiteboxFragmentExpand<E>
Source§impl<E: Numeric> CubeDebug for WhiteboxFragmentExpand<E>
impl<E: Numeric> CubeDebug for WhiteboxFragmentExpand<E>
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<E> Freeze for WhiteboxFragmentExpand<E>
impl<E> RefUnwindSafe for WhiteboxFragmentExpand<E>where
E: RefUnwindSafe,
impl<E> !Send for WhiteboxFragmentExpand<E>
impl<E> !Sync for WhiteboxFragmentExpand<E>
impl<E> Unpin for WhiteboxFragmentExpand<E>where
E: Unpin,
impl<E> UnsafeUnpin for WhiteboxFragmentExpand<E>
impl<E> UnwindSafe for WhiteboxFragmentExpand<E>where
E: 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