Skip to content

Commit

Permalink
deploy: b5fce11
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 28, 2024
1 parent c01d3ae commit 7dfef67
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pull/1409/.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: 1b555a36a66e5489e9c5fb070c1099c1
config: d94026287ac3814547f2cdb6b6e08ff3
tags: 645f666f9bcd5a90fca523b33c5a78b7
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ Overview
- Registers the type inference implementation function for a
* - :py:obj:`typeof_ndrange <numba_dpex.core.typing.typeof.typeof_ndrange>`\ (val, c)
- Registers the type inference implementation function for a
* - :py:obj:`typeof_atomic_ref <numba_dpex.core.typing.typeof.typeof_atomic_ref>`\ (val, ctx)
- Returns a ``numba_dpex.experimental.dpctpp_types.AtomicRefType``
* - :py:obj:`typeof_group <numba_dpex.core.typing.typeof.typeof_group>`\ (val, c)
- Registers the type inference implementation function for a
* - :py:obj:`typeof_item <numba_dpex.core.typing.typeof.typeof_item>`\ (val, c)
- Registers the type inference implementation function for a
* - :py:obj:`typeof_nditem <numba_dpex.core.typing.typeof.typeof_nditem>`\ (val, c)
- Registers the type inference implementation function for a
* - :py:obj:`typeof_local_accessor <numba_dpex.core.typing.typeof.typeof_local_accessor>`\ (val, c)
- Returns a ``numba_dpex.experimental.dpctpp_types.LocalAccessorType``



Expand Down Expand Up @@ -107,6 +117,66 @@ Functions
Returns: A numba_dpex.core.types.range_types.RangeType instance.


.. py:function:: typeof_atomic_ref(val: numba_dpex.kernel_api.AtomicRef, ctx) -> numba_dpex.core.types.kernel_api.atomic_ref.AtomicRefType
Returns a ``numba_dpex.experimental.dpctpp_types.AtomicRefType``
instance for a Python AtomicRef object.

:param val: Instance of the AtomicRef type.
:type val: AtomicRef
:param ctx: Numba typing context used for type inference.

Returns: AtomicRefType object corresponding to the AtomicRef object.



.. py:function:: typeof_group(val: numba_dpex.kernel_api.Group, c)
Registers the type inference implementation function for a
numba_dpex.kernel_api.Group PyObject.

:param val: An instance of numba_dpex.kernel_api.Group.
:param c: Unused argument used to be consistent with Numba API.

Returns: A numba_dpex.experimental.core.types.kernel_api.items.GroupType
instance.


.. py:function:: typeof_item(val: numba_dpex.kernel_api.Item, c)
Registers the type inference implementation function for a
numba_dpex.kernel_api.Item PyObject.

:param val: An instance of numba_dpex.kernel_api.Item.
:param c: Unused argument used to be consistent with Numba API.

Returns: A numba_dpex.experimental.core.types.kernel_api.items.ItemType
instance.


.. py:function:: typeof_nditem(val: numba_dpex.kernel_api.NdItem, c)
Registers the type inference implementation function for a
numba_dpex.kernel_api.NdItem PyObject.

:param val: An instance of numba_dpex.kernel_api.NdItem.
:param c: Unused argument used to be consistent with Numba API.

Returns: A numba_dpex.experimental.core.types.kernel_api.items.NdItemType
instance.


.. py:function:: typeof_local_accessor(val: numba_dpex.kernel_api.LocalAccessor, c) -> numba_dpex.core.types.kernel_api.local_accessor.LocalAccessorType
Returns a ``numba_dpex.experimental.dpctpp_types.LocalAccessorType``
instance for a Python LocalAccessor object.
:param val: Instance of the LocalAccessor type.
:type val: LocalAccessor
:param c: Numba typing context used for type inference.

Returns: LocalAccessorType object corresponding to the LocalAccessor object.





