interplane.Get Omega
Read in your language

ggml

[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)

Brought by drakestapleton

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).
8int ggml_sycl_fuse(ggml_backend_sycl_context & ctx, ggml_cgraph * cgraph, int i);
9
10int ggml_sycl_fuse_topk_moe(ggml_backend_sycl_context & ctx, ggml_cgraph * cgraph, int i);
11
12#endif // GGML_SYCL_TOPK_MOE_HPP