Skip to content

cuda.bindings: Update generator changes (12.9.x branch)#1928

Open
mdboom wants to merge 1 commit intoNVIDIA:12.9.xfrom
mdboom:generator-changes-12.9
Open

cuda.bindings: Update generator changes (12.9.x branch)#1928
mdboom wants to merge 1 commit intoNVIDIA:12.9.xfrom
mdboom:generator-changes-12.9

Conversation

@mdboom
Copy link
Copy Markdown
Contributor

@mdboom mdboom commented Apr 16, 2026

Backport of #1927.

@github-actions github-actions bot added the Needs-Restricted-Paths-Review PR touches cuda_bindings or cuda_python; only NVIDIA employees may modify these paths; see LICENSEs label Apr 16, 2026
@leofang leofang removed the Needs-Restricted-Paths-Review PR touches cuda_bindings or cuda_python; only NVIDIA employees may modify these paths; see LICENSEs label Apr 16, 2026
Comment on lines 19483 to +19491
@cython.embedsignature(True)
def cudaDeviceGetCacheConfig():
""" Returns the preferred cache configuration for the current device.
""" Returns the maximum number of elements allocatable in a 1D linear texture for a given element size.

Returns in `maxWidthInElements` the maximum number of elements
allocatable in a 1D linear texture for given format descriptor
`fmtDesc`.

Returns the preferred cache configuration for the current device.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this diff seems odd to me

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Indeed that is odd.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test 12.9.x nearly as closely when I did the merge of the two doc_gens. I suspect that's the source of the weirdness.

--------
:py:obj:`~.cuFlushGPUDirectRDMAWrites`
"""
""""""
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Comment on lines -23484 to +23424
""" Queries an event's status.
""" Records an event.

Captures in `event` the contents of `stream` at the time of this call.
`event` and `stream` must be on the same CUDA context. Calls such as
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one seems off too

@leofang leofang added bug Something isn't working cuda.bindings Everything related to the cuda.bindings module labels Apr 16, 2026
@leofang leofang added this to the cuda.bindings next milestone Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cuda.bindings Everything related to the cuda.bindings module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants