Add reference to FP16 repo

This commit is contained in:
Georgi Gerganov 2022-10-18 19:48:34 +03:00
parent 7eeef0358a
commit 19817711b4
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

3
ggml.c
View File

@ -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;