We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a764e commit c2b19c8Copy full SHA for c2b19c8
ggml/src/ggml-cpu/simd-mappings.h
@@ -851,12 +851,16 @@ static inline __vector float __lzs_f16cx4_load(const ggml_fp16_t * x) {
851
tmp[i] = GGML_FP16_TO_FP32(x[i]);
852
}
853
854
+ // TODO: change to const pointer instead (see #12846)
855
+ // this is only a workaround to the compile error but its unreadable
856
return vec_xl(0, &(tmp[0]));
857
858
859
static inline void __lzs_f16cx4_store(ggml_fp16_t * x, __vector float y) {
860
float arr[4];
861
862
863
864
vec_xst(y, 0, &(arr[0]));
865
866
for (int i = 0; i < 4; i++) {
0 commit comments