Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ repos:
rev: "3e8a8703264a2f4a69428a0aa4dcb512790b2c8c" # frozen: v6.0.0
hooks:
- id: check-added-large-files
exclude: cuda_bindings/cuda/bindings/nvml.pyx
exclude: cuda_bindings/cuda/bindings/(nvml|_v2/driver)\.pyx$
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ subpackage in the `cuda-python` monorepo.
- **Samples**: sample coverage is pytest-based under `../samples/cuda_bindings/`.
- **Benchmarks**: run with `pytest --benchmark-only benchmarks/` when needed.

The `legacy_tests` subdirectory tests the old pre-v2 APIs of `driver`, `runtime`
The `legacy_api` subdirectory tests the old pre-v2 APIs of `driver`, `runtime`
and `nvrtc`. These test files should not be added to, only updated when
necessary to fix test failures. The canonical set of tests are those outside of
the `legacy_tests` subdirectory.
the `legacy_api` subdirectory.

## Build and environment notes

Expand Down
721 changes: 721 additions & 0 deletions cuda_bindings/cuda/bindings/_v2/driver.pxd

Large diffs are not rendered by default.

43,748 changes: 43,748 additions & 0 deletions cuda_bindings/cuda/bindings/_v2/driver.pyx

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions cuda_bindings/cuda/bindings/_v2/nvrtc.pxd
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=5c7c24ae0ae5a6032e23f801fe9c3151a434eebd3b3429fbfd799985f87b184c
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=94a2cbbfd690b8a9ff436e4e424f67a8ab35631b4ed8790516952e3afbc94de3


# <<<< PREAMBLE CONTENT >>>>
Expand Down Expand Up @@ -39,10 +39,6 @@ ctypedef nvrtcResult _Result
cpdef intptr_t create_program(bytes src, name, headers=*, include_names=*) except? 0
cpdef compile_program(intptr_t prog, options=*)
cpdef set_flow_callback(intptr_t prog, intptr_t callback, intptr_t payload)
cpdef bytes get_lowered_name(intptr_t prog, bytes name_expression)
cpdef install_bundled_headers(bytes install_path, unsigned int flags)
cpdef tuple get_bundled_headers_info()
cpdef remove_bundled_headers(bytes install_path)

cpdef str get_error_string(int result)
cpdef tuple version()
Expand All @@ -60,9 +56,13 @@ cpdef bytes get_optix_ir(intptr_t prog)
cpdef size_t get_program_log_size(intptr_t prog) except? 0
cpdef bytes get_program_log(intptr_t prog)
cpdef add_name_expression(intptr_t prog, name_expression)
cpdef bytes get_lowered_name(intptr_t prog, name_expression)
cpdef size_t get_pch_heap_size() except? 0
cpdef set_pch_heap_size(size_t size)
cpdef int get_pch_create_status(intptr_t prog) except? -1
cpdef size_t get_pch_heap_size_required(intptr_t prog) except? 0
cpdef size_t get_tile_ir_size(intptr_t prog) except? 0
cpdef bytes get_tile_ir(intptr_t prog)
cpdef bytes install_bundled_headers(install_path, unsigned int flags)
cpdef tuple get_bundled_headers_info()
cpdef bytes remove_bundled_headers(install_path)
Loading
Loading