ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-sycl / topk-moe.hpp
| 1 | #ifndef GGML_SYCL_TOPK_MOE_HPP |
| 2 | #define GGML_SYCL_TOPK_MOE_HPP |
| 3 | |
| 4 | #include "common.hpp" |
| 5 | |
| 6 | // Detect a fusable op subgraph starting at cgraph node `i` and, if found, dispatch the fused |
| 7 | // kernel. Returns the number of *following* nodes consumed (0 = no fusion applies at i). |
| 8 | int ggml_sycl_fuse(ggml_backend_sycl_context & ctx, ggml_cgraph * cgraph, int i); |
| 9 | |
| 10 | int ggml_sycl_fuse_topk_moe(ggml_backend_sycl_context & ctx, ggml_cgraph * cgraph, int i); |
| 11 | |
| 12 | #endif // GGML_SYCL_TOPK_MOE_HPP |