104 changes: 104 additions & 0 deletions pull/1409/autoapi/numba_dpex/core/typing/typeof/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,21 @@ <h2>Overview<a class="headerlink" href="#overview" title="Link to this heading">
<tr class="row-even"><td><p><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_ndrange" title="numba_dpex.core.typing.typeof.typeof_ndrange"><code class="xref py py-obj docutils literal notranslate"><span class="pre">typeof_ndrange</span></code></a>(val, c)</p></td>
<td><p>Registers the type inference implementation function for a</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_atomic_ref" title="numba_dpex.core.typing.typeof.typeof_atomic_ref"><code class="xref py py-obj docutils literal notranslate"><span class="pre">typeof_atomic_ref</span></code></a>(val, ctx)</p></td>
<td><p>Returns a <code class="docutils literal notranslate"><span class="pre">numba_dpex.experimental.dpctpp_types.AtomicRefType</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_group" title="numba_dpex.core.typing.typeof.typeof_group"><code class="xref py py-obj docutils literal notranslate"><span class="pre">typeof_group</span></code></a>(val, c)</p></td>
<td><p>Registers the type inference implementation function for a</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_item" title="numba_dpex.core.typing.typeof.typeof_item"><code class="xref py py-obj docutils literal notranslate"><span class="pre">typeof_item</span></code></a>(val, c)</p></td>
<td><p>Registers the type inference implementation function for a</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_nditem" title="numba_dpex.core.typing.typeof.typeof_nditem"><code class="xref py py-obj docutils literal notranslate"><span class="pre">typeof_nditem</span></code></a>(val, c)</p></td>
<td><p>Registers the type inference implementation function for a</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_local_accessor" title="numba_dpex.core.typing.typeof.typeof_local_accessor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">typeof_local_accessor</span></code></a>(val, c)</p></td>
<td><p>Returns a <code class="docutils literal notranslate"><span class="pre">numba_dpex.experimental.dpctpp_types.LocalAccessorType</span></code></p></td>
</tr>
</tbody>
</table>
</div>
Expand Down Expand Up @@ -386,6 +401,90 @@ <h2>Functions<a class="headerlink" href="#functions" title="Link to this heading
<p>Returns: A numba_dpex.core.types.range_types.RangeType instance.</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.core.typing.typeof.typeof_atomic_ref">
<span class="sig-name descname"><span class="pre">typeof_atomic_ref</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../../../kernel_api/index.html#numba_dpex.kernel_api.AtomicRef" title="numba_dpex.kernel_api.AtomicRef"><span class="pre">numba_dpex.kernel_api.AtomicRef</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">ctx</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="../../types/kernel_api/atomic_ref/index.html#numba_dpex.core.types.kernel_api.atomic_ref.AtomicRefType" title="numba_dpex.core.types.kernel_api.atomic_ref.AtomicRefType"><span class="pre">numba_dpex.core.types.kernel_api.atomic_ref.AtomicRefType</span></a></span></span><a class="headerlink" href="#numba_dpex.core.typing.typeof.typeof_atomic_ref" title="Link to this definition">#</a></dt>
<dd><p>Returns a <code class="docutils literal notranslate"><span class="pre">numba_dpex.experimental.dpctpp_types.AtomicRefType</span></code>
instance for a Python AtomicRef object.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>val</strong> (<a class="reference internal" href="../../../kernel_api/atomic_ref/index.html#numba_dpex.kernel_api.atomic_ref.AtomicRef" title="numba_dpex.kernel_api.atomic_ref.AtomicRef"><em>AtomicRef</em></a>) – Instance of the AtomicRef type.</p></li>
<li><p><strong>ctx</strong> – Numba typing context used for type inference.</p></li>
</ul>
</dd>
</dl>
<p>Returns: AtomicRefType object corresponding to the AtomicRef object.</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.core.typing.typeof.typeof_group">
<span class="sig-name descname"><span class="pre">typeof_group</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../../../kernel_api/index.html#numba_dpex.kernel_api.Group" title="numba_dpex.kernel_api.Group"><span class="pre">numba_dpex.kernel_api.Group</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">c</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.typing.typeof.typeof_group" title="Link to this definition">#</a></dt>
<dd><p>Registers the type inference implementation function for a
numba_dpex.kernel_api.Group PyObject.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>val</strong> – An instance of numba_dpex.kernel_api.Group.</p></li>
<li><p><strong>c</strong> – Unused argument used to be consistent with Numba API.</p></li>
</ul>
</dd>
</dl>
<dl class="simple">
<dt>Returns: A numba_dpex.experimental.core.types.kernel_api.items.GroupType</dt><dd><p>instance.</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.core.typing.typeof.typeof_item">
<span class="sig-name descname"><span class="pre">typeof_item</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../../../kernel_api/index.html#numba_dpex.kernel_api.Item" title="numba_dpex.kernel_api.Item"><span class="pre">numba_dpex.kernel_api.Item</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">c</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.typing.typeof.typeof_item" title="Link to this definition">#</a></dt>
<dd><p>Registers the type inference implementation function for a
numba_dpex.kernel_api.Item PyObject.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>val</strong> – An instance of numba_dpex.kernel_api.Item.</p></li>
<li><p><strong>c</strong> – Unused argument used to be consistent with Numba API.</p></li>
</ul>
</dd>
</dl>
<dl class="simple">
<dt>Returns: A numba_dpex.experimental.core.types.kernel_api.items.ItemType</dt><dd><p>instance.</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.core.typing.typeof.typeof_nditem">
<span class="sig-name descname"><span class="pre">typeof_nditem</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../../../kernel_api/index.html#numba_dpex.kernel_api.NdItem" title="numba_dpex.kernel_api.NdItem"><span class="pre">numba_dpex.kernel_api.NdItem</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">c</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.typing.typeof.typeof_nditem" title="Link to this definition">#</a></dt>
<dd><p>Registers the type inference implementation function for a
numba_dpex.kernel_api.NdItem PyObject.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>val</strong> – An instance of numba_dpex.kernel_api.NdItem.</p></li>
<li><p><strong>c</strong> – Unused argument used to be consistent with Numba API.</p></li>
</ul>
</dd>
</dl>
<dl class="simple">
<dt>Returns: A numba_dpex.experimental.core.types.kernel_api.items.NdItemType</dt><dd><p>instance.</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.core.typing.typeof.typeof_local_accessor">
<span class="sig-name descname"><span class="pre">typeof_local_accessor</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">val</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../../../kernel_api/index.html#numba_dpex.kernel_api.LocalAccessor" title="numba_dpex.kernel_api.LocalAccessor"><span class="pre">numba_dpex.kernel_api.LocalAccessor</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">c</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><a class="reference internal" href="../../types/kernel_api/local_accessor/index.html#numba_dpex.core.types.kernel_api.local_accessor.LocalAccessorType" title="numba_dpex.core.types.kernel_api.local_accessor.LocalAccessorType"><span class="pre">numba_dpex.core.types.kernel_api.local_accessor.LocalAccessorType</span></a></span></span><a class="headerlink" href="#numba_dpex.core.typing.typeof.typeof_local_accessor" title="Link to this definition">#</a></dt>
<dd><p>Returns a <code class="docutils literal notranslate"><span class="pre">numba_dpex.experimental.dpctpp_types.LocalAccessorType</span></code>
instance for a Python LocalAccessor object.
:param val: Instance of the LocalAccessor type.
:type val: LocalAccessor
:param c: Numba typing context used for type inference.</p>
<p>Returns: LocalAccessorType object corresponding to the LocalAccessor object.</p>
</dd></dl>

