Skip to content

Commit 433841e

Browse files
committed
Correctly set CUDA_VERSION
1 parent 170a767 commit 433841e

7 files changed

Lines changed: 200 additions & 84 deletions

File tree

cuda_bindings/cuda/bindings/cydriver.pxd

Lines changed: 2 additions & 6 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 with version 12.9.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.
5+
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1602+g3c8d84404. Do not modify it directly.
66

77
from libc.stdint cimport uint32_t, uint64_t
88

@@ -1434,6 +1434,7 @@ ctypedef enum CUoutput_mode_enum "CUoutput_mode_enum":
14341434
CU_OUT_CSV "CU_OUT_CSV" = 0x01
14351435
ctypedef CUoutput_mode_enum CUoutput_mode "CUoutput_mode"
14361436
cdef enum: _CURESULT_INTERNAL_LOADING_ERROR = CUresult.CUDA_ERROR_NOT_FOUND
1437+
cdef enum: CUDA_VERSION = 12090
14371438

14381439

14391440
# TYPES
@@ -3326,13 +3327,8 @@ cdef CUresult cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource* pCudaResou
33263327
cdef CUresult cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil
33273328

33283329

3329-
# cdef extern from "cuda.h":
3330-
# ctypedef CUdevSmResourceSplit_flags CUdevSmResourceSplitByCount_flags
3331-
33323330
# TODO: Extract these defines somehow?
33333331

3334-
cdef enum: CUDA_VERSION = 13020
3335-
33363332
cdef enum: CU_IPC_HANDLE_SIZE = 64
33373333

33383334
cdef enum: CU_STREAM_LEGACY = 1

cuda_bindings/cuda/bindings/cynvrtc.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.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.
5+
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1602+g3c8d84404. Do not modify it directly.
66

77
from libc.stdint cimport uint32_t, uint64_t
88

cuda_bindings/cuda/bindings/driver.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1602+g3c8d84404. Do not modify it directly.
55
cimport cuda.bindings.cydriver as cydriver
66

77
include "_lib/utils.pxd"

cuda_bindings/cuda/bindings/driver.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1602+g3c8d84404. Do not modify it directly.
55
from typing import Any, Optional
66
import cython
77
import ctypes

cuda_bindings/cuda/bindings/nvrtc.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1602+g3c8d84404. Do not modify it directly.
55
cimport cuda.bindings.cynvrtc as cynvrtc
66

77
include "_lib/utils.pxd"

cuda_bindings/cuda/bindings/nvrtc.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1752+g89e531539. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 0.3.1.dev1602+g3c8d84404. Do not modify it directly.
55
from typing import Any, Optional
66
import cython
77
import ctypes

0 commit comments

Comments
 (0)