Skip to content

Commit bdaeda8

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 2317
1 parent c200190 commit bdaeda8

347 files changed

Lines changed: 9666 additions & 335 deletions

File tree

Some content is hidden

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

pulls/2317/_modules/dpctl.html

Lines changed: 63 additions & 55 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/_device_selection.html

Lines changed: 24 additions & 16 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/_sycl_timer.html

Lines changed: 45 additions & 37 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/enum_types.html

Lines changed: 41 additions & 33 deletions
Large diffs are not rendered by default.

pulls/2317/_modules/dpctl/program/_program.html

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
<li class="toctree-l3 has-children"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.SyclDevice.html">dpctl.SyclDevice</a><input aria-label="Toggle navigation of dpctl.SyclDevice" class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" role="switch" type="checkbox"/><label for="toctree-checkbox-5"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
283283
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclDevice.addressof_ref.html">dpctl.SyclDevice.addressof_ref</a></li>
284284
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclDevice.can_access_peer.html">dpctl.SyclDevice.can_access_peer</a></li>
285+
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclDevice.can_compile.html">dpctl.SyclDevice.can_compile</a></li>
285286
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclDevice.component_devices.html">dpctl.SyclDevice.component_devices</a></li>
286287
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclDevice.create_sub_devices.html">dpctl.SyclDevice.create_sub_devices</a></li>
287288
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclDevice.disable_peer_access.html">dpctl.SyclDevice.disable_peer_access</a></li>
@@ -391,7 +392,12 @@
391392
<li class="toctree-l3 has-children"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.SyclContext.html">dpctl.SyclContext</a><input aria-label="Toggle navigation of dpctl.SyclContext" class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
392393
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.addressof_ref.html">dpctl.SyclContext.addressof_ref</a></li>
393394
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.get_devices.html">dpctl.SyclContext.get_devices</a></li>
395+
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.atomic_fence_order_capabilities.html">dpctl.SyclContext.atomic_fence_order_capabilities</a></li>
396+
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.atomic_fence_scope_capabilities.html">dpctl.SyclContext.atomic_fence_scope_capabilities</a></li>
397+
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.atomic_memory_order_capabilities.html">dpctl.SyclContext.atomic_memory_order_capabilities</a></li>
398+
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.atomic_memory_scope_capabilities.html">dpctl.SyclContext.atomic_memory_scope_capabilities</a></li>
394399
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.device_count.html">dpctl.SyclContext.device_count</a></li>
400+
<li class="toctree-l4"><a class="reference internal" href="../../../api_reference/dpctl/generated/generated/dpctl.SyclContext.sycl_platform.html">dpctl.SyclContext.sycl_platform</a></li>
395401
</ul>
396402
</li>
397403
<li class="toctree-l3 has-children"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.SyclQueue.html">dpctl.SyclQueue</a><input aria-label="Toggle navigation of dpctl.SyclQueue" class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
@@ -556,6 +562,8 @@
556562
<li class="toctree-l2 has-children"><a class="reference internal" href="../../../api_reference/dpctl/compiler.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dpctl.compiler</span></code></a><input aria-label="Toggle navigation of dpctl.compiler" class="toctree-checkbox" id="toctree-checkbox-17" name="toctree-checkbox-17" role="switch" type="checkbox"/><label for="toctree-checkbox-17"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
557563
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.create_kernel_bundle_from_source.html">dpctl.compiler.create_kernel_bundle_from_source</a></li>
558564
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.create_kernel_bundle_from_spirv.html">dpctl.compiler.create_kernel_bundle_from_spirv</a></li>
565+
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.create_kernel_bundle_from_sycl_source.html">dpctl.compiler.create_kernel_bundle_from_sycl_source</a></li>
566+
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.is_sycl_source_compilation_available.html">dpctl.compiler.is_sycl_source_compilation_available</a></li>
559567
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.SyclKernelBundle.html">dpctl.compiler.SyclKernelBundle</a></li>
560568
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.SyclKernel.html">dpctl.compiler.SyclKernel</a></li>
561569
<li class="toctree-l3"><a class="reference internal" href="../../../api_reference/dpctl/generated/dpctl.compiler.SpecializationConstant.html">dpctl.compiler.SpecializationConstant</a></li>
@@ -684,19 +692,19 @@ <h1>Source code for dpctl.program._program</h1><div class="highlight"><pre>
684692
<span class="c1">#</span>
685693
<span class="c1"># Copyright 2020-2025 Intel Corporation</span>
686694
<span class="c1">#</span>
687-
<span class="c1"># Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span>
695+
<span class="c1"># Licensed under the Apache License, Version 2.0 (the "License");</span>
688696
<span class="c1"># you may not use this file except in compliance with the License.</span>
689697
<span class="c1"># You may obtain a copy of the License at</span>
690698
<span class="c1">#</span>
691699
<span class="c1"># http://www.apache.org/licenses/LICENSE-2.0</span>
692700
<span class="c1">#</span>
693701
<span class="c1"># Unless required by applicable law or agreed to in writing, software</span>
694-
<span class="c1"># distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span>
702+
<span class="c1"># distributed under the License is distributed on an "AS IS" BASIS,</span>
695703
<span class="c1"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
696704
<span class="c1"># See the License for the specific language governing permissions and</span>
697705
<span class="c1"># limitations under the License.</span>
698706

699-
<span class="sd">&quot;&quot;&quot;Deprecated wrapper functions for backward compatibility.&quot;&quot;&quot;</span>
707+
<span class="sd">"""Deprecated wrapper functions for backward compatibility."""</span>
700708

701709
<span class="kn">import</span><span class="w"> </span><span class="nn">warnings</span>
702710

@@ -707,38 +715,38 @@ <h1>Source code for dpctl.program._program</h1><div class="highlight"><pre>
707715
<span class="p">)</span>
708716

709717

710-
<div class="viewcode-block" id="create_program_from_source"><a class="viewcode-back" href="../../../api_reference/dpctl/generated/dpctl.program.create_program_from_source.html#dpctl.program.create_program_from_source">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">create_program_from_source</span><span class="p">(</span><span class="n">q</span><span class="p">,</span> <span class="n">src</span><span class="p">,</span> <span class="n">copts</span><span class="o">=</span><span class="s2">&quot;&quot;</span><span class="p">):</span>
711-
<span class="w"> </span><span class="sd">&quot;&quot;&quot;This function is a deprecated alias for</span>
718+
<div class="viewcode-block" id="create_program_from_source"><a class="viewcode-back" href="../../../api_reference/dpctl/generated/dpctl.program.create_program_from_source.html#dpctl.program.create_program_from_source">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">create_program_from_source</span><span class="p">(</span><span class="n">q</span><span class="p">,</span> <span class="n">src</span><span class="p">,</span> <span class="n">copts</span><span class="o">=</span><span class="s2">""</span><span class="p">):</span>
719+
<span class="w"> </span><span class="sd">"""This function is a deprecated alias for</span>
712720
<span class="sd"> :func:`dpctl.compiler.create_kernel_bundle_from_source`.</span>
713721
<span class="sd"> New code should use :func:`dpctl.compiler.create_kernel_bundle_from_source`.</span>
714-
<span class="sd"> &quot;&quot;&quot;</span>
722+
<span class="sd"> """</span>
715723
<span class="n">warnings</span><span class="o">.</span><span class="n">warn</span><span class="p">(</span>
716-
<span class="s2">&quot;create_program_from_source is deprecated and will be removed in a &quot;</span>
717-
<span class="s2">&quot;future release. Use create_kernel_bundle_from_source instead.&quot;</span><span class="p">,</span>
724+
<span class="s2">"create_program_from_source is deprecated and will be removed in a "</span>
725+
<span class="s2">"future release. Use create_kernel_bundle_from_source instead."</span><span class="p">,</span>
718726
<span class="ne">DeprecationWarning</span><span class="p">,</span>
719727
<span class="n">stacklevel</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
720728
<span class="p">)</span>
721729
<span class="k">return</span> <span class="n">create_kernel_bundle_from_source</span><span class="p">(</span><span class="n">q</span><span class="p">,</span> <span class="n">src</span><span class="p">,</span> <span class="n">copts</span><span class="p">)</span></div>
722730

