Re: git: b0b4d9e1eae8 - main - */*: Switch to NumPy 2.x
Date: Mon, 11 May 2026 19:42:37 UTC
11.05.2026 22:29, Charlie Li пишет: > Max Brazhnikov wrote: >> -Dcpu-baseline="none" is safe to commit and should be committed if we >> claim support for older CPU. >> > This is not as clear-cut as it seems. CPU dispatching on top of > -Dcpu-baseline=none does not cover all optimised code paths that > newer/feature-rich CPUs can use. Official documentation says otherwise: https://numpy.org/devdocs/reference/simd/build-options.html > Given that numpy is a very performance-sensitive software and > considering its userbase, this kind of performance hit can be a > showstopper. > > The base system can claim support for older CPU however it wants, but > it does not mean individual third-party software has to do the same. > Of course we in ports should make our best efforts in this regard but > the expected majority use-cases and configurations need to take > precedence. > > I'm not opposed to an option that makes clear that -Dcpu-baseline=none > is both not the default and strongly discouraged outside of CPUs older > than or lack features of -Dcpu-baseline=min. How many years to wait for the "right" decision? -- Best regards, Vladimir Druzenko