ggml : try to use correct ifdef
This commit is contained in:
parent
63f7ecf47c
commit
99e7c9b9e6
1 changed files with 1 additions and 4 deletions
5
ggml.c
5
ggml.c
|
@ -493,10 +493,7 @@ static inline __m128i packNibbles( __m128i bytes1, __m128i bytes2 )
|
||||||
|
|
||||||
#if __ARM_NEON
|
#if __ARM_NEON
|
||||||
|
|
||||||
// TODO: this check is wrong
|
#if !defined(__aarch64__)
|
||||||
// we have to check somehow if vaddvq_u8, vzp1q_u8, etc are available, but I don't know how
|
|
||||||
// at least, this works on my 32-bit RPi4
|
|
||||||
#if !defined(__ARM_FEATURE_QRDMX)
|
|
||||||
|
|
||||||
inline static uint16_t vaddvq_u8(uint8x16_t v) {
|
inline static uint16_t vaddvq_u8(uint8x16_t v) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue