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-vulkan/vulkan-shaders/sum_rows.glsl # 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-vulkan / vulkan-shaders / sum_rows.glsl` 19 lines ยท 413 bytes Raw Blame History 1 2 #include "utils.glsl" 3 4 // vk_op_sum_rows_push_constants 5 layout (push_constant) uniform parameter 6 { 7 uint n_cols; 8 uint ne01, ne02; 9 uint nb01, nb02, nb03; 10 uint nb11, nb12, nb13; 11 float weight; 12 uint misalign_offsets; 13 uint ne0_12mp, ne0_12L; 14 uint ne0_1mp, ne0_1L; 15 } p; 16 17 uint get_aoffset() { return p.misalign_offsets >> 16; } 18 uint get_doffset() { return p.misalign_offsets & 0xFFFF; } 19