Skip to content

Commit 6c442f4

Browse files
authored
ggml-cpu: fix invalid hsum build in debug s390x (ggml-org#15634)
Signed-off-by: Aaron Teo <[email protected]>
1 parent 7380414 commit 6c442f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cpu/ggml-cpu-impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ inline static int16x8_t vec_padd_s16(int16x8_t a, int16x8_t b) {
489489
/**
490490
* @see https://github.com/ggml-org/llama.cpp/pull/14037
491491
*/
492-
inline float vec_hsum(float32x4_t v) {
492+
inline static float vec_hsum(float32x4_t v) {
493493
float32x4_t v_temp = v + vec_reve(v);
494494
return v_temp[0] + v_temp[1];
495495
}

0 commit comments

Comments
 (0)