Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions cuda_bindings/cuda/bindings/_v2/nvrtc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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=6fd79e7f27718c08c4521565c1e4f16afcbb4b6e58f45304dd40da1c8edba291
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=d3faa051f57ff154f47b49af128abc3a4cc15da97c9db033430dd45bd7177eec


# <<<< PREAMBLE CONTENT >>>>
Expand Down Expand Up @@ -671,7 +671,7 @@ cpdef object get_supported_archs():

.. seealso:: `nvrtcGetSupportedArchs`
"""
cdef int numArchs
cdef int numArchs = 0
with nogil:
__status__ = nvrtcGetNumSupportedArchs(&numArchs)
check_status(__status__)
Expand Down Expand Up @@ -729,7 +729,7 @@ cpdef bytes get_ptx(intptr_t prog):

.. seealso:: `nvrtcGetPTX`
"""
cdef size_t ptxSizeRet
cdef size_t ptxSizeRet = 0
with nogil:
__status__ = nvrtcGetPTXSize(<Program>prog, &ptxSizeRet)
check_status(__status__)
Expand Down Expand Up @@ -772,7 +772,7 @@ cpdef bytes get_cubin(intptr_t prog):

.. seealso:: `nvrtcGetCUBIN`
"""
cdef size_t cubinSizeRet
cdef size_t cubinSizeRet = 0
with nogil:
__status__ = nvrtcGetCUBINSize(<Program>prog, &cubinSizeRet)
check_status(__status__)
Expand Down Expand Up @@ -815,7 +815,7 @@ cpdef bytes get_ltoir(intptr_t prog):

.. seealso:: `nvrtcGetLTOIR`
"""
cdef size_t LTOIRSizeRet
cdef size_t LTOIRSizeRet = 0
with nogil:
__status__ = nvrtcGetLTOIRSize(<Program>prog, &LTOIRSizeRet)
check_status(__status__)
Expand Down Expand Up @@ -858,7 +858,7 @@ cpdef bytes get_optix_ir(intptr_t prog):

.. seealso:: `nvrtcGetOptiXIR`
"""
cdef size_t optixirSizeRet
cdef size_t optixirSizeRet = 0
with nogil:
__status__ = nvrtcGetOptiXIRSize(<Program>prog, &optixirSizeRet)
check_status(__status__)
Expand Down Expand Up @@ -904,7 +904,7 @@ cpdef bytes get_program_log(intptr_t prog):

.. seealso:: `nvrtcGetProgramLog`
"""
cdef size_t logSizeRet
cdef size_t logSizeRet = 0
with nogil:
__status__ = nvrtcGetProgramLogSize(<Program>prog, &logSizeRet)
check_status(__status__)
Expand Down Expand Up @@ -1046,7 +1046,7 @@ cpdef bytes get_tile_ir(intptr_t prog):

.. seealso:: `nvrtcGetTileIR`
"""
cdef size_t TileIRSizeRet
cdef size_t TileIRSizeRet = 0
with nogil:
__status__ = nvrtcGetTileIRSize(<Program>prog, &TileIRSizeRet)
check_status(__status__)
Expand Down
Loading