Skip to content

Commit 59c0077

Browse files
committed
up
1 parent 70437b3 commit 59c0077

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • backends/mlx/custom_kernel_ops/gguf/q6k

backends/mlx/custom_kernel_ops/gguf/q6k/linear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def _q6k_matmul_source(has_bias: bool) -> str:
293293
// reused as float staging for the output. Without this barrier, a fast
294294
// simdgroup could start writing mc[] into sa while a slower one is still
295295
// reading the last weight tile via simdgroup_load(ma[]).
296-
// (Matches ggml-metal.metal:9546 in llama.cpp's bounds-checked write path.)
296+
// (Mirrors the barrier in llama.cpp kernel_mul_mm's bounds-checked write path.)
297297
threadgroup_barrier(mem_flags::mem_threadgroup);
298298
{{
299299
threadgroup float * temp_str = ((threadgroup float *) sa)

0 commit comments

Comments
 (0)