Skip to content

Commit 80037d2

Browse files
author
cuda-python-bot
committed
Deploy doc preview for PR 1235 (7042437)
1 parent ff0302f commit 80037d2

File tree

63 files changed

+357
-175
lines changed

Some content is hidden

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

63 files changed

+357
-175
lines changed
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: 4e0e873db8fdc769dbdb29b3757574a5
3+
config: d594032ddf32329cf0fd8b5cabebb98d
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/pr-preview/pr-1235/cuda-core/latest/_sources/release/0.4.X-notes.rst.txt renamed to docs/pr-preview/pr-1235/cuda-core/latest/_sources/release/0.4.2-notes.rst.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,36 @@
33
44
.. currentmodule:: cuda.core.experimental
55

6-
``cuda.core`` 0.4.X Release Notes
6+
``cuda.core`` 0.4.2 Release Notes
77
=================================
88

99

1010
Highlights
1111
----------
1212

13+
None.
14+
1315

1416
Breaking Changes
1517
----------------
1618

19+
None.
20+
1721

1822
New features
1923
------------
2024

25+
None.
26+
2127

2228
New examples
2329
------------
2430

31+
None.
32+
2533

2634
Fixes and enhancements
2735
----------------------
2836

29-
- Fixed a segmentation fault when accessing :class:`StridedMemoryView` ``shape`` and ``strides`` members.
37+
- Fixed references to the ``cuda.bindings`` module mistakenly purged globally.
38+
- Restored compatibility with ``cuda-python`` 12.6.

docs/pr-preview/pr-1235/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.4.1',
2+
VERSION: '0.4.2',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

docs/pr-preview/pr-1235/cuda-core/latest/api.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646

47-
<script src="_static/documentation_options.js?v=c87aa342"></script>
47+
<script src="_static/documentation_options.js?v=ff822928"></script>
4848
<script src="_static/doctools.js?v=9bcbadda"></script>
4949
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
5050
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -53,7 +53,7 @@
5353
<script>
5454
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5555
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
56-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.1';
56+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.2';
5757
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5858
false;
5959
</script>
@@ -499,6 +499,7 @@
499499
</ul>
500500
<ul class="nav bd-sidenav">
501501
<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>
502+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.2-notes.html">0.4.2</a></li>
502503
<li class="toctree-l2"><a class="reference internal" href="release/0.4.1-notes.html">0.4.1</a></li>
503504
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
504505
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>
@@ -599,7 +600,7 @@ <h2>CUDA runtime<a class="headerlink" href="#cuda-runtime" title="Link to this h
599600
<tr class="row-even"><td><p><a class="reference internal" href="generated/cuda.core.experimental.LegacyPinnedMemoryResource.html#cuda.core.experimental.LegacyPinnedMemoryResource" title="cuda.core.experimental.LegacyPinnedMemoryResource"><code class="xref py py-obj docutils literal notranslate"><span class="pre">LegacyPinnedMemoryResource</span></code></a></p></td>
600601
<td><p>Create a pinned memory resource that uses legacy cuMemAllocHost/cudaMallocHost APIs.</p></td>
601602
</tr>
602-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cuda.core.experimental.VirtualMemoryResource.html#cuda.core.experimental.VirtualMemoryResource" title="cuda.core.experimental.VirtualMemoryResource"><code class="xref py py-obj docutils literal notranslate"><span class="pre">VirtualMemoryResource</span></code></a>(device[, config])</p></td>
603+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cuda.core.experimental.VirtualMemoryResource.html#cuda.core.experimental.VirtualMemoryResource" title="cuda.core.experimental.VirtualMemoryResource"><code class="xref py py-obj docutils literal notranslate"><span class="pre">VirtualMemoryResource</span></code></a>(device_id[, config])</p></td>
603604
<td><p>Create a device memory resource that uses the CUDA VMM APIs to allocate memory.</p></td>
604605
</tr>
605606
<tr class="row-even"><td><p><a class="reference internal" href="generated/cuda.core.experimental.DeviceMemoryResourceOptions.html#cuda.core.experimental.DeviceMemoryResourceOptions" title="cuda.core.experimental.DeviceMemoryResourceOptions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">DeviceMemoryResourceOptions</span></code></a>([ipc_enabled, ...])</p></td>

