Skip to content

Commit b3da6e0

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 1921
1 parent 3bb3dc7 commit b3da6e0

File tree

476 files changed

+1174
-1174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

476 files changed

+1174
-1174
lines changed

pulls/1921/_modules/dpctl.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<link rel="shortcut icon" href="../_static/dpctl.svg"/><!-- Generated with Sphinx 7.1.2 and Furo 2024.08.06 -->
1717
<title>dpctl - Data Parallel Control (dpctl) 0.19.0dev0 documentation</title>
18-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
18+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1919
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
2020
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
2121
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
@@ -836,18 +836,18 @@ <h1>Source code for dpctl</h1><div class="highlight"><pre>
836836
<span class="sd">&quot;&quot;&quot;</span>
837837
<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Intel Corp.&quot;</span>
838838

839-
<span class="kn">import</span> <span class="nn">os</span>
840-
<span class="kn">import</span> <span class="nn">os.path</span>
839+
<span class="kn">import</span><span class="w"> </span><span class="nn">os</span>
840+
<span class="kn">import</span><span class="w"> </span><span class="nn">os.path</span>
841841

842-
<span class="kn">from</span> <span class="nn">.</span> <span class="kn">import</span> <span class="n">_init_helper</span>
843-
<span class="kn">from</span> <span class="nn">._device_selection</span> <span class="kn">import</span> <span class="n">select_device_with_aspects</span>
844-
<span class="kn">from</span> <span class="nn">._sycl_context</span> <span class="kn">import</span> <span class="n">SyclContext</span><span class="p">,</span> <span class="n">SyclContextCreationError</span>
845-
<span class="kn">from</span> <span class="nn">._sycl_device</span> <span class="kn">import</span> <span class="p">(</span>
842+
<span class="kn">from</span><span class="w"> </span><span class="nn">.</span><span class="w"> </span><span class="kn">import</span> <span class="n">_init_helper</span>
843+
<span class="kn">from</span><span class="w"> </span><span class="nn">._device_selection</span><span class="w"> </span><span class="kn">import</span> <span class="n">select_device_with_aspects</span>
844+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_context</span><span class="w"> </span><span class="kn">import</span> <span class="n">SyclContext</span><span class="p">,</span> <span class="n">SyclContextCreationError</span>
845+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_device</span><span class="w"> </span><span class="kn">import</span> <span class="p">(</span>
846846
<span class="n">SyclDevice</span><span class="p">,</span>
847847
<span class="n">SyclDeviceCreationError</span><span class="p">,</span>
848848
<span class="n">SyclSubDeviceCreationError</span><span class="p">,</span>
849849
<span class="p">)</span>
850-
<span class="kn">from</span> <span class="nn">._sycl_device_factory</span> <span class="kn">import</span> <span class="p">(</span>
850+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_device_factory</span><span class="w"> </span><span class="kn">import</span> <span class="p">(</span>
851851
<span class="n">get_devices</span><span class="p">,</span>
852852
<span class="n">get_num_devices</span><span class="p">,</span>
853853
<span class="n">has_accelerator_devices</span><span class="p">,</span>
@@ -858,18 +858,18 @@ <h1>Source code for dpctl</h1><div class="highlight"><pre>
858858
<span class="n">select_default_device</span><span class="p">,</span>
859859
<span class="n">select_gpu_device</span><span class="p">,</span>
860860
<span class="p">)</span>
861-
<span class="kn">from</span> <span class="nn">._sycl_event</span> <span class="kn">import</span> <span class="n">SyclEvent</span>
862-
<span class="kn">from</span> <span class="nn">._sycl_platform</span> <span class="kn">import</span> <span class="n">SyclPlatform</span><span class="p">,</span> <span class="n">get_platforms</span><span class="p">,</span> <span class="n">lsplatform</span>
863-
<span class="kn">from</span> <span class="nn">._sycl_queue</span> <span class="kn">import</span> <span class="p">(</span>
861+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_event</span><span class="w"> </span><span class="kn">import</span> <span class="n">SyclEvent</span>
862+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_platform</span><span class="w"> </span><span class="kn">import</span> <span class="n">SyclPlatform</span><span class="p">,</span> <span class="n">get_platforms</span><span class="p">,</span> <span class="n">lsplatform</span>
863+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_queue</span><span class="w"> </span><span class="kn">import</span> <span class="p">(</span>
864864
<span class="n">SyclKernelInvalidRangeError</span><span class="p">,</span>
865865
<span class="n">SyclKernelSubmitError</span><span class="p">,</span>
866866
<span class="n">SyclQueue</span><span class="p">,</span>
867867
<span class="n">SyclQueueCreationError</span><span class="p">,</span>
868868
<span class="p">)</span>
869-
<span class="kn">from</span> <span class="nn">._sycl_queue_manager</span> <span class="kn">import</span> <span class="n">get_device_cached_queue</span>
870-
<span class="kn">from</span> <span class="nn">._sycl_timer</span> <span class="kn">import</span> <span class="n">SyclTimer</span>
871-
<span class="kn">from</span> <span class="nn">._version</span> <span class="kn">import</span> <span class="n">get_versions</span>
872-
<span class="kn">from</span> <span class="nn">.enum_types</span> <span class="kn">import</span> <span class="p">(</span>
869+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_queue_manager</span><span class="w"> </span><span class="kn">import</span> <span class="n">get_device_cached_queue</span>
870+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_timer</span><span class="w"> </span><span class="kn">import</span> <span class="n">SyclTimer</span>
871+
<span class="kn">from</span><span class="w"> </span><span class="nn">._version</span><span class="w"> </span><span class="kn">import</span> <span class="n">get_versions</span>
872+
<span class="kn">from</span><span class="w"> </span><span class="nn">.enum_types</span><span class="w"> </span><span class="kn">import</span> <span class="p">(</span>
873873
<span class="n">backend_type</span><span class="p">,</span>
874874
<span class="n">device_type</span><span class="p">,</span>
875875
<span class="n">event_status_type</span><span class="p">,</span>
@@ -939,7 +939,7 @@ <h1>Source code for dpctl</h1><div class="highlight"><pre>
939939
<span class="n">os</span><span class="o">.</span><span class="n">add_dll_directory</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">dirname</span><span class="p">(</span><span class="vm">__file__</span><span class="p">))</span>
940940

941941

942-
<div class="viewcode-block" id="get_include"><a class="viewcode-back" href="../api_reference/dpctl/generated/dpctl.get_include.html#dpctl.get_include">[docs]</a><span class="k">def</span> <span class="nf">get_include</span><span class="p">():</span>
942+
<div class="viewcode-block" id="get_include"><a class="viewcode-back" href="../api_reference/dpctl/generated/dpctl.get_include.html#dpctl.get_include">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">get_include</span><span class="p">():</span>
943943
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
944944
<span class="sd"> Return the directory that contains the dpctl \*.h header files.</span>
945945

pulls/1921/_modules/dpctl/_device_selection.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<link rel="shortcut icon" href="../../_static/dpctl.svg"/><!-- Generated with Sphinx 7.1.2 and Furo 2024.08.06 -->
1717
<title>dpctl._device_selection - Data Parallel Control (dpctl) 0.19.0dev0 documentation</title>
18-
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
18+
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=b86133f3" />
1919
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
2020
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
2121
<link rel="stylesheet" type="text/css" href="../../_static/sphinx-design.min.css?v=95c83b7e" />
@@ -827,14 +827,14 @@ <h1>Source code for dpctl._device_selection</h1><div class="highlight"><pre>
827827
<span class="c1"># See the License for the specific language governing permissions and</span>
828828
<span class="c1"># limitations under the License.</span>
829829

830-
<span class="kn">import</span> <span class="nn">collections.abc</span>
831-
<span class="kn">from</span> <span class="nn">itertools</span> <span class="kn">import</span> <span class="n">chain</span>
830+
<span class="kn">import</span><span class="w"> </span><span class="nn">collections.abc</span>
831+
<span class="kn">from</span><span class="w"> </span><span class="nn">itertools</span><span class="w"> </span><span class="kn">import</span> <span class="n">chain</span>
832832

833-
<span class="kn">from</span> <span class="nn">._sycl_device</span> <span class="kn">import</span> <span class="n">SyclDevice</span><span class="p">,</span> <span class="n">SyclDeviceCreationError</span>
834-
<span class="kn">from</span> <span class="nn">._sycl_device_factory</span> <span class="kn">import</span> <span class="n">get_devices</span>
833+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_device</span><span class="w"> </span><span class="kn">import</span> <span class="n">SyclDevice</span><span class="p">,</span> <span class="n">SyclDeviceCreationError</span>
834+
<span class="kn">from</span><span class="w"> </span><span class="nn">._sycl_device_factory</span><span class="w"> </span><span class="kn">import</span> <span class="n">get_devices</span>
835835

836836

837-
<div class="viewcode-block" id="select_device_with_aspects"><a class="viewcode-back" href="../../api_reference/dpctl/generated/dpctl.select_device_with_aspects.html#dpctl.select_device_with_aspects">[docs]</a><span class="k">def</span> <span class="nf">select_device_with_aspects</span><span class="p">(</span><span class="n">required_aspects</span><span class="p">,</span> <span class="n">excluded_aspects</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
837+
<div class="viewcode-block" id="select_device_with_aspects"><a class="viewcode-back" href="../../api_reference/dpctl/generated/dpctl.select_device_with_aspects.html#dpctl.select_device_with_aspects">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">select_device_with_aspects</span><span class="p">(</span><span class="n">required_aspects</span><span class="p">,</span> <span class="n">excluded_aspects</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
838838
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Selects the root :class:`dpctl.SyclDevice` that has the highest</span>
839839
<span class="sd"> default selector score among devices that have all aspects in the</span>
840840
<span class="sd"> `required_aspects` list, and do not have any aspects in `excluded_aspects`</span>

0 commit comments

Comments
 (0)