Add reference to FP16 repo

pull/67/head
Georgi Gerganov 2 years ago
parent 7eeef0358a
commit 19817711b4
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -75,6 +75,9 @@ ggml_fp16_t ggml_fp32_to_fp16(float x) {
#include <immintrin.h> #include <immintrin.h>
// FP16 <-> FP32
// ref: https://github.com/Maratyszcza/FP16
static inline float fp32_from_bits(uint32_t w) { static inline float fp32_from_bits(uint32_t w) {
union { union {
uint32_t as_bits; uint32_t as_bits;

Loading…
Cancel
Save