Skip to content
Merged
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
5 changes: 4 additions & 1 deletion src/LinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,10 @@ appleaccelerate_isavailable() = HAS_APPLE_ACCELERATE[]

# Extension availability checking functions
useblis() = Base.get_extension(@__MODULE__, :LinearSolveBLISExt) !== nothing
usecuda() = Base.get_extension(@__MODULE__, :LinearSolveCUDAExt) !== nothing
function usecuda()
ext = Base.get_extension(@__MODULE__, :LinearSolveCUDAExt)
!isnothing(ext) && ext.CUDA.functional()
end

# Metal is only available on Apple platforms
@static if !Sys.isapple()
Expand Down
Loading