ggml : use `uint8x16_t` return type for `ggml_vqtbl1q_u8` (llama/5894)
* use uint8x16_t * Update ggml-quants.cpull/1943/head
parent
7ff1894c34
commit
2f6f1d4465
|
@ -464,8 +464,8 @@ inline static int8x16_t ggml_vqtbl1q_s8(int8x16_t a, uint8x16_t b) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: not tested
|
// NOTE: not tested
|
||||||
inline static int8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
|
inline static uint8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
|
||||||
int8x16_t res;
|
uint8x16_t res;
|
||||||
|
|
||||||
res[ 0] = a[b[ 0]];
|
res[ 0] = a[b[ 0]];
|
||||||
res[ 1] = a[b[ 1]];
|
res[ 1] = a[b[ 1]];
|
||||||
|
|
Loading…
Reference in New Issue