docs/pr-preview/pr-1235/cuda-core/latest/api_private.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646

47-
<script src="_static/documentation_options.js?v=c87aa342"></script>
47+
<script src="_static/documentation_options.js?v=ff822928"></script>
4848
<script src="_static/doctools.js?v=9bcbadda"></script>
4949
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
5050
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -53,7 +53,7 @@
5353
<script>
5454
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5555
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
56-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.1';
56+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.2';
5757
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5858
false;
5959
</script>
@@ -497,6 +497,7 @@
497497
</ul>
498498
<ul class="nav bd-sidenav">
499499
<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>
500+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.2-notes.html">0.4.2</a></li>
500501
<li class="toctree-l2"><a class="reference internal" href="release/0.4.1-notes.html">0.4.1</a></li>
501502
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
502503
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>

docs/pr-preview/pr-1235/cuda-core/latest/conduct.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646

47-
<script src="_static/documentation_options.js?v=c87aa342"></script>
47+
<script src="_static/documentation_options.js?v=ff822928"></script>
4848
<script src="_static/doctools.js?v=9bcbadda"></script>
4949
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
5050
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -53,7 +53,7 @@
5353
<script>
5454
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5555
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
56-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.1';
56+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.2';
5757
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5858
false;
5959
</script>
@@ -499,6 +499,7 @@
499499
</ul>
500500
<ul class="nav bd-sidenav">
501501
<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>
502+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.2-notes.html">0.4.2</a></li>
502503
<li class="toctree-l2"><a class="reference internal" href="release/0.4.1-notes.html">0.4.1</a></li>
503504
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
504505
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>

docs/pr-preview/pr-1235/cuda-core/latest/contribute.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646

47-
<script src="_static/documentation_options.js?v=c87aa342"></script>
47+
<script src="_static/documentation_options.js?v=ff822928"></script>
4848
<script src="_static/doctools.js?v=9bcbadda"></script>
4949
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
5050
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -53,7 +53,7 @@
5353
<script>
5454
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5555
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
56-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.1';
56+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.2';
5757
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5858
false;
5959
</script>
@@ -495,6 +495,7 @@
495495
</ul>
496496
<ul class="nav bd-sidenav">
497497
<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>
498+
<li class="toctree-l2"><a class="reference internal" href="release/0.4.2-notes.html">0.4.2</a></li>
498499
<li class="toctree-l2"><a class="reference internal" href="release/0.4.1-notes.html">0.4.1</a></li>
499500
<li class="toctree-l2"><a class="reference internal" href="release/0.4.0-notes.html">0.4.0</a></li>
500501
<li class="toctree-l2"><a class="reference internal" href="release/0.3.2-notes.html">0.3.2</a></li>

docs/pr-preview/pr-1235/cuda-core/latest/generated/cuda.core.experimental.Buffer.html

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646

47-
<script src="../_static/documentation_options.js?v=c87aa342"></script>
47+
<script src="../_static/documentation_options.js?v=ff822928"></script>
4848
<script src="../_static/doctools.js?v=9bcbadda"></script>
4949
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
5050
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -53,7 +53,7 @@
5353
<script>
5454
DOCUMENTATION_OPTIONS.theme_version = '0.16.1';
5555
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json';
56-
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.1';
56+
DOCUMENTATION_OPTIONS.theme_switcher_version_match = '0.4.2';
5757
DOCUMENTATION_OPTIONS.show_version_warning_banner =
5858
false;
5959
</script>
@@ -499,6 +499,7 @@
499499
</ul>
500500
<ul class="nav bd-sidenav">
501501
<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>
502+
<li class="toctree-l2"><a class="reference internal" href="../release/0.4.2-notes.html">0.4.2</a></li>
502503
<li class="toctree-l2"><a class="reference internal" href="../release/0.4.1-notes.html">0.4.1</a></li>
503504
<li class="toctree-l2"><a class="reference internal" href="../release/0.4.0-notes.html">0.4.0</a></li>
504505
<li class="toctree-l2"><a class="reference internal" href="../release/0.3.2-notes.html">0.3.2</a></li>
@@ -581,27 +582,36 @@ <h1>cuda.core.experimental.Buffer<a class="headerlink" href="#cuda-core-experime
581582

