-
Notifications
You must be signed in to change notification settings - Fork 100
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
First iteration of HashmapAccumulator cleanup #731
Merged
Merged
+637
−545
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Remove max_value_size as parameter to insertion routines. - Add vector_atomic_insert_into_hash_mergeAdd_with_team_level_list_length to support spgemm "speed" use-case with team-level list lengths.
Loading status checks…
…sert_into_hash_TrackHashes
…sert_into_hash_mergeOr_TrackHashes
- Remove unused params from vector_atomic_insert_into_hash_mergeOr - Conditionally assert and abort upon insertion of hash = -1 - Add comments
Which machine are these spot-check results from? |
brian-kelley
requested changes
Jun 9, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally everything looks great, there's just a couple minor changes I would like to see
e10harvey
commented
Jun 16, 2020
brian-kelley
approved these changes
Jul 7, 2020
@ndellingwood, @srajama1: This is ready to merge. |
Thanks @e10harvey ! |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following changes were made to the HashmapAccumulator class:
max_value_size
changed toprivate
member__max_value_size
.hash_key_size
was removed.used_size
was removed.HashmapAccumulator
insertion routines:__hashOpRHS
was added as aprivate
member.__compute_hash
was added as aprivate
member. This function is selected at compile time via a templated argument to theHashmapAccumulator
constructor.vector_atomic_insert_into_hash_mergeAdd_with_team_level_list_length
does not compute hashes internally due to the special use-case inKokkosSparse_spgemm_impl_speed.hpp:operator GPUTag
.Fixes #508.
spot-checks
1
2
3
When enabling all scalars
$ ./KokkosKernels_sparse_cuda --gtest_filter=cuda.sparse_spmv_*
still results in:and
$ ./KokkosKernels_sparse_cuda --gtest_filter=cuda.sparse_spgemm_*
still results in: