mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
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
@ -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
Block a user