From 201566c9650cccaff87889dc68ae8f0b9fee3460 Mon Sep 17 00:00:00 2001 From: Julia Longtin Date: Thu, 9 May 2024 23:08:43 +0000 Subject: [PATCH] use different restrict syntax, to make g++ happy. --- ggml-phi-knc-dot_q5_K_q8_K.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-phi-knc-dot_q5_K_q8_K.h b/ggml-phi-knc-dot_q5_K_q8_K.h index efc629a8a..820cdf95b 100644 --- a/ggml-phi-knc-dot_q5_K_q8_K.h +++ b/ggml-phi-knc-dot_q5_K_q8_K.h @@ -12,7 +12,7 @@ extern "C" #endif /* A forward declaration, to keep GCC happy. */ - void ggml_vec_dot_q5_K_q8_K(int n, float *restrict s, size_t bs, const void *restrict vx, size_t bx, const void *restrict vy, size_t by, int nrc); + void ggml_vec_dot_q5_K_q8_K(int n, float * __restrict s, size_t bs, const void * __restrict vx, size_t bx, const void * __restrict vy, size_t by, int nrc); // Define our vector types, with a default alignment. typedef float float32x16_t __attribute__((vector_size (64), aligned(64)));