Skip to content

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

Description

@leofang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cuda.coreEverything related to the cuda.core moduleenhancementAny code-related improvementstriageNeeds the team's attention

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions