Skip to content

Commit d114eac

Browse files
committed
Update
1 parent 59e2136 commit d114eac

File tree

5 files changed

+22
-43
lines changed

5 files changed

+22
-43
lines changed

docs/docfiles/user_guides/QuickStart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ instead of the DPC++ compiler that comes with oneAPI.
181181

182182
Do this, to enable support for CUDA* devices.
183183

184-
Following steps in the :ref:`Build and Install with scikit-build<Build and Install with scikit-build>` use a command-line option to set
184+
Following steps in the *Build and Install with scikit-build* use a command-line option to set
185185
the relevant CMake variables, for example:
186186

187187
.. code-block:: bash

docs/docfiles/user_guides/manual/dpctl/basic_concepts.rst

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,13 @@ This section introduces the basic concepts for XPU management used by `dpctl`.
5959

6060
Depending on the capability of the device, USM allocations can be:
6161

62-
.. list-table::
63-
:widths: 25 25 50
64-
:header-rows: 1
65-
66-
* - Name
67-
- Allocation accessible
68-
- Access
69-
* - Device allocation
70-
- Shared allocation
71-
- Host allocation
72-
* - No
73-
- Yes
74-
- Yes
75-
* - Refers to an allocation in host memory that is
76-
accessible from a device.
77-
- Accessible by both the host and device.
62+
.. csv-table::
63+
:header: "Name", "Allocation accessible", "Access"
64+
:widths: 25, 25, 50
65+
66+
"Device allocation", "No","Refers to an allocation in host memory that is accessible from a device."
67+
"Shared allocation", "Yes", "Accessible by both the host and device."
68+
"Host allocation", "Yes", "Accessible by both the host and device."
7869

7970

8071
Runtime manages synchronization of the host's and device's view into shared allocations.

docs/docfiles/user_guides/manual/dpctl/device_selection.rst

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,14 @@ A possible output for the :ref:`fig-adv-device-selection` example:
9595
A **filter string** is a three-tuple that may specify the *backend*,
9696
*device type*, and *device number* as a colon (:) separated string.
9797

98+
.. csv-table::
99+
:header: "String", "Usage", "Values"
100+
:widths: 25, 25, 50
101+
102+
"*backend*", "Specifies the type of device driver.", "``host``, ``opencl``, ``level-zero``, ``cuda``"
103+
"*device type*", "Specifies the type of device.", "``host``, ``gpu``, ``cpu``, ``accelerator``"
104+
"*device number*", "Specifies the ordinality of the device in the listing of devices as determined by the SYCL* runtime.", "Numeric value"
98105

99-
.. list-table:: Title
100-
:widths: 50 50
101-
:header-rows: 1
102-
103-
* - String
104-
- Usage
105-
- Value
106-
* - *backend*
107-
- *device type*
108-
- *device number*
109-
* - Specifies the type of device driver.
110-
- Specifies the type of device.
111-
- Specifies the ordinality of the device in the listing of devices as
112-
determined by the SYCL* runtime.
113-
* - ``host``, ``opencl``, ``level-zero``, ``cuda``
114-
- ``host``, ``gpu``, ``cpu``, ``accelerator``
115-
- Numeric value
116-
117106
The backend, device type, and device number value are optional but provide at least one of them.
118107
That is, ``opencl:gpu:0``, ``gpu:0``, ``gpu``, ``0``, and ``opencl:0`` are all valid filter strings.
119108

docs/docfiles/user_guides/manual/dpctl/devices.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,11 @@ Device Aspects and Information Descriptors
6565
A device can have various *aspects* and *information descriptors* that describe
6666
its hardware characteristics:
6767

68-
* :sycl_aspects:`Aspects <>` are boolean
69-
characteristics of the device
68+
* :sycl_aspects:`Aspects <>` are boolean characteristics of the device
7069
* :sycl_device_info:`information descriptors <>` are non-boolean characteristics
71-
that provide more verbose information about the device
70+
that provide more verbose information about the device
7271
* :class:`dpctl.SyclDevice` exposes various Python* properties that describe a
73-
device's aspects and information descriptors.
72+
device's aspects and information descriptors.
7473

7574
For example, the property ``has_aspect_fp16`` returns a boolean expression indicating if:
7675

docs/docfiles/user_guides/manual/dpctl/queues.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ tasks. A SYCL* queue stores the needed data to manage the scheduling operations.
3131
There are two types of queues:
3232

3333
* **Out-of-order.** Unless specified otherwise during the constriction of a queue, a SYCL* runtime
34-
executes tasks, which dependencies are met in an unspecified order, with the
35-
possibility for some of the tasks to be executed concurrently.
34+
executes tasks, which dependencies are met in an unspecified order, with the
35+
possibility for some of the tasks to be executed concurrently.
3636
* **In-order.** You can specify SYCL* queues to indicate that runtime must execute tasks in the
37-
order, in which they are submitted. In this case, tasks submitted to such a
38-
queue are never executed concurrently.
37+
order, in which they are submitted. In this case, tasks submitted to such a
38+
queue are never executed concurrently.
3939

4040

4141
Creating a New Queue

0 commit comments

Comments
 (0)