Skip to content

Commit df3c661

Browse files
authored
Merge changes for cuda-bindings 13.1.0 release (#1315)
* automatic code-gen changes: driver, runtime, nvrtc * automatic code-gen changes: cufile, nvjitlink, nvvm * accumulated changes from QA testing period * cuda_pathfinder release notes and version * cuda_bindings release notes (without changing cuda_bindings/docs/versions.json, with 12.9.5 release notes) * ci/ changes: adds 19 test jobs (for a new total of 52 test jobs) * Add nvidia-cufftmp-cu13 in cuda_pathfinder/pyproject.toml
1 parent c860f3f commit df3c661

Some content is hidden

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

67 files changed

+4343
-470
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
cuda/_version.py export-subst
22

33
* text eol=lf
4+
*.cmd text eol=crlf
45

56
# we do not own any headers checked in, don't touch them
67
*.h binary
78
*.hpp binary
89
# git should not convert line endings in PNG files
910
*.png binary
11+
*.svg binary
1012
# SCM syntax highlighting & preventing 3-way merges
1113
pixi.lock merge=binary linguist-language=YAML linguist-generated=true

.spdx-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ cuda_bindings/examples/*
1111

1212
# Vendored
1313
cuda_core/cuda/core/experimental/include/dlpack.h
14+
15+
qa/ctk-next.drawio.svg

ci/test-matrix.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,41 +19,60 @@ linux:
1919
pull-request:
2020
- { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'v100', DRIVER: 'latest' }
2121
- { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'l4', DRIVER: 'latest' }
22+
- { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'l4', DRIVER: 'latest' }
2223
- { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'rtxpro6000', DRIVER: 'latest' }
2324
- { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
25+
- { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
2426
- { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
2527
- { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'l4', DRIVER: 'latest' }
28+
- { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'l4', DRIVER: 'latest' }
2629
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'v100', DRIVER: 'latest' }
2730
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'rtxpro6000', DRIVER: 'latest' }
31+
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'rtxpro6000', DRIVER: 'latest' }
2832
- { ARCH: 'amd64', PY_VER: '3.14', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
33+
- { ARCH: 'amd64', PY_VER: '3.14', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
2934
- { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
35+
- { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest' }
3036
- { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
3137
- { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest' }
38+
- { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest' }
3239
- { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest' }
3340
- { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
41+
- { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
3442
- { ARCH: 'arm64', PY_VER: '3.12', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
3543
- { ARCH: 'arm64', PY_VER: '3.12', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest' }
44+
- { ARCH: 'arm64', PY_VER: '3.12', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest' }
3645
- { ARCH: 'arm64', PY_VER: '3.13', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest' }
3746
- { ARCH: 'arm64', PY_VER: '3.13', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
47+
- { ARCH: 'arm64', PY_VER: '3.13', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
3848
- { ARCH: 'arm64', PY_VER: '3.14', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
49+
- { ARCH: 'arm64', PY_VER: '3.14', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
3950
- { ARCH: 'arm64', PY_VER: '3.14t', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
51+
- { ARCH: 'arm64', PY_VER: '3.14t', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest' }
4052
nightly: []
4153
special_runners:
4254
amd64:
4355
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'H100', DRIVER: 'latest' }
56+
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'H100', DRIVER: 'latest' }
4457

4558
windows:
4659
pull-request:
4760
- { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'rtx2080', DRIVER: 'latest', DRIVER_MODE: 'WDDM' }
4861
- { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'rtxpro6000', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
62+
- { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'rtxpro6000', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
4963
- { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'v100', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
5064
- { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'rtx4090', DRIVER: 'latest', DRIVER_MODE: 'WDDM' }
65+
- { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'rtx4090', DRIVER: 'latest', DRIVER_MODE: 'WDDM' }
5166
- { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'l4', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
5267
- { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
68+
- { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'a100', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
5369
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
5470
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'rtxpro6000', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
71+
- { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'rtxpro6000', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
5572
- { ARCH: 'amd64', PY_VER: '3.14', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'v100', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
5673
- { ARCH: 'amd64', PY_VER: '3.14', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
74+
- { ARCH: 'amd64', PY_VER: '3.14', CUDA_VER: '13.1.0', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
5775
- { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'l4', DRIVER: 'latest', DRIVER_MODE: 'TCC' }
5876
- { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
77+
- { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '13.1.0', LOCAL_CTK: '0', GPU: 'a100', DRIVER: 'latest', DRIVER_MODE: 'MCDM' }
5978
nightly: []

ci/versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
cuda:
55
build:
6-
version: "13.0.2"
6+
version: "13.1.0"
77
prev_build:
88
version: "12.9.1"

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

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

4-
# This code was automatically generated with version 13.0.0. Do not modify it directly.
4+
# This code was automatically generated with version 13.1.0. Do not modify it directly.
55
from cuda.bindings.cydriver cimport *
66

77
{{if 'cuGetErrorString' in found_functions}}
@@ -984,11 +984,21 @@ cdef CUresult _cuMulticastAddDevice(CUmemGenericAllocationHandle mcHandle, CUdev
984984
cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
985985
{{endif}}
986986

987+
{{if 'cuMulticastBindMem_v2' in found_functions}}
988+
989+
cdef CUresult _cuMulticastBindMem_v2(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
990+
{{endif}}
991+
987992
{{if 'cuMulticastBindAddr' in found_functions}}
988993

989994
cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
990995
{{endif}}
991996

997+
{{if 'cuMulticastBindAddr_v2' in found_functions}}
998+
999+
cdef CUresult _cuMulticastBindAddr_v2(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
1000+
{{endif}}
1001+
9921002
{{if 'cuMulticastUnbind' in found_functions}}
9931003

9941004
cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil
@@ -2161,7 +2171,7 @@ cdef CUresult _cuGreenCtxGetDevResource(CUgreenCtx hCtx, CUdevResource* resource
21612171

21622172
{{if 'cuDevSmResourceSplitByCount' in found_functions}}
21632173

2164-
cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remaining, unsigned int useFlags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil
2174+
cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remainder, unsigned int flags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil
21652175
{{endif}}
21662176

21672177
{{if 'cuDevResourceGenerateDesc' in found_functions}}

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

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

4-
# This code was automatically generated with version 13.0.0. Do not modify it directly.
4+
# This code was automatically generated with version 13.1.0. Do not modify it directly.
55
{{if 'Windows' == platform.system()}}
66
import os
77
cimport cuda.bindings._lib.windll as windll
@@ -212,7 +212,9 @@ cdef bint __cuPythonInit = False
212212
{{if 'cuMulticastCreate' in found_functions}}cdef void *__cuMulticastCreate = NULL{{endif}}
213213
{{if 'cuMulticastAddDevice' in found_functions}}cdef void *__cuMulticastAddDevice = NULL{{endif}}
214214
{{if 'cuMulticastBindMem' in found_functions}}cdef void *__cuMulticastBindMem = NULL{{endif}}
215+
{{if 'cuMulticastBindMem_v2' in found_functions}}cdef void *__cuMulticastBindMem_v2 = NULL{{endif}}
215216
{{if 'cuMulticastBindAddr' in found_functions}}cdef void *__cuMulticastBindAddr = NULL{{endif}}
217+
{{if 'cuMulticastBindAddr_v2' in found_functions}}cdef void *__cuMulticastBindAddr_v2 = NULL{{endif}}
216218
{{if 'cuMulticastUnbind' in found_functions}}cdef void *__cuMulticastUnbind = NULL{{endif}}
217219
{{if 'cuMulticastGetGranularity' in found_functions}}cdef void *__cuMulticastGetGranularity = NULL{{endif}}
218220
{{if 'cuPointerGetAttribute' in found_functions}}cdef void *__cuPointerGetAttribute = NULL{{endif}}
@@ -1832,10 +1834,18 @@ cdef int _cuPythonInit() except -1 nogil:
18321834
global __cuMulticastBindMem
18331835
_F_cuGetProcAddress_v2('cuMulticastBindMem', &__cuMulticastBindMem, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL)
18341836
{{endif}}
1837+
{{if 'cuMulticastBindMem_v2' in found_functions}}
1838+
global __cuMulticastBindMem_v2
1839+
_F_cuGetProcAddress_v2('cuMulticastBindMem', &__cuMulticastBindMem_v2, 13010, CU_GET_PROC_ADDRESS_DEFAULT, NULL)
1840+
{{endif}}
18351841
{{if 'cuMulticastBindAddr' in found_functions}}
18361842
global __cuMulticastBindAddr
18371843
_F_cuGetProcAddress_v2('cuMulticastBindAddr', &__cuMulticastBindAddr, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL)
18381844
{{endif}}
1845+
{{if 'cuMulticastBindAddr_v2' in found_functions}}
1846+
global __cuMulticastBindAddr_v2
1847+
_F_cuGetProcAddress_v2('cuMulticastBindAddr', &__cuMulticastBindAddr_v2, 13010, CU_GET_PROC_ADDRESS_DEFAULT, NULL)
1848+
{{endif}}
18391849
{{if 'cuMulticastUnbind' in found_functions}}
18401850
global __cuMulticastUnbind
18411851
_F_cuGetProcAddress_v2('cuMulticastUnbind', &__cuMulticastUnbind, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL)
@@ -4064,10 +4074,18 @@ cdef int _cuPythonInit() except -1 nogil:
40644074
global __cuMulticastBindMem
40654075
__cuMulticastBindMem = windll.GetProcAddress(handle, 'cuMulticastBindMem')
40664076
{{endif}}
4077+
{{if 'cuMulticastBindMem_v2' in found_functions}}
4078+
global __cuMulticastBindMem_v2
4079+
__cuMulticastBindMem_v2 = windll.GetProcAddress(handle, 'cuMulticastBindMem_v2')
4080+
{{endif}}
40674081
{{if 'cuMulticastBindAddr' in found_functions}}
40684082
global __cuMulticastBindAddr
40694083
__cuMulticastBindAddr = windll.GetProcAddress(handle, 'cuMulticastBindAddr')
40704084
{{endif}}
4085+
{{if 'cuMulticastBindAddr_v2' in found_functions}}
4086+
global __cuMulticastBindAddr_v2
4087+
__cuMulticastBindAddr_v2 = windll.GetProcAddress(handle, 'cuMulticastBindAddr_v2')
4088+
{{endif}}
40714089
{{if 'cuMulticastUnbind' in found_functions}}
40724090
global __cuMulticastUnbind
40734091
__cuMulticastUnbind = windll.GetProcAddress(handle, 'cuMulticastUnbind')
@@ -6293,10 +6311,18 @@ cdef int _cuPythonInit() except -1 nogil:
62936311
global __cuMulticastBindMem
62946312
__cuMulticastBindMem = dlfcn.dlsym(handle, 'cuMulticastBindMem')
62956313
{{endif}}
6314+
{{if 'cuMulticastBindMem_v2' in found_functions}}
6315+
global __cuMulticastBindMem_v2
6316+
__cuMulticastBindMem_v2 = dlfcn.dlsym(handle, 'cuMulticastBindMem_v2')
6317+
{{endif}}
62966318
{{if 'cuMulticastBindAddr' in found_functions}}
62976319
global __cuMulticastBindAddr
62986320
__cuMulticastBindAddr = dlfcn.dlsym(handle, 'cuMulticastBindAddr')
62996321
{{endif}}
6322+
{{if 'cuMulticastBindAddr_v2' in found_functions}}
6323+
global __cuMulticastBindAddr_v2
6324+
__cuMulticastBindAddr_v2 = dlfcn.dlsym(handle, 'cuMulticastBindAddr_v2')
6325+
{{endif}}
63006326
{{if 'cuMulticastUnbind' in found_functions}}
63016327
global __cuMulticastUnbind
63026328
__cuMulticastUnbind = dlfcn.dlsym(handle, 'cuMulticastUnbind')
@@ -9584,6 +9610,18 @@ cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t
95849610
return err
95859611
{{endif}}
95869612

9613+
{{if 'cuMulticastBindMem_v2' in found_functions}}
9614+
9615+
cdef CUresult _cuMulticastBindMem_v2(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil:
9616+
global __cuMulticastBindMem_v2
9617+
cuPythonInit()
9618+
if __cuMulticastBindMem_v2 == NULL:
9619+
with gil:
9620+
raise RuntimeError('Function "cuMulticastBindMem_v2" not found')
9621+
err = (<CUresult (*)(CUmemGenericAllocationHandle, CUdevice, size_t, CUmemGenericAllocationHandle, size_t, size_t, unsigned long long) except ?CUDA_ERROR_NOT_FOUND nogil> __cuMulticastBindMem_v2)(mcHandle, dev, mcOffset, memHandle, memOffset, size, flags)
9622+
return err
9623+
{{endif}}
9624+
95879625
{{if 'cuMulticastBindAddr' in found_functions}}
95889626

95899627
cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil:
@@ -9596,6 +9634,18 @@ cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t
95969634
return err
95979635
{{endif}}
95989636

9637+
{{if 'cuMulticastBindAddr_v2' in found_functions}}
9638+
9639+
cdef CUresult _cuMulticastBindAddr_v2(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil:
9640+
global __cuMulticastBindAddr_v2
9641+
cuPythonInit()
9642+
if __cuMulticastBindAddr_v2 == NULL:
9643+
with gil:
9644+
raise RuntimeError('Function "cuMulticastBindAddr_v2" not found')
9645+
err = (<CUresult (*)(CUmemGenericAllocationHandle, CUdevice, size_t, CUdeviceptr, size_t, unsigned long long) except ?CUDA_ERROR_NOT_FOUND nogil> __cuMulticastBindAddr_v2)(mcHandle, dev, mcOffset, memptr, size, flags)
9646+
return err
9647+
{{endif}}
9648+
95999649
{{if 'cuMulticastUnbind' in found_functions}}
96009650

96019651
cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil:
@@ -12406,13 +12456,13 @@ cdef CUresult _cuGreenCtxGetDevResource(CUgreenCtx hCtx, CUdevResource* resource
1240612456

1240712457
{{if 'cuDevSmResourceSplitByCount' in found_functions}}
1240812458

12409-
cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remaining, unsigned int useFlags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil:
12459+
cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remainder, unsigned int flags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil:
1241012460
global __cuDevSmResourceSplitByCount
1241112461
cuPythonInit()
1241212462
if __cuDevSmResourceSplitByCount == NULL:
1241312463
with gil:
1241412464
raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found')
12415-
err = (<CUresult (*)(CUdevResource*, unsigned int*, const CUdevResource*, CUdevResource*, unsigned int, unsigned int) except ?CUDA_ERROR_NOT_FOUND nogil> __cuDevSmResourceSplitByCount)(result, nbGroups, input, remaining, useFlags, minCount)
12465+
err = (<CUresult (*)(CUdevResource*, unsigned int*, const CUdevResource*, CUdevResource*, unsigned int, unsigned int) except ?CUDA_ERROR_NOT_FOUND nogil> __cuDevSmResourceSplitByCount)(result, nbGroups, input, remainder, flags, minCount)
1241612466
return err
1241712467
{{endif}}
1241812468

@@ -14254,13 +14304,27 @@ cpdef dict _inspect_function_pointers():
1425414304
data["__cuMulticastBindMem"] = <intptr_t>0
1425514305
{{endif}}
1425614306

14307+
{{if 'cuMulticastBindMem_v2' in found_functions}}
14308+
global __cuMulticastBindMem_v2
14309+
data["__cuMulticastBindMem_v2"] = <intptr_t>__cuMulticastBindMem_v2
14310+
{{else}}
14311+
data["__cuMulticastBindMem_v2"] = <intptr_t>0
14312+
{{endif}}
14313+
1425714314
{{if 'cuMulticastBindAddr' in found_functions}}
1425814315
global __cuMulticastBindAddr
1425914316
data["__cuMulticastBindAddr"] = <intptr_t>__cuMulticastBindAddr
1426014317
{{else}}
1426114318
data["__cuMulticastBindAddr"] = <intptr_t>0
1426214319
{{endif}}
1426314320

14321+
{{if 'cuMulticastBindAddr_v2' in found_functions}}
14322+
global __cuMulticastBindAddr_v2
14323+
data["__cuMulticastBindAddr_v2"] = <intptr_t>__cuMulticastBindAddr_v2
14324+
{{else}}
14325+
data["__cuMulticastBindAddr_v2"] = <intptr_t>0
14326+
{{endif}}
14327+
1426414328
{{if 'cuMulticastUnbind' in found_functions}}
1426514329
global __cuMulticastUnbind
1426614330
data["__cuMulticastUnbind"] = <intptr_t>__cuMulticastUnbind

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-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.0.0. Do not modify it directly.
4+
# This code was automatically generated with version 13.1.0. 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-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.0.0. Do not modify it directly.
4+
# This code was automatically generated with version 13.1.0. Do not modify it directly.
55
{{if 'Windows' == platform.system()}}
66
import os
77
cimport cuda.bindings._lib.windll as windll

0 commit comments

Comments
 (0)