Skip to content

Commit

Permalink
Merge pull request #880 from IntelPython/fix/dpnp_type
Browse files Browse the repository at this point in the history
Changes to the Numba type to represent dpnp ndarray types.
Various changes to fix GitHub CI workflows. 1b7cbc3
  • Loading branch information
github-actions[bot] committed Jan 22, 2023
1 parent 17719f8 commit 58eb122
Show file tree
Hide file tree
Showing 139 changed files with 335 additions and 821 deletions.
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: b8987d2edd4b2d56adca36f017560fe1
config: 3650ef602f105446a876b99d1bdd0eb5
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion dev/CoreFeatures.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Code-generation based on a device &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>Code-generation based on a device &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
numba\_dpex.core.dpnp\_ndarray.dpnp\_empty module
=================================================

.. automodule:: numba_dpex.core.dpnp_ndarray.dpnp_empty
:members:
:undoc-members:
:show-inheritance:
18 changes: 18 additions & 0 deletions dev/_sources/apidoc/numba_dpex.core.dpnp_ndarray.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
numba\_dpex.core.dpnp\_ndarray package
======================================

Submodules
----------

.. toctree::
:maxdepth: 4

numba_dpex.core.dpnp_ndarray.dpnp_empty

Module contents
---------------

.. automodule:: numba_dpex.core.dpnp_ndarray
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions dev/_sources/apidoc/numba_dpex.core.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Subpackages
:maxdepth: 4

numba_dpex.core.datamodel
numba_dpex.core.dpnp_ndarray
numba_dpex.core.kernel_interface
numba_dpex.core.passes
numba_dpex.core.typeconv
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
numba\_dpex.core.types.dpnp\_ndarray\_type module
=================================================

.. automodule:: numba_dpex.core.types.dpnp_ndarray_type
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions dev/_sources/apidoc/numba_dpex.core.types.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Submodules
:maxdepth: 4

numba_dpex.core.types.array_type
numba_dpex.core.types.dpnp_ndarray_type
numba_dpex.core.types.numba_types_short_names
numba_dpex.core.types.usm_ndarray_type

Expand Down

This file was deleted.

7 changes: 0 additions & 7 deletions dev/_sources/apidoc/numba_dpex.dpnp_ndarray.models.rst.txt

This file was deleted.

21 changes: 0 additions & 21 deletions dev/_sources/apidoc/numba_dpex.dpnp_ndarray.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions dev/_sources/apidoc/numba_dpex.dpnp_ndarray.typeof.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions dev/_sources/apidoc/numba_dpex.dpnp_ndarray.types.rst.txt

This file was deleted.

1 change: 0 additions & 1 deletion dev/_sources/apidoc/numba_dpex.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Subpackages
numba_dpex.core
numba_dpex.dpctl_iface
numba_dpex.dpnp_iface
numba_dpex.dpnp_ndarray
numba_dpex.ocl
numba_dpex.utils

