-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
populate API references; clean up & polish docs
- Loading branch information
Showing
12 changed files
with
117 additions
and
32 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{{ fullname | escape | underline}} | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
|
||
{% block methods %} | ||
{% if methods %} | ||
.. rubric:: {{ _('Methods') }} | ||
|
||
{% for item in methods %} | ||
.. automethod:: {{ item }} | ||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block attributes %} | ||
{% if attributes %} | ||
.. rubric:: {{ _('Attributes') }} | ||
|
||
{% for item in attributes %} | ||
.. autoattribute:: {{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
10 changes: 10 additions & 0 deletions
10
cuda_core/docs/source/_templates/autosummary/dataclass.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{ fullname | escape | underline}} | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
|
||
{% block methods %} | ||
.. automethod:: __init__ | ||
{% endblock %} | ||
|
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,8 @@ | ||
{{ fullname | escape | underline}} | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
:members: __new__ | ||
:special-members: __new__ | ||
:exclude-members: count, index, __reduce__, __reduce_ex__, __repr__, __hash__, __str__, __getnewargs__ |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
:orphan: | ||
|
||
.. This page is to generate documentation for private classes exposed to users, | ||
i.e., users cannot instantiate it by themselves but may use it's properties | ||
or methods via returned values from public APIs. These classes must be referred | ||
in public APIs returning their instances. | ||
.. currentmodule:: cuda.core.experimental | ||
|
||
CUDA runtime | ||
------------ | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
_memory.Buffer | ||
_stream.Stream | ||
_event.Event | ||
|
||
|
||
CUDA compilation toolchain | ||
-------------------------- | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
_module.Kernel | ||
_module.ObjectCode |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
# ``cuda.core`` Release notes | ||
# `cuda.core` Release notes | ||
|
||
Released on Oct XX, 2024 | ||
Released on Nov XX, 2024 | ||
|
||
## Hightlights | ||
- Initial beta 1 release | ||
- Initial EA1 (early access) release | ||
- Supports all platforms that CUDA is supported | ||
- Supports all CUDA 12.x drivers | ||
- Supports all CUDA 12.x Toolkits | ||
- Supports all CUDA 11.x/12.x drivers | ||
- Supports all CUDA 11.x/12.x Toolkits | ||
- Pythonic CUDA runtime and other core functionalities | ||
|
||
## Limitations | ||
|
||
- Source code release only; Python packages coming in a future release | ||
- Support for CUDA 11.x coming in the next release | ||
- 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! | ||
- 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) |
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ dependencies: | |
- pytest | ||
- scipy | ||
- sphinx | ||
- sphinx-copybutton | ||
- pip: | ||
- furo | ||
- myst-nb | ||
|