File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ nB = 2
215
215
@test z ≈ collect (dz)
216
216
end
217
217
# seems to be a library bug in CUDAs 12.0-12.2, only fp64 types are supported
218
- if SparseMatrixType != CuSparseMatrixBSR || elty ∈ (Float64, ComplexF64) || CUSPARSE. version () < v " 12.0" || v " 12.2" < CUSPARSE. version ()
218
+ if SparseMatrixType != CuSparseMatrixBSR && ( elty ∈ (Float64, ComplexF64) || CUSPARSE. version () < v " 12.0" || v " 12.2" < CUSPARSE. version () )
219
219
@testset " ldiv! -- (CuVector, CuVector)" begin
220
220
z = rand (elty, m)
221
221
dz = CuArray (z)
@@ -246,7 +246,7 @@ nB = 2
246
246
@test_throws DimensionMismatch (error_str) ldiv! (triangle (opa (dA)), opb (dB_bad))
247
247
end
248
248
end
249
- if SparseMatrixType != CuSparseMatrixBSR || elty ∈ (Float64, ComplexF64) || CUSPARSE. version () != v " 12.0"
249
+ if SparseMatrixType != CuSparseMatrixBSR && ( elty ∈ (Float64, ComplexF64) || CUSPARSE. version () != v " 12.0" )
250
250
@testset " ldiv! -- (CuMatrix, CuMatrix)" begin
251
251
C = rand (elty, m, nB)
252
252
dC = CuArray (C)
You can’t perform that action at this time.
0 commit comments