Skip to content

Commit 487493c

Browse files
committed
Fix compression?
1 parent ab2953e commit 487493c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ext/SparseMatrixColoringsCUDAExt.jl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@ SMC.matrix_versions(A::AbstractCuSparseMatrix) = (A,)
99

1010
## Compression (slow, through CPU)
1111

12-
function SMC.compress(
13-
A::AbstractCuSparseMatrix, result::SMC.AbstractColoringResult{structure,:column}
14-
) where {structure}
15-
return CuMatrix(SMC.compress(SparseMatrixCSC(A), result))
16-
end
17-
18-
function SMC.compress(
19-
A::AbstractCuSparseMatrix, result::SMC.AbstractColoringResult{structure,:row}
20-
) where {structure}
12+
function SMC.compress(A::AbstractCuSparseMatrix, result::SMC.AbstractColoringResult)
2113
return CuMatrix(SMC.compress(SparseMatrixCSC(A), result))
2214
end
2315

0 commit comments

Comments
 (0)