Skip to content

Commit

Permalink
Merge pull request #877 from chudur-budur/github-861
Browse files Browse the repository at this point in the history
Adding cache and specialization to func decorator 8b3cf31
  • Loading branch information
github-actions[bot] committed Jan 23, 2023
1 parent 5fe5e94 commit 81e8c17
Show file tree
Hide file tree
Showing 123 changed files with 245 additions and 140 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: 8aace8fcaae7a23128a7933e9f382429
config: 4d3932ae2370c169bdfd67fe0cad7e6c
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.20.0dev1+4.g9242e345 documentation</title>
<title>Code-generation based on a device &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



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.20.0dev1+4.g9242e345',
VERSION: '0.20.0dev1+9.g8b3cf31b',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion 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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.codegen module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b 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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.config module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down
4 changes: 2 additions & 2 deletions 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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.caching module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down Expand Up @@ -210,7 +210,7 @@

<dl class="py class">
<dt class="sig sig-object py" id="numba_dpex.core.caching.LRUCache">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">numba_dpex.core.caching.</span></span><span class="sig-name descname"><span class="pre">LRUCache</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">capacity</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">10</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pyfunc</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.caching.LRUCache" title="Permalink to this definition"></a></dt>
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">numba_dpex.core.caching.</span></span><span class="sig-name descname"><span class="pre">LRUCache</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'cache'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">capacity</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">10</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pyfunc</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.caching.LRUCache" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#numba_dpex.core.caching.AbstractCache" title="numba_dpex.core.caching.AbstractCache"><code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractCache</span></code></a></p>
<p>LRUCache implementation for caching kernels,
functions and modules.</p>
Expand Down
4 changes: 2 additions & 2 deletions 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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.compiler module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down Expand Up @@ -221,7 +221,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="numba_dpex.core.compiler.compile_with_dpex">
<span class="sig-prename descclassname"><span class="pre">numba_dpex.core.compiler.</span></span><span class="sig-name descname"><span class="pre">compile_with_dpex</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pyfunc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pyfunc_name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">return_type</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">target_context</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">typing_context</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">debug</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">is_kernel</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extra_compile_flags</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.compiler.compile_with_dpex" title="Permalink to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">numba_dpex.core.compiler.</span></span><span class="sig-name descname"><span class="pre">compile_with_dpex</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pyfunc</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pyfunc_name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">return_type</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">target_context</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">typing_context</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">debug</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">is_kernel</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extra_compile_flags</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.compiler.compile_with_dpex" title="Permalink to this definition"></a></dt>
<dd><p>Compiles a function using the dpex compiler pipeline and returns the
compiled result.</p>
<dl class="simple">
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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.datamodel package &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b 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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.datamodel.models module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b 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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.descriptor module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.dpnp_ndarray.dpnp_empty.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.dpnp_ndarray.dpnp_empty module &mdash; numba-dpex 0.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.dpnp_ndarray.dpnp_empty module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.dpnp_ndarray.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.dpnp_ndarray package &mdash; numba-dpex 0.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.dpnp_ndarray package &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



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.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.exceptions module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.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 package &mdash; numba-dpex 0.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core package &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down
2 changes: 1 addition & 1 deletion dev/apidoc/numba_dpex.core.itanium_mangler.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.itanium_mangler module &mdash; numba-dpex 0.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.itanium_mangler module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b 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.core.kernel_interface.arg_pack_unpacker module &mdash; numba-dpex 0.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.kernel_interface.arg_pack_unpacker module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b 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.core.kernel_interface.dispatcher module &mdash; numba-dpex 0.20.0dev1+4.g9242e345 documentation</title>
<title>numba_dpex.core.kernel_interface.dispatcher module &mdash; numba-dpex 0.20.0dev1+9.g8b3cf31b documentation</title>



Expand Down
Loading

0 comments on commit 81e8c17

Please sign in to comment.