Skip to content
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

request: libflame #7660

Open
ChrisRackauckas opened this issue Nov 12, 2023 · 5 comments
Open

request: libflame #7660

ChrisRackauckas opened this issue Nov 12, 2023 · 5 comments
Labels

Comments

@ChrisRackauckas
Copy link

BLIS does not export a full LAPACK (see JuliaLinearAlgebra/BLIS.jl#3), but is supposed to be a part of flame https://github.com/flame/libflame. In LinearSolve.jl, I don't need (or want) libblastrampoline wrappers on here anyways, so if the jll exists it would be immediately useful to a large community and would finish (SciML/LinearSolve.jl#431).

@imciner2
Copy link
Member

libflame on its own is probably doable, but I am not sure it can fully be integrated into an LBT-based switching system on its own. According to the manual, the lapack2flame compatibility layer only exports the following
image

@jd-foster
Copy link
Contributor

--enable-lapack2flame provides a LAPACK 3.11 compatibility layer.
Note also this recent commit that updates on this work: flame/libflame@74b56a2

@ViralBShah
Copy link
Member

Does FLAME provide a complete compatiblity with LAPACK? It would be nice to include it in Ygg.

@imciner2
Copy link
Member

Does FLAME provide a complete compatiblity with LAPACK? It would be nice to include it in Ygg.

I actually just saw some discussion on this that happened in the BLIS discord server recently, and apparently, libflame is ABI compatible with LAPACK 3.11 when it is built using --enable-lapack, but is not ABI compatible using their older f2c LAPACK wrapper layer.

So I think we can get a LAPACK version of libflame into Ygg.

@ViralBShah
Copy link
Member

And might also then transparently work with LBT. What fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants