Skip to content

Commit f0fd782

Browse files
committed
Updated developement guides
1 parent 1b2a178 commit f0fd782

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

doc/dpctl.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
DPCtl Usage
2-
===========
1+
Cooperation with the `Data Parallel Control Library`_ interface
2+
===============================================================
33

4-
`DPCtl <https://github.com/IntelPython/dpctl>`_ provides API to manage
5-
specific SYCL resources for SYCL-based Python packages. DPNP uses DPCtl as
6-
a global SYCL queue manager. Below code illustrates simple usage of DPNP
7-
in combination with dpCtl.
4+
`Data Parallel Control Library`_ provides API to manage specific
5+
`SYCL*`_ resources for SYCL-based Python packages.
6+
7+
An example below demonstrates how the Data Parallel Extension for NumPy* can be
8+
easily combined with the device management interface provided by dpctl package.
9+
10+
Literally, the SYCL* queue manager interface from the dpctl package allows
11+
to set an input queue as the currently usable queue inside the context
12+
manager's scope. This way an array creation function from the dpnp package
13+
which is defined inside the context will allocate the data using that queue.
814

915
.. code-block:: python
1016
:linenos:
@@ -16,7 +22,8 @@ in combination with dpCtl.
1622
x = np.array([1, 2, 3])
1723
s = np.sum(x)
1824
19-
For more information please refer to `DPCtl's documentation <https://intelpython.github.io/dpctl>`_.
25+
For more information please refer to `Data Parallel Control Library`_
26+
documentation.
2027

2128
Example
2229
~~~~~~~

doc/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ Data Parallel Extension for NumPy*
1212
overview
1313
quick_start_guide
1414
reference/index
15+
16+
.. toctree::
17+
:maxdepth: 2
18+
:caption: Development information
19+
1520
dpnp_backend_api
1621
dpctl

doc/reference/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
API Reference
55
*************
66

7-
This is the official DPNP API reference.
7+
API reference of the Data Parallel Extension for NumPy*
88

99
----
1010

0 commit comments

Comments
 (0)