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/gated_delta_net.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 / gated_delta_net.hpp` 19 lines ยท 839 bytes Raw Blame History 1 #pragma once 2 3 #include 4 #include "dpct/helper.hpp" 5 #include "common.hpp" 6 #include "ggml.h" 7 8 // fused-kernel recurrent-state output; strides in elements (per-seq stride is always D, set in-kernel) 9 struct ggml_sycl_gated_delta_net_fused_cache { 10 float * data; // rollback slot 0 11 int64_t slot_stride; // between rollback slots (0 when K==1) 12 }; 13 14 void ggml_sycl_op_gated_delta_net(ggml_backend_sycl_context & ctx, ggml_tensor * dst); 15 void ggml_sycl_gated_delta_net(ggml_backend_sycl_context & ctx, ggml_tensor * dst); 16 17 // same op, but writes the snapshot(s) into the cache instead of dst (see ggml_sycl_try_gdn_cache_fusion) 18 void ggml_sycl_op_gated_delta_net_fused_cache(ggml_backend_sycl_context & ctx, ggml_tensor * dst, 19 ggml_sycl_gated_delta_net_fused_cache cache);