Origin: upstream, https://github.com/xianyi/OpenBLAS/pull/2729/commits/
6c33764ca43c7311bdd61e2371b08395cf3e3f01
Bug: https://github.com/xianyi/OpenBLAS/issues/2728
Bug-Debian: https://bugs.debian.org/966175
Last-Update: 2020-07-29
Last-Update: 2020-07-29
Gbp-Pq: Name fix-dynamic-arch-gemm-crashes.patch
#define HUGE_PAGESIZE ( 2 << 20)
#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)
-#endif
-#else
#define BUFFER_SIZE (32 << BUFFERSIZE)
#endif