@@ -3211,8 +3211,8 @@ static void ggml_compute_forward_reglu_f32(
3211
3211
const int nc = src0->ne [0 ] / 2 ;
3212
3212
const int nr = ggml_nrows (src0);
3213
3213
3214
- GGML_ASSERT (dst->ne [0 ] > = nc);
3215
- GGML_ASSERT (ggml_nrows (dst) > = nr);
3214
+ GGML_ASSERT (dst->ne [0 ] = = nc);
3215
+ GGML_ASSERT (ggml_nrows (dst) = = nr);
3216
3216
3217
3217
// rows per thread
3218
3218
const int dr = (nr + nth - 1 )/nth;
@@ -3252,8 +3252,8 @@ static void ggml_compute_forward_reglu_f16(
3252
3252
const int nc = src0->ne [0 ] / 2 ;
3253
3253
const int nr = ggml_nrows (src0);
3254
3254
3255
- GGML_ASSERT (dst->ne [0 ] > = nc);
3256
- GGML_ASSERT (ggml_nrows (dst) > = nr);
3255
+ GGML_ASSERT (dst->ne [0 ] = = nc);
3256
+ GGML_ASSERT (ggml_nrows (dst) = = nr);
3257
3257
3258
3258
// rows per thread
3259
3259
const int dr = (nr + nth - 1 )/nth;
@@ -3318,8 +3318,8 @@ static void ggml_compute_forward_geglu_f32(
3318
3318
const int nc = src0->ne [0 ] / 2 ;
3319
3319
const int nr = ggml_nrows (src0);
3320
3320
3321
- GGML_ASSERT (dst->ne [0 ] > = nc);
3322
- GGML_ASSERT (ggml_nrows (dst) > = nr);
3321
+ GGML_ASSERT (dst->ne [0 ] = = nc);
3322
+ GGML_ASSERT (ggml_nrows (dst) = = nr);
3323
3323
3324
3324
// rows per thread
3325
3325
const int dr = (nr + nth - 1 )/nth;
@@ -3359,8 +3359,8 @@ static void ggml_compute_forward_geglu_f16(
3359
3359
const int nc = src0->ne [0 ] / 2 ;
3360
3360
const int nr = ggml_nrows (src0);
3361
3361
3362
- GGML_ASSERT (dst->ne [0 ] > = nc);
3363
- GGML_ASSERT (ggml_nrows (dst) > = nr);
3362
+ GGML_ASSERT (dst->ne [0 ] = = nc);
3363
+ GGML_ASSERT (ggml_nrows (dst) = = nr);
3364
3364
3365
3365
// rows per thread
3366
3366
const int dr = (nr + nth - 1 )/nth;
@@ -3425,8 +3425,8 @@ static void ggml_compute_forward_swiglu_f32(
3425
3425
const int nc = src0->ne [0 ] / 2 ;
3426
3426
const int nr = ggml_nrows (src0);
3427
3427
3428
- GGML_ASSERT (dst->ne [0 ] > = nc);
3429
- GGML_ASSERT (ggml_nrows (dst) > = nr);
3428
+ GGML_ASSERT (dst->ne [0 ] = = nc);
3429
+ GGML_ASSERT (ggml_nrows (dst) = = nr);
3430
3430
3431
3431
// rows per thread
3432
3432
const int dr = (nr + nth - 1 )/nth;
@@ -3466,8 +3466,8 @@ static void ggml_compute_forward_swiglu_f16(
3466
3466
const int nc = src0->ne [0 ] / 2 ;
3467
3467
const int nr = ggml_nrows (src0);
3468
3468
3469
- GGML_ASSERT (dst->ne [0 ] > = nc);
3470
- GGML_ASSERT (ggml_nrows (dst) > = nr);
3469
+ GGML_ASSERT (dst->ne [0 ] = = nc);
3470
+ GGML_ASSERT (ggml_nrows (dst) = = nr);
3471
3471
3472
3472
// rows per thread
3473
3473
const int dr = (nr + nth - 1 )/nth;
0 commit comments