]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Add reference to FP16 repo
authorGeorgi Gerganov <redacted>
Tue, 18 Oct 2022 16:48:34 +0000 (19:48 +0300)
committerGeorgi Gerganov <redacted>
Tue, 18 Oct 2022 16:48:34 +0000 (19:48 +0300)
ggml.c

diff --git a/ggml.c b/ggml.c
index 4861f24925396e85661b3c0b2b8515a49abb6f74..115e619b081f48927a90e0c37322508316fba308 100644 (file)
--- a/ggml.c
+++ b/ggml.c
@@ -75,6 +75,9 @@ ggml_fp16_t ggml_fp32_to_fp16(float x) {
 
 #include <immintrin.h>
 
+// FP16 <-> FP32
+// ref: https://github.com/Maratyszcza/FP16
+
 static inline float fp32_from_bits(uint32_t w) {
     union {
         uint32_t as_bits;