Skip to content

Commit 0302e14

Browse files
author
github-actions[doc-deploy-bot]
committed
Latest docs.
1 parent b0175e7 commit 0302e14

13 files changed

Lines changed: 37 additions & 37 deletions

master/api_reference/dpctl/generated/dpctl.SyclContext.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ <h1>dpctl.SyclContext<a class="headerlink" href="#dpctl-syclcontext" title="Perm
688688
<span class="n">sub_devices</span> <span class="o">=</span> <span class="n">cpu_d</span><span class="o">.</span><span class="n">create_sub_devices</span><span class="p">(</span><span class="n">partition</span><span class="o">=</span><span class="mi">2</span><span class="p">)</span>
689689
<span class="c1"># Create a context common to all the sub-devices.</span>
690690
<span class="n">ctx</span> <span class="o">=</span> <span class="n">dpctl</span><span class="o">.</span><span class="n">SyclContext</span><span class="p">(</span><span class="n">sub_devices</span><span class="p">)</span>
691-
<span class="k">assert</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">get_devices</span><span class="p">)</span> <span class="o">==</span> <span class="nb">len</span><span class="p">(</span><span class="n">sub_devices</span><span class="p">))</span>
691+
<span class="k">assert</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">ctx</span><span class="o">.</span><span class="n">get_devices</span><span class="p">())</span> <span class="o">==</span> <span class="nb">len</span><span class="p">(</span><span class="n">sub_devices</span><span class="p">))</span>
692692
</pre></div>
693693
</div>
694694
</dd>
@@ -726,7 +726,7 @@ <h1>dpctl.SyclContext<a class="headerlink" href="#dpctl-syclcontext" title="Perm
726726
<td><p>Returns the address of the <code class="docutils literal notranslate"><span class="pre">DPCTLSyclContextRef</span></code> pointer as a <code class="docutils literal notranslate"><span class="pre">size_t</span></code>.</p></td>
727727
</tr>
728728
<tr class="row-even"><td><p><a class="reference internal" href="generated/dpctl.SyclContext.get_devices.html#dpctl.SyclContext.get_devices" title="dpctl.SyclContext.get_devices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_devices</span></code></a>()</p></td>
729-
<td><p>Returns the list of <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> objects associated with <a class="reference internal" href="#dpctl.SyclContext" title="dpctl.SyclContext"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclContext</span></code></a> instance.</p></td>
729+
<td><p>Returns a tuple of <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> objects associated with <a class="reference internal" href="#dpctl.SyclContext" title="dpctl.SyclContext"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclContext</span></code></a> instance.</p></td>
730730
</tr>
731731
</tbody>
732732
</table>

master/api_reference/dpctl/generated/dpctl.SyclDevice.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,10 +684,10 @@ <h1>dpctl.SyclDevice<a class="headerlink" href="#dpctl-sycldevice" title="Permal
684684
<td><p>Returns <code class="docutils literal notranslate"><span class="pre">True</span></code> if this device (<code class="docutils literal notranslate"><span class="pre">self</span></code>) can enable peer access to USM device memory on <code class="docutils literal notranslate"><span class="pre">peer</span></code>, <code class="docutils literal notranslate"><span class="pre">False</span></code> otherwise.</p></td>
685685
</tr>
686686
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.component_devices.html#dpctl.SyclDevice.component_devices" title="dpctl.SyclDevice.component_devices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">component_devices</span></code></a>()</p></td>
687-
<td><p>Returns a list of component devices contained in this SYCL device.</p></td>
687+
<td><p>Returns a tuple of component devices contained in this SYCL device.</p></td>
688688
</tr>
689689
<tr class="row-even"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.create_sub_devices.html#dpctl.SyclDevice.create_sub_devices" title="dpctl.SyclDevice.create_sub_devices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">create_sub_devices</span></code></a>([partition])</p></td>
690-
<td><p>Creates a list of sub-devices by partitioning a root device based on the provided partition specifier.</p></td>
690+
<td><p>Creates a tuple of sub-devices by partitioning a root device based on the provided partition specifier.</p></td>
691691
</tr>
692692
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.disable_peer_access.html#dpctl.SyclDevice.disable_peer_access" title="dpctl.SyclDevice.disable_peer_access"><code class="xref py py-obj docutils literal notranslate"><span class="pre">disable_peer_access</span></code></a>(peer)</p></td>
693693
<td><p>Disables peer access to <code class="docutils literal notranslate"><span class="pre">peer</span></code> from this device (<code class="docutils literal notranslate"><span class="pre">self</span></code>).</p></td>
@@ -928,7 +928,7 @@ <h1>dpctl.SyclDevice<a class="headerlink" href="#dpctl-sycldevice" title="Permal
928928
<td><p>Returns <code class="docutils literal notranslate"><span class="pre">True</span></code> if the device supports independent forward progress of sub-groups with respect to other sub-groups in the same work-group.</p></td>
929929
</tr>
930930
<tr class="row-even"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.sub_group_sizes.html#dpctl.SyclDevice.sub_group_sizes" title="dpctl.SyclDevice.sub_group_sizes"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sub_group_sizes</span></code></a></p></td>
931-
<td><p>Returns list of supported sub-group sizes for this device.</p></td>
931+
<td><p>Returns tuple of supported sub-group sizes for this device.</p></td>
932932
</tr>
933933
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclDevice.sycl_platform.html#dpctl.SyclDevice.sycl_platform" title="dpctl.SyclDevice.sycl_platform"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sycl_platform</span></code></a></p></td>
934934
<td><p>Returns the platform associated with this device.</p></td>

master/api_reference/dpctl/generated/dpctl.SyclPlatform.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,10 +661,10 @@ <h1>dpctl.SyclPlatform<a class="headerlink" href="#dpctl-syclplatform" title="Pe
661661
<table class="autosummary longtable docutils align-default">
662662
<tbody>
663663
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclPlatform.get_composite_devices.html#dpctl.SyclPlatform.get_composite_devices" title="dpctl.SyclPlatform.get_composite_devices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_composite_devices</span></code></a>()</p></td>
664-
<td><p>Returns the list of composite <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> objects associated with <a class="reference internal" href="#dpctl.SyclPlatform" title="dpctl.SyclPlatform"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclPlatform</span></code></a> instance.</p></td>
664+
<td><p>Returns a tuple of composite <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> objects associated with <a class="reference internal" href="#dpctl.SyclPlatform" title="dpctl.SyclPlatform"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclPlatform</span></code></a> instance.</p></td>
665665
</tr>
666666
<tr class="row-even"><td><p><a class="reference internal" href="generated/dpctl.SyclPlatform.get_devices.html#dpctl.SyclPlatform.get_devices" title="dpctl.SyclPlatform.get_devices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_devices</span></code></a>([device_type])</p></td>
667-
<td><p>Returns the list of <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> objects associated with <a class="reference internal" href="#dpctl.SyclPlatform" title="dpctl.SyclPlatform"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclPlatform</span></code></a> instance selected based on the given <a class="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.device_type</span></code></a>.</p></td>
667+
<td><p>Returns a tuple of <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> objects associated with <a class="reference internal" href="#dpctl.SyclPlatform" title="dpctl.SyclPlatform"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclPlatform</span></code></a> instance selected based on the given <a class="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.device_type</span></code></a>.</p></td>
668668
</tr>
669669
<tr class="row-odd"><td><p><a class="reference internal" href="generated/dpctl.SyclPlatform.print_platform_info.html#dpctl.SyclPlatform.print_platform_info" title="dpctl.SyclPlatform.print_platform_info"><code class="xref py py-obj docutils literal notranslate"><span class="pre">print_platform_info</span></code></a>([verbosity])</p></td>
670670
<td><p>Print information about the SYCL platform.</p></td>

master/api_reference/dpctl/generated/dpctl.get_composite_devices.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ <h1>dpctl.get_composite_devices<a class="headerlink" href="#dpctl-get-composite-
622622
<dl class="py function">
623623
<dt class="sig sig-object py" id="dpctl.get_composite_devices">
624624
<span class="sig-prename descclassname"><span class="pre">dpctl.</span></span><span class="sig-name descname"><span class="pre">get_composite_devices</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.get_composite_devices" title="Permalink to this definition"></a></dt>
625-
<dd><p>Returns a list of the available composite <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>
625+
<dd><p>Returns a tuple of the available composite <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>
626626
instances.</p>
627627
<p>Only available when <cite>ZE_FLAT_DEVICE_HIERARCHY=COMBINED</cite> is set in
628628
the environment, and only for specific Level Zero devices
@@ -633,10 +633,10 @@ <h1>dpctl.get_composite_devices<a class="headerlink" href="#dpctl-get-composite-
633633
<a class="reference external" href="https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_composite_device.asciidoc">https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_composite_device.asciidoc</a></p>
634634
<dl class="field-list simple">
635635
<dt class="field-odd">Returns<span class="colon">:</span></dt>
636-
<dd class="field-odd"><p>A list of available composite <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> instances.</p>
636+
<dd class="field-odd"><p>A tuple of available composite <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> instances.</p>
637637
</dd>
638638
<dt class="field-even">Return type<span class="colon">:</span></dt>
639-
<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.14)">list</a></p>
639+
<dd class="field-even"><p>Tuple[<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>]</p>
640640
</dd>
641641
</dl>
642642
</dd></dl>

