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/mul_mm_id_funcs.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 / mul_mm_id_funcs.glsl` 12 lines ยท 369 bytes Raw Blame History 1 #ifdef MUL_MAT_ID 2 shared u16vec2 row_ids[BN]; 3 uint _ne1; 4 5 void load_row_ids(uint row_begin) { 6 for (uint i = gl_LocalInvocationIndex; i < _ne1; i += BLOCK_SIZE) { 7 const uint packed_row_id = data_row_map[p.row_ids_offset + row_begin + i]; 8 row_ids[i] = u16vec2(packed_row_id & 0xffffu, packed_row_id >> 16); 9 } 10 barrier(); 11 } 12 #endif // MUL_MAT_ID