Skip to content

Commit 7d873a3

Browse files
authored
Add ifdefs around conditionally used functions
1 parent ef24712 commit 7d873a3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kernel/x86_64/sgemv_n_4.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ static void sgemv_kernel_4x4(BLASLONG n, FLOAT **ap, FLOAT *xo, FLOAT *y, FLOAT
115115

116116
#endif
117117

118+
#ifndef HAVE_SGEMV_N_SKYLAKE_KERNEL
119+
118120
#ifndef HAVE_KERNEL_4x2
119121

120122
static void sgemv_kernel_4x2( BLASLONG n, FLOAT **ap, FLOAT *x, FLOAT *y, FLOAT *alpha) __attribute__ ((noinline));
@@ -246,6 +248,8 @@ static void sgemv_kernel_4x1(BLASLONG n, FLOAT *ap, FLOAT *x, FLOAT *y, FLOAT *a
246248

247249
#endif
248250

251+
#endif
252+
249253
static void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest) __attribute__ ((noinline));
250254

251255
static void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest)

0 commit comments

Comments
 (0)