Skip to content

Commit

Permalink
fix nwarps can only be 4 in micro kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
cerf-volantWang committed Apr 23, 2024
1 parent 266392c commit 790eeee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/schedule/lower_cutlass_micro_block.cc
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,11 @@ Stmt lowerCutlassMicroBlock(const Stmt &_ast, const ID &matMulId,
ast = varSplit(ast, defIdC, nDimsCOthers + 0, VarSplitMode::FixedSize,
-1, nWarpBatch);
ast = varSplit(ast, defIdC, nDimsCOthers + 2, VarSplitMode::FixedSize,
16, -1);
8 * nWarpM, -1);
ast = varSplit(ast, defIdC, nDimsCOthers + 3, VarSplitMode::FixedSize,
-1, nWarpM);
ast = varSplit(ast, defIdC, nDimsCOthers + 5, VarSplitMode::FixedSize,
16, -1);
8 * nWarpN, -1);
ast = varSplit(ast, defIdC, nDimsCOthers + 6, VarSplitMode::FixedSize,
-1, nWarpN);
ast = varSplit(ast, defIdC, nDimsCOthers + 7, VarSplitMode::FixedSize,
Expand All @@ -452,13 +452,13 @@ Stmt lowerCutlassMicroBlock(const Stmt &_ast, const ID &matMulId,
ast = varSplit(ast, defIdC, nDimsCOthers + 0, VarSplitMode::FixedSize,
-1, nWarpBatch);
ast = varSplit(ast, defIdC, nDimsCOthers + 2, VarSplitMode::FixedSize,
32, -1);
16 * nWarpM, -1);
ast = varSplit(ast, defIdC, nDimsCOthers + 3, VarSplitMode::FixedSize,
-1, nWarpM);
ast = varSplit(ast, defIdC, nDimsCOthers + 4, VarSplitMode::FixedSize,
-1, 2);
ast = varSplit(ast, defIdC, nDimsCOthers + 6, VarSplitMode::FixedSize,
16, -1);
8 * nWarpN, -1);
ast = varSplit(ast, defIdC, nDimsCOthers + 7, VarSplitMode::FixedSize,
-1, nWarpN);
ast = varSplit(ast, defIdC, nDimsCOthers + 8, VarSplitMode::FixedSize,
Expand Down

0 comments on commit 790eeee

Please sign in to comment.