[MNT] cuda.core: device-attribute catch-up for CUDA 13.1/13.3

未关闭
#2,367 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@juenglin 已经在做这个了。

开始于 2026年7月24日。

评估

这个 Issue 还没有评估数据。

描述

cuda.core enhancement

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/cuda-python 的其他 Issue

查看 NVIDIA/cuda-python 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。