Skip to content

Commit 4163137

Browse files
authored
ggml : fix ppc64le build (#13176)
Build fails with compilation error on power pc. This patch fixes the same. Tested with unit tests run via --build <build_dir> && cd <build_dir> && make test Signed-off-by: Shalini Salomi Bodapati <[email protected]>
1 parent 07c2e2f commit 4163137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cpu/simd-mappings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static inline void __avx_f32cx8_store(ggml_fp16_t *x, __m256 y) {
341341
#define GGML_F32_EPR 4
342342

343343
#define GGML_F32x4 vector float
344-
#define GGML_F32x4_ZERO 0.0f
344+
#define GGML_F32x4_ZERO {0.0f}
345345
#define GGML_F32x4_SET1 vec_splats
346346
#define GGML_F32x4_LOAD(p) vec_xl(0, p)
347347
#define GGML_F32x4_STORE(p, r) vec_xst(r, 0, p)

0 commit comments

Comments
 (0)