Skip to content

Commit 650e3ae

Browse files
committed
update release notes
1 parent 674cee7 commit 650e3ae

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

cuda_core/docs/source/release/0.2.0-notes.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,22 @@ Highlights
99
----------
1010

1111
- Add :class:`~ProgramOptions` to facilitate the passing of runtime compile options to :obj:`~Program`.
12-
- Add :class:`~DeviceProperties` to provide pythonic access to device properties.
13-
- Add kernel attributes to :class:`~Kernel`
12+
- Add pythonic access to :class:`Device` and :class:`~_module.Kernel` attributes.
1413

1514
Breaking Changes
1615
----------------
1716

18-
- Change ``__cuda_stream__`` from attribute to method
19-
- The :meth:`~Program.compile` method no longer accepts the `options` argument. Instead, you can optionally pass an instance of :class:`~ProgramOptions` to the constructor of :obj:`~Program`.
20-
- :meth:`~Device.properties` now provides an instance of :class:`~DeviceProperties` instead of a dictionary.
17+
- Change ``__cuda_stream__`` from attribute to method.
18+
- The :meth:`Program.compile` method no longer accepts the ``options`` argument. Instead, you can optionally pass an instance of :class:`ProgramOptions` to the constructor of :class:`Program`.
19+
- :meth:`Device.properties` now provides attribute getters instead of a dictionary interface.
20+
- The ``.handle`` attribute of various ``cuda.core`` objects now returns the underlying Python object instead of a (type-erased) Python integer.
2121

2222
New features
2323
------------
2424

2525
- Expose :class:`ObjectCode` as a public API, which allows loading cubins from memory or disk. For loading other kinds of code types, please continue using :class:`Program`.
26+
- A C++ helper function ``get_cuda_native_handle()`` is provided in the new ``include/utility.cuh`` header to retrive the underlying CUDA C objects (ex: ``CUstream``) from a Python object returned by the ``.handle`` attribute (ex: :attr:`Stream.handle`).
27+
- For objects such as :class:`Program` and :class:`Linker` that could dispatch to different backends, a new ``.backend`` attribute is provided to query this information.
2628

2729
Limitations
2830
-----------

0 commit comments

Comments
 (0)