Skip to content

Commit 930e77b

Browse files
authored
Merge pull request #217 from vzhurba01/patch-12.6.2
Patch 12.6.2
2 parents 5a27683 + f35b3bd commit 930e77b

28 files changed

+129
-24
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ cuda_bindings/cuda/bindings/_bindings/cydriver.pxd
1919
cuda_bindings/cuda/bindings/_bindings/cydriver.pyx
2020
cuda_bindings/cuda/bindings/_bindings/cynvrtc.pxd
2121
cuda_bindings/cuda/bindings/_bindings/cynvrtc.pyx
22+
cuda_bindings/cuda/bindings/_internal/nvjitlink.pyx
2223
cuda_bindings/cuda/bindings/_lib/cyruntime/cyruntime.pxd
2324
cuda_bindings/cuda/bindings/_lib/cyruntime/cyruntime.pyx
2425
cuda_bindings/cuda/bindings/_lib/cyruntime/utils.pxd

cuda_bindings/cuda/ccuda.pyx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ cdef extern from *:
55
#pragma message ( "The cuda.ccuda module is deprecated and will be removed in a future release, " \
66
"please switch to use the cuda.bindings.cydriver module instead." )
77
"""
8+
9+
10+
from cuda.bindings import cydriver
11+
__pyx_capi__ = cydriver.__pyx_capi__
12+
del cydriver

cuda_bindings/cuda/ccudart.pyx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ cdef extern from *:
55
#pragma message ( "The cuda.ccudart module is deprecated and will be removed in a future release, " \
66
"please switch to use the cuda.bindings.cyruntime module instead." )
77
"""
8+
9+
10+
from cuda.bindings import cyruntime
11+
__pyx_capi__ = cyruntime.__pyx_capi__
12+
del cyruntime

