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

adding LAPACK_jll to fix issue when using TV2D in ProxTV.jl #9

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
14 changes: 4 additions & 10 deletions src/ProxTV.jl
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
module ProxTV

using OpenBLAS32_jll
using LAPACK_jll
using LinearAlgebra
# Include wrappers and the main library
include("libproxtv.jl")
# include("gen/wrapper.jl")

function configure_blas()
config = LinearAlgebra.BLAS.lbt_get_config()
if !any(lib -> lib.interface == :lp64, config.loaded_libs)
@info "No LP64 BLAS found, forwarding to OpenBLAS32_jll"
LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path)
else
@info "BLAS library is already loaded correctly"
end
config = LinearAlgebra.BLAS.lbt_get_config()
if !any(lib -> lib.interface == :lp64, config.loaded_libs)
LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path)
end

configure_blas()

end
Loading