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/dequant_f32.comp # 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 / dequant_f32.comp` 20 lines ยท 442 bytes Raw Blame History 1 #version 450 2 3 #include "dequant_head.glsl" 4 5 layout(local_size_x = 256, local_size_y = 1, local_size_z = 1) in; 6 7 layout (binding = 0) readonly buffer A {float data_a[];}; 8 layout (binding = 1) writeonly buffer D {D_TYPE data_b[];}; 9 10 void main() { 11 const uint i = gl_GlobalInvocationID.x * 16; 12 13 if (i >= p.nel) { 14 return; 15 } 16 17 [[unroll]] for (uint l = 0; l < 16; l++) { 18 data_b[i + l] = D_TYPE(data_a[i + l]); 19 } 20 }