From: Debian Science Team Date: Wed, 29 Jul 2020 12:51:22 +0000 (+0100) Subject: Fix random crashes in GEMM on Haswell, Zen and Skylake-X X-Git-Tag: archive/raspbian/0.3.10+ds-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7864557b624861952642b6854ae91275b6ec4800;p=openblas.git Fix random crashes in GEMM on Haswell, Zen and Skylake-X 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 --- diff --git a/common_x86_64.h b/common_x86_64.h index 15d0c30..bee7e8c 100644 --- a/common_x86_64.h +++ b/common_x86_64.h @@ -228,14 +228,8 @@ static __inline unsigned int blas_quickdivide(unsigned int x, unsigned int y){ #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