cuda_bindings/cuda/cnvrtc.pyx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ cdef extern from *:
55
#pragma message ( "The cuda.cnvrtc module is deprecated and will be removed in a future release, " \
66
"please switch to use the cuda.bindings.cynvrtc module instead." )
77
"""
8+
9+
10+
from cuda.bindings import cynvrtc
11+
__pyx_capi__ = cynvrtc.__pyx_capi__
12+
del cynvrtc

cuda_bindings/docs/source/release.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
maxdepth: 3
66
---
77
8+
12.6.2 <release/12.6.2-notes>
89
12.6.1 <release/12.6.1-notes>
910
12.6.0 <release/12.6.0-notes>
1011
12.5.0 <release/12.5.0-notes>
@@ -14,6 +15,7 @@ maxdepth: 3
1415
12.2.0 <release/12.2.0-notes>
1516
12.1.0 <release/12.1.0-notes>
1617
12.0.0 <release/12.0.0-notes>
18+
11.8.5 <release/11.8.5-notes>
1719
11.8.4 <release/11.8.4-notes>
1820
11.8.3 <release/11.8.3-notes>
1921
11.8.2 <release/11.8.2-notes>

cuda_bindings/docs/source/release/11.4.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on August 16, 2021
44

5-
## Hightlights
5+
## Highlights
66
- Initial EA release for CUDA Python
77
- Supports all platforms that CUDA is supported
88
- Supports all CUDA 11.x releases

cuda_bindings/docs/source/release/11.5.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on October 18, 2021
44

5-
## Hightlights
5+
## Highlights
66
- PyPi support
77
- Conda support
88
- GA release for CUDA Python

cuda_bindings/docs/source/release/11.6.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on Januray 12, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Support CUDA Toolkit 11.6
77
- Support Profiler APIs
88
- Support Graphic APIs (EGL, GL, VDPAU)

cuda_bindings/docs/source/release/11.6.1-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on March 18, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Fix string decomposition for WSL library load
77

88
## Limitations

cuda_bindings/docs/source/release/11.7.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on May 11, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Support CUDA Toolkit 11.7
77

88
## Limitations

cuda_bindings/docs/source/release/11.7.1-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on June 29, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Fix error propagation in CUDA Runtime bindings
77
- Resolves [issue #22](https://github.com/NVIDIA/cuda-python/issues/22)
88

cuda_bindings/docs/source/release/11.8.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on October 3, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Support CUDA Toolkit 11.8
77
- Source builds allow for missing types and APIs
88
- Resolves source builds for mobile platforms

cuda_bindings/docs/source/release/11.8.1-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on November 4, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Resolves [issue #27](https://github.com/NVIDIA/cuda-python/issues/27)
77
- Update install instructions to use latest CTK
88

cuda_bindings/docs/source/release/11.8.2-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on May 18, 2023
44

5-
## Hightlights
5+
## Highlights
66
- Open libcuda.so.1 instead of libcuda.so
77

88
## Limitations

cuda_bindings/docs/source/release/11.8.3-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on October 23, 2023
44

5-
## Hightlights
5+
## Highlights
66
- Compatability with Cython 3
77
- New API cudart.getLocalRuntimeVersion()
88
- Modernize build config

cuda_bindings/docs/source/release/11.8.4-notes.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,34 @@
22

33
Released on October 7, 2024
44

5-
## Hightlights
5+
## Highlights
66
- Resolve [Issue #89](https://github.com/NVIDIA/cuda-python/issues/89): Fix getLocalRuntimeVersion searching for wrong libcudart version
77
- Resolve [Issue #90](https://github.com/NVIDIA/cuda-python/issues/90): Use new layout in preperation for cuda-python becoming a metapackage
88

9+
## CUDA namespace cleanup with a new module layout
10+
11+
[Issue #75](https://github.com/NVIDIA/cuda-python/issues/75) explains in detail what the new module layout is, what problem it fixes and how it impacts the users. However for the sake of completeness, this release notes will highlight key points of this change.
12+
13+
Before this change, `cuda-python` was tightly coupled to CUDA Toolkit releases and all new features would inherit this coupling regardless of their applicability. As we develop new features, this coupling was becoming overly restrictive and motivated a new solution: Convert `cuda-python` into a metapackage where we use `cuda` as a namespace with existing bindings code moved to a `cuda_bindings` subpackage.
14+
15+
This patch release applies the new module layout for the bindings as follows:
16+
- `cuda.cuda` -> `cuda.bindings.driver`
17+
- `cuda.ccuda` -> `cuda.bindings.cydriver`
18+
- `cuda.cudart` -> `cuda.bindings.runtime`
19+
- `cuda.ccudart` -> `cuda.bindings.cyruntime`
20+
- `cuda.nvrtc` -> `cuda.bindings.nvrtc`
21+
- `cuda.cnvrtc` -> `cuda.bindings.cynvrtc`
22+
23+
Deprecation warnings are turned on as a notice to switch to the new module layout.
24+
25+
```{note} This is non-breaking, backwards compatible change. All old module path will continue work as they "forward" user calls towards the new layout.
26+
```
27+
928
## Limitations
1029

30+
### Know issues
31+
- [Issue #215](https://github.com/NVIDIA/cuda-python/issues/215)
32+
1133
### CUDA Functions Not Supported in this Release
1234

1335
- Symbol APIs
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CUDA Python 11.8.5 Release notes
2+
3+
Released on November 5, 2024
4+
5+
## Highlights
6+
- Resolve [Issue #215](https://github.com/NVIDIA/cuda-python/issues/215): module 'cuda.ccudart' has no attribute '__pyx_capi__'
7+
8+
## Limitations
9+
10+
### CUDA Functions Not Supported in this Release
11+
12+
- Symbol APIs
13+
- cudaGraphExecMemcpyNodeSetParamsFromSymbol
14+
- cudaGraphExecMemcpyNodeSetParamsToSymbol
15+
- cudaGraphAddMemcpyNodeToSymbol
16+
- cudaGraphAddMemcpyNodeFromSymbol
17+
- cudaGraphMemcpyNodeSetParamsToSymbol
18+
- cudaGraphMemcpyNodeSetParamsFromSymbol
19+
- cudaMemcpyToSymbol
20+
- cudaMemcpyFromSymbol
21+
- cudaMemcpyToSymbolAsync
22+
- cudaMemcpyFromSymbolAsync
23+
- cudaGetSymbolAddress
24+
- cudaGetSymbolSize
25+
- cudaGetFuncBySymbol
26+
- Launch Options
27+
- cudaLaunchKernel
28+
- cudaLaunchCooperativeKernel
29+
- cudaLaunchCooperativeKernelMultiDevice
30+
- cudaSetValidDevices
31+
- cudaVDPAUSetVDPAUDevice

cuda_bindings/docs/source/release/12.0.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on December 8, 2022
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.0
77
- Fix example from [MR28](https://github.com/NVIDIA/cuda-python/pull/28)
88
- Apply [MR35](https://github.com/NVIDIA/cuda-python/pull/35)

cuda_bindings/docs/source/release/12.1.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on February 28, 2023
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.1
77
- Resolve [Issue #41](https://github.com/NVIDIA/cuda-python/issues/41): Add support for Python 3.11
88
- Resolve [Issue #42](https://github.com/NVIDIA/cuda-python/issues/42): Dropping Python 3.7

cuda_bindings/docs/source/release/12.2.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on June 28, 2023
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.2
77
- Resolve [Issue #44](https://github.com/NVIDIA/cuda-python/issues/44): nogil must be at the end of the function signature line
88
- Resolve [Issue #45](https://github.com/NVIDIA/cuda-python/issues/45): Error with pyparsing when no CUDA is found

cuda_bindings/docs/source/release/12.2.1-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on January 8, 2024
44

5-
## Hightlights
5+
## Highlights
66
- Compatibility with Cython 3
77

88
## Limitations

cuda_bindings/docs/source/release/12.3.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on October 19, 2023
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.3
77
- Resolve [Issue #16](https://github.com/NVIDIA/cuda-python/issues/16): cuda.cudart.cudaRuntimeGetVersion() hard-codes the runtime version, rather than querying the runtime
88
- New API cudart.getLocalRuntimeVersion()

cuda_bindings/docs/source/release/12.4.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on March 5, 2024
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.4
77
- Add PyPI/Conda support for Python 12
88

cuda_bindings/docs/source/release/12.5.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on May 21, 2024
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.5
77
- Resolve [Issue #58](https://github.com/NVIDIA/cuda-python/issues/58): Interop between CUdeviceptr and Runtime
88

cuda_bindings/docs/source/release/12.6.0-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on August 1, 2024
44

5-
## Hightlights
5+
## Highlights
66
- Rebase to CUDA Toolkit 12.6
77
- Resolve [Issue #32](https://github.com/NVIDIA/cuda-python/issues/32): Add 'pywin32' as Windows requirement
88
- Resolve [Issue #72](https://github.com/NVIDIA/cuda-python/issues/72): Allow both lists and tuples as parameter

cuda_bindings/docs/source/release/12.6.1-notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Released on October 7, 2024
44

5-
## Hightlights
5+
## Highlights
66
- Resolve [Issue #90](https://github.com/NVIDIA/cuda-python/issues/90): Use new layout in preparation for cuda-python becoming a metapackage
77
- Resolve [Issue #75](https://github.com/NVIDIA/cuda-python/issues/75): CUDA namespace cleanup
88

@@ -27,6 +27,9 @@ Deprecation warnings are turned on as a notice to switch to the new module layou
2727

2828
## Limitations
2929

30+
### Know issues
31+
- [Issue #215](https://github.com/NVIDIA/cuda-python/issues/215)
32+
3033
### CUDA Functions Not Supported in this Release
3134

3235
- Symbol APIs
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# CUDA Python 12.6.2 Release notes
2+
3+
Released on November 5, 2024
4+
5+
## Highlights
6+
- Resolve [Issue #215](https://github.com/NVIDIA/cuda-python/issues/215): module 'cuda.ccudart' has no attribute '__pyx_capi__'
7+
8+
## Limitations
9+
10+
### CUDA Functions Not Supported in this Release
11+
12+
- Symbol APIs
13+
- cudaGraphExecMemcpyNodeSetParamsFromSymbol
14+
- cudaGraphExecMemcpyNodeSetParamsToSymbol
15+
- cudaGraphAddMemcpyNodeToSymbol
16+
- cudaGraphAddMemcpyNodeFromSymbol
17+
- cudaGraphMemcpyNodeSetParamsToSymbol
18+
- cudaGraphMemcpyNodeSetParamsFromSymbol
19+
- cudaMemcpyToSymbol
20+
- cudaMemcpyFromSymbol
21+
- cudaMemcpyToSymbolAsync
22+
- cudaMemcpyFromSymbolAsync
23+
- cudaGetSymbolAddress
24+
- cudaGetSymbolSize
25+
- cudaGetFuncBySymbol
26+
- Launch Options
27+
- cudaLaunchKernel
28+
- cudaLaunchCooperativeKernel
29+
- cudaLaunchCooperativeKernelMultiDevice
30+
- cudaSetValidDevices
31+
- cudaVDPAUSetVDPAUDevice
32+
- cudaFuncGetName
33+
- cudaFuncGetParamInfo

cuda_bindings/setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ def do_cythonize(extensions):
269269
["cuda/bindings/*.pyx"],
270270
# public (deprecated, to be removed)
271271
["cuda/*.pyx"],
272-
# tests
273-
["tests/*.pyx"],
274272
# interal files used by generated bindings
275273
['cuda/bindings/_internal/nvjitlink.pyx'],
276274
['cuda/bindings/_internal/utils.pyx'],
@@ -304,9 +302,9 @@ def finalize_options(self):
304302
setup(
305303
version=versioneer.get_version(),
306304
ext_modules=do_cythonize(extensions),
307-
packages=find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings._internal", "tests"]),
305+
packages=find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
308306
package_data=dict.fromkeys(
309-
find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings._internal", "tests"]),
307+
find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
310308
["*.pxd", "*.pyx", "*.py", "*.h", "*.cpp"],
311309
),
312310
cmdclass=cmdclass,

0 commit comments

Comments
 (0)