Skip to content

Commit 5bfa9c5

Browse files
pauargewjakob
authored andcommitted
Updating to 2019 U6
1 parent b066def commit 5bfa9c5

File tree

866 files changed

+10329
-9388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

866 files changed

+10329
-9388
lines changed

CHANGES

Lines changed: 138 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,127 @@
22
The list of most significant changes made over time in
33
Intel(R) Threading Building Blocks (Intel(R) TBB).
44

5+
Intel TBB 2019 Update 6
6+
TBB_INTERFACE_VERSION == 11006
7+
8+
Changes (w.r.t. Intel TBB 2019 Update 5):
9+
10+
- Added support for Microsoft* Visual Studio* 2019.
11+
- Added support for enqueuing tbb::task into tbb::task_arena
12+
(https://github.com/01org/tbb/issues/116).
13+
- Improved support for allocator propagation on concurrent_hash_map
14+
assigning and swapping.
15+
- Improved scalable_allocation_command cleanup operations to release
16+
more memory buffered by the calling thread.
17+
- Separated allocation of small and large objects into distinct memory
18+
regions, which helps to reduce excessive memory caching inside the
19+
TBB allocator.
20+
21+
Preview Features:
22+
23+
- Removed template class gfx_factory from the flow graph API.
24+
25+
------------------------------------------------------------------------
26+
Intel TBB 2019 Update 5
27+
TBB_INTERFACE_VERSION == 11005
28+
29+
Changes (w.r.t. Intel TBB 2019 Update 4):
30+
31+
- Associating a task_scheduler_observer with an implicit or explicit
32+
task arena is now a fully supported feature.
33+
- Added a CMake module TBBInstallConfig that allows to generate and
34+
install CMake configuration files for TBB packages.
35+
Inspired by Hans Johnson (https://github.com/01org/tbb/pull/119).
36+
- Added node handles, methods merge() and unsafe_extract() to concurrent
37+
unordered containers.
38+
- Added constructors with Compare argument to concurrent_priority_queue
39+
(https://github.com/01org/tbb/issues/109).
40+
- Controlling the stack size of worker threads is now supported for
41+
Universal Windows Platform.
42+
- Improved tbb::zip_iterator to work with algorithms that swap values
43+
via iterators.
44+
- Improved support for user-specified allocators in concurrent_hash_map,
45+
including construction of allocator-aware data types.
46+
- For ReaderWriterMutex types, upgrades and downgrades now succeed if
47+
the mutex is already in the requested state.
48+
Inspired by Niadb (https://github.com/01org/tbb/pull/122).
49+
50+
Preview Features:
51+
52+
- The task_scheduler_observer::may_sleep() method has been removed.
53+
54+
Bugs fixed:
55+
56+
- Fixed the issue with a pipeline parallel filter executing serially if
57+
it follows a thread-bound filter.
58+
- Fixed a performance regression observed when multiple parallel
59+
algorithms start simultaneously.
60+
61+
------------------------------------------------------------------------
62+
Intel TBB 2019 Update 4
63+
TBB_INTERFACE_VERSION == 11004
64+
65+
Changes (w.r.t. Intel TBB 2019 Update 3):
66+
67+
- global_control class is now a fully supported feature.
68+
- Added deduction guides for tbb containers: concurrent_hash_map,
69+
concurrent_unordered_map, concurrent_unordered_set.
70+
- Added tbb::scalable_memory_resource function returning
71+
std::pmr::memory_resource interface to the TBB memory allocator.
72+
- Added tbb::cache_aligned_resource class that implements
73+
std::pmr::memory_resource with cache alignment and no false sharing.
74+
- Added rml::pool_msize function returning the usable size of a memory
75+
block allocated from a given memory pool.
76+
- Added default and copy constructors for tbb::counting_iterator
77+
and tbb::zip_iterator.
78+
- Added TBB_malloc_replacement_log function to obtain the status of
79+
dynamic memory allocation replacement (Windows* only).
80+
- CMake configuration file now supports release-only and debug-only
81+
configurations (https://github.com/01org/tbb/issues/113).
82+
- TBBBuild CMake module takes the C++ version from CMAKE_CXX_STANDARD.
83+
84+
Bugs fixed:
85+
86+
- Fixed compilation for tbb::concurrent_vector when used with
87+
std::pmr::polymorphic_allocator.
88+
89+
Open-source contributions integrated:
90+
91+
- TBB_INTERFACE_VERSION is included into TBB version in CMake
92+
configuration (https://github.com/01org/tbb/pull/100)
93+
by Hans Johnson.
94+
- Fixed detection of C++17 deduction guides for Visual C++*
95+
(https://github.com/01org/tbb/pull/112) by Marian Klymov.
96+
97+
------------------------------------------------------------------------
98+
Intel TBB 2019 Update 3
99+
TBB_INTERFACE_VERSION == 11003
100+
101+
Changes (w.r.t. Intel TBB 2019 Update 2):
102+
103+
- Added tbb::transform_iterator.
104+
- Added new Makefile target 'profile' to flow graph examples enabling
105+
additional support for Intel(R) Parallel Studio XE tools.
106+
- Added TBB_MALLOC_DISABLE_REPLACEMENT environment variable to switch off
107+
dynamic memory allocation replacement on Windows*. Inspired by
108+
a contribution from Edward Lam.
109+
110+
Preview Features:
111+
112+
- Extended flow graph API to support relative priorities for functional
113+
nodes, specified as an optional parameter to the node constructors.
114+
115+
Open-source contributions integrated:
116+
117+
- Enabled using process-local futex operations
118+
(https://github.com/01org/tbb/pull/58) by Andrey Semashev.
119+
120+
------------------------------------------------------------------------
5121
Intel TBB 2019 Update 2
6122
TBB_INTERFACE_VERSION == 11002
7123

8124
Changes (w.r.t. Intel TBB 2019 Update 1):
9125

10-
- Added constructors with HashCompare argument to concurrent_hash_map
11-
(https://github.com/01org/tbb/pull/63).
12126
- Added overloads for parallel_reduce with default partitioner and
13127
user-supplied context.
14128
- Added deduction guides for tbb containers: concurrent_vector,
@@ -25,6 +139,11 @@ Bugs fixed:
25139
- Fixed compilation of task_group.h when targeting macOS* 10.11 or
26140
earlier (https://github.com/conda-forge/tbb-feedstock/issues/42).
27141

142+
Open-source contributions integrated:
143+
144+
- Added constructors with HashCompare argument to concurrent_hash_map
145+
(https://github.com/01org/tbb/pull/63) by arewedancer.
146+
28147
------------------------------------------------------------------------
29148
Intel TBB 2019 Update 1
30149
TBB_INTERFACE_VERSION == 11001
@@ -44,7 +163,7 @@ Bugs fixed:
44163
- Fixed an issue with dynamic memory allocation replacement on Windows*
45164
occurred for some versions of ucrtbase.dll.
46165
- Fixed possible deadlock in tbbmalloc cleanup procedure during process
47-
shutdown.
166+
shutdown. Inspired by a contribution from Edward Lam.
48167
- Fixed usage of std::uncaught_exception() deprecated in C++17
49168
(https://github.com/01org/tbb/issues/67).
50169
- Fixed a crash when a local observer is activated after an arena
@@ -55,6 +174,11 @@ Bugs fixed:
55174
libraries.
56175
- Fixed compilation for Anaconda environment with GCC 7.3 and higher.
57176

177+
Open-source contributions integrated:
178+
179+
- Fix various warnings when building with Visual C++
180+
(https://github.com/01org/tbb/pull/70) by Edward Lam.
181+
58182
------------------------------------------------------------------------
59183
Intel TBB 2019
60184
TBB_INTERFACE_VERSION == 11000
@@ -88,6 +212,17 @@ Open-source contributions integrated:
88212

89213
- Added support for OpenBSD by Anthony J. Bentley.
90214

215+
------------------------------------------------------------------------
216+
Intel TBB 2018 Update 6
217+
TBB_INTERFACE_VERSION == 10006
218+
219+
Changes (w.r.t. Intel TBB 2018 Update 5):
220+
221+
Bugs fixed:
222+
223+
- Fixed an issue with dynamic memory allocation replacement on Windows*
224+
occurred for some versions of ucrtbase.dll.
225+
91226
------------------------------------------------------------------------
92227
Intel TBB 2018 Update 5
93228
TBB_INTERFACE_VERSION == 10005

Doxyfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,6 @@ INCLUDE_FILE_PATTERNS =
10411041

10421042
PREDEFINED = TBB_PREVIEW_FLOW_GRAPH_FEATURES \
10431043
TBB_PREVIEW_FLOW_GRAPH_NODES \
1044-
__TBB_GFX_PRESENT \
10451044
__TBB_PREVIEW_OPENCL_NODE \
10461045
__TBB_CPP11_RVALUE_REF_PRESENT \
10471046
__TBB_CPP11_VARIADIC_TEMPLATES_PRESENT \
@@ -1062,7 +1061,6 @@ PREDEFINED = TBB_PREVIEW_FLOW_GRAPH_FEATURES \
10621061
__TBB_ALIGNAS_PRESENT \
10631062
__TBB_CPP11_TEMPLATE_ALIASES_PRESENT \
10641063
__TBB_FLOW_GRAPH_CPP11_FEATURES \
1065-
__TBB_PREVIEW_GFX_FACTORY \
10661064
__TBB_PREVIEW_STREAMING_NODE
10671065

10681066
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Status](https://travis-ci.org/wjakob/tbb.svg?branch=master)](https://travis-ci.org/wjakob/tbb)
66
[![Build status](https://ci.appveyor.com/api/projects/status/fvepmk5nxekq27r8?svg=true)](https://ci.appveyor.com/project/wjakob/tbb/branch/master)
77

8-
This is git repository is currently based on TBB 2019 Update 2 and will be
8+
This is git repository is currently based on TBB 2019 Update 6 and will be
99
updated from time to time to track the most recent release. The only
1010
modification is the addition of a CMake-based build system.
1111

build/AIX.gcc.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
COMPILE_ONLY = -c -MMD
2016
PREPROC_ONLY = -E -x c++

build/AIX.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
ifndef arch
2016
arch:=$(shell uname -p)

build/BSD.clang.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
COMPILE_ONLY = -c -MMD
2016
PREPROC_ONLY = -E -x c++

build/BSD.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
ifndef arch
2016
ifeq ($(shell uname -m),i386)

build/FreeBSD.clang.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
include $(tbb_root)/build/BSD.clang.inc
2016

build/FreeBSD.gcc.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
COMPILE_ONLY = -c -MMD
2016
PREPROC_ONLY = -E -x c++

build/FreeBSD.inc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,9 +11,5 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
include $(tbb_root)/build/BSD.inc

build/Makefile.rml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
# TODO: investigate why version_string.ver is not complete when $(RML_SERVER.OBJ) is being compiled.
2016
.NOTPARALLEL:

build/Makefile.tbb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
#------------------------------------------------------------------------------
2016
# Define rules for making the TBB shared library.

build/Makefile.tbbmalloc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2005-2018 Intel Corporation
1+
# Copyright (c) 2005-2019 Intel Corporation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,10 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
#
15-
#
16-
#
17-
#
1814

1915
# default target
2016
default_malloc: malloc malloc_test
@@ -143,6 +139,7 @@ MALLOC_TESTS = test_ScalableAllocator.$(TEST_EXT) \
143139
ifneq (,$(MALLOCPROXY.DLL))
144140
MALLOC_TESTS += test_malloc_overload.$(TEST_EXT) \
145141
test_malloc_overload_proxy.$(TEST_EXT) \
142+
test_malloc_overload_disable.$(TEST_EXT) \
146143
test_malloc_atexit.$(TEST_EXT) \
147144
test_malloc_new_handler.$(TEST_EXT)
148145
endif
@@ -236,6 +233,7 @@ ifneq (,$(MALLOCPROXY.DLL))
236233
$(run_cmd) ./test_malloc_atexit.$(TEST_EXT) $(args)
237234
$(run_cmd) $(TEST_LAUNCHER) -l $(MALLOCPROXY.DLL) ./test_malloc_overload.$(TEST_EXT) $(args)
238235
$(run_cmd) $(TEST_LAUNCHER) ./test_malloc_overload_proxy.$(TEST_EXT) $(args)
236+
$(run_cmd) ./test_malloc_overload_disable.$(TEST_EXT) $(args)
239237
$(run_cmd) $(TEST_LAUNCHER) ./test_malloc_new_handler.$(TEST_EXT) $(args)
240238
endif
241239
$(run_cmd) $(TEST_LAUNCHER) ./test_malloc_lib_unload.$(TEST_EXT) $(args)

0 commit comments

Comments
 (0)