[MNT] cuda.core: device-attribute catch-up for CUDA 13.1/13.3
@juenglin 已经在做这个了。
开始于 2026年7月24日。
评估
这个 Issue 还没有评估数据。
描述
Summary
DeviceProperties is current through the CUDA 12.9/13.0 attribute additions, but the 13.1 and
13.3 attributes are missing:
| Attribute | Version | Note |
|---|---|---|
CU_DEVICE_ATTRIBUTE_ATOMIC_REDUCTION_SUPPORTED |
13.1 | companion of #2361 |
CU_DEVICE_ATTRIBUTE_DMA_BUF_MMAP_SUPPORTED |
13.3 | |
CU_DEVICE_ATTRIBUTE_D3D12_CIG_STREAMS_SUPPORTED |
13.3 | |
CU_DEVICE_ATTRIBUTE_LOGICAL_ENDPOINT_UNICAST_SUPPORTED |
13.3 | companion of #2358 |
CU_DEVICE_ATTRIBUTE_LOGICAL_ENDPOINT_MULTICAST_SUPPORTED |
13.3 | companion of #2358 |
CU_DEVICE_ATTRIBUTE_LOGICAL_ENDPOINT_COUNTED_OPS_SUPPORTED |
13.3 | companion of #2358 |
CU_DEVICE_ATTRIBUTE_LOGICAL_ENDPOINT_UNICAST_ACCESS_ON_OWNER_DEVICE_SUPPORTED |
13.3 | companion of #2358 |
Proposed approach
Mechanical: add properties to DeviceProperties
(_device.pyx)
following the existing naming conventions, with the usual graceful handling on older
drivers/bindings; update the attribute coverage tests. Same shape as the (closed) #675 pass
for earlier toolkits. Doesn't need to wait for #2358/#2361 — the boolean queries are useful on
their own.
References
- Found during the CUDA 12.8 → 13.3 bindings vs. cuda.core gap sweep (2026-07-14)
-- Leo's bot
- 主要语言
- Cython
- 星标
- 3.4k
- 派生
- 329
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 113
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/cuda-python 的其他 Issue
-
bug cuda.core
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/cuda-python#2886 · 1 条评论 ·
-
triage
难度 1/5 1 小时以内 新手友好度 88/100
NVIDIA/cuda-python#2717 ·
-
triage
难度 1/5 1-3 小时 新手友好度 90/100
NVIDIA/cuda-python#2712 ·
-
triage
难度 2/5 1-3 小时 新手友好度 82/100
NVIDIA/cuda-python#2646 · 1 个 reaction ·
-
cuda.core triage
难度 2/5 1-3 小时 新手友好度 62/100
NVIDIA/cuda-python#2435 · 1 条评论 ·