Skip to main content

allocate_unit_tile

Function allocate_unit_tile 

Source
pub fn allocate_unit_tile<E: Numeric, Sc: TileScope>(
    layout: UnitTileLayout,
) -> Tile<E, Sc, ReadWrite>
Expand description

Allocates a Tile::Unit. The variant is valid in any scope — each unit just holds its own row-major copy of the tile.