-
Notifications
You must be signed in to change notification settings - Fork 322
Description
Is this a duplicate?
- I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct
Area
cuda.parallel (Python)
Is your feature request related to a problem? Please describe.
In order to support example of using unique_by_key algorithms but only allocating what is required to accommodate the unique keys and unique values Python user needs to use DiscardIterator.
In the first call, unique_by_key is called with DiscardIteratorfor output keys and output items, compute the number of selected items, allocates output arrays and calls the algorithms again to populate the allocated arrays.
Describe the solution you'd like
It would be awesome of cuda.parallel supported output iterators and, in particular, DiscardIterator.
Describe alternatives you've considered
No response
Additional context
No response
jrhemstad
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done