Skip to content

Commit 147f29c

Browse files
author
cuda-python-bot
committed
Deploy doc preview for PR 2233 (cc462c6)
1 parent f098005 commit 147f29c

1,234 files changed

Lines changed: 65288 additions & 11046 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/pr-preview/pr-2233/cuda-bindings/latest/_sources/environment_variables.rst.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ Build-Time Environment Variables
2424
`cuda-pathfinder 1.5.0 release notes <https://nvidia.github.io/cuda-python/cuda-pathfinder/latest/release/1.5.0-notes.html>`_
2525
for details and migration guidance.
2626

27-
- ``CUDA_PYTHON_PARSER_CACHING`` : bool, toggles the caching of parsed header files during the cuda-bindings build process. If caching is enabled (``CUDA_PYTHON_PARSER_CACHING`` is True), the cache path is set to ./cache_<library_name>, where <library_name> is derived from the cuda toolkit libraries used to build cuda-bindings.
28-
2927
- ``CUDA_PYTHON_PARALLEL_LEVEL`` (previously ``PARALLEL_LEVEL``) : int, sets the number of threads used in the compilation of extension modules. Not setting it or setting it to 0 would disable parallel builds.

‎docs/pr-preview/pr-2233/cuda-bindings/latest/_sources/install.rst.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,14 @@ Requirements
120120

121121
* CUDA Toolkit headers[^1]
122122
* CUDA Runtime static library[^2]
123+
* A git clone of the repository that includes tags[^3]
123124

124125
[^1]: User projects that ``cimport`` CUDA symbols in Cython must also use CUDA Toolkit (CTK) types as provided by the ``cuda.bindings`` major.minor version. This results in CTK headers becoming a transitive dependency of downstream projects through CUDA Python.
125126

126127
[^2]: The CUDA Runtime static library (``libcudart_static.a`` on Linux, ``cudart_static.lib`` on Windows) is part of the CUDA Toolkit. If using conda packages, it is contained in the ``cuda-cudart-static`` package.
127128

129+
[^3]: The version is derived from git tags via ``setuptools-scm``, so the clone must include tags reaching back to at least the latest ``v*`` tag. Clone with ``git clone https://github.com/NVIDIA/cuda-python.git``; do not use ``--depth`` or ``--no-tags``, since a shallow clone builds without error but produces a bogus version such as ``0.1.dev1+g0d22cb444``. See `Cloning the repository <https://github.com/NVIDIA/cuda-python/blob/main/CONTRIBUTING.md>`_ for details and recovery steps.
130+
128131
Source builds require that the provided CUDA headers are of the same major.minor version as the ``cuda.bindings`` you're trying to build. Despite this requirement, note that the minor version compatibility is still maintained. Use the ``CUDA_PATH`` (or ``CUDA_HOME``) environment variable to specify the location of your headers. If both are set, ``CUDA_PATH`` takes precedence. For example, if your headers are located in ``/usr/local/cuda/include``, then you should set ``CUDA_PATH`` with:
129132

130133
.. code-block:: console

‎docs/pr-preview/pr-2233/cuda-bindings/latest/_sources/module/driver.rst.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.. SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
.. SPDX-License-Identifier: Apache-2.0
33
4+
.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=15f77ea651a2deffa7f7ae710189546cff9c23ba311b693207743eaf339a0a9c
45
------
56
driver
67
------

‎docs/pr-preview/pr-2233/cuda-bindings/latest/_sources/module/nvjitlink.rst.txt‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ NvJitLink defines the following functions for linking code objects and querying
2525
.. autofunction:: cuda.bindings.nvjitlink.get_linked_cubin
2626
.. autofunction:: cuda.bindings.nvjitlink.get_linked_ptx_size
2727
.. autofunction:: cuda.bindings.nvjitlink.get_linked_ptx
28+
.. autofunction:: cuda.bindings.nvjitlink.get_linked_ltoir_size
29+
.. autofunction:: cuda.bindings.nvjitlink.get_linked_ltoir
2830
.. autofunction:: cuda.bindings.nvjitlink.get_error_log_size
2931
.. autofunction:: cuda.bindings.nvjitlink.get_error_log
3032
.. autofunction:: cuda.bindings.nvjitlink.get_info_log_size
@@ -65,6 +67,33 @@ Types
6567
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_FINALIZE
6668

6769

70+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_NULL_INPUT
71+
72+
73+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_INCOMPATIBLE_OPTIONS
74+
75+
76+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_INCORRECT_INPUT_TYPE
77+
78+
79+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_ARCH_MISMATCH
80+
81+
82+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_OUTDATED_LIBRARY
83+
84+
85+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_MISSING_FATBIN
86+
87+
88+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_UNRECOGNIZED_ARCH
89+
90+
91+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_UNSUPPORTED_ARCH
92+
93+
94+
.. autoattribute:: cuda.bindings.nvjitlink.Result.ERROR_LTO_NOT_ENABLED
95+
96+
6897
.. autoclass:: cuda.bindings.nvjitlink.InputType
6998

