From 8b5059c279d7ee6b769f8d511ba5fb127bc585c9 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 22 Feb 2024 18:39:06 +0200 Subject: [PATCH] ggml : cont --- ggml-impl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/ggml-impl.h b/ggml-impl.h index 12d9ae5b8..10070d7ae 100644 --- a/ggml-impl.h +++ b/ggml-impl.h @@ -56,8 +56,6 @@ extern "C" { #define GGML_COMPUTE_FP16_TO_FP32(x) ggml_compute_fp16_to_fp32(x) #define GGML_COMPUTE_FP32_TO_FP16(x) ggml_compute_fp32_to_fp16(x) -#define GGML_FP16_TO_FP32(x) ((float)(*(const __fp16 *)&(x))) - static inline float ggml_compute_fp16_to_fp32(ggml_fp16_t h) { __fp16 tmp; memcpy(&tmp, &h, sizeof(ggml_fp16_t));