Skip to content

Commit d2452c7

Browse files
author
cuda-python-bot
committed
Deploy doc preview for PR 2398 (0816fc0)
1 parent 21f1857 commit d2452c7

210 files changed

Lines changed: 439 additions & 439 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/pr-preview/pr-2398/cuda-bindings/latest/_sources/release/13.4.0-notes.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Prerelease feature
1818

1919
A new version of the ``nvrtc`` API is available as ``cuda.bindings._v2.nvrtc``. The
2020
primary improvements are: (1) raising exceptions rather than returning error
21-
codes, (2) uses PEP8-compliant naming, and (3) is more performant. This API is
21+
codes, (2) uses PEP8-compliant naming, and (3) more performance. This API is
2222
still experimental and subject to change.
2323

2424
Known issues

docs/pr-preview/pr-2398/cuda-bindings/latest/examples.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,65 +1302,65 @@
13021302
<section id="examples">
13031303
<h1>Examples<a class="headerlink" href="#examples" title="Link to this heading">#</a></h1>
13041304
<p>This page links to the <code class="docutils literal notranslate"><span class="pre">cuda.bindings</span></code> examples shipped in the
1305-
<a class="extlink-cuda-bindings-examples reference external" href="https://github.com/NVIDIA/cuda-python/tree/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/">cuda-python repository</a>.
1305+
<a class="extlink-cuda-bindings-examples reference external" href="https://github.com/NVIDIA/cuda-python/tree/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/">cuda-python repository</a>.
13061306
Use it as a quick index when you want a runnable sample for a specific API area
13071307
or CUDA feature.</p>
13081308
<section id="introduction">
13091309
<h2>Introduction<a class="headerlink" href="#introduction" title="Link to this heading">#</a></h2>
13101310
<ul class="simple">
1311-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/clock_nvrtc.py">clock_nvrtc.py</a>
1311+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/clock_nvrtc.py">clock_nvrtc.py</a>
13121312
uses NVRTC-compiled CUDA code and the device clock to time a reduction
13131313
kernel.</p></li>
1314-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/simple_cubemap_texture.py">simple_cubemap_texture.py</a>
1314+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/simple_cubemap_texture.py">simple_cubemap_texture.py</a>
13151315
demonstrates cubemap texture sampling and transformation.</p></li>
1316-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/simple_p2p.py">simple_p2p.py</a>
1316+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/simple_p2p.py">simple_p2p.py</a>
13171317
shows peer-to-peer memory access and transfers between multiple GPUs.</p></li>
1318-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/simple_zero_copy.py">simple_zero_copy.py</a>
1318+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/simple_zero_copy.py">simple_zero_copy.py</a>
13191319
uses zero-copy mapped host memory for vector addition.</p></li>
1320-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/system_wide_atomics.py">system_wide_atomics.py</a>
1320+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/system_wide_atomics.py">system_wide_atomics.py</a>
13211321
demonstrates system-wide atomic operations on managed memory.</p></li>
1322-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/vector_add_drv.py">vector_add_drv.py</a>
1322+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/vector_add_drv.py">vector_add_drv.py</a>
13231323
uses the CUDA Driver API and unified virtual addressing for vector addition.</p></li>
1324-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/vector_add_mmap.py">vector_add_mmap.py</a>
1324+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/vector_add_mmap.py">vector_add_mmap.py</a>
13251325
uses virtual memory management APIs such as <code class="docutils literal notranslate"><span class="pre">cuMemCreate</span></code> and
13261326
<code class="docutils literal notranslate"><span class="pre">cuMemMap</span></code> for vector addition.</p></li>
13271327
</ul>
13281328
</section>
13291329
<section id="concepts-and-techniques">
13301330
<h2>Concepts and techniques<a class="headerlink" href="#concepts-and-techniques" title="Link to this heading">#</a></h2>
13311331
<ul class="simple">
1332-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/2_Concepts_and_Techniques/stream_ordered_allocation.py">stream_ordered_allocation.py</a>
1332+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/2_Concepts_and_Techniques/stream_ordered_allocation.py">stream_ordered_allocation.py</a>
13331333
demonstrates <code class="docutils literal notranslate"><span class="pre">cudaMallocAsync</span></code> and <code class="docutils literal notranslate"><span class="pre">cudaFreeAsync</span></code> together with
13341334
memory-pool release thresholds.</p></li>
13351335
</ul>
13361336
</section>
13371337
<section id="cuda-features">
13381338
<h2>CUDA features<a class="headerlink" href="#cuda-features" title="Link to this heading">#</a></h2>
13391339
<ul class="simple">
1340-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/3_CUDA_Features/global_to_shmem_async_copy.py">global_to_shmem_async_copy.py</a>
1340+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/3_CUDA_Features/global_to_shmem_async_copy.py">global_to_shmem_async_copy.py</a>
13411341
compares asynchronous global-to-shared-memory copy strategies in matrix
13421342
multiplication kernels.</p></li>
1343-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/3_CUDA_Features/simple_cuda_graphs.py">simple_cuda_graphs.py</a>
1343+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/3_CUDA_Features/simple_cuda_graphs.py">simple_cuda_graphs.py</a>
13441344
shows both manual CUDA graph construction and stream-capture-based replay.</p></li>
13451345
</ul>
13461346
</section>
13471347
<section id="libraries-and-tools">
13481348
<h2>Libraries and tools<a class="headerlink" href="#libraries-and-tools" title="Link to this heading">#</a></h2>
13491349
<ul class="simple">
1350-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/4_CUDA_Libraries/conjugate_gradient_multi_block_cg.py">conjugate_gradient_multi_block_cg.py</a>
1350+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/4_CUDA_Libraries/conjugate_gradient_multi_block_cg.py">conjugate_gradient_multi_block_cg.py</a>
13511351
implements a conjugate-gradient solver with cooperative groups and
13521352
multi-block synchronization.</p></li>
1353-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/4_CUDA_Libraries/nvidia_smi.py">nvidia_smi.py</a>
1353+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/4_CUDA_Libraries/nvidia_smi.py">nvidia_smi.py</a>
13541354
uses NVML to implement a Python subset of <code class="docutils literal notranslate"><span class="pre">nvidia-smi</span></code>.</p></li>
13551355
</ul>
13561356
</section>
13571357
<section id="advanced-and-interoperability">
13581358
<h2>Advanced and interoperability<a class="headerlink" href="#advanced-and-interoperability" title="Link to this heading">#</a></h2>
13591359
<ul class="simple">
1360-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/extra/iso_fd_modelling.py">iso_fd_modelling.py</a>
1360+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/extra/iso_fd_modelling.py">iso_fd_modelling.py</a>
13611361
runs isotropic finite-difference wave propagation across multiple GPUs with
13621362
peer-to-peer halo exchange.</p></li>
1363-
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/extra/jit_program.py">jit_program.py</a>
1363+
<li><p><a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/extra/jit_program.py">jit_program.py</a>
13641364
JIT-compiles a SAXPY kernel with NVRTC and launches it through the Driver
13651365
API.</p></li>
13661366
</ul>

