Spaces:
Running
Running
ggml : fix ppc64le build (llama/13176)
Browse filesBuild 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]>
ggml/src/ggml-cpu/simd-mappings.h
CHANGED
|
@@ -341,7 +341,7 @@ static inline void __avx_f32cx8_store(ggml_fp16_t *x, __m256 y) {
|
|
| 341 |
#define GGML_F32_EPR 4
|
| 342 |
|
| 343 |
#define GGML_F32x4 vector float
|
| 344 |
-
#define GGML_F32x4_ZERO 0.0f
|
| 345 |
#define GGML_F32x4_SET1 vec_splats
|
| 346 |
#define GGML_F32x4_LOAD(p) vec_xl(0, p)
|
| 347 |
#define GGML_F32x4_STORE(p, r) vec_xst(r, 0, p)
|
|
|
|
| 341 |
#define GGML_F32_EPR 4
|
| 342 |
|
| 343 |
#define GGML_F32x4 vector float
|
| 344 |
+
#define GGML_F32x4_ZERO {0.0f}
|
| 345 |
#define GGML_F32x4_SET1 vec_splats
|
| 346 |
#define GGML_F32x4_LOAD(p) vec_xl(0, p)
|
| 347 |
#define GGML_F32x4_STORE(p, r) vec_xst(r, 0, p)
|