diff --git a/cuda_core/cuda/core/_version.py b/cuda_core/cuda/core/_version.py index 156337ac8..ef8461a36 100644 --- a/cuda_core/cuda/core/_version.py +++ b/cuda_core/cuda/core/_version.py @@ -2,4 +2,4 @@ # # SPDX-License-Identifier: Apache-2.0 -__version__ = "0.3.0" +__version__ = "0.3.1" diff --git a/cuda_core/cuda/core/experimental/__init__.py b/cuda_core/cuda/core/experimental/__init__.py index f83e0e223..3b0be1729 100644 --- a/cuda_core/cuda/core/experimental/__init__.py +++ b/cuda_core/cuda/core/experimental/__init__.py @@ -15,7 +15,7 @@ from cuda.core.experimental._launcher import launch from cuda.core.experimental._linker import Linker, LinkerOptions from cuda.core.experimental._memory import Buffer, DeviceMemoryResource, LegacyPinnedMemoryResource, MemoryResource -from cuda.core.experimental._module import ObjectCode +from cuda.core.experimental._module import Kernel, ObjectCode from cuda.core.experimental._program import Program, ProgramOptions from cuda.core.experimental._stream import Stream, StreamOptions from cuda.core.experimental._system import System diff --git a/cuda_core/docs/source/api.rst b/cuda_core/docs/source/api.rst index 01501c52f..e32b5686d 100644 --- a/cuda_core/docs/source/api.rst +++ b/cuda_core/docs/source/api.rst @@ -45,6 +45,7 @@ CUDA compilation toolchain Program Linker ObjectCode + Kernel :template: dataclass.rst diff --git a/cuda_core/docs/source/api_private.rst b/cuda_core/docs/source/api_private.rst index 8cc27c83a..e454940dc 100644 --- a/cuda_core/docs/source/api_private.rst +++ b/cuda_core/docs/source/api_private.rst @@ -15,10 +15,8 @@ CUDA runtime .. autosummary:: :toctree: generated/ - _stream.Stream _memory.PyCapsule _memory.DevicePointerT - _event.Event _device.DeviceProperties _module.KernelAttributes _module.KernelOccupancy @@ -26,15 +24,6 @@ CUDA runtime _module.MaxPotentialBlockSizeOccupancyResult -CUDA compilation toolchain --------------------------- - -.. autosummary:: - :toctree: generated/ - - _module.Kernel - - CUDA protocols -------------- diff --git a/cuda_core/docs/source/release.rst b/cuda_core/docs/source/release.rst index 3649b03a5..9cbaa5bbe 100644 --- a/cuda_core/docs/source/release.rst +++ b/cuda_core/docs/source/release.rst @@ -6,6 +6,7 @@ Release Notes .. toctree:: :maxdepth: 3 + release/0.3.1-notes release/0.3.0-notes release/0.2.0-notes release/0.1.1-notes diff --git a/cuda_core/docs/source/release/0.3.1-notes.rst b/cuda_core/docs/source/release/0.3.1-notes.rst new file mode 100644 index 000000000..7a1ed9a93 --- /dev/null +++ b/cuda_core/docs/source/release/0.3.1-notes.rst @@ -0,0 +1,44 @@ +.. SPDX-License-Identifier: Apache-2.0 + +.. currentmodule:: cuda.core.experimental + +``cuda.core`` 0.3.1 Release Notes +================================= + +Released on July 2, 2025 + + +Highlights +---------- + +- Add a :doc:`Getting Started ` page. +- :class:`Stream` and :class:`Event` creation and some operations are made faster. + + +Breaking Changes +---------------- + +None. + + +New features +------------ + +None. + + +New examples +------------ + +- Add a `CUDA graph `_ example. +- Add a `memory resource `_ example. + + +Fixes and enhancements +---------------------- + +- Fix installing optional dependencies ``cuda-core[cu11]`` and ``cuda-core[cu12]`` not including all needed packages. +- :class:`Buffer` allocated from a :class:`LegacyPinnedMemoryResource` can be passed as a kernel launch argument. +- Fix the handling for insufficient driver versions when querying :attr:`Kernel.num_arguments` and :attr:`Kernel.arguments_info`. +- Fix WSL detection in the test suite. +- Improve compatibility with newer driver versions. diff --git a/cuda_core/docs/versions.json b/cuda_core/docs/versions.json index 320f58217..c4485906b 100644 --- a/cuda_core/docs/versions.json +++ b/cuda_core/docs/versions.json @@ -1,5 +1,6 @@ { "latest" : "latest", + "0.3.1" : "0.3.1", "0.3.0" : "0.3.0", "0.2.0" : "0.2.0", "0.1.1" : "0.1.1",