Skip to content
Merged
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 .github/workflows/test-wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ jobs:

- name: Download cuda.bindings build artifacts
if: ${{ (env.TEST_BINDINGS == 'true' || env.TEST_CORE == 'true' || env.TEST_PYTHON == 'true') &&
env.BINDINGS_SOURCE == 'main' }}
(env.BINDINGS_SOURCE == 'main' || (env.BINDINGS_SOURCE == 'floor' && env.TEST_CORE == 'true')) }}
uses: $/.github/actions/download-artifact-retry
with:
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:

- name: Download cuda.bindings build artifacts
if: ${{ (env.TEST_BINDINGS == 'true' || env.TEST_CORE == 'true' || env.TEST_PYTHON == 'true') &&
env.BINDINGS_SOURCE == 'main' }}
(env.BINDINGS_SOURCE == 'main' || (env.BINDINGS_SOURCE == 'floor' && env.TEST_CORE == 'true')) }}
uses: $/.github/actions/download-artifact-retry
with:
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ __pycache__/

# CUDA Python specific
.cache/
.cython-stdlib
.cython-bindings
.cython-stdlib*
.cython-bindings*
.lycheecache
.lychee-rendered/
.pytest_cache/
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ repos:
rev: "3e8a8703264a2f4a69428a0aa4dcb512790b2c8c" # frozen: v6.0.0
hooks:
- id: check-added-large-files
exclude: '^(?:cuda_bindings_13/cuda/bindings/(?:nvml\.pyx|_v2/driver\.pyx)|cuda_bindings_12/cuda/bindings/(?:driver\.pyx|runtime\.pyx\.in|nvml\.pyx))$'
exclude: '^(?:cuda_bindings_13/cuda/bindings/(?:nvml\.pyx|_v2/driver\.pyx)|cuda_bindings_12/cuda/bindings/(?:driver\.pyx|runtime\.pyx\.in|nvml\.pyx)|qa/.*\.svg)$'
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
Expand Down
2 changes: 0 additions & 2 deletions .spdx-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,5 @@ cuda_core/third_party/**
# Generated by stubgen-pyx; regenerated on every commit so a header would be lost
cuda_core/cuda/**/*.pyi

qa/ctk-next.drawio.svg

