Skip to content

[cudax][cuco] Replace __index_type with size_t and drop __distance - #12584

Draft
PointKernel wants to merge 6 commits into
NVIDIA:mainfrom
PointKernel:cuco-unify-index-type
Draft

PointKernel wants to merge 6 commits into
NVIDIA:mainfrom
PointKernel:cuco-unify-index-type

Conversation

@PointKernel

@PointKernel PointKernel commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Description

Closes #12511.

This PR replaces detail::__index_type with cuda::std::size_t for input-range lengths and thread/element indices in the cuco bulk kernels and bloom filter loops, and drops detail::__distance, which also removes the __int128 narrowing that #12505 hits.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@PointKernel PointKernel added cudax Feature intended for the cudax experimental library cuco cuCollections labels Nov 10, 2026
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Nov 10, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

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.

@PointKernel PointKernel self-assigned this Nov 10, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Progress in CCCL Nov 10, 2026
@PointKernel

Copy link
Copy Markdown
Member Author

/ok to test

@github-actions

This comment has been minimized.

@miscco miscco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@PointKernel

Copy link
Copy Markdown
Member Author

/ok to test

@github-actions

This comment has been minimized.

@PointKernel

Copy link
Copy Markdown
Member Author

/ok to test

@github-actions

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 1h 18m: Pass: 100%/75 | Total: 16h 31m | Max: 1h 18m | Hits: 58%/83627

See results here.

This branch has not been deployed

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

Labels

cuco cuCollections cudax Feature intended for the cudax experimental library

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

[CUCO][FEA]: Unify detail::__index_type with size_type and drop __distance

2 participants