mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-27 20:05:20 +00:00
ggml-cpu: update macro tests
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
@ -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" {
|
||||||
|
Reference in New Issue
Block a user