Expand Down
2 changes: 1 addition & 1 deletion dev/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.19.0+95.gacacdbee',
VERSION: '0.19.0+108.g1b7cbc35',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
8 changes: 2 additions & 6 deletions dev/apidoc/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down Expand Up @@ -190,11 +190,6 @@ <h1>numba_dpex<a class="headerlink" href="#numba-dpex" title="Permalink to this
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.dpnp_iface.html#module-numba_dpex.dpnp_iface">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="numba_dpex.dpnp_ndarray.html">numba_dpex.dpnp_ndarray package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.dpnp_ndarray.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.dpnp_ndarray.html#module-numba_dpex.dpnp_ndarray">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="numba_dpex.ocl.html">numba_dpex.ocl package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.ocl.html#subpackages">Subpackages</a></li>
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.ocl.html#submodules">Submodules</a></li>
Expand Down Expand Up @@ -298,6 +293,7 @@ <h1>numba_dpex<a class="headerlink" href="#numba-dpex" title="Permalink to this
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.html#numba_dpex.Array.key"><code class="docutils literal notranslate"><span class="pre">Array.key</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="numba_dpex.html#numba_dpex.DpnpNdArray"><code class="docutils literal notranslate"><span class="pre">DpnpNdArray</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="numba_dpex.html#numba_dpex.USMNdArray"><code class="docutils literal notranslate"><span class="pre">USMNdArray</span></code></a><ul>
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.html#numba_dpex.USMNdArray.as_array"><code class="docutils literal notranslate"><span class="pre">USMNdArray.as_array</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.html#numba_dpex.USMNdArray.box_type"><code class="docutils literal notranslate"><span class="pre">USMNdArray.box_type</span></code></a></li>
Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.codegen.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.codegen module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.codegen module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.config.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.config module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.config module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.caching.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.core.caching module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.caching module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.compiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.core.compiler module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.compiler module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.datamodel.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.core.datamodel package &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.datamodel package &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.datamodel.models.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.core.datamodel.models module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.datamodel.models module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.descriptor.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.core.descriptor module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.descriptor module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.dpnp_ndarray.dpnp_empty module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.dpnp_ndarray.dpnp_empty module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down Expand Up @@ -149,13 +149,13 @@

<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>

<li>numba_dpex.dpnp_ndarray.dpnp_empty module</li>
<li>numba_dpex.core.dpnp_ndarray.dpnp_empty module</li>


<li class="wy-breadcrumbs-aside">


<a href="../_sources/apidoc/numba_dpex.dpnp_ndarray.dpnp_empty.rst.txt" rel="nofollow"> View page source</a>
<a href="../_sources/apidoc/numba_dpex.core.dpnp_ndarray.dpnp_empty.rst.txt" rel="nofollow"> View page source</a>


</li>
Expand All @@ -168,23 +168,23 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<section id="module-numba_dpex.dpnp_ndarray.dpnp_empty">
<span id="numba-dpex-dpnp-ndarray-dpnp-empty-module"></span><h1>numba_dpex.dpnp_ndarray.dpnp_empty module<a class="headerlink" href="#module-numba_dpex.dpnp_ndarray.dpnp_empty" title="Permalink to this heading"></a></h1>
<section id="module-numba_dpex.core.dpnp_ndarray.dpnp_empty">
<span id="numba-dpex-core-dpnp-ndarray-dpnp-empty-module"></span><h1>numba_dpex.core.dpnp_ndarray.dpnp_empty module<a class="headerlink" href="#module-numba_dpex.core.dpnp_ndarray.dpnp_empty" title="Permalink to this heading"></a></h1>
<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.dpnp_ndarray.dpnp_empty.impl_dpnp_empty">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.dpnp_ndarray.dpnp_empty.</span></span><span class="sig-name descname"><span class="pre">impl_dpnp_empty</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">context</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">builder</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sig</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">args</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.dpnp_ndarray.dpnp_empty.impl_dpnp_empty" title="Permalink to this definition"></a></dt>
<dt class="sig sig-object py" id="numba_dpex.core.dpnp_ndarray.dpnp_empty.impl_dpnp_empty">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.core.dpnp_ndarray.dpnp_empty.</span></span><span class="sig-name descname"><span class="pre">impl_dpnp_empty</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">context</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">builder</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sig</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">args</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.dpnp_ndarray.dpnp_empty.impl_dpnp_empty" title="Permalink to this definition"></a></dt>
<dd><p>Inputs: shape, dtype, usm_type, queue</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.dpnp_ndarray.dpnp_empty.parse_usm_type">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.dpnp_ndarray.dpnp_empty.</span></span><span class="sig-name descname"><span class="pre">parse_usm_type</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">usm_type</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.dpnp_ndarray.dpnp_empty.parse_usm_type" title="Permalink to this definition"></a></dt>
<dt class="sig sig-object py" id="numba_dpex.core.dpnp_ndarray.dpnp_empty.parse_usm_type">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.core.dpnp_ndarray.dpnp_empty.</span></span><span class="sig-name descname"><span class="pre">parse_usm_type</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">usm_type</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.dpnp_ndarray.dpnp_empty.parse_usm_type" title="Permalink to this definition"></a></dt>
<dd><p>Return the usm_type, if it is a string literal.</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.dpnp_ndarray.dpnp_empty.type_dpnp_empty">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.dpnp_ndarray.dpnp_empty.</span></span><span class="sig-name descname"><span class="pre">type_dpnp_empty</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">context</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.dpnp_ndarray.dpnp_empty.type_dpnp_empty" title="Permalink to this definition"></a></dt>
<dt class="sig sig-object py" id="numba_dpex.core.dpnp_ndarray.dpnp_empty.type_dpnp_empty">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.core.dpnp_ndarray.dpnp_empty.</span></span><span class="sig-name descname"><span class="pre">type_dpnp_empty</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">context</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.dpnp_ndarray.dpnp_empty.type_dpnp_empty" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.dpnp_ndarray.models module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.dpnp_ndarray package &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down Expand Up @@ -149,13 +149,13 @@

