Skip to content

Commit e7910fc

Browse files
committed
ggml-cpu: update macro tests
Signed-off-by: Aaron Teo <[email protected]>
1 parent 8129838 commit e7910fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml/src/ggml-impl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <immintrin.h>
2929
#endif
3030

31-
#if defined(__VXE__) || defined(__VXE2__)
31+
#if defined(__s390x__) && defined(__VEC__)
3232
#include <vecintrin.h>
3333

3434
#define vec_neg(a) (-(a)) // Vector Negate
@@ -75,8 +75,8 @@ typedef unsigned long long ulong64x2_t __attribute__((vector_size(16)));
7575
#ifndef __NNPA__
7676
#define __NNPA__
7777
#endif // __NNPA__
78-
#endif // __s390x__ && GGML_NNPA
79-
#endif // __VXE__ || __VXE2__
78+
#endif // GGML_NNPA
79+
#endif // __s390x__ && __VEC__
8080

8181
#ifdef __cplusplus
8282
extern "C" {

0 commit comments

Comments
 (0)