bobqianic commited on
Commit
7f5bc53
·
unverified ·
1 Parent(s): 41c3c12

ggml : use `uint8x16_t` return type for `ggml_vqtbl1q_u8` (llama/5894)

Browse files
Files changed (1) hide show
  1. ggml-quants.c +2 -2
ggml-quants.c CHANGED
@@ -464,8 +464,8 @@ inline static int8x16_t ggml_vqtbl1q_s8(int8x16_t a, uint8x16_t b) {
464
  }
465
 
466
  // NOTE: not tested
467
- inline static int8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
468
- int8x16_t res;
469
 
470
  res[ 0] = a[b[ 0]];
471
  res[ 1] = a[b[ 1]];
 
464
  }
465
 
466
  // NOTE: not tested
467
+ inline static uint8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
468
+ uint8x16_t res;
469
 
470
  res[ 0] = a[b[ 0]];
471
  res[ 1] = a[b[ 1]];