Skip to content

Commit ff70b3a

Browse files
committed
Revert "ggml-cpu: attempt direct reference"
This reverts commit 23f3f5e. Signed-off-by: Aaron Teo <[email protected]>
1 parent a316d1b commit ff70b3a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,10 @@ static inline void __lzs_f16cx4_store(ggml_fp16_t * x, float32x4_t y) {
984984
#ifdef __NNPA__
985985
float32x4_t zero = vec_splats(0.0f);
986986
uint16x8_t nnpa = vec_round_from_fp32(y, zero, 0);
987-
x = nnpa;
987+
x[0] = nnpa[0];
988+
x[1] = nnpa[1];
989+
x[2] = nnpa[2];
990+
x[3] = nnpa[3];
988991
#else
989992
float arr[4];
990993

0 commit comments

Comments
 (0)