Skip to content

Commit c7d444c

Browse files
authored
[Backport] Refresh bindings (#1704)
* regenerate with latest cython-gen * regenerate with latest cybind * backport essential fix * manual backport #1616 * fix
1 parent 20c54cc commit c7d444c

53 files changed

Lines changed: 1962 additions & 1696 deletions

Some content is hidden

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

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ repos:
2020
hooks:
2121
- id: ruff
2222
args: [--fix, --show-fixes, --target-version=py39]
23+
exclude: ^cuda_bindings/cuda/bindings/_internal/_fast_enum\.py$
2324
- id: ruff-format
2425

2526
- repo: local

cuda_bindings/cuda/bindings/_bindings/cydriver.pxd.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
from cuda.bindings.cydriver cimport *
66

77
{{if 'cuGetErrorString' in found_functions}}

cuda_bindings/cuda/bindings/_bindings/cydriver.pyx.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
{{if 'Windows' == platform.system()}}
66
import os
77
cimport cuda.bindings._lib.windll as windll

cuda_bindings/cuda/bindings/_bindings/cynvrtc.pxd.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
from cuda.bindings.cynvrtc cimport *
66

77
{{if 'nvrtcGetErrorString' in found_functions}}

cuda_bindings/cuda/bindings/_bindings/cynvrtc.pyx.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
{{if 'Windows' == platform.system()}}
66
import os
77
cimport cuda.bindings._lib.windll as windll

cuda_bindings/cuda/bindings/_bindings/cyruntime.pxd.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
include "../cyruntime_types.pxi"
66

77
include "../_lib/cyruntime/cyruntime.pxd"

cuda_bindings/cuda/bindings/_bindings/cyruntime.pyx.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
include "../cyruntime_functions.pxi"
66

77
import os

cuda_bindings/cuda/bindings/_bindings/cyruntime_ptds.pxd.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
cdef extern from "":
66
"""
77
#define CUDA_API_PER_THREAD_DEFAULT_STREAM

cuda_bindings/cuda/bindings/_bindings/cyruntime_ptds.pyx.in

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 0d24f4f. Do not modify it directly.
4+
# This code was automatically generated with version 12.9.0, generator version 49a8141. Do not modify it directly.
55
cdef extern from "":
66
"""
77
#define CUDA_API_PER_THREAD_DEFAULT_STREAM

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. Do not modify it directly.
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.
66

77

88
"""

0 commit comments

Comments
 (0)