[FEA] Support linking multiple versions of cuco in the same project
Open
Nobody has claimed this yet.
P1: Should have
type: feature request
- Dominant language
- Cuda
- Stars
- 667
- Forks
- 120
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 4
Description
CUB and Thrust both allow for custom namespaces via e.g. CUB_NS_PREFIX and CUB_NS_POSTFIX, such that multiple shared libraries can each utilize their own copy of it (and thus different versions can safely coexist). (see NVIDIA/thrust#1401 )
cuco should also implement this feature.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No cuco files or tests are named. Start by reviewing how CUB_NS_PREFIX and CUB_NS_POSTFIX work in CUB and the corresponding Thrust implementation, then trace cuco's public symbols and namespace declarations. Done means separate shared libraries can use different cuco versions without symbol conflicts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100