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

Refactor allocator handling of contiguous_storage #3050

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bernhardmgruber
Copy link
Contributor

@bernhardmgruber bernhardmgruber commented Dec 4, 2024

I was hunting a potential bug where the allocator was seemingly swapped twice in some cases, only to find out later that the code is actually correct. This PR proposes the simplifications I made on the way.

Copy link

copy-pr-bot bot commented Dec 4, 2024

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@bernhardmgruber bernhardmgruber marked this pull request as ready for review December 4, 2024 19:45
@bernhardmgruber bernhardmgruber requested review from a team as code owners December 4, 2024 19:45
@bernhardmgruber bernhardmgruber added the thrust For all items related to Thrust. label Dec 4, 2024
thrust/thrust/detail/contiguous_storage.h Outdated Show resolved Hide resolved
bernhardmgruber and others added 2 commits December 5, 2024 10:19
I was hunting a potential bug where the allocator was seemingly swapped twice in some cases, only to find out later that the code is actually correct. This PR proposes the simplifications I made on the way.
Co-authored-by: Michael Schellenberger Costa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
thrust For all items related to Thrust.
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

2 participants