File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
ggml/src/ggml-cpu/llamafile Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 5252#include " ggml-impl.h"
5353#include " ggml-cpu-impl.h"
5454#include " ggml-quants.h"
55- #include " simd-mappings.h"
5655
5756#include < array>
5857#include < type_traits>
7473namespace {
7574
7675inline float unhalf (ggml_fp16_t d) {
77- return GGML_CPU_FP16_TO_FP32 (d);
76+ return GGML_FP16_TO_FP32 (d);
7877}
7978
8079// //////////////////////////////////////////////////////////////////////////////////////////////////
@@ -253,7 +252,7 @@ template <> inline float32x4_t load(const ggml_fp16_t * p) {
253252 float tmp[4 ];
254253
255254 for (int i = 0 ; i < 4 ; i++) {
256- tmp[i] = GGML_CPU_FP16_TO_FP32 (p[i]);
255+ tmp[i] = GGML_FP16_TO_FP32 (p[i]);
257256 }
258257
259258 return vec_xl (0 , (const float *)(tmp));
You can’t perform that action at this time.
0 commit comments