NVIDIA / NVIDIA/cccl

[FEA]: WarpExchange (shuffle version) where ITEMS_PER_THREAD != LOGICAL_WARP_THREADS

Open
#3,760 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

### Is this a duplicate?

- [x] 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

CUB

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

Currently, the shuffle version of WarpExchange only compiles if ITEMS_PER_THREAD == LOGICAL_WARP_THREADS. It would be desirable to have a version where there is no restriction on ITEMS_PER_THREAD (at least if ITEMS_PER_THREAD <= 32).

### Describe the solution you'd like

A version of WarpExchange that uses shuffle and allows ITEMS_PER_THREAD != LOGICAL_WARP_THREADS. If it is for ITEMS_PER_THREAD <= LOGICAL_WARP_THREADS, it would be good.

### 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.