ggml-cpu: update macro tests
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
parent
8129838037
commit
e7910fc975
|
|
@ -28,7 +28,7 @@
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__VXE__) || defined(__VXE2__)
|
#if defined(__s390x__) && defined(__VEC__)
|
||||||
#include <vecintrin.h>
|
#include <vecintrin.h>
|
||||||
|
|
||||||
#define vec_neg(a) (-(a)) // Vector Negate
|
#define vec_neg(a) (-(a)) // Vector Negate
|
||||||
|
|
@ -75,8 +75,8 @@ typedef unsigned long long ulong64x2_t __attribute__((vector_size(16)));
|
||||||
#ifndef __NNPA__
|
#ifndef __NNPA__
|
||||||
#define __NNPA__
|
#define __NNPA__
|
||||||
#endif // __NNPA__
|
#endif // __NNPA__
|
||||||
#endif // __s390x__ && GGML_NNPA
|
#endif // GGML_NNPA
|
||||||
#endif // __VXE__ || __VXE2__
|
#endif // __s390x__ && __VEC__
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue