You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/GSG/get_started.rst
+26-1
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,36 @@ It is helpful for new users of parallel programming and experienced developers t
8
8
9
9
It is recommended for you to have a basic knowledge of C++ programming and some experience with parallel programming concepts.
10
10
11
+
|full_name| is a runtime-based parallel programming model for C++ code that uses tasks.
12
+
The template-based runtime library can help you harness the latent performance of multi-core processors.
13
+
14
+
oneTBB enables you to simplify parallel programming by breaking computation into parallel running tasks. Within a single process,
15
+
parallelism is carried out by mapping tasks to threads. Threads are an operating system mechanism that allows the same or different sets of instructions
16
+
to be executed simultaneously. Using threads can make your program work faster and more efficiently.
17
+
18
+
Here you can see one of the possible executions of tasks by threads.
19
+
20
+
.. figure:: Images/how-oneTBB-works.png
21
+
:scale:70%
22
+
:align:center
23
+
24
+
Use oneTBB to write scalable applications that:
25
+
26
+
* Specify logical parallel structure instead of threads.
27
+
* Emphasize data-parallel programming.
28
+
* Take advantage of concurrent collections and parallel algorithms.
29
+
30
+
oneTBB supports nested parallelism and load balancing. It means that you can use the library without worrying about oversubscribing a system, which happens when more tasks are assigned to a system than it can handle efficiently.
31
+
32
+
oneTBB is used in different areas, such as scientific simulations, gaming, data analysis, etc.
33
+
34
+
It is available as a stand-alone product and as part of the |base_tk|.
35
+
11
36
12
37
To start using oneTBB, follow the next steps:
13
38
*********************************************
14
39
15
-
#. Learn what :ref:`oneTBB is<intro>` and see the :ref:`System Requirements<system_requirements>`.
40
+
#. See the :ref:`System Requirements<system_requirements>`.
16
41
#. :ref:`Install oneTBB<installation>`.
17
42
#. Run your program using oneTBB following the :ref:`Next Steps <next_steps>`.
18
43
#. Learn how to :ref:`Integrate oneTBB into your project <integrate>` using CMake* and pkg-config tool.
Copy file name to clipboardexpand all lines: doc/main/reference/rvalue_reduce.rst
+3-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ or
33
33
34
34
.. cpp:function:: Value Func::operator()(const Range& range, const Value& x) const
35
35
36
-
Accumulates the result for a subrange, starting with initial value ``x``. The ``Range`` type must meet the `Range requirements <https://oneapi-spec.uxlfoundation.org/specifications/oneapi/latest/elements/onetbb/source/named_requirements/algorithms/range>_`.
36
+
Accumulates the result for a subrange, starting with initial value ``x``. The ``Range`` type must meet the
The ``Value`` type must be the same as a corresponding template parameter for the `parallel_reduce algorithm <https://oneapi-spec.uxlfoundation.org/specifications/oneapi/latest/elements/onetbb/source/algorithms/functions/parallel_reduce_func>`_.
38
39
39
40
If both ``rvalue`` and ``lvalue`` forms are provided, the ``rvalue`` is preferred.
0 commit comments