You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1bd071
Browse filesBrowse the repository at this point in the historyBrowse files
cuda.bindings: integrate CUDA 12 source with shared build tooling (#3173)
* Integrate the CUDA 12 source with shared build and test helpers
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* test(bindings): isolate CUDA 12 graph capture by thread
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* test: classify CUDA 12 bindings alongside CUDA 13
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Restore the security scan for the integrated CUDA 12 sources
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Remove superseded CUDA 12 package benchmarks
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Document CUDA 12 support for Python 3.15
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Enable pre-commit checks for the integrated CUDA 12 source
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Defer CUDA 12 runtime backports to a focused maintenance layer
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Defer CUDA 12 NVML test maintenance to CI integration
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
* Pin CUDA 12 documentation links to a published snapshot
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
---------
Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
Copy file name to clipboardExpand all lines: cuda_bindings_12/DESCRIPTION.rst
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,14 @@
5
5
cuda-bindings: Low-level CUDA interfaces
6
6
****************************************
7
7
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/latest/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.
`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.
Copy file name to clipboardExpand all lines: cuda_bindings_12/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,13 @@
1
1
# `cuda.bindings`: Low-level CUDA interfaces
2
2
3
-
`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/latest/overview.html) for the workflow and performance results.
3
+
`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.
4
+
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. -->
4
7
5
8
## Installing
6
9
7
-
Please refer to the [Installation page](https://nvidia.github.io/cuda-python/cuda-bindings/latest/install.html) for instructions and required/optional dependencies.
10
+
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.
8
11
9
12
## Developing
10
13
@@ -31,7 +34,7 @@ To run these tests:
31
34
32
35
### Cython Unit Tests
33
36
34
-
Cython tests are located in `tests/cython` and need to be built. These builds have the same CUDA Toolkit header requirements as [Installing from Source](https://nvidia.github.io/cuda-python/cuda-bindings/latest/install.html#requirements) where the major.minor version must match `cuda.bindings`. To build them:
37
+
Cython tests are located in `tests/cython` and need to be built. These builds have the same CUDA Toolkit header requirements as [Installing from Source](https://nvidia.github.io/cuda-python/cuda-bindings/12.9.7/install.html#requirements) where the major.minor version must match `cuda.bindings`. To build them:
35
38
36
39
1. Setup environment variable `CUDA_HOME` with the path to the CUDA Toolkit installation.
37
40
2. Run `build_tests` script located in `test/cython` appropriate to your platform. This will both cythonize the tests and build them.
@@ -60,8 +63,5 @@ To run these samples:
60
63
61
64
### Benchmark
62
65
63
-
Allows for analyzing binding performance using plugin [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark).
64
-
65
-
To run these benchmarks:
66
-
*`python -m pytest --benchmark-only benchmarks/` against editable installations
67
-
*`pytest --benchmark-only benchmarks/` against installed packages
66
+
See the shared [cuda.bindings benchmark harness](../benchmarks/cuda_bindings/README.md)
67
+
for performance benchmarks and usage instructions.
0 commit comments