ggml : use uint8x16_t
return type for ggml_vqtbl1q_u8
(#5894)
* use uint8x16_t * Update ggml-quants.c
This commit is contained in:
parent
1e35d619a6
commit
e25fb4b18f
1 changed files with 2 additions and 2 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue