Skip to content

Commit 1762793

Browse files
authored
Remove unused uniform (#1867)
1 parent 6cec78d commit 1762793

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlx/backend/metal/kernels/conv.metal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,7 @@ template <
773773
const int o_idx = BO * tid.x + thr_t;
774774

775775
// Divide tile into h, w tile
776-
uniform<int> oHu = make_uniform(params.oS[0]);
777776
uniform<int> oWu = make_uniform(params.oS[1]);
778-
uniform<int> tHu = (oHu + make_uniform(FN - 1)) / make_uniform(FN);
779777
uniform<int> tWu = (oWu + make_uniform(FN - 1)) / make_uniform(FN);
780778

781779
const int oH_idx = FN * (t_idx / tWu);
@@ -1056,4 +1054,4 @@ template <
10561054
instantiate_winograd_conv_2d_fused_2(float32, float);
10571055
instantiate_winograd_conv_2d_fused_2(float16, float16_t);
10581056
instantiate_winograd_conv_2d_fused_2(bfloat16, bfloat16_t);
1059-
// clang-format on
1057+
// clang-format on

0 commit comments

Comments
 (0)