Skip to content

Commit c824d2e

Browse files
committed
ggml : avoid conv 2d kernel round up
1 parent b853d45 commit c824d2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ggml.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13508,8 +13508,7 @@ static void ggml_compute_forward_conv_2d_sk_p0_f16_f32(
1350813508
const int nk1 = ne01;
1350913509

1351013510
// size of the convolution row - the kernel size unrolled across all channels
13511-
// round-up so it is more suitable for SIMD
13512-
const int ew0 = ggml_up32(nk0*nk1*ne02);
13511+
const int ew0 = nk0*nk1*ne02;
1351313512

1351413513
GGML_ASSERT(nb00 == sizeof(ggml_fp16_t));
1351513514
GGML_ASSERT(nb10 == sizeof(float));

0 commit comments

Comments
 (0)