582583
<dl class="py method">
583584
<dt class="sig sig-object py" id="cuda.core.experimental.Buffer.close">
584-
<span class="sig-name descname"><span class="pre">close</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">self</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">Stream</span> <span class="pre">stream:</span> <span class="pre">Stream</span> <span class="pre">=</span> <span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cuda.core.experimental.Buffer.close" title="Link to this definition">#</a></dt>
585+
<span class="sig-name descname"><span class="pre">close</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">self</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stream</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="cuda.core.experimental.Stream.html#cuda.core.experimental.Stream" title="cuda.core.experimental.Stream"><span class="pre">Stream</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference internal" href="cuda.core.experimental.GraphBuilder.html#cuda.core.experimental.GraphBuilder" title="cuda.core.experimental.GraphBuilder"><span class="pre">GraphBuilder</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.14)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cuda.core.experimental.Buffer.close" title="Link to this definition">#</a></dt>
585586
<dd><p>Deallocate this buffer asynchronously on the given stream.</p>
586587
<p>This buffer is released back to their memory resource
587588
asynchronously on the given stream.</p>
588589
<dl class="field-list simple">
589590
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
590-
<dd class="field-odd"><p><strong>stream</strong> (<a class="reference internal" href="cuda.core.experimental.Stream.html#cuda.core.experimental.Stream" title="cuda.core.experimental.Stream"><em>Stream</em></a><em>, </em><em>optional</em>) – The stream object to use for asynchronous deallocation. If None,
591+
<dd class="field-odd"><p><strong>stream</strong> (<a class="reference internal" href="cuda.core.experimental.Stream.html#cuda.core.experimental.Stream" title="cuda.core.experimental._stream.Stream"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Stream</span></code></a> | <a class="reference internal" href="cuda.core.experimental.GraphBuilder.html#cuda.core.experimental.GraphBuilder" title="cuda.core.experimental._graph.GraphBuilder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">GraphBuilder</span></code></a>, optional) – The stream object to use for asynchronous deallocation. If None,
591592
the behavior depends on the underlying memory resource.</p>
592593
</dd>
593594
</dl>
594595
</dd></dl>
595596

