Skip to content

[DOCS] Clarifies DeviceTopK docs that inputs and output ranges may not overlap#7078

Merged
elstehle merged 1 commit intoNVIDIA:mainfrom
elstehle:docs/topk-no-alias-in-out
Jan 5, 2026
Merged

[DOCS] Clarifies DeviceTopK docs that inputs and output ranges may not overlap#7078
elstehle merged 1 commit intoNVIDIA:mainfrom
elstehle:docs/topk-no-alias-in-out

Conversation

@elstehle
Copy link
Contributor

@elstehle elstehle commented Jan 5, 2026

Since DeviceTopK is a multi-pass algorithm, user-provided inputs and output ranges may not overlap.

@elstehle elstehle requested a review from a team as a code owner January 5, 2026 11:19
@elstehle elstehle requested a review from miscco January 5, 2026 11:19
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 5, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

🥳 CI Workflow Results

🟩 Finished in 1h 22m: Pass: 100%/95 | Total: 1d 09h | Max: 1h 22m | Hits: 97%/89371

See results here.

@elstehle elstehle enabled auto-merge (squash) January 5, 2026 13:30
//!
//! Finds the largest K keys and their corresponding values from an unordered input sequence of key-value pairs.
//! - Finds the largest K keys and their corresponding values from an unordered input sequence of key-value pairs.
//! - Note that the behavior is undefined if the input and output ranges overlap in any way.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: let's not call it a "note":

Suggested change
//! - Note that the behavior is undefined if the input and output ranges overlap in any way.
//! - The behavior is undefined if the input and output ranges overlap in any way.

or:

Suggested change
//! - Note that the behavior is undefined if the input and output ranges overlap in any way.
//! - The input and output ranges must not overlap in any way.

Applies to all comments.

@elstehle elstehle merged commit f424178 into NVIDIA:main Jan 5, 2026
108 of 109 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Jan 5, 2026
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