Overview

This directory contains common code that is used in the Intel® Threading Building Blocks (Intel® TBB) examples.

This code is not intended to be used directly. It is incorporated automatically by the examples that need it.

Directories

gui
GUI code for examples that have graphical user interfaces. Currently supports: See the examples that use the GUI (tachyon, seismic) for more details.
utility
Common driver & utility code for examples. Currently provides:

Common information

Number of threads

Most Intel TBB examples allow to specify n-of-threads, the set of thread numbers that should be used to run an example.
Usually, it is a range of the form low[:high[:(+|*|#)S]], where low and optional high are non-negative integers or 'auto' for the default choice, and optional step expression (+|*|#)S specifies how thread numbers are chosen within the range: A default value for the number of threads can be customized in an example; if not customized, it is '1:auto:#4'. The 'auto' parameter is substituted with a value returned by a specified function, which typically is tbb::task_scheduler_init::default_num_threads().


Up to parent directory

Copyright © 2005-2014 Intel Corporation. All Rights Reserved.

Intel is a registered trademark or trademark of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.