Skip to content

Commit 15e85a9

Browse files
authored
fix: Fix writer stage size that was broken during the config migration (#1061)
1 parent 90a4535 commit 15e85a9

File tree

1 file changed

+6
-0
lines changed
  • crates/cubecl-matmul/src/components/global/write

1 file changed

+6
-0
lines changed

crates/cubecl-matmul/src/components/global/write/stage.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ pub struct PartitionedStage<ES: Numeric> {
3030
impl<ES: Numeric> PartitionedStage<ES> {
3131
/// Instantiate a new stage memory for the given identifier
3232
pub fn new(unit_pos: Coords2d, #[comptime] config: StageMemoryConfig) -> PartitionedStage<ES> {
33+
let config = comptime![StageMemoryConfig {
34+
tiles_per_partition_along_row: 1,
35+
tiles_per_partition_along_col: 1,
36+
..config
37+
}];
38+
3339
let inner = StridedStageMemory::<ES, WriteTiling>::new(config);
3440
let tile = inner.get_tile_mut(unit_pos);
3541

0 commit comments

Comments
 (0)