Skip to content

Commit 9d135ae

Browse files
fix GPU Higham2005 LinearSolve fallback (#246)
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
1 parent 9a6281c commit 9d135ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/exp_noalloc.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ end
2424
# for dense strided BLAS matrices; other types (GPU, BigFloat, ...) keep the
2525
# `lu!` fallback in `ldiv_for_generated!`.
2626
function _pade_linsolve(A::StridedMatrix{<:LinearAlgebra.BlasFloat})
27+
A isa GPUArraysCore.AbstractGPUArray && return nothing
2728
Abuf = similar(A)
2829
Bbuf = similar(A)
2930
return LinearSolve.init(

0 commit comments

Comments
 (0)