[ENHANCEMENT]: Make cuco code NVRTC-compatible
维护者通常 1 天内回复
@0z5a 已经在做这个了。
开始于 2026年9月18日。
评估
这个 Issue 还没有评估数据。
描述
Is your feature request related to a problem? Please describe.
Related to https://github.com/NVIDIA/cccl/issues/4305
Make sure cuco is JIT or NVRTC compatible.
Describe the solution you'd like
To enable cuco code to be used in JIT kernels, we need to ensure that no thrust algorithms are used in cuco implementations. When available, we will replace the two existing uses of thrust algorithms with their cuda::std:: equivalents.
https://github.com/NVIDIA/cuCollections/blob/e3aec271627a5d482cf2c720c6e2ec6e15cae06c/include/cuco/detail/open_addressing/open_addressing_ref_impl.cuh#L1269
https://github.com/NVIDIA/cuCollections/blob/e3aec271627a5d482cf2c720c6e2ec6e15cae06c/include/cuco/detail/open_addressing/open_addressing_ref_impl.cuh#L1257
As a simpler initial task, we can start by replacing thrust utilities such as pair, tuple, and equal_to with their corresponding cuda::std:: equivalents, which are already available for use.
- 主要语言
- Cuda
- 星标
- 674
- 派生
- 123
- 平均合并
- 3 天 9 小时
- 30 天内合并 PR
- 10
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/cuCollections 的其他 Issue
-
Add cuco::detail::stream_sync(cuda::stream_ref) to centralize CCCL version-specific API naming可能重新可做 @0z5a 于 30 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
NVIDIA/cuCollections#840 · 1 条评论 ·
维护者通常 1 天内回复
-
nvidia-runners
难度 1/5 1-3 小时 新手友好度 25/100
NVIDIA/cuCollections#853 ·
维护者通常 1 天内回复
-
topic: performance type: feature request
难度 5/5 一周以上 新手友好度 35/100
NVIDIA/cuCollections#817 · 7 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
good first issue P2: Nice to have type: improvement
难度 4/5 3-5 天 新手友好度 38/100
NVIDIA/cuCollections#805 · 4 条评论 ·
维护者通常 1 天内回复
-
[FEA] Add MPSC/MPMC concurrent queue可能重新可做 @sleeepyjack 于 270 天前认领,目前没有进行中的 PR。 未关闭maintainer-only type: feature request
NVIDIA/cuCollections#791 · 已指派 1 人 ·
维护者通常 1 天内回复