Skip to content

Commit 242068c

Browse files
committed
missing semicolon
1 parent 9d89543 commit 242068c

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
@@ -26,7 +26,7 @@ static __device__ __forceinline__ float op_gelu(float x) {
2626
static __device__ __forceinline__ float op_gelu_erf(float x) {
2727
const float SQRT_2_INV = 0.70710678118654752440084436210484f;
2828

29-
return 0.5f*x*(1.0f + erff(x*SQRT_2_INV))
29+
return 0.5f*x*(1.0f + erff(x*SQRT_2_INV));
3030
}
3131

3232
static __device__ __forceinline__ float op_gelu_quick(float x) {

0 commit comments

Comments
 (0)