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
<td><p>Returns the address of the <codeclass="docutils literal notranslate"><spanclass="pre">DPCTLSyclContextRef</span></code> pointer as a <codeclass="docutils literal notranslate"><spanclass="pre">size_t</span></code>.</p></td>
<td><p>Disables peer access to <codeclass="docutils literal notranslate"><spanclass="pre">peer</span></code> from this device (<codeclass="docutils literal notranslate"><spanclass="pre">self</span></code>).</p></td>
<td><p>Returns <codeclass="docutils literal notranslate"><spanclass="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>
<td><p>Returns the list of <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> objects associated with <aclass="reference internal" href="#dpctl.SyclPlatform" title="dpctl.SyclPlatform"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclPlatform</span></code></a> instance selected based on the given <aclass="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.device_type</span></code></a>.</p></td>
667
+
<td><p>Returns a tuple of <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> objects associated with <aclass="reference internal" href="#dpctl.SyclPlatform" title="dpctl.SyclPlatform"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclPlatform</span></code></a> instance selected based on the given <aclass="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.device_type</span></code></a>.</p></td>
<spanclass="sig-prename descclassname"><spanclass="pre">dpctl.</span></span><spanclass="sig-name descname"><spanclass="pre">get_composite_devices</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#dpctl.get_composite_devices" title="Permalink to this definition">¶</a></dt>
625
-
<dd><p>Returns a list of the available composite <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a>
625
+
<dd><p>Returns a tuple of the available composite <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a>
626
626
instances.</p>
627
627
<p>Only available when <cite>ZE_FLAT_DEVICE_HIERARCHY=COMBINED</cite> is set in
628
628
the environment, and only for specific Level Zero devices
<ddclass="field-odd"><p>A list of available composite <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> instances.</p>
636
+
<ddclass="field-odd"><p>A tuple of available composite <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> instances.</p>
<spanclass="sig-prename descclassname"><spanclass="pre">dpctl.</span></span><spanclass="sig-name descname"><spanclass="pre">get_devices</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">backend</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">backend_type.all</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">device_type</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">device_type.all</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#dpctl.get_devices" title="Permalink to this definition">¶</a></dt>
625
-
<dd><p>Returns a list of <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> instances selected based on
625
+
<dd><p>Returns a tuple of <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> instances selected based on
626
626
the given <aclass="reference internal" href="../constants.html#dpctl.device_type" title="dpctl.device_type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.device_type</span></code></a> and <aclass="reference internal" href="../constants.html#dpctl.backend_type" title="dpctl.backend_type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.backend_type</span></code></a> values.</p>
627
627
<p>The function is analogous to <codeclass="docutils literal notranslate"><spanclass="pre">sycl::devices::get_devices()</span></code>, but with an
628
628
additional functionality that allows filtering SYCL devices based on
<ddclass="field-even"><p>A list of available <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> instances that
644
+
<ddclass="field-even"><p>A tuple of available <aclass="reference internal" href="dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> instances that
645
645
satisfy the provided <aclass="reference internal" href="../constants.html#dpctl.backend_type" title="dpctl.backend_type"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.backend_type</span></code></a> and
<spanclass="sig-prename descclassname"><spanclass="pre">SyclContext.</span></span><spanclass="sig-name descname"><spanclass="pre">get_devices</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#dpctl.SyclContext.get_devices" title="Permalink to this definition">¶</a></dt>
625
-
<dd><p>Returns the list of <aclass="reference internal" href="../dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> objects associated with
625
+
<dd><p>Returns a tuple of <aclass="reference internal" href="../dpctl.SyclDevice.html#dpctl.SyclDevice" title="dpctl.SyclDevice"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclDevice</span></code></a> objects associated with
<ddclass="field-odd"><p><aclass="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.14)"><strong>ValueError</strong></a> – If the <codeclass="docutils literal notranslate"><spanclass="pre">DPCTLContext_GetDevices</span></code> call returned
0 commit comments