Skip to content

Commit 3ab8e23

Browse files
Merge pull request #963 from chudur-budur/github-930
Proper DpctlSyclQueue support 46c09ff
1 parent dafcc2f commit 3ab8e23

File tree

141 files changed

+243
-174
lines changed

Some content is hidden

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

141 files changed

+243
-174
lines changed

dev/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 94775f13235d85d075d6f65cd688d8c7
3+
config: 82195362ccae64d1a4e0663b89594954
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

dev/CoreFeatures.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>Code-generation based on a device &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>Code-generation based on a device &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>

dev/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '0.20.0+20.gdc255049',
3+
VERSION: '0.20.1+3.g46c09ff2',
44
LANGUAGE: 'en',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

dev/apidoc/modules.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>
@@ -176,7 +176,10 @@ <h1>numba_dpex<a class="headerlink" href="#numba-dpex" title="Permalink to this
176176
<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>
177177
</ul>
178178
</li>
179-
<li class="toctree-l3"><a class="reference internal" href="numba_dpex.html#numba_dpex.DpctlSyclQueue"><code class="docutils literal notranslate"><span class="pre">DpctlSyclQueue</span></code></a></li>
179+
<li class="toctree-l3"><a class="reference internal" href="numba_dpex.html#numba_dpex.DpctlSyclQueue"><code class="docutils literal notranslate"><span class="pre">DpctlSyclQueue</span></code></a><ul>
180+
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.html#numba_dpex.DpctlSyclQueue.box_type"><code class="docutils literal notranslate"><span class="pre">DpctlSyclQueue.box_type</span></code></a></li>
181+
</ul>
182+
</li>
180183
<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><ul>
181184
<li class="toctree-l4"><a class="reference internal" href="numba_dpex.html#numba_dpex.DpnpNdArray.is_internal"><code class="docutils literal notranslate"><span class="pre">DpnpNdArray.is_internal</span></code></a></li>
182185
</ul>

dev/apidoc/numba_dpex.config.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex.config module &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex.config module &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>

dev/apidoc/numba_dpex.core.caching.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex.core.caching module &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex.core.caching module &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>

dev/apidoc/numba_dpex.core.codegen.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex.core.codegen module &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex.core.codegen module &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>

dev/apidoc/numba_dpex.core.compiler.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex.core.compiler module &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex.core.compiler module &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>

dev/apidoc/numba_dpex.core.datamodel.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex.core.datamodel package &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex.core.datamodel package &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>
@@ -101,6 +101,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
101101
<li class="toctree-l1"><a class="reference internal" href="numba_dpex.core.datamodel.models.html">numba_dpex.core.datamodel.models module</a><ul>
102102
<li class="toctree-l2"><a class="reference internal" href="numba_dpex.core.datamodel.models.html#numba_dpex.core.datamodel.models.ArrayModel"><code class="docutils literal notranslate"><span class="pre">ArrayModel</span></code></a></li>
103103
<li class="toctree-l2"><a class="reference internal" href="numba_dpex.core.datamodel.models.html#numba_dpex.core.datamodel.models.GenericPointerModel"><code class="docutils literal notranslate"><span class="pre">GenericPointerModel</span></code></a></li>
104+
<li class="toctree-l2"><a class="reference internal" href="numba_dpex.core.datamodel.models.html#numba_dpex.core.datamodel.models.SyclQueueModel"><code class="docutils literal notranslate"><span class="pre">SyclQueueModel</span></code></a></li>
104105
</ul>
105106
</li>
106107
</ul>

dev/apidoc/numba_dpex.core.datamodel.models.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</script>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
16-
<title>numba_dpex.core.datamodel.models module &mdash; numba-dpex 0.20.0+20.gdc255049 documentation</title>
16+
<title>numba_dpex.core.datamodel.models module &mdash; numba-dpex 0.20.1+3.g46c09ff2 documentation</title>
1717
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
1818
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
1919
<!--[if lt IE 9]>
@@ -110,6 +110,27 @@
110110
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">PrimitiveModel</span></code></p>
111111
</dd></dl>
112112

113+
<dl class="py class">
114+
<dt class="sig sig-object py" id="numba_dpex.core.datamodel.models.SyclQueueModel">
115+
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">numba_dpex.core.datamodel.models.</span></span><span class="sig-name descname"><span class="pre">SyclQueueModel</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dmm</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">fe_type</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#numba_dpex.core.datamodel.models.SyclQueueModel" title="Permalink to this definition"></a></dt>
116+
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">StructModel</span></code></p>
117+
<p>Represents the native data model for a dpctl.SyclQueue PyObject.</p>
118+
<p>Numba-dpex uses a C struct as defined in
119+
numba_dpex/core/runtime._queuestruct.h to store the required attributes for
120+
a <code class="docutils literal notranslate"><span class="pre">dpctl.SyclQueue</span></code> Python object.</p>
121+
<blockquote>
122+
<div><ul class="simple">
123+
<li><p><code class="docutils literal notranslate"><span class="pre">queue_ref</span></code>: An opaque C pointer to an actual SYCL queue C++ object.</p></li>
124+
<li><dl class="simple">
125+
<dt><code class="docutils literal notranslate"><span class="pre">parent</span></code>: A PyObject* that stores a reference back to the original</dt><dd><p><code class="docutils literal notranslate"><span class="pre">dpctl.SyclQueue</span></code> PyObject if the native struct is
126+
created by unboxing the PyObject.</p>
127+
</dd>
128+
</dl>
129+
</li>
130+
</ul>
131+
</div></blockquote>
132+
</dd></dl>
133+
113134
</section>
114135

115136

0 commit comments

Comments
 (0)