|
794 | 794 | <dt class="sig sig-object py" id="dpctl.backend_type"> |
795 | 795 | <span class="sig-prename descclassname"><span class="pre">dpctl.</span></span><span class="sig-name descname"><span class="pre">backend_type</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre"><enum</span> <span class="pre">'backend_type'></span></em><a class="reference internal" href="../../_modules/dpctl/enum_types.html#backend_type"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dpctl.backend_type" title="Permalink to this definition">¶</a></dt> |
796 | 796 | <dd><p>An <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.Enum" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.Enum</span></code></a> of supported SYCL backends.</p> |
797 | | -<dl class="simple"> |
798 | | -<dt>Accepted enum values are:</dt><dd><p><code class="docutils literal notranslate"><span class="pre">all</span></code> |
799 | | -<code class="docutils literal notranslate"><span class="pre">cuda</span></code> |
800 | | -<code class="docutils literal notranslate"><span class="pre">hip</span></code> |
801 | | -<code class="docutils literal notranslate"><span class="pre">level_zero</span></code> |
802 | | -<code class="docutils literal notranslate"><span class="pre">opencl</span></code></p> |
803 | | -</dd> |
804 | | -</dl> |
| 797 | +<p>Accepted enum values are</p> |
| 798 | +<blockquote> |
| 799 | +<div><ul class="simple"> |
| 800 | +<li><p><code class="docutils literal notranslate"><span class="pre">all</span></code></p></li> |
| 801 | +<li><p><code class="docutils literal notranslate"><span class="pre">cuda</span></code></p></li> |
| 802 | +<li><p><code class="docutils literal notranslate"><span class="pre">hip</span></code></p></li> |
| 803 | +<li><p><code class="docutils literal notranslate"><span class="pre">level_zero</span></code></p></li> |
| 804 | +<li><p><code class="docutils literal notranslate"><span class="pre">opencl</span></code></p></li> |
| 805 | +</ul> |
| 806 | +</div></blockquote> |
805 | 807 | <dl class="field-list"> |
806 | 808 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
807 | 809 | <dd class="field-odd"><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> |
|
820 | 822 | <dt class="sig sig-object py" id="dpctl.device_type"> |
821 | 823 | <span class="sig-prename descclassname"><span class="pre">dpctl.</span></span><span class="sig-name descname"><span class="pre">device_type</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre"><enum</span> <span class="pre">'device_type'></span></em><a class="reference internal" href="../../_modules/dpctl/enum_types.html#device_type"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dpctl.device_type" title="Permalink to this definition">¶</a></dt> |
822 | 824 | <dd><p>An <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.Enum" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.Enum</span></code></a> of supported SYCL device types.</p> |
823 | | -<dl class="simple"> |
824 | | -<dt>Accepted enum values are:</dt><dd><p><code class="docutils literal notranslate"><span class="pre">all</span></code> |
825 | | -<code class="docutils literal notranslate"><span class="pre">accelerator</span></code> |
826 | | -<code class="docutils literal notranslate"><span class="pre">automatic</span></code> |
827 | | -<code class="docutils literal notranslate"><span class="pre">cpu</span></code> |
828 | | -<code class="docutils literal notranslate"><span class="pre">custom</span></code> |
829 | | -<code class="docutils literal notranslate"><span class="pre">gpu</span></code></p> |
830 | | -</dd> |
831 | | -</dl> |
| 825 | +<p>Accepted enum values are:</p> |
| 826 | +<blockquote> |
| 827 | +<div><ul class="simple"> |
| 828 | +<li><p><code class="docutils literal notranslate"><span class="pre">all</span></code></p></li> |
| 829 | +<li><p><code class="docutils literal notranslate"><span class="pre">accelerator</span></code></p></li> |
| 830 | +<li><p><code class="docutils literal notranslate"><span class="pre">automatic</span></code></p></li> |
| 831 | +<li><p><code class="docutils literal notranslate"><span class="pre">cpu</span></code></p></li> |
| 832 | +<li><p><code class="docutils literal notranslate"><span class="pre">custom</span></code></p></li> |
| 833 | +<li><p><code class="docutils literal notranslate"><span class="pre">gpu</span></code></p></li> |
| 834 | +</ul> |
| 835 | +</div></blockquote> |
832 | 836 | <dl class="field-list"> |
833 | 837 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
834 | 838 | <dd class="field-odd"><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> |
|
851 | 855 | <dt class="sig sig-object py" id="dpctl.event_status_type"> |
852 | 856 | <span class="sig-prename descclassname"><span class="pre">dpctl.</span></span><span class="sig-name descname"><span class="pre">event_status_type</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre"><enum</span> <span class="pre">'event_status_type'></span></em><a class="reference internal" href="../../_modules/dpctl/enum_types.html#event_status_type"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dpctl.event_status_type" title="Permalink to this definition">¶</a></dt> |
853 | 857 | <dd><p>An <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.Enum" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.Enum</span></code></a> of SYCL event states.</p> |
854 | | -<dl class="simple"> |
855 | | -<dt>Accepted enum values are:</dt><dd><p><code class="docutils literal notranslate"><span class="pre">unknown_status</span></code> |
856 | | -<code class="docutils literal notranslate"><span class="pre">submitted</span></code> |
857 | | -<code class="docutils literal notranslate"><span class="pre">running</span></code> |
858 | | -<code class="docutils literal notranslate"><span class="pre">complete</span></code></p> |
859 | | -</dd> |
860 | | -</dl> |
| 858 | +<p>Accepted enum values are:</p> |
| 859 | +<blockquote> |
| 860 | +<div><ul class="simple"> |
| 861 | +<li><p><code class="docutils literal notranslate"><span class="pre">unknown_status</span></code></p></li> |
| 862 | +<li><p><code class="docutils literal notranslate"><span class="pre">submitted</span></code></p></li> |
| 863 | +<li><p><code class="docutils literal notranslate"><span class="pre">running</span></code></p></li> |
| 864 | +<li><p><code class="docutils literal notranslate"><span class="pre">complete</span></code></p></li> |
| 865 | +</ul> |
| 866 | +</div></blockquote> |
861 | 867 | <dl class="field-list"> |
862 | 868 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
863 | 869 | <dd class="field-odd"><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> |
|
874 | 880 | <dt class="sig sig-object py" id="dpctl.global_mem_cache_type"> |
875 | 881 | <span class="sig-prename descclassname"><span class="pre">dpctl.</span></span><span class="sig-name descname"><span class="pre">global_mem_cache_type</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre"><enum</span> <span class="pre">'global_mem_cache_type'></span></em><a class="reference internal" href="../../_modules/dpctl/enum_types.html#global_mem_cache_type"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dpctl.global_mem_cache_type" title="Permalink to this definition">¶</a></dt> |
876 | 882 | <dd><p>An <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.Enum" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.Enum</span></code></a> of global memory cache types for a device.</p> |
877 | | -<dl class="simple"> |
878 | | -<dt>Accepted enum values are:</dt><dd><p><code class="docutils literal notranslate"><span class="pre">indeterminate</span></code> |
879 | | -<code class="docutils literal notranslate"><span class="pre">none</span></code> |
880 | | -<code class="docutils literal notranslate"><span class="pre">read_only</span></code> |
881 | | -<code class="docutils literal notranslate"><span class="pre">read_write</span></code></p> |
882 | | -</dd> |
883 | | -</dl> |
| 883 | +<p>Accepted enum values are:</p> |
| 884 | +<blockquote> |
| 885 | +<div><ul class="simple"> |
| 886 | +<li><p><code class="docutils literal notranslate"><span class="pre">indeterminate</span></code></p></li> |
| 887 | +<li><p><code class="docutils literal notranslate"><span class="pre">none</span></code></p></li> |
| 888 | +<li><p><code class="docutils literal notranslate"><span class="pre">read_only</span></code></p></li> |
| 889 | +<li><p><code class="docutils literal notranslate"><span class="pre">read_write</span></code></p></li> |
| 890 | +</ul> |
| 891 | +</div></blockquote> |
884 | 892 | <dl class="field-list"> |
885 | 893 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
886 | 894 | <dd class="field-odd"><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> |
|
0 commit comments