metal : fuse non-sequential nodes (#16102)

* metal : fuse non-sequential nodes

* cont : add comment

* cont : simplify bounds checks
This commit is contained in:
Georgi Gerganov
2025-09-28 09:34:05 +03:00
committed by GitHub
parent 1384abf8b8
commit 3b53634fe3
3 changed files with 161 additions and 135 deletions

View File

@@ -22,6 +22,8 @@ ggml_metal_op_t ggml_metal_op_init(
void ggml_metal_op_free(ggml_metal_op_t ctx);
int ggml_metal_op_n_nodes(ggml_metal_op_t ctx);
int ggml_metal_op_encode(ggml_metal_op_t ctx, int idx);
//