Skip to content

Commit e25fb4b

Browse files
authored
ggml : use uint8x16_t return type for ggml_vqtbl1q_u8 (#5894)
* use uint8x16_t * Update ggml-quants.c
1 parent 1e35d61 commit e25fb4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml-quants.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ inline static int8x16_t ggml_vqtbl1q_s8(int8x16_t a, uint8x16_t b) {
464464
}
465465

466466
// NOTE: not tested
467-
inline static int8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
468-
int8x16_t res;
467+
inline static uint8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
468+
uint8x16_t res;
469469

470470
res[ 0] = a[b[ 0]];
471471
res[ 1] = a[b[ 1]];

0 commit comments

Comments
 (0)