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/rope_head.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 / rope_head.glsl` 19 lines ยท 587 bytes Raw Blame History 1 #include "types.glsl" 2 3 #extension GL_EXT_shader_16bit_storage : require 4 5 #include "rope_params.glsl" 6 7 layout(local_size_x = 1, local_size_y = 256, local_size_z = 1) in; 8 9 layout (binding = 0) readonly buffer X {A_TYPE rope_data_a[];}; 10 layout (binding = 1) readonly buffer Y {int rope_data_pos[];}; 11 layout (binding = 2) readonly buffer Z {float rope_data_ff[];}; 12 layout (binding = 3) writeonly buffer D {ROPE_D_TYPE rope_data_d[];}; 13 layout (binding = 4) readonly buffer I {uvec2 rope_data_i[];}; // indices for set_rows 14 15 16 layout (push_constant) uniform parameter { 17 rope_params pc; 18 }; 19