docs/pr-preview/pr-2398/cuda-bindings/latest/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ <h3>Using ctypes<a class="headerlink" href="#using-ctypes" title="Link to this h
17861786
<h3>CUDA objects<a class="headerlink" href="#cuda-objects" title="Link to this heading">#</a></h3>
17871787
<p>Certain CUDA kernels use native CUDA types as their parameters such as <code class="docutils literal notranslate"><span class="pre">cudaTextureObject_t</span></code>. These types require special handling since they’re neither a primitive ctype nor a custom user type. Since <code class="docutils literal notranslate"><span class="pre">cuda.bindings</span></code> exposes each of them as Python classes, they each implement <code class="docutils literal notranslate"><span class="pre">getPtr()</span></code> and <code class="docutils literal notranslate"><span class="pre">__int__()</span></code>. These two callables used to support the NumPy and ctypes approach. The difference between each call is further described under <a class="reference external" href="https://nvidia.github.io/cuda-python/cuda-bindings/latest/tips_and_tricks.html#">Tips and Tricks</a>.</p>
17881788
<p>For this example, lets use the <code class="docutils literal notranslate"><span class="pre">transformKernel</span></code> from
1789-
<a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/60170774b8582f0a45bac0ea3f5040c0433b2d25/cuda_bindings/examples/0_Introduction/simple_cubemap_texture.py">simple_cubemap_texture.py</a>.
1789+
<a class="extlink-cuda-bindings-example reference external" href="https://github.com/NVIDIA/cuda-python/blob/0816fc0313ec8a01f659eef335950ebb2d5575ae/cuda_bindings/examples/0_Introduction/simple_cubemap_texture.py">simple_cubemap_texture.py</a>.
17901790
The <a class="reference internal" href="examples.html"><span class="doc">Examples</span></a> page links to more samples covering textures, graphs,
17911791
memory mapping, and multi-GPU workflows.</p>
17921792
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">simpleCubemapTexture</span> <span class="o">=</span> <span class="s2">&quot;&quot;&quot;</span><span class="se">\</span>

docs/pr-preview/pr-2398/cuda-bindings/latest/release/13.4.0-notes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ <h2>Deprecation Notices<a class="headerlink" href="#deprecation-notices" title="
13161316
<h2>Prerelease feature<a class="headerlink" href="#prerelease-feature" title="Link to this heading">#</a></h2>
13171317
<p>A new version of the <code class="docutils literal notranslate"><span class="pre">nvrtc</span></code> API is available as <code class="docutils literal notranslate"><span class="pre">cuda.bindings._v2.nvrtc</span></code>. The
13181318
primary improvements are: (1) raising exceptions rather than returning error
1319-
codes, (2) uses PEP8-compliant naming, and (3) is more performant. This API is
1319+
codes, (2) uses PEP8-compliant naming, and (3) more performance. This API is
13201320
still experimental and subject to change.</p>
13211321
</section>
13221322
<section id="known-issues">
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: 8e54a97b5dfcaadfa8f333b1f5673fb5
3+
config: 61e8a9a81ab4168d0986cef9c1cf13af
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)