Skip to content

Commit 4342a38

Browse files
committed
Fix the RST syntax for inlined code
1 parent 46a0669 commit 4342a38

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/elements/oneDPL/source/parallel_api/execution_policies.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,15 @@ Predefined Device Policies
167167
It is a global immutable (``const``) instance of type ``device_policy<>``.
168168
[*Note*: ``dpcpp_default`` can be copied but cannot be moved. -- *end note*]
169169

170-
``dpdefault``, ``dpgpu``, and `dpcpu`` are variable templates for creating ``device_policy`` objects,
170+
``dpdefault``, ``dpgpu``, and ``dpcpu`` are variable templates for creating ``device_policy`` objects,
171171
possibly with explicit kernel names, to run algorithms on the default SYCL device, a GPU device,
172172
and a CPU device, respectively. An object instantiated from one of these templates is a global
173173
immutable ``device_policy`` object. It is associated with a SYCL queue constructed with
174174
the SYCL device selector that corresponds to the used variable template.
175175
[*Example*: ``dpgpu<>`` is associated with a queue created by ``sycl::gpu_selector_v``. -- *end example*]
176176

177-
Creation or use of a `dpgpu` or a `dpcpu` policy object can throw ``sycl::exception`` if no appropriate device is found.
177+
Creation or use of a ``dpgpu`` or a ``dpcpu`` policy object can throw ``sycl::exception``
178+
if no appropriate device is found.
178179

179180
make_device_policy Function
180181
^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)