Skip to content

Commit a8550cf

Browse files
rwgkleofang
andauthored
Update docs for v0.3.1 release (#695)
* move public types out of api_private.rst * bump version * add release note * fix typo --------- Co-authored-by: Leo Fang <[email protected]>
1 parent 7ccf852 commit a8550cf

File tree

7 files changed

+49
-13
lines changed

7 files changed

+49
-13
lines changed

cuda_core/cuda/core/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
__version__ = "0.3.0"
5+
__version__ = "0.3.1"

cuda_core/cuda/core/experimental/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from cuda.core.experimental._launcher import launch
1616
from cuda.core.experimental._linker import Linker, LinkerOptions
1717
from cuda.core.experimental._memory import Buffer, DeviceMemoryResource, LegacyPinnedMemoryResource, MemoryResource
18-
from cuda.core.experimental._module import ObjectCode
18+
from cuda.core.experimental._module import Kernel, ObjectCode
1919
from cuda.core.experimental._program import Program, ProgramOptions
2020
from cuda.core.experimental._stream import Stream, StreamOptions
2121
from cuda.core.experimental._system import System

cuda_core/docs/source/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ CUDA compilation toolchain
4545
Program
4646
Linker
4747
ObjectCode
48+
Kernel
4849

4950
:template: dataclass.rst
5051

cuda_core/docs/source/api_private.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,15 @@ CUDA runtime
1515
.. autosummary::
1616
:toctree: generated/
1717

18-
_stream.Stream
1918
_memory.PyCapsule
2019
_memory.DevicePointerT
21-
_event.Event
2220
_device.DeviceProperties
2321
_module.KernelAttributes
2422
_module.KernelOccupancy
2523
_module.ParamInfo
2624
_module.MaxPotentialBlockSizeOccupancyResult
2725

2826

29-
CUDA compilation toolchain
30-
--------------------------
31-
32-
.. autosummary::
33-
:toctree: generated/
34-
35-
_module.Kernel
36-
37-
3827
CUDA protocols
3928
--------------
4029

cuda_core/docs/source/release.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release Notes
66
.. toctree::
77
:maxdepth: 3
88

9+
release/0.3.1-notes
910
release/0.3.0-notes
1011
release/0.2.0-notes
1112
release/0.1.1-notes
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.. SPDX-License-Identifier: Apache-2.0
2+
3+
.. currentmodule:: cuda.core.experimental
4+
5+
``cuda.core`` 0.3.1 Release Notes
6+
=================================
7+
8+
Released on July 2, 2025
9+
10+
11+
Highlights
12+
----------
13+
14+
- Add a :doc:`Getting Started <getting-started>` page.
15+
- :class:`Stream` and :class:`Event` creation and some operations are made faster.
16+
17+
18+
Breaking Changes
19+
----------------
20+
21+
None.
22+
23+
24+
New features
25+
------------
26+
27+
None.
28+
29+
30+
New examples
31+
------------
32+
33+
- Add a `CUDA graph <https://github.com/NVIDIA/cuda-python/blob/main/cuda_core/examples/cuda_graphs.py>`_ example.
34+
- Add a `memory resource <https://github.com/NVIDIA/cuda-python/blob/main/cuda_core/examples/memory_ops.py>`_ example.
35+
36+
37+
Fixes and enhancements
38+
----------------------
39+
40+
- Fix installing optional dependencies ``cuda-core[cu11]`` and ``cuda-core[cu12]`` not including all needed packages.
41+
- :class:`Buffer` allocated from a :class:`LegacyPinnedMemoryResource` can be passed as a kernel launch argument.
42+
- Fix the handling for insufficient driver versions when querying :attr:`Kernel.num_arguments` and :attr:`Kernel.arguments_info`.
43+
- Fix WSL detection in the test suite.
44+
- Improve compatibility with newer driver versions.

cuda_core/docs/versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"latest" : "latest",
3+
"0.3.1" : "0.3.1",
34
"0.3.0" : "0.3.0",
45
"0.2.0" : "0.2.0",
56
"0.1.1" : "0.1.1",

0 commit comments

Comments
 (0)