You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cuda_core/docs/source/release/0.2.0-notes.rst
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,22 @@ Highlights
9
9
----------
10
10
11
11
- 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.
14
13
15
14
Breaking Changes
16
15
----------------
17
16
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.
21
21
22
22
New features
23
23
------------
24
24
25
25
- 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.
0 commit comments