From 92ca1ab29f022cab1e75854eb2c652210f647dd8 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Fri, 11 Sep 2026 10:23:52 -0400 Subject: [PATCH 1/2] Regenerate bindings: !531: No raise support Generated from 216de27e8115010a0f0cafeefa9b42a61fae587b + maint-13.4 --- cuda_bindings/cuda/bindings/_v2/nvrtc.pyx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx b/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx index 25af91febd9..31002ee611b 100644 --- a/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx +++ b/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.0 to 13.4.1. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2202d93ff748ecdd5a69713532e2cef7e456a1db5b0637fe7ed91b6172aa1fb4 +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d3faa051f57ff154f47b49af128abc3a4cc15da97c9db033430dd45bd7177eec # <<<< PREAMBLE CONTENT >>>> @@ -672,7 +672,7 @@ cpdef object get_supported_archs(): .. seealso:: `nvrtcGetSupportedArchs` """ - cdef int numArchs + cdef int numArchs = 0 with nogil: __status__ = nvrtcGetNumSupportedArchs(&numArchs) check_status(__status__) @@ -730,7 +730,7 @@ cpdef bytes get_ptx(intptr_t prog): .. seealso:: `nvrtcGetPTX` """ - cdef size_t ptxSizeRet + cdef size_t ptxSizeRet = 0 with nogil: __status__ = nvrtcGetPTXSize(prog, &ptxSizeRet) check_status(__status__) @@ -773,7 +773,7 @@ cpdef bytes get_cubin(intptr_t prog): .. seealso:: `nvrtcGetCUBIN` """ - cdef size_t cubinSizeRet + cdef size_t cubinSizeRet = 0 with nogil: __status__ = nvrtcGetCUBINSize(prog, &cubinSizeRet) check_status(__status__) @@ -816,7 +816,7 @@ cpdef bytes get_ltoir(intptr_t prog): .. seealso:: `nvrtcGetLTOIR` """ - cdef size_t LTOIRSizeRet + cdef size_t LTOIRSizeRet = 0 with nogil: __status__ = nvrtcGetLTOIRSize(prog, <OIRSizeRet) check_status(__status__) @@ -859,7 +859,7 @@ cpdef bytes get_optix_ir(intptr_t prog): .. seealso:: `nvrtcGetOptiXIR` """ - cdef size_t optixirSizeRet + cdef size_t optixirSizeRet = 0 with nogil: __status__ = nvrtcGetOptiXIRSize(prog, &optixirSizeRet) check_status(__status__) @@ -905,7 +905,7 @@ cpdef bytes get_program_log(intptr_t prog): .. seealso:: `nvrtcGetProgramLog` """ - cdef size_t logSizeRet + cdef size_t logSizeRet = 0 with nogil: __status__ = nvrtcGetProgramLogSize(prog, &logSizeRet) check_status(__status__) @@ -1047,7 +1047,7 @@ cpdef bytes get_tile_ir(intptr_t prog): .. seealso:: `nvrtcGetTileIR` """ - cdef size_t TileIRSizeRet + cdef size_t TileIRSizeRet = 0 with nogil: __status__ = nvrtcGetTileIRSize(prog, &TileIRSizeRet) check_status(__status__) From aac00ca643a5027c3abda63031d4dadc7128957a Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 15 Sep 2026 18:19:14 -0400 Subject: [PATCH 2/2] Rebase and reseal --- cuda_bindings/cuda/bindings/_v2/nvrtc.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx b/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx index 31002ee611b..3953550a10a 100644 --- a/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx +++ b/cuda_bindings/cuda/bindings/_v2/nvrtc.pyx @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 # # This code was automatically generated across versions from 12.9.0 to 13.4.1. Do not modify it directly. -# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d3faa051f57ff154f47b49af128abc3a4cc15da97c9db033430dd45bd7177eec +# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d512546d71f7aec9d334b646f7b4e9f51660692e7eeb3a276a73749ed9b1a7f1 # <<<< PREAMBLE CONTENT >>>>