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

Clarify docstring for num_items parameter of DeviceSegmentedRadixSort #320

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

HapeMask
Copy link
Contributor

Description

In the case where the user specifies non-contiguous segments (segments which do not cover the entirety of d_keys_in), the num_items parameter must include non-covered items. It should be the length of the total range to sort, from the start of the first segment to the end of the last, inclusive of any unused elements.

I'm not sure if the wording I used in the docstring is the clearest so please feel free to suggest something better.

For more context / a code example, see: NVIDIA/cub#731

In the case where the user specifies non-contiguous segments (segments which do not cover the entirety of `d_keys_in`), the `num_items` parameter must include non-covered items. It should be the length of the total range to sort, from the start of the first segment to the end of the last, inclusive of any unused elements.
Clarify docstring for num_items parameter of DeviceSegmentedRadixSort
@HapeMask HapeMask requested review from a team as code owners August 10, 2023 18:56
@HapeMask HapeMask requested review from gevtushenko and wmaxey and removed request for a team August 10, 2023 18:56
@rapids-bot
Copy link

rapids-bot bot commented Aug 10, 2023

Pull requests from external contributors require approval from a NVIDIA organization member with write permissions or greater before CI can begin.

@gevtushenko
Copy link
Collaborator

/ok to test

@miscco
Copy link
Collaborator

miscco commented Sep 13, 2023

@senior-zero do you have further comments?

@gevtushenko gevtushenko merged commit bcd3480 into NVIDIA:main Sep 13, 2023
431 checks passed
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.

3 participants