7099
.. autoattribute:: cuda.bindings.nvjitlink.InputType.NONE

‎docs/pr-preview/pr-2233/cuda-bindings/latest/_sources/module/nvrtc.rst.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.. SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
.. SPDX-License-Identifier: Apache-2.0
33
4+
.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9f44170e12fd85fa04fcd599a18d0b6474ec7920be8f28a5c097000eb3ccb0e0
45
-----
56
nvrtc
67
-----

‎docs/pr-preview/pr-2233/cuda-bindings/latest/_sources/module/runtime.rst.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.. SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
.. SPDX-License-Identifier: Apache-2.0
33
4+
.. CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=86b1e47dc2cb6ed343cc979b646bdfb99db65d352605464573a8e1d5b248fce2
45
-------
56
runtime
67
-------
@@ -4184,7 +4185,7 @@ Data types used by CUDA Runtime
41844185

41854186
Valid for graph nodes, launches. This attribute is graphs-only, and passing it to a launch in a non-capturing stream will result in an error.
41864187

4187-
:cudaLaunchAttributeValue::deviceUpdatableKernelNode::deviceUpdatable can only be set to 0 or 1. Setting the field to 1 indicates that the corresponding kernel node should be device-updatable. On success, a handle will be returned via :py:obj:`~.cudaLaunchAttributeValue.deviceUpdatableKernelNode.devNode` which can be passed to the various device-side update functions to update the node's kernel parameters from within another kernel. For more information on the types of device updates that can be made, as well as the relevant limitations thereof, see :py:obj:`~.cudaGraphKernelNodeUpdatesApply`.
4188+
:py:obj:`~.cudaLaunchAttributeValue.deviceUpdatableKernelNode.deviceUpdatable` can only be set to 0 or 1. Setting the field to 1 indicates that the corresponding kernel node should be device-updatable. On success, a handle will be returned via :py:obj:`~.cudaLaunchAttributeValue.deviceUpdatableKernelNode.devNode` which can be passed to the various device-side update functions to update the node's kernel parameters from within another kernel. For more information on the types of device updates that can be made, as well as the relevant limitations thereof, see :py:obj:`~.cudaGraphKernelNodeUpdatesApply`.
41884189

41894190
Nodes which are device-updatable have additional restrictions compared to regular kernel nodes. Firstly, device-updatable nodes cannot be removed from their graph via :py:obj:`~.cudaGraphDestroyNode`. Additionally, once opted-in to this functionality, a node cannot opt out, and any attempt to set the deviceUpdatable attribute to 0 will result in an error. Device-updatable kernel nodes also cannot have their attributes copied to/from another kernel node via :py:obj:`~.cudaGraphKernelNodeCopyAttributes`. Graphs containing one or more device-updatable nodes also do not allow multiple instantiation, and neither the graph nor its instantiated version can be passed to :py:obj:`~.cudaGraphExecUpdate`.
41904191

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
.. module:: cuda.bindings
5+
6+
``cuda-bindings`` 13.4.0 Release notes
7+
======================================
8+
9+
Deprecation Notices
10+
-------------------
11+
12+
* Support for using ``cuda-bindings`` with Python 3.10 is deprecated and will be
13+
removed in a future version. Python 3.10 reaches end of life in October 2026
14+
per the `CPython support cycle <https://devguide.python.org/versions/>`_.
15+
16+
Prerelease feature
17+
------------------
18+
19+
A new version of the ``nvrtc`` API is available as ``cuda.bindings._v2.nvrtc``. The
20+
primary improvements are: (1) raising exceptions rather than returning error
21+
codes, (2) uses PEP8-compliant naming, and (3) more performance. This API is
22+
still experimental and subject to change.
23+
24+
Known issues
25+
------------
26+
27+
* Updating from older versions (v12.6.2.post1 and below) via ``pip install -U cuda-python`` might not work. Please do a clean re-installation by uninstalling ``pip uninstall -y cuda-python`` followed by installing ``pip install cuda-python``.
28+
* ``nvml.system_get_process_name`` on WSL can return incorrect values. To work around this, set the locale to "C" before calling ``nvml.device_get_compute_running_processes_v3`` (which sets the process names) and before calling ``nvml.system_get_process_name``. ``cuda_core`` does this automatically, but users of the raw NVML API will need to do this manually.

