Skip to content

Commit 90d5b2a

Browse files
committed
regenerate nvml bindings
1 parent 5604018 commit 90d5b2a

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

cuda_bindings/cuda/bindings/_internal/_nvml.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
from ..cy_nvml cimport *
88

cuda_bindings/cuda/bindings/_internal/_nvml_linux.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t, uintptr_t
88

cuda_bindings/cuda/bindings/_internal/_nvml_windows.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t
88

cuda_bindings/cuda/bindings/_nvml.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t
88

cuda_bindings/cuda/bindings/_nvml.pyx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
cimport cython # NOQA
8-
from cython cimport view
9-
cimport cpython
108

119
from ._internal.utils cimport (get_buffer_pointer, get_nested_resource_ptr,
1210
nested_resource)
@@ -20,6 +18,7 @@ from libc.stdlib cimport calloc, free, malloc
2018
from cython cimport view
2119
cimport cpython.buffer
2220
cimport cpython.memoryview
21+
cimport cpython
2322
from libc.string cimport memcmp, memcpy
2423
import numpy as _numpy
2524

@@ -37,6 +36,7 @@ cdef __from_data(data, dtype_name, expected_dtype, lowpp_type):
3736
return lowpp_type.from_ptr(data.ctypes.data, not data.flags.writeable, data)
3837

3938

39+
4040
###############################################################################
4141
# Enum
4242
###############################################################################
@@ -15089,7 +15089,7 @@ cdef class DevicePowerMizerModes_v1:
1508915089

1509015090
@property
1509115091
def supported_power_mizer_modes(self):
15092-
"""int: OUT: Bitmask of supported powermizer modes."""
15092+
"""int: OUT: Bitmask of supported powermizer modes. The bitmask of supported power mizer modes on this device. The supported modes can be combined using the bitwise OR operator '|'. For example, if a device supports all PowerMizer modes, the bitmask would be: supportedPowerMizerModes = ((1 << NVML_POWER_MIZER_MODE_ADAPTIVE) | (1 << NVML_POWER_MIZER_MODE_PREFER_MAXIMUM_PERFORMANCE) | (1 << NVML_POWER_MIZER_MODE_AUTO) | (1 << NVML_POWER_MIZER_MODE_PREFER_CONSISTENT_PERFORMANCE)); This bitmask can be used to check which power mizer modes are available on the device by performing a bitwise AND operation with the specific mode you want to check."""
1509315093
return self._ptr[0].supportedPowerMizerModes
1509415094

1509515095
@supported_power_mizer_modes.setter
@@ -22875,7 +22875,7 @@ cpdef tuple device_get_gpu_operation_mode(intptr_t device):
2287522875

2287622876

2287722877
cpdef object device_get_memory_info_v2(intptr_t device):
22878-
"""Retrieves the amount of used, free, reserved and total memory available on the device, in bytes. The reserved amount is supported on version 2 only.
22878+
"""Retrieves the amount of used, free, reserved and total memory available on the device, in bytes. nvmlDeviceGetMemoryInfo_v2 accounts separately for reserved memory and includes it in the used memory amount.
2287922879

2288022880
Args:
2288122881
device (intptr_t): The identifier of the target device.
@@ -24423,7 +24423,7 @@ cpdef unsigned int device_get_nvlink_version(intptr_t device, unsigned int link)
2442324423
link (unsigned int): Specifies the NvLink link to be queried.
2442424424

2442524425
Returns:
24426-
unsigned int: Requested NvLink version from nvmlNvlinkVersion_t.
24426+
unsigned int: Requested NvLink version from ``nvmlNvlinkVersion_t``.
2442724427

2442824428
.. seealso:: `nvmlDeviceGetNvLinkVersion`
2442924429
"""
@@ -26724,7 +26724,7 @@ cpdef device_set_rusd_settings_v1(intptr_t device, intptr_t settings):
2672426724

2672526725
Args:
2672626726
device (intptr_t): The identifier of the target device.
26727-
settings (intptr_t): Reference to nvmlRusdSettings_t struct.
26727+
settings (intptr_t): Reference to ``nvmlRusdSettings_v1_t`` struct.
2672826728

2672926729
.. seealso:: `nvmlDeviceSetRusdSettings_v1`
2673026730
"""

cuda_bindings/cuda/bindings/cy_nvml.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
from libc.stdint cimport int64_t
88

cuda_bindings/cuda/bindings/cy_nvml.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
#
5-
# This code was automatically generated across versions from 12.9.1 to 13.1.0. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.1.1. Do not modify it directly.
66

77
from ._internal cimport _nvml as _nvml
88

0 commit comments

Comments
 (0)