master/api_reference/dpctl/generated/dpctl.get_devices.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ <h1>dpctl.get_devices<a class="headerlink" href="#dpctl-get-devices" title="Perm
622622
<dl class="py function">
623623
<dt class="sig sig-object py" id="dpctl.get_devices">
624624
<span class="sig-prename descclassname"><span class="pre">dpctl.</span></span><span class="sig-name descname"><span class="pre">get_devices</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">backend</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">backend_type.all</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">device_type</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">device_type.all</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.get_devices" title="Permalink to this definition"></a></dt>
625-
<dd><p>Returns a list of <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> instances selected based on
625+
<dd><p>Returns a tuple of <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> instances selected based on
626626
the given <a class="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.device_type</span></code></a> and <a class="reference internal" href="../constants.html#dpctl.backend_type" title="dpctl.backend_type"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.backend_type</span></code></a> values.</p>
627627
<p>The function is analogous to <code class="docutils literal notranslate"><span class="pre">sycl::devices::get_devices()</span></code>, but with an
628628
additional functionality that allows filtering SYCL devices based on
@@ -641,12 +641,12 @@ <h1>dpctl.get_devices<a class="headerlink" href="#dpctl-get-devices" title="Perm
641641
</ul>
642642
</dd>
643643
<dt class="field-even">Returns<span class="colon">:</span></dt>
644-
<dd class="field-even"><p>A list of available <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> instances that
644+
<dd class="field-even"><p>A tuple of available <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> instances that
645645
satisfy the provided <a class="reference internal" href="../constants.html#dpctl.backend_type" title="dpctl.backend_type"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.backend_type</span></code></a> and
646646
<a class="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.device_type</span></code></a> values.</p>
647647
</dd>
648648
<dt class="field-odd">Return type<span class="colon">:</span></dt>
649-
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.14)">list</a></p>
649+
<dd class="field-odd"><p>Tuple[<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>]</p>
650650
</dd>
651651
</dl>
652652
</dd></dl>

master/api_reference/dpctl/generated/generated/dpctl.SyclContext.get_devices.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,15 +622,15 @@ <h1>dpctl.SyclContext.get_devices<a class="headerlink" href="#dpctl-syclcontext-
622622
<dl class="py method">
623623
<dt class="sig sig-object py" id="dpctl.SyclContext.get_devices">
624624
<span class="sig-prename descclassname"><span class="pre">SyclContext.</span></span><span class="sig-name descname"><span class="pre">get_devices</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#dpctl.SyclContext.get_devices" title="Permalink to this definition"></a></dt>
625-
<dd><p>Returns the list of <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> objects associated with
625+
<dd><p>Returns a tuple of <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> objects associated with
626626
<a class="reference internal" href="../dpctl.SyclContext.html#dpctl.SyclContext" title="dpctl.SyclContext"><code class="xref py py-class docutils literal notranslate"><span class="pre">dpctl.SyclContext</span></code></a> instance.</p>
627627
<dl class="field-list simple">
628628
<dt class="field-odd">Returns<span class="colon">:</span></dt>
629-
<dd class="field-odd"><p>A <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.14)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">list</span></code></a> of <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> objects
629+
<dd class="field-odd"><p>A tuple of <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> objects
630630
that belong to this context.</p>
631631
</dd>
632632
<dt class="field-even">Return type<span class="colon">:</span></dt>
633-
<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.14)">list</a></p>
633+
<dd class="field-even"><p>Tuple[<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>]</p>
634634
</dd>
635635
<dt class="field-odd">Raises<span class="colon">:</span></dt>
636636
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.14)"><strong>ValueError</strong></a> – If the <code class="docutils literal notranslate"><span class="pre">DPCTLContext_GetDevices</span></code> call returned

0 commit comments

Comments
 (0)