Skip to content

Commit

Permalink
Committing Parallel STL 20201111 open source release
Browse files Browse the repository at this point in the history
  • Loading branch information
tbbdev committed Nov 11, 2020
1 parent 0241743 commit 74c9b91
Show file tree
Hide file tree
Showing 143 changed files with 930 additions and 345 deletions.
16 changes: 16 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
------------------------------------------------------------------------
The list of most significant changes made over time in Parallel STL.

Parallel STL release within Intel(R) Parallel Studio XE 2020 Update 4
__INTEL_PSTL_VERSION == 212

Features / APIs:

- Improved performance in is_heap, includes, partial_sort algorithms.

Bugs fixed:

- Fixed search_n to return the first element if the requested
value count is zero or negative.
- Usage of non-trivial types is fixed for the following
algorithms: remove_if, unique, rotate, partial_sort_copy,
set_intersection, set_union, set_difference, set_symmetric_difference.

------------------------------------------------------------------------
Parallel STL release within Intel(R) Parallel Studio XE 2020 Update 1
__INTEL_PSTL_VERSION == 211

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- CMakeLists.txt ----------------------------------------------------===##
#
# Copyright (C) 2018-2019 Intel Corporation
# Copyright (C) 2018-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Parallel STL
[![Stable release](https://img.shields.io/badge/version-20200330-green.svg)](https://github.com/intel/parallelstl/releases/tag/20200330)
[![Stable release](https://img.shields.io/badge/version-20201111-green.svg)](https://github.com/intel/parallelstl/releases/tag/20201111)

Parallel STL is an implementation of the C++ standard library algorithms with support for execution policies,
as specified in ISO/IEC 14882:2017 standard, commonly called C++17.
Expand Down
4 changes: 2 additions & 2 deletions Release_Notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Hardware - Recommended
macOS* Systems
Intel(R) Core(TM) processor family
Android* Systems
Intel(R) Atom(TM) processor family
Intel Atom(R) processor family

Hardware - Supported

Intel(R) Pentium(R) 4 processor family
Intel(R) Xeon Phi(TM) coprocessor
Intel(R) Atom(TM) processor family
Intel Atom(R) processor family
Non Intel(R) processors compatible with the above processors

Software - Minimum Requirements
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile.common ---------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.pstl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile.pstl -----------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/android.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- android.inc -------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/android.linux.launcher.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
##===-- android.linux.launcher.sh -----------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/clang.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- clang.inc ---------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/gcc.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- gcc.inc -----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/icc.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- icc.inc -----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/icl.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- icl.inc -----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/jni/Android.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Android.mk --------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/jni/Application.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Application.mk ----------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/macos.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- macos.inc ---------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/mingw.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- mingw.inc ---------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/unix.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- unix.inc ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion build/windows.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- windows.inc -------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion cmake/ParallelSTLConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- ParallelSTLConfig.cmake.in ----------------------------------------===##
#
# Copyright (C) 2018-2019 Intel Corporation
# Copyright (C) 2018-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/convex_hull/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- CMakeLists.txt ----------------------------------------------------===##
#
# Copyright (C) 2019 Intel Corporation
# Copyright (C) 2019-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/convex_hull/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/convex_hull/Makefile.windows
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/convex_hull/convex_hull.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- convex_hull.cpp ---------------------------------------------------===//
//
// Copyright (C) 2017-2019 Intel Corporation
// Copyright (C) 2017-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion examples/convex_hull/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ <h1 class="title">Parallel STL.<br>convex_hull sample</h1>
<p>
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
<br>* Other names and brands may be claimed as the property of others.
<br>&copy; 2017-2019, Intel Corporation
<br>&copy; 2017-2020, Intel Corporation
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/convex_hull/utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- utils.h -----------------------------------------------------------===//
//
// Copyright (C) 2017-2019 Intel Corporation
// Copyright (C) 2017-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion examples/dot_product/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- CMakeLists.txt ----------------------------------------------------===##
#
# Copyright (C) 2019 Intel Corporation
# Copyright (C) 2019-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/dot_product/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/dot_product/Makefile.windows
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/dot_product/dot_product.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- dot_product.cpp ---------------------------------------------------===//
//
// Copyright (C) 2017-2019 Intel Corporation
// Copyright (C) 2017-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion examples/dot_product/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ <h1 class="title">Parallel STL.<br>Dot_product sample</h1>
<p>
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
<br>* Other names and brands may be claimed as the property of others.
<br>&copy; 2017-2019, Intel Corporation
<br>&copy; 2017-2020, Intel Corporation
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/gamma_correction/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- CMakeLists.txt ----------------------------------------------------===##
#
# Copyright (C) 2018-2019 Intel Corporation
# Copyright (C) 2018-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/gamma_correction/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/gamma_correction/Makefile.windows
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##===-- Makefile ----------------------------------------------------------===##
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
Expand Down
2 changes: 1 addition & 1 deletion examples/gamma_correction/gamma_correction.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- gamma_correction.cpp ----------------------------------------------===//
//
// Copyright (C) 2017-2019 Intel Corporation
// Copyright (C) 2017-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion examples/gamma_correction/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ <h1 class="title">Parallel STL.<br>Gamma_correction sample</h1>
<p>
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
<br>* Other names and brands may be claimed as the property of others.
<br>&copy; 2017-2019, Intel Corporation
<br>&copy; 2017-2020, Intel Corporation
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions examples/gamma_correction/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- utils.cpp ---------------------------------------------------------===//
//
// Copyright (C) 2017-2019 Intel Corporation
// Copyright (C) 2017-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down Expand Up @@ -89,7 +89,7 @@ void image::write(const char* fname) const {

assert(my_width > 0 && my_height > 0);

std::ofstream stream(fname);
std::ofstream stream(fname, std::ios::binary);

assert(file.sizeRest == sizeof(file)-sizeof(file.sizeRest));
stream.write((char*)&file.type, file.sizeRest);
Expand Down
2 changes: 1 addition & 1 deletion examples/gamma_correction/utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- utils.h -----------------------------------------------------------===//
//
// Copyright (C) 2017-2019 Intel Corporation
// Copyright (C) 2017-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion include/pstl/experimental/algorithm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- algorithm ---------------------------------------------------------===//
//
// Copyright (C) 2019 Intel Corporation
// Copyright (C) 2019-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion include/pstl/experimental/internal/for_loop.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- for_loop.h --------------------------------------------------------===//
//
// Copyright (C) 2019 Intel Corporation
// Copyright (C) 2019-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion include/pstl/experimental/internal/for_loop_impl.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- for_loop_impl.h ---------------------------------------------------===//
//
// Copyright (C) 2019 Intel Corporation
// Copyright (C) 2019-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion include/pstl/experimental/internal/induction.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- induction.h -------------------------------------------------------===//
//
// Copyright (C) 2019 Intel Corporation
// Copyright (C) 2019-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion include/pstl/experimental/internal/induction_impl.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- induction_impl.h --------------------------------------------------===//
//
// Copyright (C) 2019 Intel Corporation
// Copyright (C) 2019-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
2 changes: 1 addition & 1 deletion include/pstl/experimental/internal/reduction.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- C++ -*-
//===-- reduction.h -------------------------------------------------------===//
//
// Copyright (C) 2019 Intel Corporation
// Copyright (C) 2019-2020 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
Expand Down
Loading

0 comments on commit 74c9b91

Please sign in to comment.