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

Distinct code path for key equality checks in packed_cas #356

Merged
merged 4 commits into from
Aug 23, 2023

Conversation

PointKernel
Copy link
Member

This PR fixes a bug where we previously used the whole slot content for map key comparisons in packed_cas.

@PointKernel PointKernel added type: bug Something isn't working topic: static_map Issue related to the static_map Needs Review Awaiting reviews before merging labels Aug 21, 2023
Copy link
Collaborator

@sleeepyjack sleeepyjack left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks!

@PointKernel PointKernel merged commit 9f4b27f into NVIDIA:dev Aug 23, 2023
10 checks passed
@PointKernel PointKernel deleted the fix-packed-cas-bug branch August 23, 2023 22:45
PointKernel added a commit that referenced this pull request Sep 15, 2023
#356 introduces the `HasPayload` template boolean to distinguish code
paths between map and set implementations thus the key input for base
ref insert functions becomes redundant. This PR cleans up the base ref
implementations by removing the key input and fixes a logical issue in
#356: set doesn't have payload while map has.
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 type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants