-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid calling DIRECT codepath in DYNAMIC_ARCH on non-SKX #2527
Conversation
One way to test this would be to add a x64 run on azure pipelines, which I think has non-SKX hardware (at least that is my operative assumption from the bug report). |
I have both kinds of hardware available locally, just need to get things organized as I need the SKX for other tasks as well. |
one macOS test did not start |
Travis appears to have some ongoing problems with their MacOS hosts, I have been restarting CI jobs where necessary over the weekend. Still not sure if this PR is actually needed. |
This is failing to buld in some configurations of MacPython/openblas-libs#28:
|
Thanks for the feedback. Could that be a configuration that does not have AVX512 ? Otherwise it is unclear to me why gotoblas_SKYLAKEX could be unknown. |
apparently :) I am not sure how travis CI chooses what hardware for each option in the matrix |
Some pretty poor logic I put in there... this just won't be known at compile time unless the planets happen to be lined up correctly. I'll see if simply checking for core SKYLAKEX being defined does the trick. |
No pressure. Please xref #2526 from the new PR so I can try it out. |
Probably makes more sense to expose the support_avx512 function that is already in dynamic.c and call that at runtime ... testing this now. |
@martin-frbg is there any plan to release an OpenBLAS version including this fix shortly? If not, how about backporting the fix to 0.3.9 and releasing 0.3.9b? Thank you! |
@leezu early June would certainly make sense (3 months since last release), not sure if I can make it happen next weekend. (Not in favor of doing "b" releases unless for a very bad bug that affects many/most platforms - otherwise there would have to be a microrelease every few days) |
* Update to OpenBlas 0.3.10 pre-release Includes OpenMathLib/OpenBLAS#2527 * Enable support for older architectures in OpenBLAS dynamic architecture feature
* Update to OpenBlas 0.3.10 pre-release Includes OpenMathLib/OpenBLAS#2527 * Enable support for older architectures in OpenBLAS dynamic architecture feature
#2526 (possibly #2524 as well)