diff options
author | bobqianic <129547291+bobqianic@users.noreply.github.com> | 2024-03-06 07:35:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 09:35:07 +0200 |
commit | e25fb4b18fcedb9bed6be4585cf842e9a669b28b (patch) | |
tree | da10a685933c7a71556d748e81bf9954ebc3ace0 | |
parent | 1e35d619a6fb0b9c5e3dc955345980ff056ddbaf (diff) |
ggml : use `uint8x16_t` return type for `ggml_vqtbl1q_u8` (#5894)
* use uint8x16_t
* Update ggml-quants.c
-rw-r--r-- | ggml-quants.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml-quants.c b/ggml-quants.c index e0c125d4..9dcb76de 100644 --- a/ggml-quants.c +++ b/ggml-quants.c @@ -464,8 +464,8 @@ inline static int8x16_t ggml_vqtbl1q_s8(int8x16_t a, uint8x16_t b) { } // NOTE: not tested -inline static int8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) { - int8x16_t res; +inline static uint8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) { + uint8x16_t res; res[ 0] = a[b[ 0]]; res[ 1] = a[b[ 1]]; |