Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpAdd doesn't merge entries correctly #685

Closed
brian-kelley opened this issue Apr 10, 2020 · 0 comments
Closed

SpAdd doesn't merge entries correctly #685

brian-kelley opened this issue Apr 10, 2020 · 0 comments

Comments

@brian-kelley
Copy link
Contributor

Neither the sorted nor unsorted versions of SpAdd will merge entries if the input is unmerged (has duplicate entries in a row). It produces the correct sum, but it should be able to merge any number of duplicate entries for no performance penalty.

@brian-kelley brian-kelley self-assigned this Apr 10, 2020
brian-kelley added a commit to brian-kelley/kokkos-kernels that referenced this issue Jul 29, 2020
-remove vector/team size stuff from handle, because it only uses range policy
-remove "get_max_result_nnz", should only use "get_c_nnz" now. Max is a
bad name for what this is, since C always has exactly this many
nonzeros, it's not an upper bound.
-address kokkos#694 (don't require values to be initialized)
-address kokkos#685 (produce a fully sorted and merged C even if A and/or B
aren't merged)
-improve testing: test matrix with zero rows per entry, and test matrix
with duplicate entries
brian-kelley added a commit that referenced this issue Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants