Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ conv2d_pw_tiled:
TILE_M4: 1
TILE_K4: 1
TILE_N4: 1
TILE_M: 4
TILE_M: 2
generate_variant_forall:
DTYPE:
- VALUE: float
Expand Down
4 changes: 2 additions & 2 deletions backends/vulkan/runtime/graph/ops/impl/Conv2dPW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ GlobalWorkGrid pick_conv2d_pw_tiled_gwg(
uint32_t C_out = graph->size_at<uint32_t>(-3, out);
uint32_t M = H * W;
uint32_t N4 = utils::div_up_4(C_out);
// TILE_N4=1, TILE_M=4
return GlobalWorkGrid({N4, utils::div_up(M, 4u), 1u}, kTiledWorkGrid);
// TILE_N4=1, TILE_M=2. Must match conv2d_pw_tiled.yaml.
return GlobalWorkGrid({N4, utils::div_up(M, 2u), 1u}, kTiledWorkGrid);
}

//
Expand Down
Loading