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

Ensure that we can run reduce_by_key with const inputs #1528

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Mar 11, 2024

It seems that explicitly passing in thrust::device was key here, otherwise the bug did not manifest

Fixes [BUG]: reduce_by_key fails with zip_iterator to const pointers #1527

@miscco miscco requested review from a team as code owners March 11, 2024 08:37
It seems that explicitly passing in `thrust::device` was key here, otherwise the bug did not manifest

Fixes [BUG]: `reduce_by_key` fails with zip_iterator to const pointers NVIDIA#1527
@miscco miscco force-pushed the fix_thrust_zip_iterator_reduce_by_key branch from 6e3b0f2 to f2eed72 Compare March 11, 2024 08:39
The explicit usage of `int` can give a conversion warning, so just use the right difference type
@miscco miscco enabled auto-merge (squash) March 11, 2024 18:14
auto-merge was automatically disabled March 11, 2024 21:50

Pull Request is not mergeable

@wmaxey wmaxey merged commit c1be3a5 into NVIDIA:main Mar 12, 2024
584 checks passed
@miscco miscco deleted the fix_thrust_zip_iterator_reduce_by_key branch March 12, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants