
On Mon, Mar 25, 2024 at 2:24 PM Matěj Cepl <mcepl@cepl.eu> wrote:
Hello,
As a maintainer of Python packages for openSUSE/SUSE, I would like to ask for help with our bug https://bugzilla.suse.com/1221902. It seems to us that the latest version of NumPy suddenly requires z15 CPU generation, although it used to be OK with z13+ before, and unfortunately that is the level of the CPU support we standardize in openSUSE.
Is it true? If so, when this change happened and why? How could we push numpy to work with older processors?
I think that is true. https://numpy.org/neps/nep-0054-simd-cpp-highway.html#supported-features-tar... mentions support for Z14/Z15, and https://github.com/numpy/numpy/pull/25563#issuecomment-1889798367 touches on Z14 support having an issue. So I think Z14 is the minimum.
Is there anything more to do than just switch of particular features in `--cpu-dispatch`?
I suspect not, assuming that that works. If Z13 support is an important use case where the performance difference matters a lot, maybe you can bring up getting partial or even full support back in NumPy. Most NumPy maintainers won't know much/anything about s390x though, so that may require contributions and be nontrivial. Another, more feasible option would be to auto-disable the SIMD features, emit a warning, and then continue rather than fail the NumPy build on Z13 by default. Cheers, Ralf
Thank you for any reply,
Matěj Cepl
-- http://matej.ceplovi.cz/blog/, @mcepl@floss.social GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
I was quite depressed two weeks ago when I spent an afternoon at Brentano's Bookshop in New York and was looking at the kind of books most people read. Once you see that you lose all hope. -- Friedrich August von Hayek
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: ralf.gommers@gmail.com