NVIDIA / NVIDIA/cccl

c.parallel should reuse CUB policies directly

Open
#3,494 5 comments 1 reaction 1 assignee Claimed by @griwes View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Currently, c.parallel contains copies of some of the tuning parameters of CUB algorithms, and uses those copies. This is unsustainable; for simpler algorithms it doesn't take much code, but for, say, RadixSort, this would be a massive block of logic. Additionally, maintaining it in two places means we can create accidental differences between the two.

The code from CUB should be directly (albeit through nvrtc) reused in c.parallel.

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.