Commit a815cd0
Disable AVX512 on old versions of MacOS.
MacOS before 12.2 (a.k.a. Darwin 21.3) had a bug that could cause
random failures on some AVX512 operations due to opmask registers
not being restored correctly following interrupts. Add a Darwin
version check when testing for AVX512 so it can be kept off where
this might cause a problem.
See https://community.intel.com/t5/Software-Tuning-Performance/MacOS-Darwin-kernel-bug-clobbers-AVX-512-opmask-register-state/m-p/13272591 parent df4617b commit a815cd0
1 file changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
847 | 874 | | |
848 | 875 | | |
849 | 876 | | |
| |||
916 | 943 | | |
917 | 944 | | |
918 | 945 | | |
919 | | - | |
| 946 | + | |
| 947 | + | |
920 | 948 | | |
921 | 949 | | |
922 | 950 | | |
| |||
0 commit comments