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

Sparse semirings cleanup + hash table & batching strategies #269

Merged

Conversation

divyegala
Copy link
Member

@divyegala divyegala commented Jun 9, 2021

This branch includes several new features and optimizations:

  1. Introduces a hash table strategy to sparsify the vector in the coo spmv shared memory
  2. Adds a batching strategy for rows with nnz too large to fit into shared memory
  3. Removes the need for the cusparse csrgemm
  4. Uses raft handle in distances_config_t rather than accepting each resource explicitly
  5. Removes the naive CSR semiring code

This PR is also required to merge #261, which introduces the remaining distances

@divyegala divyegala requested review from a team as code owners June 9, 2021 18:23
@divyegala divyegala changed the title Semirings SPMV optimizations + hash table Sparse semirings cleanup + hash table & batching strategies Jun 9, 2021
@divyegala divyegala added 3 - Ready for Review enhancement New feature or request non-breaking Non-breaking change improvement Improvement / enhancement to an existing function and removed enhancement New feature or request labels Jun 9, 2021
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the hash and chunking strategies look great. Mostly minor things. I'm ready to finally get this in!

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost good to go. Just one more trivial thing.

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cjnolet
Copy link
Member

cjnolet commented Jun 23, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit caa44e6 into rapidsai:branch-21.08 Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants