From 0389ed9ccbc6ae3fc91933ce02bb5c5638644fa8 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Fri, 17 Nov 2023 16:46:33 +0100 Subject: [PATCH] build: keep __POWER9_VECTOR__ ifdef and extend with __powerpc64__ Co-authored-by: Georgi Gerganov --- ggml-quants.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-quants.c b/ggml-quants.c index 3cbeb51e2..388a61597 100644 --- a/ggml-quants.c +++ b/ggml-quants.c @@ -39,7 +39,7 @@ inline static int32_t vaddvq_s32(int32x4_t v) { #ifdef __wasm_simd128__ #include #else -#ifdef __powerpc64__ +#if defined(__POWER9_VECTOR__) || defined(__powerpc64__) #include #undef bool #define bool _Bool