Skip to content

Commit 69d9249

Browse files
authored
move inclusion of sme_abi header into the conditional section
1 parent ebc3eaf commit 69d9249

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/arm64/sgemm_direct_alpha_beta_arm64_sme1.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include <stdlib.h>
88
#include <inttypes.h>
99
#include <math.h>
10-
#include "sme_abi.h"
1110

1211
#if defined(DYNAMIC_ARCH)
1312
#define COMBINE(a,b) a ## b
@@ -26,6 +25,7 @@ extern void SME1_PREPROCESS(uint64_t nbr, uint64_t nbc,\
2625
const float * restrict a, float * a_mod);
2726

2827
#if defined(HAVE_SME)
28+
#include "sme_abi.h"
2929

3030
#if defined(__ARM_FEATURE_SME) && defined(__clang__) && __clang_major__ >= 16
3131
#include <arm_sme.h>
@@ -214,3 +214,4 @@ void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, float alpha, float * __restrict
214214
float beta, float * __restrict R, BLASLONG strideR){fprintf(stderr,"empty sgemm_direct_alpha_beta should not be called!!!\n");}
215215
#endif
216216

217+

0 commit comments

Comments
 (0)