Skip to content

Commit 1476959

Browse files
leofangclaude
andcommitted
Restore generator version in headers, remove duplicate cynvrtc source entry
- Regenerate files with generator version in header comments - Remove explicit cynvrtc.pyx from sources_list (already covered by cuda_bindings_files glob) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 47712e0 commit 1476959

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

cuda_bindings/build_hooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ def _cleanup_dst_files():
421421
sources_list = [
422422
# private
423423
(["cuda/bindings/_bindings/cydriver.pyx", "cuda/bindings/_bindings/loader.cpp"], None),
424-
(["cuda/bindings/cynvrtc.pyx"], None),
424+
# cynvrtc.pyx is now in cuda/bindings/ (pre-generated by cybind),
425+
# picked up by the cuda_bindings_files glob below.
425426
(["cuda/bindings/_bindings/cyruntime.pyx"], static_runtime_libraries),
426427
(["cuda/bindings/_bindings/cyruntime_ptds.pyx"], static_runtime_libraries),
427428
# utils

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

77
from ..cynvrtc cimport *
88

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

77
from libc.stdint cimport uint32_t, uint64_t
88

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

77
from ._internal cimport nvrtc as _nvrtc
88

0 commit comments

Comments
 (0)