‎docs/pr-preview/pr-2233/cuda-bindings/latest/api.html‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@
533533
<div class="bd-toc-item navbar-nav"><p aria-level="2" class="caption" role="heading"><span class="caption-text">Contents:</span></p>
534534
<ul class="current nav bd-sidenav">
535535
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
536+
<li class="toctree-l2"><a class="reference internal" href="release/13.4.0-notes.html">13.4.0</a></li>
536537
<li class="toctree-l2"><a class="reference internal" href="release/13.3.1-notes.html">13.3.1</a></li>
537538
<li class="toctree-l2"><a class="reference internal" href="release/13.3.0-notes.html">13.3.0</a></li>
538539
<li class="toctree-l2"><a class="reference internal" href="release/13.2.0-notes.html">13.2.0</a></li>
@@ -2267,7 +2268,7 @@ <h1>CUDA Python API Reference<a class="headerlink" href="#cuda-python-api-refere
22672268
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#id69"><code class="docutils literal notranslate"><span class="pre">CUdevSmResource</span></code></a></li>
22682269
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#id72"><code class="docutils literal notranslate"><span class="pre">CUdevWorkqueueConfigResource</span></code></a></li>
22692270
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#id75"><code class="docutils literal notranslate"><span class="pre">CUdevWorkqueueResource</span></code></a></li>
2270-
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#id78"><code class="docutils literal notranslate"><span class="pre">CU_DEV_SM_RESOURCE_GROUP_PARAMS</span></code></a></li>
2271+
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#id77"><code class="docutils literal notranslate"><span class="pre">CU_DEV_SM_RESOURCE_GROUP_PARAMS</span></code></a></li>
22712272
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#cuda.bindings.driver.cuGreenCtxCreate"><code class="docutils literal notranslate"><span class="pre">cuGreenCtxCreate()</span></code></a></li>
22722273
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#cuda.bindings.driver.cuGreenCtxDestroy"><code class="docutils literal notranslate"><span class="pre">cuGreenCtxDestroy()</span></code></a></li>
22732274
<li class="toctree-l3"><a class="reference internal" href="module/driver.html#cuda.bindings.driver.cuCtxFromGreenCtx"><code class="docutils literal notranslate"><span class="pre">cuCtxFromGreenCtx()</span></code></a></li>
@@ -3122,6 +3123,8 @@ <h1>CUDA Python API Reference<a class="headerlink" href="#cuda-python-api-refere
31223123
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_linked_cubin"><code class="docutils literal notranslate"><span class="pre">get_linked_cubin()</span></code></a></li>
31233124
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_linked_ptx_size"><code class="docutils literal notranslate"><span class="pre">get_linked_ptx_size()</span></code></a></li>
31243125
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_linked_ptx"><code class="docutils literal notranslate"><span class="pre">get_linked_ptx()</span></code></a></li>
3126+
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_linked_ltoir_size"><code class="docutils literal notranslate"><span class="pre">get_linked_ltoir_size()</span></code></a></li>
3127+
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_linked_ltoir"><code class="docutils literal notranslate"><span class="pre">get_linked_ltoir()</span></code></a></li>
31253128
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_error_log_size"><code class="docutils literal notranslate"><span class="pre">get_error_log_size()</span></code></a></li>
31263129
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_error_log"><code class="docutils literal notranslate"><span class="pre">get_error_log()</span></code></a></li>
31273130
<li class="toctree-l3"><a class="reference internal" href="module/nvjitlink.html#cuda.bindings.nvjitlink.get_info_log_size"><code class="docutils literal notranslate"><span class="pre">get_info_log_size()</span></code></a></li>

‎docs/pr-preview/pr-2233/cuda-bindings/latest/conduct.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@
537537
<div class="bd-toc-item navbar-nav"><p aria-level="2" class="caption" role="heading"><span class="caption-text">Contents:</span></p>
538538
<ul class="current nav bd-sidenav">
539539
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
540+
<li class="toctree-l2"><a class="reference internal" href="release/13.4.0-notes.html">13.4.0</a></li>
540541
<li class="toctree-l2"><a class="reference internal" href="release/13.3.1-notes.html">13.3.1</a></li>
541542
<li class="toctree-l2"><a class="reference internal" href="release/13.3.0-notes.html">13.3.0</a></li>
542543
<li class="toctree-l2"><a class="reference internal" href="release/13.2.0-notes.html">13.2.0</a></li>

‎docs/pr-preview/pr-2233/cuda-bindings/latest/contribute.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@
533533
<div class="bd-toc-item navbar-nav"><p aria-level="2" class="caption" role="heading"><span class="caption-text">Contents:</span></p>
534534
<ul class="current nav bd-sidenav">
535535
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
536+
<li class="toctree-l2"><a class="reference internal" href="release/13.4.0-notes.html">13.4.0</a></li>
536537
<li class="toctree-l2"><a class="reference internal" href="release/13.3.1-notes.html">13.3.1</a></li>
537538
<li class="toctree-l2"><a class="reference internal" href="release/13.3.0-notes.html">13.3.0</a></li>
538539
<li class="toctree-l2"><a class="reference internal" href="release/13.2.0-notes.html">13.2.0</a></li>

0 commit comments

Comments
 (0)