# Third-party eMudhra disclosure data, kept byte-identical to the published files
ci/tools/runner_trust_probe_chains/**
78 changes: 39 additions & 39 deletions ci/test-matrix.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ci/tools/env-vars
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ elif [[ "${1}" == "test" ]]; then
echo "SKIP_CYTHON_TEST=${SKIP_CYTHON_TEST}"
echo "TEST_CUDA_MAJOR=${TEST_CUDA_MAJOR}"
echo "TEST_CUDA_MINOR=${TEST_CUDA_MINOR}"
echo "BUILD_CUDA_MAJOR=${BUILD_CUDA_MAJOR}"
echo "BUILD_CUDA_MINOR=${BUILD_CUDA_MINOR}"
} >> $GITHUB_ENV
fi

Expand Down
28 changes: 26 additions & 2 deletions ci/tools/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,24 @@ elif [[ "${test_module}" == "core" || "${test_module}" == nightly-* ]]; then
CORE_WHL_FOR_FLOOR=("${CUDA_CORE_ARTIFACTS_DIR}"/*.whl)
BINDINGS_FLOOR="$(python ci/tools/cuda_core_bindings_floor.py --wheel "${CORE_WHL_FOR_FLOOR[0]}" --major "${TEST_CUDA_MAJOR}")"
echo "cuda-bindings floor of ${CORE_WHL_FOR_FLOOR[0]##*/} for CUDA ${TEST_CUDA_MAJOR}: ${BINDINGS_FLOOR}"
BINDINGS_ARGS+=("cuda-bindings==${BINDINGS_FLOOR}")
BINDINGS_FLOOR_MINOR="$(cut -d '.' -f 2 <<< "${BINDINGS_FLOOR}")"
if [[ "${test_module}" == "core" && "${TEST_CUDA_MAJOR}" == "${BUILD_CUDA_MAJOR}" && "${BINDINGS_FLOOR_MINOR}" -lt "${BUILD_CUDA_MINOR}" ]]; then
# Every CTK minor bump (see "CUDA Toolkit minor bumps" in
# cuda_core/AGENTS.md) opens a window in which the floor's minor is below
# the minor the wheel was compiled against. No released cuda-bindings
# at the floor can pass cuda.core's header check then, because it was
# generated from older headers. Use the cuda-bindings built from this
# commit instead. The branch is taken exactly while that window is open
# and stops being taken once the floor is bumped to the new minor, so it
# needs no per-release edit or revert.
echo "Floor ${BINDINGS_FLOOR} predates CUDA ${BUILD_CUDA_MAJOR}.${BUILD_CUDA_MINOR} headers; using the just-built cuda-bindings wheel"
BINDINGS_ARGS=("${CUDA_BINDINGS_ARTIFACTS_DIR}"/*.whl)
if [[ "${LOCAL_CTK}" != 1 ]]; then
BINDINGS_ARGS=("${BINDINGS_ARGS[0]}[all]")
fi
else
BINDINGS_ARGS+=("cuda-bindings==${BINDINGS_FLOOR}")
fi
else
BINDINGS_ARGS=("${CUDA_BINDINGS_ARTIFACTS_DIR}"/*.whl)
if [[ "${LOCAL_CTK}" != 1 ]]; then
Expand Down Expand Up @@ -128,7 +145,14 @@ elif [[ "${test_module}" == "core" || "${test_module}" == nightly-* ]]; then
echo "Installing core wheel"
# Constrain cuda-toolkit to the requested CTK version to avoid
# pip pulling in a newer nvidia-cuda-runtime that conflicts with it.
pip install "${CORE_WHL[@]}" --group "test-cu${TEST_CUDA_MAJOR}" "${TEST_FT_GROUP[@]}" "cuda-toolkit==${TEST_CUDA_MAJOR_MINOR}.*"
# Skip the constraint for a local CTK of the build's own (newest) minor:
# its toolkit wheels may not be on PyPI yet, and the local CTK is what the
# job tests.
TOOLKIT_PIN=("cuda-toolkit==${TEST_CUDA_MAJOR_MINOR}.*")
if [[ "${LOCAL_CTK}" == 1 && "${TEST_CUDA_MAJOR}" == "${BUILD_CUDA_MAJOR}" && "${TEST_CUDA_MINOR}" == "${BUILD_CUDA_MINOR}" ]]; then
TOOLKIT_PIN=()
fi
pip install "${CORE_WHL[@]}" --group "test-cu${TEST_CUDA_MAJOR}" "${TEST_FT_GROUP[@]}" "${TOOLKIT_PIN[@]}"
# Optional deps needed by some cuda.core samples exercised in this suite.
# CuPy already comes from the
# test-cuXX group; install the rest best-effort so those samples run
Expand Down
2 changes: 1 addition & 1 deletion ci/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ backport_branch: "12.9.x" # keep in sync with target-branch in .github/dependab
# solely determined by git tags via setuptools_scm.
cuda:
build:
version: "13.4.2"
version: "13.5.0"
prev_build:
version: "12.9.1"

Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/cudla.pxd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# This code was automatically generated across versions from 1.5.0 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6866708da9b12dc99b597cd56196b66a1f2645198821b572326bb0858b5906d3
# This code was automatically generated across versions from 1.5.0 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=3e8adcab381ef60e6cce3139d67c8430f058bd1f9d5fedd28ab42f1897113bef


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/cudla_linux.pyx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# This code was automatically generated across versions from 1.5.0 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=c45f2cb738d8336a435dae2e5398dc561e360788ee832d40c684a2e17515ae47
# This code was automatically generated across versions from 1.5.0 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=e12046de9e30b8295fe41d5061cde9687a84c9bcca32bbf6ddbcfa565fc488b5


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/cudla_windows.pyx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# This code was automatically generated across versions from 1.5.0 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=23ad0c59749e78f838cc290fb24960736dbdaceca13f2c6544ba4e0732c23cde
# This code was automatically generated across versions from 1.5.0 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=9df535111c371b1a39c43b944cf9245be42211d5f06b80d888ea9c4596329edc


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/cufile.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.9.1 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=ce1a8b4cfbbc98d5a6e7975adbfa4e5be9f62da604eb3841691dc555b4b72e76
# This code was automatically generated across versions from 12.9.1 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=347bc7f339268072eb2793f855b89533857a7621fda9ae78e8f1b7565db93e50


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/cufile_linux.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.9.1 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=38e48c1ea5af3be92228b849ae38423ddcf662dc7c50d1bf8fea3e01a5b05f71
# This code was automatically generated across versions from 12.9.1 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f4d10643352df1fe4737e5da36a2aeea86a4b00a5d2b505fa84c95aa11539127


# <<<< PREAMBLE CONTENT >>>>
Expand Down
6 changes: 4 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/driver.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# 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.
# This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly.

# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b45f017467bf91c9ba21a48072bd362bdf84509c674379435823618c2aebc954
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=b75510aa3a8c1d924717dc5e1ba384fed5d52a78bc65533a767f7b92895e31ed
from ..cydriver cimport *


Expand Down Expand Up @@ -536,3 +536,5 @@ cdef CUresult _cuMemGetLocationInfo(CUdeviceptr ptr, size_t size, size_t summary
cdef CUresult _cuGraphAddNode_v3(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil
cdef CUresult _cuGraphNodeSetParams_v2(CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil
cdef CUresult _cuCheckpointOperationComplete(CUcheckpointOperationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil
cdef CUresult _cuFabricCpyBatchAsync(size_t numOps, CUDA_FABRIC_COPY_BATCH_OP* opList, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil
cdef CUresult _cuTensorMapSetAllocationClass(CUtensorMap* tensorMap, CUtensorMapAllocClass allocClass, CUtensorMapAllocClass* outAllocClass) except ?CUDA_ERROR_NOT_FOUND nogil
38 changes: 36 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/driver_linux.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# 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=cf88d68f5d0521e0872350a3e27b7c90b33d32c0d3d1211ae1aa746da98a588d
# This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=855d1d0530ab58f150ca5fb8b9ec43262cf0df681f507e2b53feeb6cf77c7c17


# <<<< PREAMBLE CONTENT >>>>
Expand Down Expand Up @@ -591,6 +591,8 @@ cdef void* __cuMemGetLocationInfo = NULL
cdef void* __cuGraphAddNode_v3 = NULL
cdef void* __cuGraphNodeSetParams_v2 = NULL
cdef void* __cuCheckpointOperationComplete = NULL
cdef void* __cuFabricCpyBatchAsync = NULL
cdef void* __cuTensorMapSetAllocationClass = NULL

cdef int _init_driver() except -1 nogil:
global _cyb___py_driver_init
Expand Down Expand Up @@ -2183,6 +2185,12 @@ cdef int _init_driver() except -1 nogil:
global __cuCheckpointOperationComplete
cuGetProcAddress_v2('cuCheckpointOperationComplete', <void **>&__cuCheckpointOperationComplete, 13041, ptds_mode, NULL)

global __cuFabricCpyBatchAsync
cuGetProcAddress_v2('cuFabricCpyBatchAsync', <void **>&__cuFabricCpyBatchAsync, 13050, ptds_mode, NULL)

global __cuTensorMapSetAllocationClass
cuGetProcAddress_v2('cuTensorMapSetAllocationClass', <void **>&__cuTensorMapSetAllocationClass, 13050, ptds_mode, NULL)

_cyb_atomic_int_store(<int *>&_cyb___py_driver_init, 1)
return 0

Expand Down Expand Up @@ -3771,6 +3779,12 @@ cpdef dict _inspect_function_pointers():

global __cuCheckpointOperationComplete
data["__cuCheckpointOperationComplete"] = <intptr_t>__cuCheckpointOperationComplete

global __cuFabricCpyBatchAsync
data["__cuFabricCpyBatchAsync"] = <intptr_t>__cuFabricCpyBatchAsync

global __cuTensorMapSetAllocationClass
data["__cuTensorMapSetAllocationClass"] = <intptr_t>__cuTensorMapSetAllocationClass
_cyb_func_ptrs = data
return data

Expand Down Expand Up @@ -9031,3 +9045,23 @@ cdef CUresult _cuCheckpointOperationComplete(CUcheckpointOperationHandle handle)
raise FunctionNotFoundError("function cuCheckpointOperationComplete is not found")
return (<CUresult (*)(CUcheckpointOperationHandle) noexcept nogil>__cuCheckpointOperationComplete)(
handle)


cdef CUresult _cuFabricCpyBatchAsync(size_t numOps, CUDA_FABRIC_COPY_BATCH_OP* opList, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil:
global __cuFabricCpyBatchAsync
_check_or_init_driver()
if __cuFabricCpyBatchAsync == NULL:
with gil:
raise FunctionNotFoundError("function cuFabricCpyBatchAsync is not found")
return (<CUresult (*)(size_t, CUDA_FABRIC_COPY_BATCH_OP*, unsigned long long, CUstream) noexcept nogil>__cuFabricCpyBatchAsync)(
numOps, opList, flags, hStream)


cdef CUresult _cuTensorMapSetAllocationClass(CUtensorMap* tensorMap, CUtensorMapAllocClass allocClass, CUtensorMapAllocClass* outAllocClass) except ?CUDA_ERROR_NOT_FOUND nogil:
global __cuTensorMapSetAllocationClass
_check_or_init_driver()
if __cuTensorMapSetAllocationClass == NULL:
with gil:
raise FunctionNotFoundError("function cuTensorMapSetAllocationClass is not found")
return (<CUresult (*)(CUtensorMap*, CUtensorMapAllocClass, CUtensorMapAllocClass*) noexcept nogil>__cuTensorMapSetAllocationClass)(
tensorMap, allocClass, outAllocClass)
38 changes: 36 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/driver_windows.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# 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=407fc621da7a0e722426cccfd66003e6769c32bc671f8ff28cf6fe979ed11b1a
# This code was automatically generated across versions from 12.9.0 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=265db3de415ec26f7b9cfd9961c846938d258ff2c840d500316a3fd24266d6ac


# <<<< PREAMBLE CONTENT >>>>
Expand Down Expand Up @@ -592,6 +592,8 @@ cdef void* __cuMemGetLocationInfo = NULL
cdef void* __cuGraphAddNode_v3 = NULL
cdef void* __cuGraphNodeSetParams_v2 = NULL
cdef void* __cuCheckpointOperationComplete = NULL
cdef void* __cuFabricCpyBatchAsync = NULL
cdef void* __cuTensorMapSetAllocationClass = NULL

cdef int _init_driver() except -1 nogil:
global _cyb___py_driver_init
Expand Down Expand Up @@ -2186,6 +2188,12 @@ cdef int _init_driver() except -1 nogil:
global __cuCheckpointOperationComplete
cuGetProcAddress_v2('cuCheckpointOperationComplete', <void **>&__cuCheckpointOperationComplete, 13041, ptds_mode, NULL)

global __cuFabricCpyBatchAsync
cuGetProcAddress_v2('cuFabricCpyBatchAsync', <void **>&__cuFabricCpyBatchAsync, 13050, ptds_mode, NULL)

global __cuTensorMapSetAllocationClass
cuGetProcAddress_v2('cuTensorMapSetAllocationClass', <void **>&__cuTensorMapSetAllocationClass, 13050, ptds_mode, NULL)

_cyb_atomic_int_store(<int *>&_cyb___py_driver_init, 1)
return 0

Expand Down Expand Up @@ -3774,6 +3782,12 @@ cpdef dict _inspect_function_pointers():

global __cuCheckpointOperationComplete
data["__cuCheckpointOperationComplete"] = <intptr_t>__cuCheckpointOperationComplete

global __cuFabricCpyBatchAsync
data["__cuFabricCpyBatchAsync"] = <intptr_t>__cuFabricCpyBatchAsync

global __cuTensorMapSetAllocationClass
data["__cuTensorMapSetAllocationClass"] = <intptr_t>__cuTensorMapSetAllocationClass
_cyb_func_ptrs = data
return data

Expand Down Expand Up @@ -9034,3 +9048,23 @@ cdef CUresult _cuCheckpointOperationComplete(CUcheckpointOperationHandle handle)
raise FunctionNotFoundError("function cuCheckpointOperationComplete is not found")
return (<CUresult (*)(CUcheckpointOperationHandle) noexcept nogil>__cuCheckpointOperationComplete)(
handle)


cdef CUresult _cuFabricCpyBatchAsync(size_t numOps, CUDA_FABRIC_COPY_BATCH_OP* opList, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil:
global __cuFabricCpyBatchAsync
_check_or_init_driver()
if __cuFabricCpyBatchAsync == NULL:
with gil:
raise FunctionNotFoundError("function cuFabricCpyBatchAsync is not found")
return (<CUresult (*)(size_t, CUDA_FABRIC_COPY_BATCH_OP*, unsigned long long, CUstream) noexcept nogil>__cuFabricCpyBatchAsync)(
numOps, opList, flags, hStream)


cdef CUresult _cuTensorMapSetAllocationClass(CUtensorMap* tensorMap, CUtensorMapAllocClass allocClass, CUtensorMapAllocClass* outAllocClass) except ?CUDA_ERROR_NOT_FOUND nogil:
global __cuTensorMapSetAllocationClass
_check_or_init_driver()
if __cuTensorMapSetAllocationClass == NULL:
with gil:
raise FunctionNotFoundError("function cuTensorMapSetAllocationClass is not found")
return (<CUresult (*)(CUtensorMap*, CUtensorMapAllocClass, CUtensorMapAllocClass*) noexcept nogil>__cuTensorMapSetAllocationClass)(
tensorMap, allocClass, outAllocClass)
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/nvfatbin.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.4.1 to 13.4.1. Do not modify it directly.
# This code was automatically generated across versions from 12.4.1 to 13.5.0. Do not modify it directly.

# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=4fc8b05be8a1a25737a1940a53339f6af3b7a1d4e513558109aaac48b3222681
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6482cce4e5ac4f530981d0513725b111e20a99ad35dbac62337dec3c22b761b1
from ..cynvfatbin cimport *


Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/nvfatbin_linux.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.4.1 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=4bf2730251b3d81162f91091cba3d7fbb1d95f8a7e5b74f5957c39ac47d22eff
# This code was automatically generated across versions from 12.4.1 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=ee7ad44436c6350374b5c52db31ca66c2bb4d83577f805457127b51edb8d1d6b


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/nvfatbin_windows.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.4.1 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=a3224a93fd799648bec24b3ed8b1e81c8eeff581fef9060f812e8d299c853a26
# This code was automatically generated across versions from 12.4.1 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=6156b0629deca180ced793acd420ff65b545a87ae0c537f32d526a9302ff735f


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/nvjitlink.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.0.1 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=f54caf5830f0b76772ca6e06487bc94eef354c725f6e6f3c908b993860ba6787
# This code was automatically generated across versions from 12.0.1 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=5727cd3d94207ce979d0fdb5a412f021ef2755d4e91b38ff2f6e6d5d646afb22


# <<<< PREAMBLE CONTENT >>>>
Expand Down
4 changes: 2 additions & 2 deletions cuda_bindings_13/cuda/bindings/_internal/nvjitlink_linux.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# This code was automatically generated across versions from 12.0.1 to 13.4.1. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=dba1e396a2c0ab32045c04616c33ee9d515633a0ef0271726c7039783988d5e8
# This code was automatically generated across versions from 12.0.1 to 13.5.0. Do not modify it directly.
# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=2431782fe8a19bbf3a3b31a80cf2a59526361ea4c3961f17c635000bdba5a1b7


# <<<< PREAMBLE CONTENT >>>>
Expand Down
Loading
Loading