Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Conversation

gevtushenko
Copy link
Collaborator

Histogram doesn't allow aliasing of the histogram and samples data. If d_samples is aliased with d_histogram, the algorithm will reset the aliased part of d_samples before reading it. If d_levels is aliased with d_histogram, the same will happen. Since levels and samples are readonly, it's safe to alias those.

@gevtushenko gevtushenko requested a review from alliepiper May 26, 2022 06:13
@alliepiper alliepiper added this to the 2.0.0 milestone May 26, 2022
gevtushenko added a commit to gevtushenko/thrust that referenced this pull request May 26, 2022
@gevtushenko gevtushenko merged commit 4e4ea96 into NVIDIA:main May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants