Skip to content

Commit 240685d

Browse files
ValentinaKatstrosenqudcbenitotimmiesmith
authored
Documentation sync for 2022.0 release (#792)
* Fixed table entry in documentation (entry in column 1 was too long). (#681) (cherry picked from commit c09390f) * oneDPL 2022.0.0 changes description (#672) * add changes description * Add new page to structure * Address review feedback * A string alignment * Reorganize and update wording Signed-off-by: Alexey Kukanov <[email protected]> * Improve the note directive * Address review feedback Signed-off-by: Alexey Kukanov <[email protected]> Co-authored-by: Alexey Kukanov <[email protected]> (cherry picked from commit 7b31e75) * Updated per library style guides. (#692) Signed-off-by: Benito, Dylan <[email protected]> Co-authored-by: Valentina Kats <[email protected]> (cherry picked from commit 124856a) * Update release_notes.rst * Apply suggestions from code review Co-authored-by: Timmie Smith <[email protected]> --------- Co-authored-by: trosenqu <[email protected]> Co-authored-by: Dylan <[email protected]> Co-authored-by: Timmie Smith <[email protected]>
1 parent 58462b4 commit 240685d

9 files changed

+491
-408
lines changed

documentation/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ oneAPI DPC++ Library (oneDPL)
99
library_guide/parallel_api_main.rst
1010
library_guide/parallel_api/std_execution_policies.rst
1111
library_guide/macros.rst
12+
library_guide/oneDPL_2022.0_changes.rst
1213
library_guide/api_for_dpcpp_kernels_main.rst
1314

documentation/library_guide/api_for_sycl_kernels/tested_standard_cpp_api.rst

+391-391
Large diffs are not rendered by default.

documentation/library_guide/index.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
|onedpl_long|
2-
=================================
1+
|onedpl_long| Developer Guide
2+
=============================
33

44
|onedpl_long| (|onedpl_short|) works with the |dpcpp_cpp| to
55
provide high-productivity APIs to developers, which can minimize SYCL* programming
66
efforts across devices for high performance parallel applications.
77

8+
For general information, refer to the `oneDPL GitHub* repository
9+
<https://github.com/oneapi-src/oneDPL>`_.
10+
811
.. toctree::
912
:maxdepth: 2
1013
:caption: Get Started
@@ -16,13 +19,14 @@ efforts across devices for high performance parallel applications.
1619
:maxdepth: 2
1720
:caption: Library Guide
1821

19-
overview
22+
introduction
2023
parallel_api_main
2124
api_for_sycl_kernels_main
2225
macros
26+
oneDPL_2022.0_changes
2327

2428
.. toctree::
2529
:hidden:
2630
:caption: Notices and Disclaimers
2731

28-
notices_disclaimers.rst
32+
notices_disclaimers.rst

documentation/library_guide/overview.rst documentation/library_guide/introduction.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
|onedpl_long| Overview
1+
|onedpl_long| Introduction
22
#######################################
33

44
Parallel API can be used with the `C++ Standard Execution
@@ -22,7 +22,9 @@ page for:
2222
* Overview
2323
* New Features
2424
* Fixed Issues
25+
* Deprecation Notice
2526
* Known Issues and Limitations
27+
* Previous Release Notes
2628

2729
Install the `Intel® oneAPI Base Toolkit (Base Kit) <https://software.intel.com/en-us/oneapi/base-kit>`_
2830
to use |onedpl_short|.
@@ -34,8 +36,11 @@ include the corresponding header in your source code with the ``#include <oneapi
3436
To use tested C++ standard APIs, you need to include the corresponding C++ standard header files
3537
and use the ``std`` namespace.
3638

39+
System Requirements
40+
===================
41+
3742
Prerequisites
38-
=============
43+
*************
3944

4045
C++17 is the minimal supported version of the C++ standard.
4146
That means, any use of |onedpl_short| may require a C++17 compiler.
@@ -56,7 +61,7 @@ To use Parallel API with the device execution policies, you need to install the
5661
* A C++ compiler with support for SYCL 2020
5762

5863
Restrictions
59-
============
64+
************
6065

6166
When called with |dpcpp_short| execution policies, |onedpl_short| algorithms apply the same restrictions as
6267
|dpcpp_short| does (see the |dpcpp_short| specification and the SYCL specification for details), such as:
@@ -71,7 +76,7 @@ When called with |dpcpp_short| execution policies, |onedpl_short| algorithms app
7176
* Calling the API that throws exception is not allowed within callable objects passed to an algorithm.
7277

7378
Known Limitations
74-
=================
79+
*****************
7580

7681
* For ``transform_exclusive_scan``, ``transform_inclusive_scan`` algorithms, the result of the unary operation should be
7782
convertible to the type of the initial value if one is provided, otherwise it is convertible to the type of values

documentation/library_guide/notices_disclaimers.rst

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Notices and Disclaimers
2-
=======================
2+
#######################
33

44
Intel technologies may require enabled hardware, software or service activation.
55

@@ -15,3 +15,12 @@ The products described may contain design defects or errors known as errata whic
1515

1616
Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.
1717

18+
License
19+
=======
20+
21+
oneDPL is licensed under Apache License Version 2.0 with LLVM exceptions.
22+
23+
Refer to the `LICENSE <https://github.com/oneapi-src/oneDPL/blob/release_oneDPL/licensing/LICENSE.txt>`_ file for the full license text and copyright notice.
24+
25+
26+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
oneDPL 2022 Breaking Changes
2+
############################
3+
4+
This page lists the incompatible changes that occurred between the 2021.7.1 and 2022.0 releases.
5+
6+
.. note::
7+
You may need to modify and/or rebuild your code when switching to oneDPL 2022.0.
8+
9+
Support for C++11 and C++14 has been discontinued. To use any functionality of oneDPL 2022.0,
10+
a compiler that supports C++17 or newer version of the C++ language standard is required.
11+
12+
The following APIs are not supported in C++17 and have been removed from ``namespace oneapi::dpl``:
13+
14+
* In the ``<oneapi/dpl/functional>`` header:
15+
16+
* ``binary_function``
17+
* ``unary_function``
18+
19+
The following APIs are deprecated in C++17 and not supported in C++20:
20+
21+
* In the ``<oneapi/dpl/functional>`` header:
22+
23+
* ``binary_negate``
24+
* ``not1``
25+
* ``not2``
26+
* ``unary_negate``
27+
28+
* In the ``<oneapi/dpl/type_traits>`` header:
29+
30+
* ``is_literal_type``
31+
* ``is_literal_type_v``
32+
* ``result_of``
33+
* ``result_of_t``
34+
35+
The size and the layout of the ``discard_block_engine`` class template were changed to align its
36+
implementation with the С++ standard proposal found at https://cplusplus.github.io/LWG/issue3561.
37+
This change lets you utilize the full range of values for the template parameters of the engine.

documentation/library_guide/onedpl_gsg.rst

+10-7
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ For general information about |onedpl_short|, visit the `oneDPL GitHub* reposito
1717
or visit the `Intel® oneAPI DPC++ Library Guide <https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-library-guide/top.html>`_
1818
and the `Intel® oneAPI DPC++ Library main page <https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html>`_.
1919

20-
Before You Begin
21-
================
20+
Quick Start
21+
===========
22+
23+
Installation
24+
------------
2225

2326
Visit the |onedpl_short| `Release Notes
2427
<https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-library-release-notes.html>`_
@@ -43,13 +46,13 @@ and use the ``std`` namespace.
4346

4447

4548
pkg-config Support
46-
==================
49+
------------------
4750

4851
The pkg-config program is used to retrieve information about your installed libraries, and
4952
to compile and link against one or more libraries.
5053

5154
Use pkg-config with |onedpl_short|
52-
----------------------------------
55+
**********************************
5356

5457
Use pkg-config with the ``--cflags`` flag to get the include path to the oneDPL directory:
5558

@@ -69,14 +72,14 @@ This flag converts your compiling and linking flags to the appropriate form:
6972

7073

7174
Usage Examples
72-
==============
75+
--------------
7376

7477
|onedpl_short| sample code is available from the
7578
`oneAPI GitHub samples repository <https://github.com/oneapi-src/oneAPI-samples/tree/master/Libraries/oneDPL>`_.
7679
Each sample includes a readme with build instructions.
7780

7881
\<oneapi/dpl/random\> Header Usage Example
79-
------------------------------------------
82+
******************************************
8083

8184
This example illustrates |onedpl_short| random number generator usage.
8285
The sample below shows you how to create an random number generator engine object (the source of pseudo-randomness),
@@ -107,7 +110,7 @@ This example performs its computations on your default SYCL device. You can set
107110
}
108111
109112
Pi Benchmark Usage Example
110-
--------------------------
113+
**************************
111114

112115
This example uses a Monte Carlo method to estimate the value of π.
113116
The basic idea is to generate random points within a square, and to check what

documentation/library_guide/parallel_api/execution_policies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ with the following steps:
157157
following constructor arguments:
158158

159159
#. A SYCL queue constructed for the
160-
`FPGA Selector <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_fpga_device_selector.md>`_
160+
`FPGA Selector <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_intel_fpga_device_selector.asciidoc>`_
161161
(the behavior is undefined with any other queue).
162162
#. An existing FPGA policy object with a different kernel name and/or unroll factor.
163163

documentation/release_notes.rst

+24
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,29 @@ The Intel® oneAPI DPC++ Library (oneDPL) accompanies the Intel® oneAPI DPC++/C
88
and provides high-productivity APIs aimed to minimize programming efforts of C++ developers
99
creating efficient heterogeneous applications.
1010

11+
New in 2022.0.0
12+
===============
13+
14+
New Features
15+
------------
16+
- Added the functionality from ``<complex>`` and more APIs from ``<cmath>`` and ``<limits>``
17+
standard headers to `Tested Standard C++ API`_.
18+
- Improved performance of ``sort`` and ``stable_sort`` algorithms on GPU devices when using Radix sort [#fnote1]_.
19+
20+
Fixed Issues
21+
------------
22+
- Fixed permutation_iterator to work with C++ lambda functions for index permutation
23+
- Fixed an error in ``oneapi::dpl::experimental::ranges::guard_view`` and ``oneapi::dpl::experimental::ranges::zip_view``
24+
when using ``operator[]`` with an index exceeding the limits of a 32 bit integer type.
25+
- Fixed errors when data size is 0 in ``upper_bound``, ``lower_bound`` and ``binary_search`` algorithms.
26+
27+
Changes affecting backward compatibility
28+
----------------------------------------
29+
- Removed support of C++11 and C++14.
30+
- Changed the size and the layout of the ``discard_block_engine`` class template.
31+
32+
For further details, please refer to `2022.0 Changes`_.
33+
1134
New in 2021.7.1
1235
===============
1336

@@ -367,3 +390,4 @@ Known Issues and Limitations
367390
.. _`restrictions and known limitations`: https://oneapi-src.github.io/oneDPL/overview.html#restrictions
368391
.. _`Tested Standard C++ API`: https://oneapi-src.github.io/oneDPL/api_for_dpcpp_kernels/tested_standard_cpp_api.html#tested-standard-c-api-reference
369392
.. _`Macros`: https://oneapi-src.github.io/oneDPL/macros.html
393+
.. _`2022.0 Changes`: https://oneapi-src.github.io/oneDPL/oneDPL_2022.0_changes.html

0 commit comments

Comments
 (0)