Skip to content

Commit d593429

Browse files
CISCqnixsynapse
authored andcommitted
update comment [no ci]
ggml-ci
1 parent 0b2703f commit d593429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/unary.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static __global__ void unary_gated_op_kernel(const T * x, const T * g, T * dst,
206206
return;
207207
}
208208

209-
// perform base op on first half of row and multiply with gate in second half
209+
// perform base op on half of the row and multiply with gate in other half
210210
const int64_t j = (i / n) * o + (i % n);
211211
dst[i] = (T)(op((float)x[j]) * (float)g[j]);
212212
}

0 commit comments

Comments
 (0)