Skip to content

Commit 90c1bd4

Browse files
Fix code review comments - improve docstrings and remove misleading comment
Co-authored-by: albertomercurio <[email protected]>
1 parent 4ebee38 commit 90c1bd4

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/matrix_coo/matrix_coo_kernels.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,3 @@ end
235235
end
236236
end
237237
end
238-
239-
# Kernel for sparse-sparse matrix multiplication (COO * COO)
240-
# Instead of generating all possible pairs, we'll use a different strategy in the main function

src/matrix_csr/matrix_csr.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -467,13 +467,9 @@ from SparseArrays.jl.
467467
```jldoctest
468468
julia> using DeviceSparseArrays, SparseArrays
469469
470-
julia> A_coo = DeviceSparseMatrixCOO(sparse([1, 2], [1, 2], [2.0, 3.0], 2, 2));
470+
julia> A = DeviceSparseMatrixCSR(DeviceSparseMatrixCOO(sparse([1, 2], [1, 2], [2.0, 3.0], 2, 2)));
471471
472-
julia> B_coo = DeviceSparseMatrixCOO(sparse([1, 2], [1, 2], [4.0, 5.0], 2, 2));
473-
474-
julia> A = DeviceSparseMatrixCSR(A_coo);
475-
476-
julia> B = DeviceSparseMatrixCSR(B_coo);
472+
julia> B = DeviceSparseMatrixCSR(DeviceSparseMatrixCOO(sparse([1, 2], [1, 2], [4.0, 5.0], 2, 2)));
477473
478474
julia> C = A * B;
479475

0 commit comments

Comments
 (0)