pub struct TensorWriterExpand<EO: Numeric> {
pub tensor: <VirtualTensor<EO, ReadWrite> as CubeType>::ExpandType,
pub x_offset: <u32 as CubeType>::ExpandType,
pub y_offset: <u32 as CubeType>::ExpandType,
pub stride_x: <u32 as CubeType>::ExpandType,
pub stride_y: <u32 as CubeType>::ExpandType,
pub shape_x: <u32 as CubeType>::ExpandType,
pub shape_y: <u32 as CubeType>::ExpandType,
pub batch_offset: <u32 as CubeType>::ExpandType,
}
Fields§
§tensor: <VirtualTensor<EO, ReadWrite> as CubeType>::ExpandType
§x_offset: <u32 as CubeType>::ExpandType
§y_offset: <u32 as CubeType>::ExpandType
§stride_x: <u32 as CubeType>::ExpandType
§stride_y: <u32 as CubeType>::ExpandType
§shape_x: <u32 as CubeType>::ExpandType
§shape_y: <u32 as CubeType>::ExpandType
§batch_offset: <u32 as CubeType>::ExpandType
Implementations§
Source§impl<EG: Numeric> TensorWriterExpand<EG>
impl<EG: Numeric> TensorWriterExpand<EG>
pub fn __expand_write_coalesced_method<ES: Numeric, G: GlobalConfig>( self, context: &mut Scope, tile_x: <u32 as CubeType>::ExpandType, tile_y: <u32 as CubeType>::ExpandType, unit_id: <u32 as CubeType>::ExpandType, value: <Line<ES> as CubeType>::ExpandType, config: G, ) -> <() as CubeType>::ExpandType
pub fn __expand_new( context: &mut Scope, tensor: <VirtualTensor<EG, ReadWrite> as CubeType>::ExpandType, x_offset: <u32 as CubeType>::ExpandType, y_offset: <u32 as CubeType>::ExpandType, batch_offset: <u32 as CubeType>::ExpandType, ) -> Self
pub fn __expand_write_coalesced<ES: Numeric, G: GlobalConfig>( context: &mut Scope, this: Self, tile_x: <u32 as CubeType>::ExpandType, tile_y: <u32 as CubeType>::ExpandType, unit_id: <u32 as CubeType>::ExpandType, value: <Line<ES> as CubeType>::ExpandType, config: G, ) -> <() as CubeType>::ExpandType
Trait Implementations§
Source§impl<EO: Numeric> Clone for TensorWriterExpand<EO>
impl<EO: Numeric> Clone for TensorWriterExpand<EO>
Source§impl<EO: Numeric> CubeDebug for TensorWriterExpand<EO>
impl<EO: Numeric> CubeDebug for TensorWriterExpand<EO>
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<EO> Freeze for TensorWriterExpand<EO>
impl<EO> !RefUnwindSafe for TensorWriterExpand<EO>
impl<EO> !Send for TensorWriterExpand<EO>
impl<EO> !Sync for TensorWriterExpand<EO>
impl<EO> Unpin for TensorWriterExpand<EO>
impl<EO> !UnwindSafe for TensorWriterExpand<EO>
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