Skip to content

Commit 25e95e9

Browse files
authored
[Backport] Refresh 12.9.x bindings + make NVML public (NVIDIA#1743)
* refresh 12.9.x bindings + make NVML public * apply NVIDIA#1548 cleanly
1 parent 08b8eed commit 25e95e9

45 files changed

Lines changed: 2545 additions & 1010 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cuda_bindings/cuda/bindings/_internal/_fast_enum.py

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

44

5-
# This code was automatically generated across versions from 12.9.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77

88
"""

cuda_bindings/cuda/bindings/_internal/cufile.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 with version 12.9.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated with version 12.9.1, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from ..cycufile cimport *
88

cuda_bindings/cuda/bindings/_internal/cufile_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 with version 12.9.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated with version 12.9.1, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t, uintptr_t
88
import threading

cuda_bindings/cuda/bindings/_internal/nvfatbin.pxd

Lines changed: 1 addition & 7 deletions
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.4.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.4.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from ..cynvfatbin cimport *
88

@@ -22,9 +22,3 @@ cdef nvFatbinResult _nvFatbinGet(nvFatbinHandle handle, void* buffer) except?_NV
2222
cdef nvFatbinResult _nvFatbinVersion(unsigned int* major, unsigned int* minor) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil
2323
cdef nvFatbinResult _nvFatbinAddReloc(nvFatbinHandle handle, const void* code, size_t size) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil
2424
cdef nvFatbinResult _nvFatbinAddTileIR(nvFatbinHandle handle, const void* code, size_t size, const char* identifier, const char* optionsCmdLine) except?_NVFATBINRESULT_INTERNAL_LOADING_ERROR nogil
25-
26-
27-
28-
29-
30-

cuda_bindings/cuda/bindings/_internal/nvfatbin_linux.pyx

Lines changed: 1 addition & 7 deletions
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.4.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.4.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t, uintptr_t
88

@@ -342,9 +342,3 @@ cdef nvFatbinResult _nvFatbinAddTileIR(nvFatbinHandle handle, const void* code,
342342
raise FunctionNotFoundError("function nvFatbinAddTileIR is not found")
343343
return (<nvFatbinResult (*)(nvFatbinHandle, const void*, size_t, const char*, const char*) noexcept nogil>__nvFatbinAddTileIR)(
344344
handle, code, size, identifier, optionsCmdLine)
345-
346-
347-
348-
349-
350-

cuda_bindings/cuda/bindings/_internal/nvfatbin_windows.pyx

Lines changed: 1 addition & 7 deletions
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.4.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.4.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t
88

@@ -313,9 +313,3 @@ cdef nvFatbinResult _nvFatbinAddTileIR(nvFatbinHandle handle, const void* code,
313313
raise FunctionNotFoundError("function nvFatbinAddTileIR is not found")
314314
return (<nvFatbinResult (*)(nvFatbinHandle, const void*, size_t, const char*, const char*) noexcept nogil>__nvFatbinAddTileIR)(
315315
handle, code, size, identifier, optionsCmdLine)
316-
317-
318-
319-
320-
321-

cuda_bindings/cuda/bindings/_internal/nvjitlink.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.0.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.0.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from ..cynvjitlink cimport *
88

cuda_bindings/cuda/bindings/_internal/nvjitlink_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.0.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.0.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t, uintptr_t
88

cuda_bindings/cuda/bindings/_internal/nvjitlink_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.0.1 to 13.1.1, generator version 0.3.1.dev1324+gb402107a2. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.0.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

77
from libc.stdint cimport intptr_t
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +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.1. Do not modify it directly.
5+
# This code was automatically generated across versions from 12.9.1 to 13.2.0, generator version 0.3.1.dev1364+ged01d643e. Do not modify it directly.
66

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

99

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

0 commit comments

Comments
 (0)