-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that we can run
reduce_by_key
with const inputs (#1528)
* Ensure that we can run `reduce_by_key` with const inputs 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 * Also address nvbug4550097 The explicit usage of `int` can give a conversion warning, so just use the right difference type * Update thrust/testing/zip_iterator_reduce_by_key.cu
- Loading branch information
Showing
2 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters