Skip to content

Commit ff449e6

Browse files
authored
Revert "Make cuda.bindings.nvml public (NVIDIA#1544)" (NVIDIA#1546)
This reverts commit dd12efe.
1 parent dd12efe commit ff449e6

25 files changed

Lines changed: 38 additions & 42 deletions

cuda_bindings/cuda/bindings/_internal/nvml.pxd renamed to cuda_bindings/cuda/bindings/_internal/_nvml.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

7-
from ..cynvml cimport *
7+
from ..cy_nvml cimport *
88

99

1010
###############################################################################
File renamed without changes.

cuda_bindings/cuda/bindings/_internal/nvml_windows.pyx renamed to cuda_bindings/cuda/bindings/_internal/_nvml_windows.pyx

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from libc.stdint cimport intptr_t
88

9-
from .cynvml cimport *
9+
from .cy_nvml cimport *
1010

1111

1212
###############################################################################

cuda_bindings/cuda/bindings/_test_helpers/arch_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from contextlib import contextmanager
66

77
import pytest
8-
from cuda.bindings import nvml
8+
from cuda.bindings import _nvml as nvml
99

1010

1111
@contextmanager
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

7-
from ._internal cimport nvml as _nvml
7+
from ._internal cimport _nvml as _nvml
88

99

1010
###############################################################################

cuda_bindings/tests/nvml/conftest.py

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

44
from collections import namedtuple
55

66
import pytest
7-
from cuda.bindings import nvml
7+
from cuda.bindings import _nvml as nvml
88
from cuda.bindings._test_helpers.arch_check import unsupported_before # noqa: F401
99

1010

cuda_bindings/tests/nvml/test_compute_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66

77
import pytest
8-
from cuda.bindings import nvml
8+
from cuda.bindings import _nvml as nvml
99

1010
from .conftest import unsupported_before
1111

0 commit comments

Comments
 (0)