-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #237 from NVIDIA/ksimpson/add_program_options
Add the options data class to program
- Loading branch information
Showing
19 changed files
with
574 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ CUDA compilation toolchain | |
|
||
:template: dataclass.rst | ||
|
||
ProgramOptions | ||
LinkerOptions | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Release Notes | ||
============= | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
release/0.2.0-notes | ||
release/0.1.1-notes | ||
release/0.1.0-notes |
14 changes: 9 additions & 5 deletions
14
cuda_core/docs/source/release/0.1.0-notes.md → ..._core/docs/source/release/0.1.0-notes.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
# `cuda.core` v0.1.0 Release notes | ||
``cuda.core`` 0.1.0 Release Notes | ||
================================= | ||
|
||
Released on Nov 8, 2024 | ||
|
||
## Hightlights | ||
Highlights | ||
---------- | ||
|
||
- Initial beta release | ||
- Supports all platforms that CUDA is supported | ||
- Supports all CUDA 11.x/12.x drivers | ||
- Supports all CUDA 11.x/12.x Toolkits | ||
- Pythonic CUDA runtime and other core functionalities | ||
|
||
## Limitations | ||
Limitations | ||
----------- | ||
|
||
- All APIs are currently *experimental* and subject to change without deprecation notice. | ||
Please kindly share your feedbacks with us so that we can make `cuda.core` better! | ||
Please kindly share your feedback with us so that we can make ``cuda.core`` better! | ||
- Source code release only; `pip`/`conda` support is coming in a future release | ||
- Windows TCC mode is [not yet supported](https://github.com/NVIDIA/cuda-python/issues/206) | ||
- Windows TCC mode is `not yet supported <https://github.com/NVIDIA/cuda-python/issues/206>`_ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.. currentmodule:: cuda.core.experimental | ||
|
||
``cuda.core`` 0.1.1 Release Notes | ||
================================= | ||
|
||
Released on Dec 20, 2024 | ||
|
||
Highlights | ||
---------- | ||
|
||
- Add :obj:`~utils.StridedMemoryView` and :func:`~utils.args_viewable_as_strided_memory` that provide a concrete | ||
implementation of DLPack & CUDA Array Interface supports. | ||
- Add :obj:`~Linker` that can link one or multiple :obj:`~_module.ObjectCode` instances generated by :obj:`~Program`. Under | ||
the hood, it uses either the nvJitLink or driver (``cuLink*``) APIs depending on the CUDA version | ||
detected in the current environment. | ||
- Support ``pip install cuda-core``. Please see the Installation Guide for further details. | ||
|
||
New features | ||
------------ | ||
|
||
- Add a :obj:`cuda.core.experiemental.system` module for querying system- or process-wide information. | ||
- Add :obj:`~LaunchConfig.cluster` to support thread block clusters on Hopper GPUs. | ||
|
||
Enhancements | ||
------------ | ||
|
||
- The internal handle held by :obj:`~_module.ObjectCode` is now lazily initialized upon first touch. | ||
- Support TCC devices with a default synchronous memory resource to avoid the use of memory pools. | ||
- Ensure ``"ltoir"`` is a valid code type to :obj:`~_module.ObjectCode`. | ||
- Document the ``__cuda_stream__`` protocol. | ||
- Improve test coverage & documentation cross-references. | ||
- Enforce code formatting. | ||
|
||
Bug fixes | ||
--------- | ||
|
||
- Eliminate potential class destruction issues. | ||
- Fix circular import during handling a foreign CUDA stream. | ||
|
||
Limitations | ||
----------- | ||
|
||
- All APIs are currently *experimental* and subject to change without deprecation notice. | ||
Please kindly share your feedback with us so that we can make ``cuda.core`` better! | ||
- Using ``cuda.core`` with NVRTC or nvJitLink installed from PyPI via `pip install` is currently | ||
not supported. This will be fixed in a future release. | ||
- Some :class:`~LinkerOptions` are only available when using a modern version of CUDA. When using CUDA <12, | ||
the backend is the cuLink API which supports only a subset of the options that nvjitlink does. | ||
Further, some options aren't available on CUDA versions <12.6. | ||
- To use ``cuda.core`` with Python 3.13, it currently requires building ``cuda-python`` from source | ||
prior to `pip install`. This extra step will be fixed soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
``cuda.core`` v0.2.0 Release notes | ||
================================== | ||
.. currentmodule:: cuda.core.experimental | ||
|
||
Breaking changes | ||
``cuda.core`` 0.2.0 Release Notes | ||
================================= | ||
|
||
Released on <TODO>, 2024 | ||
|
||
Highlights | ||
---------- | ||
|
||
- Add :class:`~ProgramOptions` to facilitate the passing of runtime compile options to :obj:`~Program`. | ||
|
||
Limitations | ||
----------- | ||
|
||
- <TODO> | ||
|
||
Breaking Changes | ||
---------------- | ||
|
||
- Change ``__cuda_stream__`` from attribute to method | ||
- Change ``__cuda_stream__`` from attribute to method | ||
- 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`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.