Increase default BUFFER_SIZE for Haswell, Zen and SKX
This commit is contained in:
parent
df989d7a52
commit
cab855d56e
|
@ -226,7 +226,13 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
|
||||||
#define HUGE_PAGESIZE ( 2 << 20)
|
#define HUGE_PAGESIZE ( 2 << 20)
|
||||||
|
|
||||||
#ifndef BUFFERSIZE
|
#ifndef BUFFERSIZE
|
||||||
|
#if defined(SKYLAKEX)
|
||||||
|
#define BUFFER_SIZE (32 << 21)
|
||||||
|
#elif defined(HASWELL) || defined(ZEN)
|
||||||
|
#define BUFFER_SIZE (32 << 22)
|
||||||
|
#else
|
||||||
#define BUFFER_SIZE (32 << 20)
|
#define BUFFER_SIZE (32 << 20)
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define BUFFER_SIZE (32 << BUFFERSIZE)
|
#define BUFFER_SIZE (32 << BUFFERSIZE)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue