okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-own-1b (033cfdd8c) into f-own-int: nothing downloads llama.cppb2de2641f

main
479 B12 linesraw
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