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-cuda/gated-delta-net-mma.cuh # 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-cuda / gated-delta-net-mma.cuh` 35 lines ยท 665 bytes Raw Blame History 1 #pragma once 2 3 #include "common.cuh" 4 5 #include 6 7 struct ggml_cuda_gdn_mma_args { 8 const float * q; 9 const float * k; 10 const float * v; 11 const float * g; 12 const float * beta; 13 const float * state; 14 float * dst; 15 float * state_out; 16 17 int64_t H; 18 int64_t H_k; 19 int64_t n_tokens; 20 int64_t n_seqs; 21 int64_t rq3; 22 int64_t sq1; 23 int64_t sq2; 24 int64_t sq3; 25 int64_t sv1; 26 int64_t sv2; 27 int64_t sv3; 28 int64_t sb1; 29 int64_t sb2; 30 int64_t sb3; 31 float scale; 32 bool eligible; 33 }; 34 35 bool ggml_cuda_gdn_mma_launch(int device, const ggml_cuda_gdn_mma_args & args, cudaStream_t stream);