pub struct BiasTilingLayout {}Expand description
Tiling layout specific for bias, which is one-dimensional with stride 0
Trait Implementations§
Source§impl Clone for BiasTilingLayout
impl Clone for BiasTilingLayout
Source§fn clone(&self) -> BiasTilingLayout
fn clone(&self) -> BiasTilingLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TilingLayout for BiasTilingLayout
impl TilingLayout for BiasTilingLayout
Source§fn get_tile<ES: Numeric>(
stage: &StridedStage<ES, Self>,
tile: Coords2d,
_buffer_index: u32,
_ident: StageIdent,
config: StageMemoryConfig,
) -> StridedTile<ES>
fn get_tile<ES: Numeric>( stage: &StridedStage<ES, Self>, tile: Coords2d, _buffer_index: u32, _ident: StageIdent, config: StageMemoryConfig, ) -> StridedTile<ES>
Returns the tile at shared memory coordinates
fn __expand_get_tile<ES: Numeric>( scope: &mut Scope, stage: <StridedStage<ES, Self> as CubeType>::ExpandType, tile: <Coords2d as CubeType>::ExpandType, _buffer_index: <u32 as CubeType>::ExpandType, _ident: StageIdent, config: StageMemoryConfig, ) -> <StridedTile<ES> as CubeType>::ExpandType
Source§impl TilingValidation for BiasTilingLayout
impl TilingValidation for BiasTilingLayout
fn check(config: GlobalMemoryConfig) -> Result<(), InvalidConfigError>
impl Copy for BiasTilingLayout
Auto Trait Implementations§
impl Freeze for BiasTilingLayout
impl RefUnwindSafe for BiasTilingLayout
impl Send for BiasTilingLayout
impl Sync for BiasTilingLayout
impl Unpin for BiasTilingLayout
impl UnwindSafe for BiasTilingLayout
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