Skip to content

Commit d2906e8

Browse files
committed
Fix ARMV9SME/VORTEXM4 GEMM compilation with SMP disabled
gemm.c currently declares gotoblas_corename in SMP-enabled builds, but the ARMV9SME and VORTEXM4 targets call gotoblas_corename even when SMP is disabled. Fix compilation of the ARMV9SME and VORTEXM4 targets with SMP disabled by unconditionally declaring gotoblas_corename for DYNAMIC_ARCH builds.
1 parent 45e9820 commit d2906e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

interface/gemm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ static int init_amxtile_permission() {
184184
}
185185
#endif
186186

187-
#ifdef SMP
188187
#ifdef DYNAMIC_ARCH
189188
extern char* gotoblas_corename(void);
190189
#endif
191190

191+
#ifdef SMP
192192
#if defined(DYNAMIC_ARCH) || defined(NEOVERSEV1)
193193
static inline int get_gemm_optimal_nthreads_neoversev1(double MNK, int ncpu) {
194194
return

0 commit comments

Comments
 (0)