Skip to content

Commit 81e8817

Browse files
authored
[oneDPL] Clarify the version of the C++ standard for the oneDPL spec (#500)
1 parent 4da3910 commit 81e8817

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

source/elements/oneDPL/source/common.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ functionality including parallel algorithms, oneDPL execution policies, etc.
1010
For the subset of the standard C++ library for kernels, the standard class
1111
and function names are also aliased in :code:`namespace oneapi::dpl`.
1212

13-
oneDPL uses nested namespaces for the functionality aligned with C++ standard.
13+
oneDPL uses nested namespaces for the functionality aligned with the C++ standard.
1414
The names of those namespaces are the same as in :code:`namespace std`. For example,
1515
oneDPL execution policies are provided in :code:`namespace oneapi::dpl::execution`.

source/elements/oneDPL/source/index.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ specified in the `C++ standard`_, with extensions to support data parallelism
1313
and offloading to devices, and with extensions to simplify its usage for
1414
implementing data parallel algorithms.
1515

16+
.. note::
17+
Unless specified otherwise, in this document the `C++ standard`_ refers to
18+
ISO/IEC 14882:2017 Programming languages - C++, commonly known as C++17.
19+
1620
The library is comprised of the following components:
1721

1822
- :doc:`Parallel API <parallel_api>`:
@@ -26,12 +30,12 @@ The library is comprised of the following components:
2630

2731
- :doc:`SYCL Kernels API <sycl_kernels_api>`:
2832

29-
* A subset of the `C++ standard`_ library which can be used with
33+
* A subset of the C++ standard library which can be used with
3034
buffers and data parallel kernels.
3135

3236
* Support of random number generation including engines and distributions.
3337

34-
* Various utilities in addition to C++ standard functionality.
38+
* Various utilities in addition to the C++ standard functionality.
3539

3640
.. toctree::
3741

source/elements/oneDPL/source/parallel_api.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
Parallel API
66
------------
77

8-
oneDPL provides the set of algorithms with execution policies as defined by the `C++ Standard`_.
8+
oneDPL provides the set of parallel algorithms as defined by the `C++ Standard`_,
9+
including parallel algorithms added in the 6th edition known as C++20.
910
All those algorithms work with *C++ Standard aligned execution policies* and with *DPC++
1011
execution policies*.
1112

@@ -16,7 +17,7 @@ C++ Standard aligned execution policies
1617
+++++++++++++++++++++++++++++++++++++++
1718

1819
oneDPL has the set of execution policies and related utilities that are semantically aligned
19-
with the C++ Standard:
20+
with the `C++ Standard`_, 6th edition (C++20):
2021

2122
.. code:: cpp
2223

0 commit comments

Comments
 (0)