Skip to content

Commit 66e9fe0

Browse files
taronaeoAleksei Nikiforov
andcommitted
ggml: fixes #12846 compilation error
Signed-off-by: Aaron Teo <[email protected]> Co-authored-by: Aleksei Nikiforov <[email protected]>
1 parent d3bd719 commit 66e9fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,13 +851,13 @@ static inline __vector float __lzs_f16cx4_load(const ggml_fp16_t * x) {
851851
tmp[i] = GGML_FP16_TO_FP32(x[i]);
852852
}
853853

854-
return vec_xl(0, tmp);
854+
return vec_xl(0, &(tmp[0]));
855855
}
856856

857857
static inline void __lzs_f16cx4_store(ggml_fp16_t * x, __vector float y) {
858858
float arr[4];
859859

860-
vec_xst(y, 0, arr);
860+
vec_xst(y, 0, &(arr[0]));
861861

862862
for (int i = 0; i < 4; i++) {
863863
x[i] = GGML_FP32_TO_FP16(arr[i]);

0 commit comments

Comments
 (0)