596597
<dl class="py method">
597598
<dt class="sig sig-object py" id="cuda.core.experimental.Buffer.copy_from">
598-
<span class="sig-name descname"><span class="pre">copy_from</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">self</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">Buffer</span> <span class="pre">src:</span> <span class="pre">Buffer</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stream:</span> <span class="pre">IsStreamT</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#cuda.core.experimental.Buffer.copy_from" title="Link to this definition">#</a></dt>
599+
<span class="sig-name descname"><span class="pre">copy_from</span></span><span class="sig-paren">(</span>
600+
601+
<dl>
602+
<dd><em class="sig-param"><span class="n"><span class="pre">self</span></span></em>,</dd>
603+
<dd><em class="sig-param"><span class="n"><span class="pre">Buffer</span> <span class="pre">src:</span> <span class="pre">Buffer</span></span></em>,</dd>
604+
<dd><em class="sig-param"><span class="n"><span class="pre">*</span></span></em>,</dd>
605+
<dd><em class="sig-param"><span class="n"><span class="pre">stream:</span> <span class="pre">Stream</span> <span class="pre">|</span> <span class="pre">GraphBuilder</span></span></em>,</dd>
606+
</dl>
607+
608+
<span class="sig-paren">)</span><a class="headerlink" href="#cuda.core.experimental.Buffer.copy_from" title="Link to this definition">#</a></dt>
599609
<dd><p>Copy from the src buffer to this buffer asynchronously on the given stream.</p>
600610
<dl class="field-list simple">
601611
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
602612
<dd class="field-odd"><ul class="simple">
603613
<li><p><strong>src</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Buffer</span></code>) – Source buffer to copy data from</p></li>
604-
<li><p><strong>stream</strong> (<a class="reference internal" href="cuda.core.experimental._stream.IsStreamT.html#cuda.core.experimental._stream.IsStreamT" title="cuda.core.experimental._stream.IsStreamT"><em>IsStreamT</em></a>) – Keyword argument specifying the stream for the
614+
<li><p><strong>stream</strong> (<a class="reference internal" href="cuda.core.experimental.Stream.html#cuda.core.experimental.Stream" title="cuda.core.experimental._stream.Stream"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Stream</span></code></a> | <a class="reference internal" href="cuda.core.experimental.GraphBuilder.html#cuda.core.experimental.GraphBuilder" title="cuda.core.experimental._graph.GraphBuilder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">GraphBuilder</span></code></a>) – Keyword argument specifying the stream for the
605615
asynchronous copy</p></li>
606616
</ul>
607617
</dd>
@@ -616,7 +626,7 @@ <h1>cuda.core.experimental.Buffer<a class="headerlink" href="#cuda-core-experime
616626
<dd><em class="sig-param"><span class="n"><span class="pre">self</span></span></em>,</dd>
617627
<dd><em class="sig-param"><span class="n"><span class="pre">Buffer</span> <span class="pre">dst:</span> <span class="pre">Buffer</span> <span class="pre">=</span> <span class="pre">None</span></span></em>,</dd>
618628
<dd><em class="sig-param"><span class="n"><span class="pre">*</span></span></em>,</dd>
619-
<dd><em class="sig-param"><span class="n"><span class="pre">stream:</span> <span class="pre">IsStreamT</span></span></em>,</dd>
629+
<dd><em class="sig-param"><span class="n"><span class="pre">stream:</span> <span class="pre">Stream</span> <span class="pre">|</span> <span class="pre">GraphBuilder</span></span></em>,</dd>
620630
</dl>
621631

622632
<span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="#cuda.core.experimental.Buffer" title="cuda.core.experimental.Buffer"><span class="pre">Buffer</span></a></span></span><a class="headerlink" href="#cuda.core.experimental.Buffer.copy_to" title="Link to this definition">#</a></dt>
@@ -628,7 +638,7 @@ <h1>cuda.core.experimental.Buffer<a class="headerlink" href="#cuda-core-experime
628638
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
629639
<dd class="field-odd"><ul class="simple">
630640
<li><p><strong>dst</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">Buffer</span></code>) – Source buffer to copy data from</p></li>
631-
<li><p><strong>stream</strong> (<a class="reference internal" href="cuda.core.experimental._stream.IsStreamT.html#cuda.core.experimental._stream.IsStreamT" title="cuda.core.experimental._stream.IsStreamT"><em>IsStreamT</em></a>) – Keyword argument specifying the stream for the
641+
<li><p><strong>stream</strong> (<a class="reference internal" href="cuda.core.experimental.Stream.html#cuda.core.experimental.Stream" title="cuda.core.experimental._stream.Stream"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Stream</span></code></a> | <a class="reference internal" href="cuda.core.experimental.GraphBuilder.html#cuda.core.experimental.GraphBuilder" title="cuda.core.experimental._graph.GraphBuilder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">GraphBuilder</span></code></a>) – Keyword argument specifying the stream for the
632642
asynchronous copy</p></li>
633643
</ul>
634644
</dd>

0 commit comments

Comments
 (0)