Skip to content

Commit 9787dfc

Browse files
author
cuda-python-bot
committed
Deploy latest docs: 7335c05
1 parent 4efafd1 commit 9787dfc

64 files changed

Lines changed: 1002 additions & 180 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/cuda-core/latest/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: a9e8b6eca4dbe239296e285913662e85
3+
config: a755223d44d2e705b8110e8c8efd8038
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/cuda-core/latest/_sources/release.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Release Notes
77
.. toctree::
88
:maxdepth: 3
99

10-
0.X.Y <release/0.X.Y-notes>
10+
0.4.0 <release/0.4.0-notes>
1111
0.3.2 <release/0.3.2-notes>
1212
0.3.1 <release/0.3.1-notes>
1313
0.3.0 <release/0.3.0-notes>
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
.. currentmodule:: cuda.core.experimental
5+
6+
``cuda.core`` 0.X.Y Release Notes
7+
=================================
8+
9+
Released on TBD
10+
11+
12+
Highlights
13+
----------
14+
15+
- This is the last release that officially supports Python 3.9.
16+
- Fix for :class:`LaunchConfig` grid parameter unit conversion when thread block clusters are used.
17+
18+
19+
Breaking Changes
20+
----------------
21+
22+
- CUDA 11 support dropped: CUDA 11 is no longer tested and it may or may not work with ``cuda.bindings`` and CTK 11.x. Users are encouraged to migrate to CUDA 12.x or 13.x.
23+
- Support for ``cuda-bindings`` (and ``cuda-python``) < 12.6.2 is dropped. Internally, ``cuda.core`` now always requires the `new binding module layout <https://nvidia.github.io/cuda-python/cuda-bindings/latest/release/12.6.1-notes.html#cuda-namespace-cleanup-with-a-new-module-layout>`_. As per the ``cuda-bindings`` `support policy <https://nvidia.github.io/cuda-python/cuda-bindings/latest/support.html>`_), CUDA 12 users are encouraged to use the latest ``cuda-bindings`` 12.9.x, which is backward-compatible with all CUDA Toolkit 12.y.
24+
- Change in :class:`LaunchConfig` grid parameter interpretation: When :attr:`LaunchConfig.cluster` is specified, the :attr:`LaunchConfig.grid` parameter now correctly represents the number of clusters instead of blocks. Previously, the grid parameter was incorrectly interpreted as blocks, causing a mismatch with the expected C++ behavior. This change ensures that ``LaunchConfig(grid=4, cluster=2, block=32)`` correctly produces 4 clusters × 2 blocks/cluster = 8 total blocks, matching the C++ equivalent ``cudax::make_hierarchy(cudax::grid_dims(4), cudax::cluster_dims(2), cudax::block_dims(32))``.
25+
- The :class:`Buffer` objects now deallocate on the stream that was used to allocate it, instead of on the default stream. We encourage users to overwrite the deallocation stream explicitly through the :meth:`~Buffer.close` method if desired. Establishing a proper stream order is the user responsibility.
26+
27+
28+
New features
29+
------------
30+
31+
- Added :attr:`Device.arch` property that returns the compute capability as a string (e.g., '75' for CC 7.5), providing a convenient alternative to manually concatenating the compute capability tuple.
32+
- CUDA 13.x testing support through new ``test-cu13`` dependency group.
33+
- Stream-ordered memory allocation can now be shared on Linux via :class:`DeviceMemoryResource`.
34+
- Added NVVM IR support to :class:`Program`. NVVM IR is now understood with ``code_type="nvvm"``.
35+
- Added an :attr:`ObjectCode.code_type` attribute for querying the code type.
36+
- Added :class:`VirtualMemoryResource` for low-level virtual memory management on Linux.
37+
38+
39+
New examples
40+
------------
41+
42+
None.
43+
44+
45+
Fixes and enhancements
46+
----------------------
47+
48+
- Improved :class:`DeviceMemoryResource` allocation performance when there are no active allocations by setting a higher release threshold (addresses issue #771).
49+
- Improved :class:`StridedMemoryView` creation time performance by optimizing shape and strides tuple creation using Python/C API (addresses issue #449).
50+
- Fix :class:`LaunchConfig` grid unit conversion when cluster is set (addresses issue #867).
51+
- Fixed a bug in :class:`GraphBuilder.add_child` where dependencies extracted from capturing stream were passed inconsistently with num_dependencies parameter (addresses issue #843).
52+
- Make :class:`Buffer` creation more performant.
53+
- Enabled :class:`MemoryResource` subclasses to accept :class:`Device` objects, in addition to previously supported device ordinals.
54+
- Fixed a bug in :class:`Stream` and other classes where object cleanup would error during interpreter shutdown.
55+
- :class:`StridedMemoryView` of an underlying array using the DLPack protocol will no longer leak memory.
56+
- General performance improvement.
57+
- Fixed incorrect index usage in vector_add example

docs/cuda-core/latest/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '0.3.3a0',
2+
VERSION: '0.4.0',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

docs/cuda-core/latest/api.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4343
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4444

45-
<script src="_static/documentation_options.js?v=5e23c587"></script>
45+
<script src="_static/documentation_options.js?v=6c02275b"></script>
4646
<script src="_static/doctools.js?v=9bcbadda"></script>
4747
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -51,7 +51,7 @@
5151
<script>
5252
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5353
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
54-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.3.3a0';
54+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.0';
5555
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5656
false;
5757
</script>
@@ -491,7 +491,7 @@
491491
</ul>
492492
<ul class="nav bd-sidenav">
493493
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
494-
<li class="toctree-l2"><a class="reference internal" href="release/0.X.Y-notes.html">0.X.Y</a></li>
494+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
495495
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>
496496
<li class="toctree-l2"><a class="reference internal" href="release/0.3.1-notes.html">0.3.1</a></li>
497497
<li class="toctree-l2"><a class="reference internal" href="release/0.3.0-notes.html">0.3.0</a></li>

docs/cuda-core/latest/api_private.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4343
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4444

45-
<script src="_static/documentation_options.js?v=5e23c587"></script>
45+
<script src="_static/documentation_options.js?v=6c02275b"></script>
4646
<script src="_static/doctools.js?v=9bcbadda"></script>
4747
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -51,7 +51,7 @@
5151
<script>
5252
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5353
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
54-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.3.3a0';
54+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.0';
5555
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5656
false;
5757
</script>
@@ -489,7 +489,7 @@
489489
</ul>
490490
<ul class="nav bd-sidenav">
491491
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
492-
<li class="toctree-l2"><a class="reference internal" href="release/0.X.Y-notes.html">0.X.Y</a></li>
492+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
493493
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>
494494
<li class="toctree-l2"><a class="reference internal" href="release/0.3.1-notes.html">0.3.1</a></li>
495495
<li class="toctree-l2"><a class="reference internal" href="release/0.3.0-notes.html">0.3.0</a></li>

docs/cuda-core/latest/conduct.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4343
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4444

45-
<script src="_static/documentation_options.js?v=5e23c587"></script>
45+
<script src="_static/documentation_options.js?v=6c02275b"></script>
4646
<script src="_static/doctools.js?v=9bcbadda"></script>
4747
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -51,7 +51,7 @@
5151
<script>
5252
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5353
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
54-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.3.3a0';
54+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.0';
5555
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5656
false;
5757
</script>
@@ -491,7 +491,7 @@
491491
</ul>
492492
<ul class="nav bd-sidenav">
493493
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
494-
<li class="toctree-l2"><a class="reference internal" href="release/0.X.Y-notes.html">0.X.Y</a></li>
494+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
495495
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>
496496
<li class="toctree-l2"><a class="reference internal" href="release/0.3.1-notes.html">0.3.1</a></li>
497497
<li class="toctree-l2"><a class="reference internal" href="release/0.3.0-notes.html">0.3.0</a></li>

docs/cuda-core/latest/contribute.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4343
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4444

45-
<script src="_static/documentation_options.js?v=5e23c587"></script>
45+
<script src="_static/documentation_options.js?v=6c02275b"></script>
4646
<script src="_static/doctools.js?v=9bcbadda"></script>
4747
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -51,7 +51,7 @@
5151
<script>
5252
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5353
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
54-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.3.3a0';
54+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.0';
5555
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5656
false;
5757
</script>
@@ -487,7 +487,7 @@
487487
</ul>
488488
<ul class="nav bd-sidenav">
489489
<li class="toctree-l1 has-children"><a class="reference internal" href="release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
490-
<li class="toctree-l2"><a class="reference internal" href="release/0.X.Y-notes.html">0.X.Y</a></li>
490+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
491491
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>
492492
<li class="toctree-l2"><a class="reference internal" href="release/0.3.1-notes.html">0.3.1</a></li>
493493
<li class="toctree-l2"><a class="reference internal" href="release/0.3.0-notes.html">0.3.0</a></li>

docs/cuda-core/latest/generated/cuda.core.experimental.Buffer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4343
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4444

45-
<script src="../_static/documentation_options.js?v=5e23c587"></script>
45+
<script src="../_static/documentation_options.js?v=6c02275b"></script>
4646
<script src="../_static/doctools.js?v=9bcbadda"></script>
4747
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -51,7 +51,7 @@
5151
<script>
5252
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5353
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
54-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.3.3a0';
54+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.0';
5555
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5656
false;
5757
</script>
@@ -491,7 +491,7 @@
491491
</ul>
492492
<ul class="nav bd-sidenav">
493493
<li class="toctree-l1 has-children"><a class="reference internal" href="../release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
494-
<li class="toctree-l2"><a class="reference internal" href="../release/0.X.Y-notes.html">0.X.Y</a></li>
494+
<li class="toctree-l2"><a class="reference internal" href="../release/0.4.0-notes.html">0.4.0</a></li>
495495
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.2-notes.html">0.3.2</a></li>
496496
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.1-notes.html">0.3.1</a></li>
497497
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.0-notes.html">0.3.0</a></li>

docs/cuda-core/latest/generated/cuda.core.experimental.Device.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4343
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4444

45-
<script src="../_static/documentation_options.js?v=5e23c587"></script>
45+
<script src="../_static/documentation_options.js?v=6c02275b"></script>
4646
<script src="../_static/doctools.js?v=9bcbadda"></script>
4747
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -51,7 +51,7 @@
5151
<script>
5252
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5353
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
54-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.3.3a0';
54+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.0';
5555
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5656
false;
5757
</script>
@@ -491,7 +491,7 @@
491491
</ul>
492492
<ul class="nav bd-sidenav">
493493
<li class="toctree-l1 has-children"><a class="reference internal" href="../release.html">Release Notes</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
494-
<li class="toctree-l2"><a class="reference internal" href="../release/0.X.Y-notes.html">0.X.Y</a></li>
494+
<li class="toctree-l2"><a class="reference internal" href="../release/0.4.0-notes.html">0.4.0</a></li>
495495
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.2-notes.html">0.3.2</a></li>
496496
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.1-notes.html">0.3.1</a></li>
497497
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.0-notes.html">0.3.0</a></li>

0 commit comments

Comments
 (0)