@@ -5015,7 +5015,7 @@ static size_t ggml_compute_forward_acc(size_t continuation,
50155015 case GGML_TYPE_F32 :
50165016 {
50175017 return ggml_compute_forward_acc_f32 (continuation , params , dst );
5018- } break ;
5018+ }
50195019 case GGML_TYPE_F16 :
50205020 case GGML_TYPE_BF16 :
50215021 case GGML_TYPE_Q4_0 :
@@ -5045,7 +5045,6 @@ static size_t ggml_compute_forward_acc(size_t continuation,
50455045 GGML_ABORT ("fatal error" );
50465046 }
50475047 }
5048- return 0 ;
50495048}
50505049
50515050// ggml_compute_forward_sub
@@ -5936,13 +5935,12 @@ static size_t ggml_compute_forward_count_equal(size_t continuation,
59365935 case GGML_TYPE_I32 :
59375936 {
59385937 return ggml_compute_forward_count_equal_i32 (continuation , params , dst );
5939- } break ;
5938+ }
59405939 default :
59415940 {
59425941 GGML_ABORT ("fatal error" );
59435942 }
59445943 }
5945- return 0 ;
59465944}
59475945
59485946// ggml_compute_forward_repeat
@@ -8116,7 +8114,7 @@ static size_t ggml_compute_forward_out_prod(size_t continuation,
81168114 case GGML_TYPE_IQ2_S :
81178115 {
81188116 return ggml_compute_forward_out_prod_q_f32 (continuation , params , dst );
8119- } break ;
8117+ }
81208118 case GGML_TYPE_F16 :
81218119 {
81228120 GGML_ABORT ("fatal error" ); // todo
@@ -8125,13 +8123,12 @@ static size_t ggml_compute_forward_out_prod(size_t continuation,
81258123 case GGML_TYPE_F32 :
81268124 {
81278125 return ggml_compute_forward_out_prod_f32 (continuation , params , dst );
8128- } break ;
8126+ }
81298127 default :
81308128 {
81318129 GGML_ABORT ("fatal error" );
81328130 }
81338131 }
8134- return 0 ;
81358132}
81368133
81378134// ggml_compute_forward_scale
@@ -8401,7 +8398,6 @@ static size_t ggml_compute_forward_set(size_t continuation,
84018398 GGML_ABORT ("fatal error" );
84028399 }
84038400 }
8404- return 0 ;
84058401}
84068402
84078403// ggml_compute_forward_cpy
@@ -8957,7 +8953,6 @@ static size_t ggml_compute_forward_diag_mask_inf(size_t continuation,
89578953 GGML_ABORT ("fatal error" );
89588954 }
89598955 }
8960- return 0 ;
89618956}
89628957
89638958static size_t ggml_compute_forward_diag_mask_zero (size_t continuation ,
@@ -8970,13 +8965,12 @@ static size_t ggml_compute_forward_diag_mask_zero(size_t continuation,
89708965 case GGML_TYPE_F32 :
89718966 {
89728967 return ggml_compute_forward_diag_mask_f32 (continuation , params , dst , 0 );
8973- } break ;
8968+ }
89748969 default :
89758970 {
89768971 GGML_ABORT ("fatal error" );
89778972 }
89788973 }
8979- return 0 ;
89808974}
89818975
89828976// ggml_compute_forward_soft_max
@@ -10012,17 +10006,16 @@ static size_t ggml_compute_forward_conv_transpose_1d(size_t continuation,
1001210006 case GGML_TYPE_F16 :
1001310007 {
1001410008 return ggml_compute_forward_conv_transpose_1d_f16_f32 (continuation , params , dst );
10015- } break ;
10009+ }
1001610010 case GGML_TYPE_F32 :
1001710011 {
1001810012 return ggml_compute_forward_conv_transpose_1d_f32 (continuation , params , dst );
10019- } break ;
10013+ }
1002010014 default :
1002110015 {
1002210016 GGML_ABORT ("fatal error" );
1002310017 }
1002410018 }
10025- return 0 ;
1002610019}
1002710020
1002810021// ggml_compute_forward_im2col_f32
@@ -11572,7 +11565,6 @@ static size_t ggml_compute_forward_flash_attn_back(size_t continuation,
1157211565 GGML_ABORT ("fatal error" );
1157311566 }
1157411567 }
11575- return 0 ;
1157611568}
1157711569
1157811570// ggml_compute_forward_ssm_conv
@@ -12084,7 +12076,6 @@ static size_t ggml_compute_forward_add_rel_pos(size_t continuation,
1208412076 GGML_ABORT ("fatal error" );
1208512077 }
1208612078 }
12087- return 0 ;
1208812079}
1208912080
1209012081// ggml_compute_forward_rwkv_wkv6
@@ -12291,13 +12282,12 @@ static size_t ggml_compute_forward_rwkv_wkv6(size_t continuation,
1229112282 case GGML_TYPE_F32 :
1229212283 {
1229312284 return ggml_compute_forward_rwkv_wkv6_f32 (continuation , params , dst );
12294- } break ;
12285+ }
1229512286 default :
1229612287 {
1229712288 GGML_ABORT ("fatal error" );
1229812289 }
1229912290 }
12300- return 0 ;
1230112291}
1230212292
1230312293// ggml_compute_forward_gla
@@ -12498,7 +12488,6 @@ static size_t ggml_compute_forward_gla(size_t continuation,
1249812488 GGML_ABORT ("fatal error" );
1249912489 }
1250012490 }
12501- return 0 ;
1250212491}
1250312492
1250412493// ggml_compute_forward_map_unary
@@ -12803,13 +12792,12 @@ static size_t ggml_compute_forward_cross_entropy_loss(size_t continuation,
1280312792 case GGML_TYPE_F32 :
1280412793 {
1280512794 return ggml_compute_forward_cross_entropy_loss_f32 (continuation , params , dst );
12806- } break ;
12795+ }
1280712796 default :
1280812797 {
1280912798 GGML_ABORT ("fatal error" );
1281012799 }
1281112800 }
12812- return 0 ;
1281312801}
1281412802
1281512803// ggml_compute_forward_cross_entropy_loss_back
@@ -13000,7 +12988,6 @@ static size_t ggml_compute_forward_error(size_t continuation,
1300012988 UNUSED (params );
1300112989 UNUSED (dst );
1300212990 GGML_ABORT ("fatal error" );
13003- return 0 ;
1300412991}
1300512992
1300612993typedef size_t (* ggml_op_function )(size_t , const struct ggml_compute_params * , struct ggml_tensor * );
0 commit comments