<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>

<li>numba_dpex.dpnp_ndarray.models module</li>
<li>numba_dpex.core.dpnp_ndarray package</li>


<li class="wy-breadcrumbs-aside">


<a href="../_sources/apidoc/numba_dpex.dpnp_ndarray.models.rst.txt" rel="nofollow"> View page source</a>
<a href="../_sources/apidoc/numba_dpex.core.dpnp_ndarray.rst.txt" rel="nofollow"> View page source</a>


</li>
Expand All @@ -168,8 +168,24 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<section id="module-numba_dpex.dpnp_ndarray.models">
<span id="numba-dpex-dpnp-ndarray-models-module"></span><h1>numba_dpex.dpnp_ndarray.models module<a class="headerlink" href="#module-numba_dpex.dpnp_ndarray.models" title="Permalink to this heading"></a></h1>
<section id="numba-dpex-core-dpnp-ndarray-package">
<h1>numba_dpex.core.dpnp_ndarray package<a class="headerlink" href="#numba-dpex-core-dpnp-ndarray-package" title="Permalink to this heading"></a></h1>
<section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this heading"></a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="numba_dpex.core.dpnp_ndarray.dpnp_empty.html">numba_dpex.core.dpnp_ndarray.dpnp_empty module</a><ul>
<li class="toctree-l2"><a class="reference internal" href="numba_dpex.core.dpnp_ndarray.dpnp_empty.html#numba_dpex.core.dpnp_ndarray.dpnp_empty.impl_dpnp_empty"><code class="docutils literal notranslate"><span class="pre">impl_dpnp_empty()</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="numba_dpex.core.dpnp_ndarray.dpnp_empty.html#numba_dpex.core.dpnp_ndarray.dpnp_empty.parse_usm_type"><code class="docutils literal notranslate"><span class="pre">parse_usm_type()</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="numba_dpex.core.dpnp_ndarray.dpnp_empty.html#numba_dpex.core.dpnp_ndarray.dpnp_empty.type_dpnp_empty"><code class="docutils literal notranslate"><span class="pre">type_dpnp_empty()</span></code></a></li>
</ul>
</li>
</ul>
</div>
</section>
<section id="module-numba_dpex.core.dpnp_ndarray">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-numba_dpex.core.dpnp_ndarray" title="Permalink to this heading"></a></h2>
</section>
</section>


Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>numba_dpex.core.exceptions module &mdash; numba-dpex 0.19.0+95.gacacdbee documentation</title>
<title>numba_dpex.core.exceptions module &mdash; numba-dpex 0.19.0+108.g1b7cbc35 documentation</title>



Expand Down
Loading

0 comments on commit 58eb122

Please sign in to comment.