@@ -102,54 +102,56 @@ void ggml_metal_library_free(ggml_metal_library_t lib);
102102struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline (ggml_metal_library_t lib , const char * name );
103103struct ggml_metal_pipeline_with_params ggml_metal_library_compile_pipeline (ggml_metal_library_t lib , const char * base , const char * name , ggml_metal_cv_t cv );
104104
105- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_base (ggml_metal_library_t lib , enum ggml_op op );
106- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cpy (ggml_metal_library_t lib , enum ggml_type tsrc , enum ggml_type tdst );
107- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pool_1d (ggml_metal_library_t lib , const struct ggml_tensor * op , enum ggml_op_pool op_pool );
108- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pool_2d (ggml_metal_library_t lib , const struct ggml_tensor * op , enum ggml_op_pool op_pool );
109- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_get_rows (ggml_metal_library_t lib , enum ggml_type tsrc );
110- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_set_rows (ggml_metal_library_t lib , enum ggml_type tidx , enum ggml_type tdst );
111- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_repeat (ggml_metal_library_t lib , enum ggml_type tsrc );
112- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_unary (ggml_metal_library_t lib , const struct ggml_tensor * op );
113- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_glu (ggml_metal_library_t lib , const struct ggml_tensor * op );
114- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_sum (ggml_metal_library_t lib , const struct ggml_tensor * op );
115- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_sum_rows (ggml_metal_library_t lib , const struct ggml_tensor * op );
116- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cumsum_blk (ggml_metal_library_t lib , const struct ggml_tensor * op );
117- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cumsum_add (ggml_metal_library_t lib , const struct ggml_tensor * op );
118- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_tri (ggml_metal_library_t lib , const struct ggml_tensor * op );
119- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_soft_max (ggml_metal_library_t lib , const struct ggml_tensor * op );
120- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_conv (ggml_metal_library_t lib , const struct ggml_tensor * op );
121- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_conv_batched (ggml_metal_library_t lib , const struct ggml_tensor * op , int ssm_conv_bs );
122- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_scan (ggml_metal_library_t lib , const struct ggml_tensor * op );
123- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_rwkv (ggml_metal_library_t lib , const struct ggml_tensor * op );
124- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mv_ext (ggml_metal_library_t lib , enum ggml_type tsrc0 , enum ggml_type tsrc1 , int nsg , int nxpsg , int r1ptg );
125- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mm (ggml_metal_library_t lib , const struct ggml_tensor * op );
126- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mv (ggml_metal_library_t lib , const struct ggml_tensor * op );
127- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mm_id_map0 (ggml_metal_library_t lib , int ne02 , int ne20 );
128- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mm_id (ggml_metal_library_t lib , const struct ggml_tensor * op );
129- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mv_id (ggml_metal_library_t lib , const struct ggml_tensor * op );
130- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_argmax (ggml_metal_library_t lib , const struct ggml_tensor * op );
131- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_argsort (ggml_metal_library_t lib , const struct ggml_tensor * op );
132- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_argsort_merge (ggml_metal_library_t lib , const struct ggml_tensor * op );
133- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_top_k (ggml_metal_library_t lib , const struct ggml_tensor * op );
134- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_top_k_merge (ggml_metal_library_t lib , const struct ggml_tensor * op );
135- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_bin (ggml_metal_library_t lib , enum ggml_op op , int32_t n_fuse , bool row );
136- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_l2_norm (ggml_metal_library_t lib , const struct ggml_tensor * op );
137- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_group_norm (ggml_metal_library_t lib , const struct ggml_tensor * op );
138- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_norm (ggml_metal_library_t lib , const struct ggml_tensor * op , int32_t n_fuse );
139- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_rope (ggml_metal_library_t lib , const struct ggml_tensor * op );
140- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_im2col (ggml_metal_library_t lib , const struct ggml_tensor * op );
141- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_conv_transpose_1d (ggml_metal_library_t lib , const struct ggml_tensor * op );
142- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_conv_transpose_2d (ggml_metal_library_t lib , const struct ggml_tensor * op );
143- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_conv_2d (ggml_metal_library_t lib , const struct ggml_tensor * op );
144- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_upscale (ggml_metal_library_t lib , const struct ggml_tensor * op );
145- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pad (ggml_metal_library_t lib , const struct ggml_tensor * op );
146- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pad_reflect_1d (ggml_metal_library_t lib , const struct ggml_tensor * op );
147- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_arange (ggml_metal_library_t lib , const struct ggml_tensor * op );
148- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_timestep_embedding (ggml_metal_library_t lib , const struct ggml_tensor * op );
149- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_opt_step_adamw (ggml_metal_library_t lib , const struct ggml_tensor * op );
150- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_opt_step_sgd (ggml_metal_library_t lib , const struct ggml_tensor * op );
151- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_memset (ggml_metal_library_t lib , const struct ggml_tensor * op );
152- struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_count_equal (ggml_metal_library_t lib , const struct ggml_tensor * op );
105+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_base (ggml_metal_library_t lib , enum ggml_op op );
106+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cpy (ggml_metal_library_t lib , enum ggml_type tsrc , enum ggml_type tdst );
107+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pool_1d (ggml_metal_library_t lib , const struct ggml_tensor * op , enum ggml_op_pool op_pool );
108+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pool_2d (ggml_metal_library_t lib , const struct ggml_tensor * op , enum ggml_op_pool op_pool );
109+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_get_rows (ggml_metal_library_t lib , enum ggml_type tsrc );
110+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_set_rows (ggml_metal_library_t lib , enum ggml_type tidx , enum ggml_type tdst );
111+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_repeat (ggml_metal_library_t lib , enum ggml_type tsrc );
112+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_unary (ggml_metal_library_t lib , const struct ggml_tensor * op );
113+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_glu (ggml_metal_library_t lib , const struct ggml_tensor * op );
114+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_sum (ggml_metal_library_t lib , const struct ggml_tensor * op );
115+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_sum_rows (ggml_metal_library_t lib , const struct ggml_tensor * op );
116+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cumsum_blk (ggml_metal_library_t lib , const struct ggml_tensor * op );
117+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cumsum_add (ggml_metal_library_t lib , const struct ggml_tensor * op );
118+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_tri (ggml_metal_library_t lib , const struct ggml_tensor * op );
119+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_soft_max (ggml_metal_library_t lib , const struct ggml_tensor * op );
120+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_conv (ggml_metal_library_t lib , const struct ggml_tensor * op );
121+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_conv_batched (ggml_metal_library_t lib , const struct ggml_tensor * op , int ssm_conv_bs );
122+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_scan (ggml_metal_library_t lib , const struct ggml_tensor * op );
123+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_rwkv (ggml_metal_library_t lib , const struct ggml_tensor * op );
124+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mv_ext (ggml_metal_library_t lib , enum ggml_type tsrc0 , enum ggml_type tsrc1 , int nsg , int nxpsg , int r1ptg );
125+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mm (ggml_metal_library_t lib , const struct ggml_tensor * op );
126+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mv (ggml_metal_library_t lib , const struct ggml_tensor * op );
127+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mm_id_map0 (ggml_metal_library_t lib , int ne02 , int ne20 );
128+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mm_id (ggml_metal_library_t lib , const struct ggml_tensor * op );
129+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_mul_mv_id (ggml_metal_library_t lib , const struct ggml_tensor * op );
130+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_argmax (ggml_metal_library_t lib , const struct ggml_tensor * op );
131+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_argsort (ggml_metal_library_t lib , const struct ggml_tensor * op );
132+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_argsort_merge (ggml_metal_library_t lib , const struct ggml_tensor * op );
133+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_top_k (ggml_metal_library_t lib , const struct ggml_tensor * op );
134+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_top_k_merge (ggml_metal_library_t lib , const struct ggml_tensor * op );
135+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_bin (ggml_metal_library_t lib , enum ggml_op op , int32_t n_fuse , bool row );
136+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_l2_norm (ggml_metal_library_t lib , const struct ggml_tensor * op );
137+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_group_norm (ggml_metal_library_t lib , const struct ggml_tensor * op );
138+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_norm (ggml_metal_library_t lib , const struct ggml_tensor * op , int32_t n_fuse );
139+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_rope (ggml_metal_library_t lib , const struct ggml_tensor * op );
140+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_im2col (ggml_metal_library_t lib , const struct ggml_tensor * op );
141+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_conv_transpose_1d (ggml_metal_library_t lib , const struct ggml_tensor * op );
142+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_conv_transpose_2d (ggml_metal_library_t lib , const struct ggml_tensor * op );
143+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_conv_2d (ggml_metal_library_t lib , const struct ggml_tensor * op );
144+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_upscale (ggml_metal_library_t lib , const struct ggml_tensor * op );
145+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pad (ggml_metal_library_t lib , const struct ggml_tensor * op );
146+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_pad_reflect_1d (ggml_metal_library_t lib , const struct ggml_tensor * op );
147+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_arange (ggml_metal_library_t lib , const struct ggml_tensor * op );
148+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_timestep_embedding (ggml_metal_library_t lib , const struct ggml_tensor * op );
149+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_opt_step_adamw (ggml_metal_library_t lib , const struct ggml_tensor * op );
150+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_opt_step_sgd (ggml_metal_library_t lib , const struct ggml_tensor * op );
151+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_memset (ggml_metal_library_t lib , const struct ggml_tensor * op );
152+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_count_equal (ggml_metal_library_t lib , const struct ggml_tensor * op );
153+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cross_entropy_loss (ggml_metal_library_t lib , const struct ggml_tensor * op );
154+ struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_cross_entropy_loss_back (ggml_metal_library_t lib , const struct ggml_tensor * op );
153155
154156struct ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_flash_attn_ext_pad (
155157 ggml_metal_library_t lib ,
0 commit comments