Skip to content

Route sort and rank through memory resources - #24088

Draft
nirandaperera wants to merge 1 commit into
NVIDIA:mainfrom
nirandaperera:sort-rank-memory-resources
Draft

Route sort and rank through memory resources#24088
nirandaperera wants to merge 1 commit into
NVIDIA:mainfrom
nirandaperera:sort-rank-memory-resources

Conversation

@nirandaperera

Copy link
Copy Markdown
Contributor

Description

A part of #20780.

  • Port public/detail rank, sorted_order, and stable_sorted_order APIs to take cudf::memory_resources.
  • Route returned indices through the output resource and sorting/ranking scratch through the temporary resource.
  • Add allocation-routing coverage for rank and sorted order. Lexicographic preprocessing is handled independently in Route lexicographic preprocessing through memory resources #24087.

Test plan

  • Pre-commit checks on all changed files
  • SORT_TEST (1606 passed, 5 pre-existing skips, 0 failed)

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@nirandaperera nirandaperera added libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 9, 2026
@copy-pr-bot

copy-pr-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant