You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dpctl/__init__.py
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -17,18 +17,10 @@
17
17
"""
18
18
**Data Parallel Control (dpctl)**
19
19
20
-
Dpctl provides a lightweight Python wrapper over a subset of
21
-
DPC++/SYCL's API. The goal of dpctl is not (yet) to provide a
22
-
abstraction for every SYCL function. Dpctl is intended to provide
23
-
a common runtime to manage specific SYCL resources, such as devices
24
-
and USM memory, for SYCL-based Python packages and extension modules.
25
-
26
-
The main features presently provided by dpctl are:
27
-
28
-
* A SYCL queue manager exposed directly inside the top-level `dpctl`
29
-
module.
30
-
* Python wrapper classes for the main SYCL runtime classes mentioned in
31
-
Section 4.6 of SYCL provisional 2020 spec (https://bit.ly/3asQx07).
20
+
Dpctl's Python API implements Python wrappers for a subset of DPC++/SYCL's
21
+
API. The Python API exposes wrappers for the SYCL runtime classes (expect
22
+
`device_selector`) described in Section 4.6 of the SYCL 2020 spec (https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#_sycl_runtime_classes).
23
+
Apart from the main SYCL runtime classes, dpctl includes a `memory` sub-module that exposes the SYCL USM allocators and deallocators.
0 commit comments