Skip to content

Add experimental static_map - #314

Merged
PointKernel merged 56 commits into
NVIDIA:devfrom
PointKernel:new-static-map-v2
Jun 23, 2023
Merged

PointKernel merged 56 commits into
NVIDIA:devfrom
PointKernel:new-static-map-v2

Conversation

@PointKernel

@PointKernel PointKernel commented Jun 4, 2023 •

Copy link
Copy Markdown
Member

Contributes to #110

This PR adds experimental::static_map and involves several changes to the existing code:

  • Extracts common open_addressing_impl and open_addressing_ref_impl classes to minimize duplicates between map and set implementations
  • Updates the existing code and fixes bugs: invalid type conversion in attemp_insert, narrow conversions inside probing scheme, doc improvement, etc.

@PointKernel PointKernel added type: feature request New feature request topic: static_map Issue related to the static_map In Progress Currently a work in progress topic: static_set Issue related to the static_set labels Jun 4, 2023
@sleeepyjack
sleeepyjack marked this pull request as ready for review June 5, 2023 11:04
@PointKernel
PointKernel marked this pull request as draft June 5, 2023 16:55

@sleeepyjack sleeepyjack left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

First round of review. Lots of changes so I give it another pass. Thanks for this incredible work!

Comment thread include/cuco/static_set.cuh Resolved
Comment thread include/cuco/static_set.cuh Resolved
Comment thread include/cuco/static_map.cuh Resolved
Comment thread include/cuco/static_map.cuh Resolved
@PointKernel
PointKernel requested a review from sleeepyjack June 14, 2023 00:32
@PointKernel PointKernel mentioned this pull request Jun 20, 2023
Comment thread include/cuco/detail/common_functors.cuh Resolved
Comment thread include/cuco/detail/common_functors.cuh Resolved
Comment thread include/cuco/detail/equal_wrapper.cuh Resolved
Comment thread include/cuco/detail/equal_wrapper.cuh Resolved
Comment thread include/cuco/static_map.cuh Resolved
@PointKernel
PointKernel requested a review from sleeepyjack June 22, 2023 00:06
@PointKernel
PointKernel requested a review from sleeepyjack June 22, 2023 21:24
@PointKernel
PointKernel merged commit c0cce86 into NVIDIA:dev Jun 23, 2023
@PointKernel
PointKernel deleted the new-static-map-v2 branch June 23, 2023 01:02
PointKernel added a commit that referenced this pull request Jun 27, 2023
Contributes to #110 
Depends on #314 

This PR:
- deprecates `cuco::pair_type` alias
- fixes issues with `cuco::make_pair`
- separates `pair` declarations and implementation details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Awaiting reviews before merging topic: static_map Issue related to the static_map topic: static_set Issue related to the static_set type: feature request New feature request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants