Skip to content

Commit 78cce98

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 1953
1 parent 000c13f commit 78cce98

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

pulls/1953/api_reference/dpctl/generated/dpctl.SyclDevice.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,8 +855,8 @@ <h1>dpctl.SyclDevice<a class="headerlink" href="#dpctl-sycldevice" title="Permal
855855
<tr class="row-even"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.get_filter_string.html#dpctl.SyclDevice.get_filter_string" title="dpctl.SyclDevice.get_filter_string"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_filter_string</span></code></a>([include_backend, ...])</p></td>
856856
<td><p>For a parent device, returns a filter selector string that includes backend or device type based on the value of the given keyword arguments.</p></td>
857857
</tr>
858-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.get_unpartitioned_parent_device.html#dpctl.SyclDevice.get_unpartitioned_parent_device" title="dpctl.SyclDevice.get_unpartitioned_parent_device"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_unpartitioned_parent_device</span></code></a>(self)</p></td>
859-
<td><p>Returns the unpartitioned parent device of this device, or None for a root device.</p></td>
858+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.get_unpartitioned_parent_device.html#dpctl.SyclDevice.get_unpartitioned_parent_device" title="dpctl.SyclDevice.get_unpartitioned_parent_device"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_unpartitioned_parent_device</span></code></a>()</p></td>
859+
<td><p>Returns the unpartitioned parent device of this device.</p></td>
860860
</tr>
861861
<tr class="row-even"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.print_device_info.html#dpctl.SyclDevice.print_device_info" title="dpctl.SyclDevice.print_device_info"><code class="xref py py-obj docutils literal notranslate"><span class="pre">print_device_info</span></code></a>()</p></td>
862862
<td><p>Print information about the SYCL device.</p></td>

pulls/1953/api_reference/dpctl/generated/dpctl.tensor.usm_ndarray.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ <h1>dpctl.tensor.usm_ndarray<a class="headerlink" href="#dpctl-tensor-usm-ndarra
867867
<div class="table-wrapper autosummary longtable docutils container">
868868
<table class="autosummary longtable docutils align-default">
869869
<tbody>
870-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.tensor.usm_ndarray.to_device.html#dpctl.tensor.usm_ndarray.to_device" title="dpctl.tensor.usm_ndarray.to_device"><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_device</span></code></a>(target_device)</p></td>
870+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.tensor.usm_ndarray.to_device.html#dpctl.tensor.usm_ndarray.to_device" title="dpctl.tensor.usm_ndarray.to_device"><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_device</span></code></a>(target_device, /, *[, stream])</p></td>
871871
<td><p>Transfers this array to specified target device.</p></td>
872872
</tr>
873873
</tbody>

pulls/1953/api_reference/dpctl/generated/generated/dpctl.SyclDevice.get_device_id.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ <h1>dpctl.SyclDevice.get_device_id<a class="headerlink" href="#dpctl-sycldevice-
798798
<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
799799
</dd>
800800
<dt class="field-odd">Raises<span class="colon">:</span></dt>
801-
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.13)"><strong>ValueError</strong></a> – If the device is a sub-device.</p>
801+
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.13)"><strong>ValueError</strong></a> – If the device could not be found.</p>
802802
</dd>
803803
<dt class="field-even">Example<span class="colon">:</span></dt>
804804
<dd class="field-even"><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">dpctl</span>

pulls/1953/api_reference/dpctl/generated/generated/dpctl.SyclDevice.get_unpartitioned_parent_device.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,13 +787,14 @@
787787
<h1>dpctl.SyclDevice.get_unpartitioned_parent_device<a class="headerlink" href="#dpctl-sycldevice-get-unpartitioned-parent-device" title="Permalink to this heading"></a></h1>
788788
<dl class="py method">
789789
<dt class="sig sig-object py" id="dpctl.SyclDevice.get_unpartitioned_parent_device">
790-
<span class="sig-prename descclassname"><span class="pre">SyclDevice.</span></span><span class="sig-name descname"><span class="pre">get_unpartitioned_parent_device</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">self</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.SyclDevice.get_unpartitioned_parent_device" title="Permalink to this definition"></a></dt>
791-
<dd><p>Returns the unpartitioned parent device of this device, or None for a
792-
root device.</p>
790+
<span class="sig-prename descclassname"><span class="pre">SyclDevice.</span></span><span class="sig-name descname"><span class="pre">get_unpartitioned_parent_device</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.SyclDevice.get_unpartitioned_parent_device" title="Permalink to this definition"></a></dt>
791+
<dd><p>Returns the unpartitioned parent device of this device.</p>
792+
<p>If this device is already an unpartitioned, root device,
793+
the same device is returned.</p>
793794
<dl class="field-list simple">
794795
<dt class="field-odd">Returns<span class="colon">:</span></dt>
795-
<dd class="field-odd"><p>A parent, unpartitioned <a class="reference internal" href="../dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclDevice</span></code></a> instance if
796-
the device is a sub-device, <code class="docutils literal notranslate"><span class="pre">None</span></code> otherwise.</p>
796+
<dd class="field-odd"><p>A parent, unpartitioned <a class="reference internal" href="../dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclDevice</span></code></a> instance, or
797+
<code class="docutils literal notranslate"><span class="pre">self</span></code> if already a root device.</p>
797798
</dd>
798799
<dt class="field-even">Return type<span class="colon">:</span></dt>
799800
<dd class="field-even"><p><a class="reference internal" href="../dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice">dpctl.SyclDevice</a></p>

pulls/1953/api_reference/dpctl/generated/generated/dpctl.tensor.usm_ndarray.to_device.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@
787787
<h1>dpctl.tensor.usm_ndarray.to_device<a class="headerlink" href="#dpctl-tensor-usm-ndarray-to-device" title="Permalink to this heading"></a></h1>
788788
<dl class="py method">
789789
<dt class="sig sig-object py" id="dpctl.tensor.usm_ndarray.to_device">
790-
<span class="sig-prename descclassname"><span class="pre">usm_ndarray.</span></span><span class="sig-name descname"><span class="pre">to_device</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target_device</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.tensor.usm_ndarray.to_device" title="Permalink to this definition"></a></dt>
790+
<span class="sig-prename descclassname"><span class="pre">usm_ndarray.</span></span><span class="sig-name descname"><span class="pre">to_device</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target_device</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">/</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">stream</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.tensor.usm_ndarray.to_device" title="Permalink to this definition"></a></dt>
791791
<dd><p>Transfers this array to specified target device.</p>
792792
<dl class="field-list">
793793
<dt class="field-odd">Example<span class="colon">:</span></dt>

pulls/1953/objects.inv

0 Bytes
Binary file not shown.

pulls/1953/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)