Skip to content

WIP: refactor topk extract_digit_flip_xaxis #4214

Closed
paulklie wants to merge 36 commits intoROCm:developfrom
StreamHPC:users/paulklie/topk_twiddlein
Closed

WIP: refactor topk extract_digit_flip_xaxis #4214
paulklie wants to merge 36 commits intoROCm:developfrom
StreamHPC:users/paulklie/topk_twiddlein

Conversation

@paulklie
Copy link
Copy Markdown
Contributor

@paulklie paulklie commented Feb 3, 2026

This PR build up on #3646, and should be merged afterwards.

Motivation

#3646 adds an implementation for topk. The extract_digit_flip_xaxis function might be reused in other similar algorithms (such as segmented topk). Thus we decided to move its logic to projects/rocprim/rocprim/include/rocprim/type_traits.hpp.

Technical Details

Test Plan

Run topk tests and benchmarks.

Test Result

Tests passed. No benchmark regressions.

Submission Checklist

cenxuantian and others added 6 commits February 2, 2026 13:31
…e/topk_twiddlein'

# Conflicts:
#   projects/rocprim/rocprim/include/rocprim/device/detail/device_topk_air.hpp
#   projects/rocprim/test/rocprim/test_device_topk.cpp
#   projects/rocprim/test/rocprim/test_utils_data_generation.hpp
@paulklie paulklie requested review from a team as code owners February 3, 2026 12:30
@assistant-librarian assistant-librarian Bot added the external contribution Code contribution from users community.. label Feb 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been inactive for 25 days and will be marked as stale.

If you would like to keep this PR open, please:

  • Add new commits
  • Add a comment explaining why it should remain open

This PR will be automatically closed in 5 days if no further activity occurs.

@github-actions github-actions Bot added the Stale PR has no activity for period of 2+ weeks label Apr 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically closed due to inactivity (30 days with no updates).

If you'd like to continue working on this, feel free to reopen the PR or create a new one.

@github-actions github-actions Bot closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation external contribution Code contribution from users community.. project: rocprim Stale PR has no activity for period of 2+ weeks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants