-
-
Notifications
You must be signed in to change notification settings - Fork 25
Add low-level wrappers for BLAS and LAPACK #1386
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
base: master
Are you sure you want to change the base?
Conversation
This is something I have always wanted to do myself as well. Is there a noticeable impact on system image size? |
It would be great if this PR could be a branch on this repo (easier to work on than a fork). Possibly needs these fixes:
|
I wanted to create a branch but it seems that I don't have the rights on this repo. Thanks for the patch, I also need to find how to use |
I didn't realize you don't have access. Just invited. |
Should we put energy into this and see if we can get it done? Just asking mainly because things will start diverging at some point and it will be more work to bring it in. |
@ViralBShah I am still traveling this week for a conference but I can work on it next week and do a meeting if needed. |
@ViralBShah I was at the Householder Symposium last week and had a discussion with Julien Langou (@langou), the main maintainer of reference-LAPACK, about what we’re doing in Julia for BLAS / LAPACK and our nice LBT feature.
Some feedback I got is that Julien doesn’t understand why we don’t expose all the arguments of the BLAS / LAPACK routines, and why we took the liberty of fusing
om*
/un*
routines but notsy*
/he*
.What I concluded with Julien is that we should maybe expose the low-level wrappers directly and call them from our higher-level interfaces.
This would make it easier to update with new releases and would also give users the ability to reuse buffers, which is currently a significant limitation of our API.
I also think it would help Julien interact more easily with us.
He’s starting to get interested in using Julia for unit testing reference-LAPACK and teaching!
A few months ago, I wrote a script to generate wrappers for Fortran routines implemented in F77 (for HSL), and I was able to adapt it for BLAS / LAPACK.
It is similar to what we obtain with
Clang.jl
from the C header files.I open the PR as a draft for now to get feedback.