From d5934297ef25ef2192587ad2d5513d1b63b083fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigbj=C3=B8rn=20Skj=C3=A6ret?= Date: Fri, 13 Jun 2025 23:08:18 +0200 Subject: [PATCH] update comment [no ci] ggml-ci --- ggml/src/ggml-cuda/unary.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-cuda/unary.cu b/ggml/src/ggml-cuda/unary.cu index caab84d52..c991c1d70 100644 --- a/ggml/src/ggml-cuda/unary.cu +++ b/ggml/src/ggml-cuda/unary.cu @@ -206,7 +206,7 @@ static __global__ void unary_gated_op_kernel(const T * x, const T * g, T * dst, return; } - // perform base op on first half of row and multiply with gate in second half + // perform base op on half of the row and multiply with gate in other half const int64_t j = (i / n) * o + (i % n); dst[i] = (T)(op((float)x[j]) * (float)g[j]); }