Skip to content

Commit e3bcd87

Browse files
hotfix GPU no qr!
1 parent af79d26 commit e3bcd87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LinearSolve"
22
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
33
authors = ["SciML"]
4-
version = "1.41.0"
4+
version = "1.41.1"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/factorization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191

9292
function do_factorization(alg::QRFactorization, A, b, u)
9393
A = convert(AbstractMatrix, A)
94-
if alg.inplace && !(A isa SparseMatrixCSC)
94+
if alg.inplace && !(A isa SparseMatrixCSC) && !(A isa GPUArraysCore.AbstractGPUArray)
9595
fact = qr!(A, alg.pivot)
9696
else
9797
fact = qr(A) # CUDA.jl does not allow other args!

0 commit comments

Comments
 (0)