Skip to content

Replace cuda::atomic_ref with plain CUDA atomics#10001

Draft
PointKernel wants to merge 1 commit into
NVIDIA:mainfrom
PointKernel:fix/cuco-plain-cuda-atomics-9983
Draft

Replace cuda::atomic_ref with plain CUDA atomics#10001
PointKernel wants to merge 1 commit into
NVIDIA:mainfrom
PointKernel:fix/cuco-plain-cuda-atomics-9983

Conversation

@PointKernel

Copy link
Copy Markdown
Member

Description

Closes #9983

This PR replaces cuda::atomic_ref with plain CUDA atomics in the cuco open-addressing and HyperLogLog hot paths.

It adds internal helpers for the required relaxed compare-and-exchange, load/store, add, and max operations.

Checklist

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

@copy-pr-bot

copy-pr-bot Bot commented Jul 17, 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.

@github-project-automation github-project-automation Bot moved this to Todo in CCCL Jul 17, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Progress in CCCL Jul 17, 2026
@PointKernel

Copy link
Copy Markdown
Member Author

/ok to test 7608ed3

@PointKernel PointKernel added cuco cuCollections cudax Feature intended for the cudax experimental library labels Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

😬 CI Workflow Results

🟥 Finished in 43m 40s: Pass: 91%/57 | Total: 5h 50m | Max: 43m 38s | Hits: 82%/46807

See results here.

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]: Use plain CUDA atomics instead of cuda::atomic_ref

1 participant