Skip to content

Commit b6d5057

Browse files
authored
Merge pull request #5482 from yuyichao/arm-fix
Fix compilation on ARM
2 parents e40714c + b94e9b9 commit b6d5057

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

kernel/arm64/ssymm_direct_alpha_beta_arm64_sme1.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,11 @@ static void ssymm_direct_sme1_preprocessLL(uint64_t nbr, uint64_t nbc,
189189
}
190190
}
191191
}
192-
192+
#else
193+
static void ssymm_direct_sme1_preprocessLU(uint64_t nbr, uint64_t nbc,
194+
const float *restrict a, float *restrict a_mod){}
195+
static void ssymm_direct_sme1_preprocessLL(uint64_t nbr, uint64_t nbc,
196+
const float *restrict a, float *restrict a_mod){}
193197
#endif
194198

195199
//

kernel/arm64/strmm_direct_arm64_sme1.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ static inline void strmm_direct_alpha_sme1_2VLx2VL(uint64_t m, uint64_t k, uint6
227227
}
228228

229229
#else
230+
void strmm_direct_sme1_preprocess(uint64_t nbr, uint64_t nbc,
231+
const float *restrict a, float *restrict a_mod) {}
230232
void strmm_direct_alpha_sme1_2VLx2VL(uint64_t m, uint64_t k, uint64_t n, const float* alpha,\
231233
const float *ba, float *restrict bb){}
232234
#endif

0 commit comments

Comments
 (0)