-
Notifications
You must be signed in to change notification settings - Fork 4
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
Load the symbols of BLIS when we use this package #20
Conversation
@xrq-phys |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #20 +/- ##
===========================================
+ Coverage 51.55% 75.00% +23.44%
===========================================
Files 7 20 +13
Lines 225 400 +175
===========================================
+ Hits 116 300 +184
+ Misses 109 100 -9
... and 18 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Sure. BLIS' lib is not huge. It'd be nice to have two libs. I'm not perfectly sure about library naming in case of 32+64bit |
I opened a PR to generate |
We could also create a common script and keep two jll. Update: It seems ok to use the name |
Having an |
I opened this PR to have the same behavior with |
BLIS.jl does much more than MKL.jl. BLIS.jl directly overrides LinearAlgebra.jl functionalities. So like The reason here is to support more generic storage of input matrices: If In fact, I'm thinking of separating BLIS.jl into two packages: One provides access to the BLIS API and another one overwrites LinearAlgebra.jl functionalities. |
I just realized that the package aiming at (MKL.jl and AppleAccelerate.jl-like) BLAS-backend switching is already available as a separate one: BLISBLAS.jl Then for BLIS.jl we'd better focus on overriding LinearAlgebra.jl via trait or reflection. @jd-foster I would like to have your opinion. |
For information, I'm just interested to load an LP64 BLIS. For the new Apple Accelerate, we will need Julia 1.9 and the version 5.7.0 of LBT. |
I just checked BLISBLAS.jl and it's exactly what I need. I didn't know that this package was registered! |
@amontoison BLISBLAS.jl is quite minimal: https://github.com/JuliaLinearAlgebra/BLISBLAS.jl/blob/main/src/BLISBLAS.jl. It just loads Look like you found it while I was typing. |
Yep, let's close this PR. Thanks for the explanations! |
I think this is the best course of action. Note that as you found in JuliaLinearAlgebra/libblastrampoline#117 (comment) |
@xrq-phys You're right to define the scope of the BLIS package to be different from doing the LBT forwarding that is covered by BLISBLAS.jl. I wonder if there is still some functionality that could be added to make LBT forwarding work too. This should be on demand (i.e. not automatically on package loading) such as when some environment variable is set (e.g |
Created #21 |
No description provided.