Skip to content

Commit b972c8e

Browse files
authored
Add experimental NVML bindings to 12.9.x branch (#1349)
* Add experimental NVML bindings to 12.9.x branch * Add tests from main to 12.9.x branch * Remove newer APIs * Remove hand-written 13.0 bindings * Queue up 'skip reasons' (#1352) * Handle backport correctly * Fix cimport * More versioned struct fixes * Fix test for 12.9 * Add 13.1 bindings
1 parent b83da6e commit b972c8e

19 files changed

Lines changed: 46144 additions & 2 deletions

cuda_bindings/cuda/bindings/_internal/_nvml.pxd

Lines changed: 363 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/cuda/bindings/_internal/_nvml_linux.pyx

Lines changed: 7463 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/cuda/bindings/_internal/_nvml_windows.pyx

Lines changed: 6105 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/cuda/bindings/_nvml.pxd

Lines changed: 447 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/cuda/bindings/_nvml.pyx

Lines changed: 27503 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/cuda/bindings/cy_nvml.pxd

Lines changed: 2092 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/cuda/bindings/cy_nvml.pyx

Lines changed: 1411 additions & 0 deletions
Large diffs are not rendered by default.

cuda_bindings/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

44
[build-system]
5-
requires = ["setuptools>=77.0.0", "cython>=3.1,<3.2", "pyclibrary>=0.1.7"]
5+
requires = ["setuptools>=77.0.0", "cython>=3.2,<3.3", "pyclibrary>=0.1.7"]
66
build-backend = "setuptools.build_meta"
77

88
[project]
@@ -39,7 +39,7 @@ all = [
3939
]
4040

4141
test = [
42-
"cython>=3.1,<3.2",
42+
"cython>=3.2,<3.3",
4343
"setuptools>=77.0.0",
4444
"numpy>=1.21.1",
4545
"pytest>=6.2.4",

cuda_bindings/tests/nvml/README.md

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE

0 commit comments

Comments
 (0)