You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ddclass="field-even"><p><strong>arg</strong> (<aclass="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The argument can be a selector string or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>.
828
+
<ddclass="field-even"><p><strong>arg</strong> (<aclass="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The argument can be a selector string, another
<li><p><aclass="reference external" href="https://docs.python.org/3/library/exceptions.html#MemoryError" title="(in Python v3.13)"><strong>MemoryError</strong></a> – If the constructor could not allocate necessary
834
835
temporary memory.</p></li>
835
836
<li><p><aclass="reference internal" href="dpctl.SyclDeviceCreationError.html#dpctl.SyclDeviceCreationError" title="dpctl.SyclDeviceCreationError"><strong>SyclDeviceCreationError</strong></a> – If the <aclass="reference internal" href="#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> object creation failed.</p></li>
836
-
<li><p><aclass="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.13)"><strong>ValueError</strong></a> – If the list of <aclass="reference internal" href="#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> objects was empty,
837
-
or the input capsule contained a null pointer or could not
838
-
be renamed.</p></li>
837
+
<li><p><aclass="reference external" href="https://docs.python.org/3/library/exceptions.html#TypeError" title="(in Python v3.13)"><strong>TypeError</strong></a> – If the argument is not a <aclass="reference internal" href="#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> or string.</p></li>
<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>
<spanclass="sig-prename descclassname"><spanclass="pre">SyclDevice.</span></span><spanclass="sig-name descname"><spanclass="pre">get_device_id</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#dpctl.SyclDevice.get_device_id" title="Permalink to this definition">¶</a></dt>
790
-
<dd><p>For a parent device, returns the canonical index of this device in the
791
-
list of devices visible to dpctl.
792
-
:returns: The index of the device.
793
-
:rtype: int</p>
790
+
<dd><p>For an unpartitioned device, returns the canonical index of this device
<ddclass="field-odd"><p><aclass="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>
<h2>Installation via Intel(R) Distribution for Python<aclass="headerlink" href="#installation-via-intel-r-distribution-for-python" title="Permalink to this heading">¶</a></h2>
849
849
<p><aclass="reference external" href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html">Intel(R) Distribution for Python*</a> is distributed as a conda-based installer
850
-
and includes <aclass="reference internal" href="../api_reference/dpctl/index.html#module-dpctl" title="dpctl"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpctl</span></code></a> along with its dependencies and sister projects <aclass="reference external" href="https://intelpython.github.io/dpnp/overview.html#module-dpnp" title="(in Data Parallel Extension for NumPy v0.17.0dev4+1.g44bb0680455)"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpnp</span></code></a>
850
+
and includes <aclass="reference internal" href="../api_reference/dpctl/index.html#module-dpctl" title="dpctl"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpctl</span></code></a> along with its dependencies and sister projects <aclass="reference external" href="https://intelpython.github.io/dpnp/overview.html#module-dpnp" title="(in Data Parallel Extension for NumPy v0.17.0dev4+3.g498e705d848)"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpnp</span></code></a>
<p>Once the installed environment is activated, <codeclass="docutils literal notranslate"><spanclass="pre">dpctl</span></code> should be ready to use.</p>
0 commit comments