From 2d7a0fbe68be0dd273d17e530a6633c3e953d2ab Mon Sep 17 00:00:00 2001 From: lijiahao Date: Sun, 27 Aug 2023 11:14:32 +0800 Subject: [PATCH] Replace make_half2 with __halves2half2 --- ggml-cuda.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index 48587beaa..3ff04068c 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -4198,7 +4198,7 @@ static void quantize_row_q8_1_cuda(const float * x, void * vy, const int kx, con } #ifdef GGML_CUDA_F16 -#define make_dfloat2(x, y) make_half2((x), (y)) +#define make_dfloat2(x, y) __halves2half2((x), (y)) #else #define make_dfloat2(x, y) make_float2((x), (y)) #endif