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

Update docs for LBT #98

Open
amontoison opened this issue Aug 16, 2022 · 0 comments
Open

Update docs for LBT #98

amontoison opened this issue Aug 16, 2022 · 0 comments
Assignees

Comments

@amontoison
Copy link
Member

amontoison commented Aug 16, 2022

We should add in the documentation that HSL.jl supports LBT and also how to switch a BLAS vendor with LBT.

using ReferenceBLAS32_jll, LAPACK32_jll
LinearAlgebra.BLAS.lbt_forward(libblas32)
LinearAlgebra.BLAS.lbt_forward(liblapack32)
using blis32_jll, LAPACK32_jll
LinearAlgebra.BLAS.lbt_forward(blis32)
LinearAlgebra.BLAS.lbt_forward(liblapack32)
import LinearAlgebra, OpenBLAS32_jll
LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path)
import LinearAlgebra, MKL_jll
LinearAlgebra.BLAS.lbt_forward(MKL_jll.libmkl_rt_path)
using AppleAccelerate
import LinearAlgebra, blis_jll, LAPACK_jll
LinearAlgebra.BLAS.lbt_forward(blis)
LinearAlgebra.BLAS.lbt_forward(liblapack)
# To easily reset some BLAS/LAPACK backends.
LinearAlgebra.__init__()
julia> BLAS.get_config()
LinearAlgebra.BLAS.LBTConfig
Libraries: 
└ [ILP64] libopenblas64_.s

MKL.__init__()

julia> BLAS.get_config()
LinearAlgebra.BLAS.LBTConfig
Libraries: 
├ [ILP64] libmkl_rt.so
└ [ LP64] libmkl_rt.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant