Skip to content

Commit dc6166b

Browse files
committed
Pin CUDA 12 documentation links to a published snapshot
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
1 parent 1a1dd19 commit dc6166b

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

‎cuda_bindings_12/DESCRIPTION.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
cuda-bindings: Low-level CUDA interfaces
66
****************************************
77

8-
`cuda.bindings <https://nvidia.github.io/cuda-python/cuda-bindings/>`_ is a standard set of low-level interfaces, providing full coverage of and 1:1 access to the CUDA host APIs from Python. Checkout the `Overview <https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/overview.html>`_ for the workflow and performance results.
8+
.. Keep documentation URLs aligned with README.md and build_hooks.py.
9+
Use a published CUDA 12 snapshot; latest follows the current CUDA major.
10+
11+
`cuda.bindings <https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/>`_ is a standard set of low-level interfaces, providing full coverage of and 1:1 access to the CUDA host APIs from Python. Checkout the `Overview <https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/overview.html>`_ for the workflow and performance results.
912

1013
* `Repository <https://github.com/NVIDIA/cuda-python/tree/main/cuda_bindings_12>`_
11-
* `Documentation <https://nvidia.github.io/cuda-python/cuda-bindings/>`_
14+
* `Documentation <https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/>`_
1215
* `Examples <https://github.com/NVIDIA/cuda-python/tree/main/cuda_bindings_12/examples>`_
1316
* `Issue tracker <https://github.com/NVIDIA/cuda-python/issues/>`_
1417

‎cuda_bindings_12/README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
`cuda.bindings` is a standard set of low-level interfaces, providing full coverage of and access to the CUDA host APIs from Python. Checkout the [Overview page](https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/overview.html) for the workflow and performance results.
44

5+
<!-- Keep documentation URLs aligned with DESCRIPTION.rst and build_hooks.py.
6+
Use a published CUDA 12 snapshot; latest follows the current CUDA major. -->
7+
58
## Installing
69

710
Please refer to the [Installation page](https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/install.html) for instructions and required/optional dependencies.

‎cuda_bindings_12/build_hooks.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def __getattr__(name):
6464
_CYDRIVER_PXD = Path(__file__).resolve().parent / "cuda" / "bindings" / "cydriver.pxd"
6565
_GENERATED_VERSION_RE = re.compile(r"^cdef enum:\s*CUDA_VERSION\s*=\s*(\d+)\s*$")
6666
_CUDA_H_VERSION_RE = re.compile(r"^#\s*define\s+CUDA_VERSION\s+(\d+)\s*$")
67-
_INSTALL_URL = "https://nvidia.github.io/cuda-python/cuda-bindings/12.9.10/install.html#installing-from-source"
67+
# Keep this published CUDA 12 snapshot aligned with README.md and DESCRIPTION.rst;
68+
# latest follows the current CUDA major. Refresh when newer CUDA 12 docs are published.
69+
_INSTALL_URL = "https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/install.html#installing-from-source"
6870

6971

7072
@functools.cache

0 commit comments

Comments
 (0)