mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
openblas: turn off AVX512 optimizations
The AVX512 optimization has a bug in openblas-0.3.5
and can also lead to slower code on Xeon Silver CPUs.
See https://github.com/xianyi/OpenBLAS/issues/1955
and https://github.com/xianyi/OpenBLAS/issues/2029
(cherry picked from commit 7035aa7de4)
This commit is contained in:
@@ -58,6 +58,7 @@ let
|
||||
BINARY = 64;
|
||||
TARGET = setTarget "ATHLON";
|
||||
DYNAMIC_ARCH = true;
|
||||
NO_AVX512 = true;
|
||||
USE_OPENMP = true;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user