Skip to content

Commit 615bb97

Browse files
committed
Committing TBB 2018 Update 5 source code
1 parent d7e1509 commit 615bb97

File tree

590 files changed

+21419
-20702
lines changed

Some content is hidden

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

590 files changed

+21419
-20702
lines changed

CHANGES

+25
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22
The list of most significant changes made over time in
33
Intel(R) Threading Building Blocks (Intel(R) TBB).
44

5+
Intel TBB 2018 Update 5
6+
TBB_INTERFACE_VERSION == 10005
7+
8+
Changes (w.r.t. Intel TBB 2018 Update 4):
9+
10+
Preview Features:
11+
12+
- Added user event tracing API for Intel(R) VTune(TM) Amplifier and
13+
Flow Graph Analyzer.
14+
15+
Bugs fixed:
16+
17+
- Fixed the memory allocator to properly support transparent huge pages.
18+
- Removed dynamic exception specifications in tbbmalloc_proxy for C++11
19+
and later (https://github.com/01org/tbb/issues/41).
20+
- Added -flifetime-dse=1 option when building with GCC on macOS*
21+
(https://github.com/01org/tbb/issues/60).
22+
23+
Open-source contributions integrated:
24+
25+
- Added ARMv8 support by Siddhesh Poyarekar.
26+
- Avoid GCC warnings for clearing an object of non-trivial type
27+
(https://github.com/01org/tbb/issues/54) by Daniel Arndt.
28+
29+
------------------------------------------------------------------------
530
Intel TBB 2018 Update 4
631
TBB_INTERFACE_VERSION == 10004
732

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Intel(R) Threading Building Blocks 2018 Update 4
2-
[![Stable release](https://img.shields.io/badge/version-2018_U4-green.svg)](https://github.com/01org/tbb/releases/tag/2018_U4)
1+
# Intel(R) Threading Building Blocks 2018 Update 5
2+
[![Stable release](https://img.shields.io/badge/version-2018_U5-green.svg)](https://github.com/01org/tbb/releases/tag/2018_U5)
33
[![Apache License Version 2.0](https://img.shields.io/badge/license-Apache_2.0-green.svg)](LICENSE)
44

55
Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that take
@@ -8,6 +8,8 @@ full advantage of multicore performance, that are portable, composable and have
88
## Release Information
99
Here are the latest [Changes](CHANGES) and [Release Notes](doc/Release_Notes.txt) (contains system requirements and known issues).
1010

11+
Since [2018 U5](https://github.com/01org/tbb/releases/tag/2018_U5) TBB binary packages include [Parallel STL](https://github.com/intel/parallelstl) as a high-level component.
12+
1113
## Documentation
1214
* Intel(R) TBB [tutorial](https://software.intel.com/en-us/tbb-tutorial)
1315
* Intel(R) TBB general documentation: [stable](https://software.intel.com/en-us/tbb-documentation)

build/Makefile.tbbmalloc

+6
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ $(MALLOC_ADD_DLL_TESTS): %.$(TEST_EXT): %_dll.$(DLL)
175175
$(MALLOC_ADD_DLL_TESTS): TEST_LIBS+=$(@:.$(TEST_EXT)=_dll.$(LIBEXT))
176176
endif
177177

178+
# test_malloc_pure_c is intended to be compiled by CONLY
179+
# compiler. Hence cannot include any C++-compiler options.
180+
# TODO: separate C and C++ compiler options (i.e. C_FLAGS and CPLUS_FLAGS).
181+
test_malloc_pure_c.$(TEST_EXT): CPLUS_FLAGS := $(subst -Woverloaded-virtual,,$(CPLUS_FLAGS))
182+
test_malloc_pure_c.$(TEST_EXT): CPLUS_FLAGS := $(subst -Wnon-virtual-dtor,,$(CPLUS_FLAGS))
183+
178184
test_malloc_over%.$(TEST_EXT): CPLUS_FLAGS=$(subst /MT,/MD,$(M_CPLUS_FLAGS))
179185
test_malloc_over%.$(TEST_EXT): INCLUDES=$(M_INCLUDES)
180186
test_malloc_overload_proxy.$(TEST_EXT): LINK_FLAGS+=$(LIBDL)

build/macos.gcc.inc

+18
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,24 @@ LINK_FLAGS =
3838
LIB_LINK_FLAGS = -dynamiclib -install_name @rpath/$(BUILDING_LIBRARY)
3939
C_FLAGS = $(CPLUS_FLAGS)
4040

41+
# gcc 4.8 and later support RTM intrinsics, but require command line switch to enable them
42+
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[8-9]|[5-9])"))
43+
RTM_KEY = -mrtm
44+
endif
45+
46+
# gcc 5.0 and later have -Wsuggest-override option
47+
# enable it via a pre-included header in order to limit to C++11 and above
48+
ifneq (,$(shell gcc -dumpversion | egrep "^([5-9])"))
49+
INCLUDE_TEST_HEADERS = -include $(tbb_root)/src/test/harness_preload.h
50+
endif
51+
52+
# gcc 6.0 and later have -flifetime-dse option that controls
53+
# elimination of stores done outside the object lifetime
54+
ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
55+
# keep pre-contruction stores for zero initialization
56+
DSE_KEY = -flifetime-dse=1
57+
endif
58+
4159
ifeq ($(cfg), release)
4260
CPLUS_FLAGS = -g -O2
4361
else

doc/html/a00001.html

-59
This file was deleted.

doc/html/a00002.html

+14-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/html/a00003.html

-57
This file was deleted.

doc/html/a00004.html

+17-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/html/a00005.html

-59
This file was deleted.

0 commit comments

Comments
 (0)