-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support Apple Accelerate and improve MKL integration #355
Conversation
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.
AI-Maintainer Review for PR - Support Apple Accelerate and improve MKL integration
Title and Description ⚠️
Scope of Changes 👍
Documentation ⚠️
AppleAccelerateLUFactorization
is_new_accelerate_available
aa_getrf!
default_alias_A
default_alias_b
LinearSolve.init_cacheval
SciMLBase.solve!
Testing ⚠️
Suggested Changes
- Please add a detailed description to the pull request explaining the rationale behind the changes and any additional context that might be helpful.
- Add docstrings to the new functions and methods to describe their behavior, arguments, and return values.
- Include information about how the changes were tested. If specific test cases were used, please include them in the description.
Reviewed with AI Maintainer
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
Co-authored-by: Elliot Saba <staticfloat@gmail.com>
These should always be available everywhere.
Would you ever pass |
I believe the smarter thing to do is to use NEWLAPACK symbols if available, falling back to the old one if not. Not sure if cc @vpuri3 |
We allocate all of the caches so it's safe from that. It's setup so that all caches compile up front and repeated calls then reuse the cache now, even for the info ref. |
Codecov Report
@@ Coverage Diff @@
## main #355 +/- ##
===========================================
+ Coverage 25.75% 73.68% +47.93%
===========================================
Files 18 19 +1
Lines 1254 1353 +99
===========================================
+ Hits 323 997 +674
+ Misses 931 356 -575
... and 15 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
If I did it correctly, it doesn't seem that big of a deal in #358 |
That seems correctly done. Unless they explicitly multi-threaded the I suppose the only benefit of the 64-bit version is that you don't have to convert the ipiv vector to 64-bit on return and save one small allocation. |
I just cached the 32-bit version so the allocation is saved anyways. So yeah, seems like it's better to just support 32-bit there. |
No description provided.