On 22/3/24 09:07, Samuel Sieb wrote:
Thanks Samuel. I don't actually need that level of support, I was just curious. Until I got the message I hadn't thought about anything related to AVX. The only reason I got the message was I'm following lessons in a Python book to refresh my python knowledge for future use at work, and the book was using pygame as an example of how to import modules. I'm running an AMD Ryzen 9 5950X 16-Core which I installed 18 months or so ago.On 3/21/24 14:45, Stephen Morris wrote:On 22/3/24 00:18, Barry wrote:I can understand the runtime detection, but why is pygame, presumably with its support for vectors, not compiled to use AVX if available. The math module doesn't produce the message, even though AVX can be used with integer manipulations, does that mean it has been compiled with AVX support or is it not checking for support? With, in this case, the pygame module having been installed from the Fedora repositories and producing this issue, does that mean I shouldn't install the modules from the Fedora repositories, I should use pip3 to install the modules as they may be compiled with AVX support? The message I got indicated that my cpu supports AVX2, how do I determine if it supports AVX512?On 20 Mar 2024, at 22:19, Stephen Morris <samorris@xxxxxxxxxxxxxxx> wrote:Just a couple of silly questions:AVX cpu's, both Intel and AMD, have been around since 2008, and this is 2024, why does Fedora not have support for the AVXx instruction sets?Not all recent CPUs have AVX, only some CPUs I believe. Therefore the preference for detect at runtime.The message is about AVX2, not AVX. The computer I'm currently using is an Intel Xeon from 2019 or maybe a bit earlier. It has AVX, but not any of the higher ones.You can look in /proc/cpuinfo to see the flags, or install "cpuid" to get very detailed information.
regards, Steve
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxxFedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelinesList Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Attachment:
OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue