Move common.h back to the top of the file so that SKYLAKEX (from config.h) is defined in time
This commit is contained in:
parent
fa9a30b491
commit
7b294a99fd
|
@ -1,10 +1,10 @@
|
||||||
/* the direct sgemm code written by Arjan van der Ven */
|
/* the direct sgemm code written by Arjan van der Ven */
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
#if defined(SKYLAKEX) || defined (COOPERLAKE)
|
#if defined(SKYLAKEX) || defined (COOPERLAKE)
|
||||||
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#include "common.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* "Direct sgemm" code. This code operates directly on the inputs and outputs
|
* "Direct sgemm" code. This code operates directly on the inputs and outputs
|
||||||
|
@ -472,7 +472,7 @@ void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, float * __restrict A, BLASLONG s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#include "common.h"
|
|
||||||
void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, float * __restrict A, BLASLONG strideA, float * __restrict B, BLASLONG strideB , float * __restrict R, BLASLONG strideR)
|
void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, float * __restrict A, BLASLONG strideA, float * __restrict B, BLASLONG strideB , float * __restrict R, BLASLONG strideR)
|
||||||
{}
|
{}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue