Skip to content

Commit 432291e

Browse files
Resolve typos in the job for Clean up anaconda packages 8d95c8f
1 parent 76f7952 commit 432291e

File tree

2,333 files changed

+247704
-0
lines changed

Some content is hidden

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

2,333 files changed

+247704
-0
lines changed

pull/2331/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 03b0fbffe48d8d2f3890766a428c8e8b
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

pull/2331/.nojekyll

Whitespace-only changes.

pull/2331/_modules/dpnp/dpnp_array.html

Lines changed: 2230 additions & 0 deletions
Large diffs are not rendered by default.

pull/2331/_modules/dpnp/fft/dpnp_iface_fft.html

Lines changed: 1893 additions & 0 deletions
Large diffs are not rendered by default.

pull/2331/_modules/dpnp/linalg/dpnp_iface_linalg.html

Lines changed: 2631 additions & 0 deletions
Large diffs are not rendered by default.

pull/2331/_modules/dpnp/random/dpnp_iface_random.html

Lines changed: 2429 additions & 0 deletions
Large diffs are not rendered by default.

pull/2331/_modules/dpnp/random/dpnp_random_state.html

Lines changed: 803 additions & 0 deletions
Large diffs are not rendered by default.

pull/2331/_modules/index.html

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
2+
3+
<!DOCTYPE html>
4+
<html class="writer-html5" lang="en" data-content_root="../">
5+
<head>
6+
<meta charset="utf-8" />
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-554F8VNE28"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag(){dataLayer.push(arguments);}
12+
gtag('js', new Date());
13+
gtag('config', 'G-554F8VNE28');
14+
</script>
15+
16+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
17+
<title>Overview: module code &mdash; Data Parallel Extension for NumPy 0.17.0dev7+7.g8d95c8fcbc5 documentation</title>
18+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
19+
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" />
20+
21+
22+
<script src="../_static/jquery.js?v=5d32c60e"></script>
23+
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
24+
<script src="../_static/documentation_options.js?v=2e25cd24"></script>
25+
<script src="../_static/doctools.js?v=9bcbadda"></script>
26+
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
27+
<script src="../_static/js/theme.js"></script>
28+
<link rel="index" title="Index" href="../genindex.html" />
29+
<link rel="search" title="Search" href="../search.html" />
30+
</head>
31+
32+
<body class="wy-body-for-nav">
33+
<div class="wy-grid-for-nav">
34+
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
35+
<div class="wy-side-scroll">
36+
<div class="wy-side-nav-search" >
37+
38+
39+
40+
<a href="../index.html" class="icon icon-home">
41+
Data Parallel Extension for NumPy
42+
</a>
43+
<div role="search">
44+
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
45+
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
46+
<input type="hidden" name="check_keywords" value="yes" />
47+
<input type="hidden" name="area" value="default" />
48+
</form>
49+
</div>
50+
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
51+
<ul>
52+
<li class="toctree-l1"><a class="reference internal" href="../overview.html">Overview</a></li>
53+
<li class="toctree-l1"><a class="reference internal" href="../quick_start_guide.html">Quick Start Guide</a></li>
54+
<li class="toctree-l1"><a class="reference internal" href="../reference/index.html">API Reference</a></li>
55+
</ul>
56+
<p class="caption" role="heading"><span class="caption-text">Development information</span></p>
57+
<ul>
58+
<li class="toctree-l1"><a class="reference internal" href="../dpnp_backend_api.html">C++ backend API Reference</a></li>
59+
</ul>
60+
61+
</div>
62+
</div>
63+
</nav>
64+
65+
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
66+
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
67+
<a href="../index.html">Data Parallel Extension for NumPy</a>
68+
</nav>
69+
70+
<div class="wy-nav-content">
71+
<div class="rst-content">
72+
<div role="navigation" aria-label="Page navigation">
73+
<ul class="wy-breadcrumbs">
74+
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
75+
<li class="breadcrumb-item active">Overview: module code</li>
76+
<li class="wy-breadcrumbs-aside">
77+
</li>
78+
</ul>
79+
<hr/>
80+
</div>
81+
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
82+
<div itemprop="articleBody">
83+
84+
<h1>All modules for which code is available</h1>
85+
<ul><li><a href="dpnp/dpnp_array.html">dpnp.dpnp_array</a></li>
86+
<li><a href="dpnp/fft/dpnp_iface_fft.html">dpnp.fft.dpnp_iface_fft</a></li>
87+
<li><a href="dpnp/linalg/dpnp_iface_linalg.html">dpnp.linalg.dpnp_iface_linalg</a></li>
88+
<li><a href="dpnp/random/dpnp_iface_random.html">dpnp.random.dpnp_iface_random</a></li>
89+
<li><a href="dpnp/random/dpnp_random_state.html">dpnp.random.dpnp_random_state</a></li>
90+
</ul>
91+
92+
</div>
93+
</div>
94+
<footer>
95+
96+
<hr/>
97+
98+
<div role="contentinfo">
99+
<p>&#169; Copyright 2020-2025, Intel Corporation.</p>
100+
</div>
101+
102+
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
103+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
104+
provided by <a href="https://readthedocs.org">Read the Docs</a>.
105+
106+
107+
</footer>
108+
</div>
109+
</div>
110+
</section>
111+
</div>
112+
<script>
113+
jQuery(function () {
114+
SphinxRtdTheme.Navigation.enable(true);
115+
});
116+
</script>
117+
118+
</body>
119+
</html>

pull/2331/_sources/dpctl.rst.txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. _dptcl:
2+
.. include:: ./ext_links.txt
3+
4+
Interplay with the Data Parallel Control Library
5+
================================================
6+
7+
`Data Parallel Control Library`_ provides API to manage specific
8+
`SYCL*`_ resources for SYCL-based Python packages.
9+
10+
An example below demonstrates how the Data Parallel Extension for NumPy* can be
11+
easily combined with the device management interface provided by dpctl package.
12+
13+
.. code-block:: python
14+
:linenos:
15+
16+
import dpctl
17+
import dpnp
18+
19+
d = dpctl.select_cpu_device()
20+
x = dpnp.array([1, 2, 3], device=d)
21+
s = dpnp.sum(x)
22+
23+
y = dpnp.linspace(0, dpnp.pi, num=10**6, device="gpu")
24+
f = 1 + y * dpnp.sin(y)
25+
26+
# locate argument where function attains global maximum
27+
max_arg = x[dpnp.argmax(f)]
28+
max_val = dpnp.max(f)
29+
30+
31+
For more information please refer to `Data Parallel Control Library`_
32+
documentation.
33+
34+
Example
35+
-------
36+
.. literalinclude:: ../examples/example10.py
37+
:linenos:
38+
:language: python
39+
:lines: 35-
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. _dpnp_backend_reference:
2+
3+
*************************
4+
C++ backend API Reference
5+
*************************
6+
7+
`C++ backend of Data Parallel Extension for NumPy* <backend_doc/>`_

pull/2331/_sources/index.rst.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _index:
2+
.. include:: ./ext_links.txt
3+
4+
Data Parallel Extension for NumPy*
5+
==================================
6+
7+
.. module:: dpnp
8+
:no-index:
9+
10+
.. toctree::
11+
:maxdepth: 2
12+
13+
overview
14+
quick_start_guide
15+
reference/index
16+
17+
.. toctree::
18+
:maxdepth: 1
19+
:caption: Development information
20+
21+
dpnp_backend_api

pull/2331/_sources/overview.rst.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _overview:
2+
.. include:: ./ext_links.txt
3+
4+
Overview
5+
========
6+
7+
.. module:: dpnp
8+
9+
The Data Parallel Extension for NumPy* (dpnp package) - a library that
10+
implements a subset of `NumPy*`_ that can be executed on any
11+
data parallel device. The subset is a drop-in replacement of core `NumPy*`_
12+
functions and numerical data types.
13+
14+
The Data Parallel Extension for NumPy* is being developed as part of
15+
`Intel AI Analytics Toolkit`_ and is distributed with the
16+
`Intel Distribution for Python*`_. The dpnp package is also available
17+
on Anaconda cloud. Please refer the :doc:`quick_start_guide` page to learn more.
18+
19+
Being drop-in replacement for `NumPy*`_ means that the usage is very similar:
20+
21+
>>> import dpnp as np
22+
23+
The :class:`dpnp.ndarray` class is a compatible alternative of
24+
:class:`numpy.ndarray`.
25+
26+
>>> x = np.array([1, 2, 3])
27+
28+
``x`` in the above example is an instance of :class:`dpnp.ndarray` that
29+
is created identically to ``NumPy*``'s one. The key difference of
30+
:class:`dpnp.ndarray` from :class:`numpy.ndarray` is that the memory
31+
is allocated on the default `SYCL*`_ device, which is a ``"gpu"`` on systems
32+
with integrated or discrete GPU (otherwise it is the ``"host"`` device
33+
on systems that do not have GPU).
34+
35+
Most of the array manipulations are also done in the way similar to `NumPy*`_ such as:
36+
37+
>>> s = np.sum(x)
38+
39+
Please see the :ref:`API Reference <dpnp_reference>` for the complete list of supported `NumPy*`_ APIs
40+
along with their limitations.

0 commit comments

Comments
 (0)