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

Make bit counting more clever #933

Merged
merged 3 commits into from
Aug 14, 2023

Conversation

rbergen
Copy link
Contributor

@rbergen rbergen commented Aug 3, 2023

Description

This updates PrimeCUDA/solution_2 to use Brian Kernighan's algorithm for counting the number of set bits in an integer.

Contributing requirements

  • I read the contribution guidelines in CONTRIBUTING.md.
  • I placed my solution in the correct solution folder.
  • I added a README.md with the right badge(s).
  • I added a Dockerfile that builds and runs my solution.
  • I selected drag-race as the target branch.
  • All code herein is licensed compatible with BSD-3.

@rbergen rbergen requested a review from marghidanu August 3, 2023 09:31
Copy link
Contributor

@marghidanu marghidanu left a comment

Choose a reason for hiding this comment

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

LGTM

@rbergen rbergen merged commit 381e96e into PlummersSoftwareLLC:drag-race Aug 14, 2023
159 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants