Skip to main content

cubecl_tile/layout/
mod.rs

1//! Where an operand's axes live: [`Projection`] maps logical axes onto buffer dims (`projection`),
2//! `storage` says how the values lie in memory, `paging` reads a pool of pages as sequences, a
3//! `compaction` boxes a gathered sub-tile, and a `row_arrangement` places a stage's lines.
4
5pub(crate) mod compaction;
6pub(crate) mod paging;
7pub(crate) mod projection;
8pub(crate) mod row_arrangement;
9pub(crate) mod storage;
10
11pub(crate) use compaction::*;
12pub(crate) use paging::{PageTable, WindowCut};
13pub(crate) use projection::*;
14pub(crate) use row_arrangement::*;
15
16pub use compaction::Compaction;
17pub use paging::{PageEntry, Paging};
18pub use projection::{DimsBuilder, Divisor, Offset, PhysicalAxisMap, Scale, split};
19pub use storage::{
20    ElemAlignment, LineMisfit, RuntimeGeometry, StorageLevels, StorageMisfit, StoragePartitioning,
21    TileMisfit, VectorTile,
22};