]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
tests : fix compile error (#98)
authorle.chang <redacted>
Sun, 23 Apr 2023 16:12:49 +0000 (00:12 +0800)
committerGitHub <redacted>
Sun, 23 Apr 2023 16:12:49 +0000 (19:12 +0300)
tests/test-mul-mat2.c

index a6a9fc642ecbb7a285602fad1e2b2e16489dcc09..e6728a511cc18c44c847d4472ce4ff258550afb2 100644 (file)
@@ -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);