You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Not any more, with the current version of OpenBLAS. With v0.2.10.rc2 and earlier, NO_AVX turned off all optimized kernels for SandyBridge, Bulldozer, Piledriver, and Haswell. Now it only turns off the first 3, independently of NO_AVX2 which only disables Haswell. OpenMathLib/OpenBLAS@c94762b
6163a77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for future reference, I don't think
NO_AVX
does much of value on CentOS 6. The magic is exclusively inNO_AVX2
.6163a77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not any more, with the current version of OpenBLAS. With v0.2.10.rc2 and earlier,
NO_AVX
turned off all optimized kernels for SandyBridge, Bulldozer, Piledriver, and Haswell. Now it only turns off the first 3, independently ofNO_AVX2
which only disables Haswell. OpenMathLib/OpenBLAS@c94762b6163a77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have
OPENBLAS_NO_AVX
implyOPENBLAS_NO_AVX2
as well; I can't imagine a situation where you'd wantAVX2
but notAVX
.6163a77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace line 815 with
OPENBLAS_BUILD_OPTS += NO_AVX2=1
and addelse
to the start of line 816 then?6163a77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was mostly looking to see if you had any objections, but yes. That would be the way to do it. ;)