Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/src/ggml-sycl/topk-moe.hpp # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / src / ggml-sycl / topk-moe.hpp` 12 lines ยท 479 bytes Raw Blame History 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