|
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 | | -<p>Accepted enum values are</p> |
798 | 797 | <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> |
| 798 | +<div><div class="line-block"> |
| 799 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">all</span></code></div> |
| 800 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">cuda</span></code></div> |
| 801 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">hip</span></code></div> |
| 802 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">level_zero</span></code></div> |
| 803 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">opencl</span></code></div> |
| 804 | +</div> |
806 | 805 | </div></blockquote> |
807 | 806 | <dl class="field-list"> |
808 | 807 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
|
822 | 821 | <dt class="sig sig-object py" id="dpctl.device_type"> |
823 | 822 | <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> |
824 | 823 | <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> |
825 | | -<p>Accepted enum values are:</p> |
826 | 824 | <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> |
| 825 | +<div><div class="line-block"> |
| 826 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">all</span></code></div> |
| 827 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">accelerator</span></code></div> |
| 828 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">automatic</span></code></div> |
| 829 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">cpu</span></code></div> |
| 830 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">custom</span></code></div> |
| 831 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">gpu</span></code></div> |
| 832 | +</div> |
835 | 833 | </div></blockquote> |
836 | 834 | <dl class="field-list"> |
837 | 835 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
|
855 | 853 | <dt class="sig sig-object py" id="dpctl.event_status_type"> |
856 | 854 | <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> |
857 | 855 | <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> |
858 | | -<p>Accepted enum values are:</p> |
859 | 856 | <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> |
| 857 | +<div><div class="line-block"> |
| 858 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">unknown_status</span></code></div> |
| 859 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">submitted</span></code></div> |
| 860 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">running</span></code></div> |
| 861 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">complete</span></code></div> |
| 862 | +</div> |
866 | 863 | </div></blockquote> |
867 | 864 | <dl class="field-list"> |
868 | 865 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
|
880 | 877 | <dt class="sig sig-object py" id="dpctl.global_mem_cache_type"> |
881 | 878 | <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> |
882 | 879 | <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> |
883 | | -<p>Accepted enum values are:</p> |
884 | 880 | <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> |
| 881 | +<div><div class="line-block"> |
| 882 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">indeterminate</span></code></div> |
| 883 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">none</span></code></div> |
| 884 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">read_only</span></code></div> |
| 885 | +<div class="line"><code class="docutils literal notranslate"><span class="pre">read_write</span></code></div> |
| 886 | +</div> |
891 | 887 | </div></blockquote> |
892 | 888 | <dl class="field-list"> |
893 | 889 | <dt class="field-odd">Example<span class="colon">:</span></dt> |
|
0 commit comments