723731

724-
<div class="viewcode-block" id="create_program_from_spirv"><a class="viewcode-back" href="../../../api_reference/dpctl/generated/dpctl.program.create_program_from_spirv.html#dpctl.program.create_program_from_spirv">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">create_program_from_spirv</span><span class="p">(</span><span class="n">q</span><span class="p">,</span> <span class="n">IL</span><span class="p">,</span> <span class="n">copts</span><span class="o">=</span><span class="s2">&quot;&quot;</span><span class="p">):</span>
725-
<span class="w"> </span><span class="sd">&quot;&quot;&quot;This function is a deprecated alias for</span>
732+
<div class="viewcode-block" id="create_program_from_spirv"><a class="viewcode-back" href="../../../api_reference/dpctl/generated/dpctl.program.create_program_from_spirv.html#dpctl.program.create_program_from_spirv">[docs]</a><span class="k">def</span><span class="w"> </span><span class="nf">create_program_from_spirv</span><span class="p">(</span><span class="n">q</span><span class="p">,</span> <span class="n">IL</span><span class="p">,</span> <span class="n">copts</span><span class="o">=</span><span class="s2">""</span><span class="p">):</span>
733+
<span class="w"> </span><span class="sd">"""This function is a deprecated alias for</span>
726734
<span class="sd"> :func:`dpctl.compiler.create_kernel_bundle_from_spirv`.</span>
727735
<span class="sd"> New code should use :func:`dpctl.compiler.create_kernel_bundle_from_spirv`.</span>
728-
<span class="sd"> &quot;&quot;&quot;</span>
736+
<span class="sd"> """</span>
729737
<span class="n">warnings</span><span class="o">.</span><span class="n">warn</span><span class="p">(</span>
730-
<span class="s2">&quot;create_program_from_spirv is deprecated and will be removed in a &quot;</span>
731-
<span class="s2">&quot;future release. Use create_kernel_bundle_from_spirv instead.&quot;</span><span class="p">,</span>
738+
<span class="s2">"create_program_from_spirv is deprecated and will be removed in a "</span>
739+
<span class="s2">"future release. Use create_kernel_bundle_from_spirv instead."</span><span class="p">,</span>
732740
<span class="ne">DeprecationWarning</span><span class="p">,</span>
733741
<span class="n">stacklevel</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
734742
<span class="p">)</span>
735743
<span class="k">return</span> <span class="n">create_kernel_bundle_from_spirv</span><span class="p">(</span><span class="n">q</span><span class="p">,</span> <span class="n">IL</span><span class="p">,</span> <span class="n">copts</span><span class="p">)</span></div>
736744

737745

738746
<span class="n">__all__</span> <span class="o">=</span> <span class="p">[</span>
739-
<span class="s2">&quot;create_program_from_source&quot;</span><span class="p">,</span>
740-
<span class="s2">&quot;create_program_from_spirv&quot;</span><span class="p">,</span>
741-
<span class="s2">&quot;SyclKernel&quot;</span><span class="p">,</span>
747+
<span class="s2">"create_program_from_source"</span><span class="p">,</span>
748+
<span class="s2">"create_program_from_spirv"</span><span class="p">,</span>
749+
<span class="s2">"SyclKernel"</span><span class="p">,</span>
742750
<span class="p">]</span>
743751
</pre></div>
744752
</article>

0 commit comments

Comments
 (0)