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
<spanclass="k">raise</span><spanclass="ne">TypeError</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"Unsupported data type kind: </span><spanclass="si">{</span><spanclass="n">kind</span><spanclass="si">}</span><spanclass="s2">"</span><spanclass="p">)</span>
828
+
<spanclass="k">raise</span><spanclass="ne">TypeError</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"Unsupported type for dtype kind: </span><spanclass="si">{</span><spanclass="nb">type</span><spanclass="p">(</span><spanclass="n">kind</span><spanclass="p">)</span><spanclass="si">}</span><spanclass="s2">"</span><spanclass="p">)</span>
<spanclass="k">raise</span><spanclass="ne">TypeError</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"Unsupported type for device argument: </span><spanclass="si">{</span><spanclass="nb">type</span><spanclass="p">(</span><spanclass="n">d</span><spanclass="p">)</span><spanclass="si">}</span><spanclass="s2">"</span><spanclass="p">)</span>
<ddclass="field-odd"><p><strong>device</strong> (Optional[<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>, <aclass="reference internal" href="../dpctl.SyclQueue.html#dpctl.SyclQueue" title="dpctl.SyclQueue"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclQueue</span></code></a>, <aclass="reference internal" href="../../tensor.utility_functions.html#dpctl.tensor.Device" title="dpctl.tensor.Device"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.tensor.Device</span></code></a>]) – array API concept of device used in getting default data types.
794
+
<ddclass="field-odd"><p><strong>device</strong> (Optional[<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>, <aclass="reference internal" href="../dpctl.SyclQueue.html#dpctl.SyclQueue" title="dpctl.SyclQueue"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclQueue</span></code></a>, <aclass="reference internal" href="../../tensor.utility_functions.html#dpctl.tensor.Device" title="dpctl.tensor.Device"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.tensor.Device</span></code></a>, str]) – array API concept of device used in getting default data types.
795
795
<codeclass="docutils literal notranslate"><spanclass="pre">device</span></code> can be <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code> (in which case the default device
796
-
is used), an instance 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> corresponding
797
-
to a non-partitioned SYCL device, an instance of
798
-
<aclass="reference internal" href="../dpctl.SyclQueue.html#dpctl.SyclQueue" title="dpctl.SyclQueue"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclQueue</span></code></a>, or a <aclass="reference internal" href="../../tensor.utility_functions.html#dpctl.tensor.Device" title="dpctl.tensor.Device"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.tensor.Device</span></code></a>
799
-
object returned by <aclass="reference internal" href="dpctl.tensor.usm_ndarray.device.html#dpctl.tensor.usm_ndarray.device" title="dpctl.tensor.usm_ndarray.device"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">dpctl.tensor.usm_ndarray.device</span></code></a>.
796
+
is used), an instance 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>, an instance
797
+
of <aclass="reference internal" href="../dpctl.SyclQueue.html#dpctl.SyclQueue" title="dpctl.SyclQueue"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.SyclQueue</span></code></a>, a <aclass="reference internal" href="../../tensor.utility_functions.html#dpctl.tensor.Device" title="dpctl.tensor.Device"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">dpctl.tensor.Device</span></code></a>
798
+
object returned by <aclass="reference internal" href="dpctl.tensor.usm_ndarray.device.html#dpctl.tensor.usm_ndarray.device" title="dpctl.tensor.usm_ndarray.device"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">dpctl.tensor.usm_ndarray.device</span></code></a>, or
0 commit comments