We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61b00c3 commit 3b93797Copy full SHA for 3b93797
1 file changed
test/libraries/cusparse/interfaces.jl
@@ -339,7 +339,9 @@ nB = 2
339
rowmask_d = CuVector(rowmask)
340
colmask_d = CuVector(colmask)
341
@testset "type = $SparseMatrixType" for SparseMatrixType in (CuSparseMatrixCSC, CuSparseMatrixCSR)
342
- dA = SparseMatrixType(A)
+ # CUDA 12.0 has a bug in CSC -> CSR conversion, so we go though COO
343
+ dA_coo = CuSparseMatrixCOO(A)
344
+ dA = SparseMatrixType(dA_coo)
345
dS = dA[rowmask_d, colmask_d]
346
@test dS isa SparseMatrixType
347
@test S_cpu ≈ collect(dS)
0 commit comments