</section>
</section>

Expand Down Expand Up @@ -438,6 +537,11 @@ <h2>Functions<a class="headerlink" href="#functions" title="Link to this heading
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_dpctl_sycl_event"><code class="docutils literal notranslate"><span class="pre">typeof_dpctl_sycl_event()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_range"><code class="docutils literal notranslate"><span class="pre">typeof_range()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_ndrange"><code class="docutils literal notranslate"><span class="pre">typeof_ndrange()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_atomic_ref"><code class="docutils literal notranslate"><span class="pre">typeof_atomic_ref()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_group"><code class="docutils literal notranslate"><span class="pre">typeof_group()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_item"><code class="docutils literal notranslate"><span class="pre">typeof_item()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_nditem"><code class="docutils literal notranslate"><span class="pre">typeof_nditem()</span></code></a></li>
<li><a class="reference internal" href="#numba_dpex.core.typing.typeof.typeof_local_accessor"><code class="docutils literal notranslate"><span class="pre">typeof_local_accessor()</span></code></a></li>
</ul>
</li>
</ul>
Expand Down
14 changes: 12 additions & 2 deletions pull/1409/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -1866,13 +1866,23 @@ <h2>T</h2>
</li>
<li><a href="autoapi/numba_dpex/core/utils/kernel_flattened_args_builder/index.html#numba_dpex.core.utils.kernel_flattened_args_builder.KernelArg.typeid">typeid (KernelArg attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_atomic_ref">typeof_atomic_ref() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_dpctl_sycl_event">typeof_dpctl_sycl_event() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_dpctl_sycl_queue">typeof_dpctl_sycl_queue() (in module numba_dpex.core.typing.typeof)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_dpnp_ndarray">typeof_dpnp_ndarray() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_group">typeof_group() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_item">typeof_item() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_local_accessor">typeof_local_accessor() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_nditem">typeof_nditem() (in module numba_dpex.core.typing.typeof)</a>
</li>
<li><a href="autoapi/numba_dpex/core/typing/typeof/index.html#numba_dpex.core.typing.typeof.typeof_ndrange">typeof_ndrange() (in module numba_dpex.core.typing.typeof)</a>
</li>
Expand Down
Binary file modified pull/1409/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion pull/1409/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 7dfef67

Please sign in to comment.