NVIDIA / NVIDIA/cccl

[FEA]: cluster-scope atomics

Open
#394 0 comments 0 reactions 1 assignee Claimed by @griwes View on GitHub
Dominant language
C++
Stars
2.5k
Forks
487
Avg merge
2d 7h
Merged PRs (30d)
296

Description

### Is this a duplicate?

- [ ] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this request and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

### Area

Thrust

### Is your feature request related to a problem? Please describe.

Provide sm_90 cluster scope atomic support.

### Describe the solution you'd like

This issue can be closed by:
- providing `cuda::atomic` and `cuda::atomic_ref` for all supported types, and
- replacing
https://github.com/NVIDIA/cccl/blob/4c49ca5c76435f45d44811a18168c36f0053669c/cub/cub/agent/agent_batched_topk_cluster.cuh#L811-L818
with `cuda::atomic_ref`, and
- showing lack of performance regressions on TopK benchmark on SM100

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.