Skip to content

Commit 68bf403

Browse files
authored
Fix CUSOLVER on Julia 1.12 (#2923)
[only julia]
1 parent 49020fe commit 68bf403

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/libraries/cusolver/dense.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ k = 1
148148
A = diag == 'N' ? A : A - Diagonal(A) + I
149149
dA = triangle(view(CuArray(A), 1:2:n, 1:2:n)) # without this view, we are hitting the CUBLAS method!
150150
dA⁻¹ = inv(dA)
151-
dI = CuArray(dA) * CuArray(dA⁻¹)
152-
@test Array(dI) I
151+
hI = triangle(Array(parent(dA))) * Array(parent(dA⁻¹))
152+
@test hI I
153153
end
154154
end
155155

0 commit comments

Comments
 (0)