From: le.chang Date: Sun, 23 Apr 2023 16:12:49 +0000 (+0800) Subject: tests : fix compile error (#98) X-Git-Tag: upstream/0.0.1642~1522 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=cd4324ea712d556c103759aa5f60b50452e112f9;p=pkg%2Fggml%2Fsources%2Fggml tests : fix compile error (#98) --- diff --git a/tests/test-mul-mat2.c b/tests/test-mul-mat2.c index a6a9fc64..e6728a51 100644 --- a/tests/test-mul-mat2.c +++ b/tests/test-mul-mat2.c @@ -1887,7 +1887,7 @@ void vec_dot_gq_5(const int n, float * restrict s, const void * restrict x, cons const uint8_t * restrict p0 = pb0 + i*QK/2; const uint8_t * restrict p1 = pb1 + i*QK/2; - const int8x16_t m4b = vdupq_n_s8(0xf); + const uint8x16_t m4b = vdupq_n_u8(0xf); const int8x16_t s8b = vdupq_n_s8(0x8); const uint8x16_t v0_0 = vld1q_u8(p0); @@ -2280,7 +2280,7 @@ void vec_dot_gq_6(const int n, float * restrict s, const void * restrict x, cons const uint8_t * restrict p0 = pb0 + i*16; const uint8_t * restrict p1 = pb1 + i*16; - const int8x16_t m4b = vdupq_n_s8(0xf); + const uint8x16_t m4b = vdupq_n_u8(0xf); const int8x16_t s8b = vdupq_n_s8(0x8); const uint8x16_t v0_0 = vld1q_u8(p0);