Home
last modified time | relevance | path

Searched refs:example (Results 1 – 25 of 122) sorted by relevance

12345

/oneTBB/test/tbb/
H A Dtest_numa_dist.cpp112 numa example; variable
117 result[numaGrp] = example.numaProcessors[numaGrp];
124 numa example; variable
129 if (example.processorGroupCount <= 1) { // for single Numa node
130 result[numaGrp] = example.numaProcessors[numaGrp] + 1;
132 result[numaGrp] = example.numaProcessors[numaGrp];
141 numa example; variable
144 REQUIRE(validateProcgrp == example.numaProcessors);
150 numa example; variable
152 std::vector<DWORD> result(example.numaProcessors.size(), 0);
[all …]
/oneTBB/examples/getting_started/sub_string_finder/
H A DREADME.md2example that uses the `parallel_for` template in a substring matching program. The [oneAPI Threadi…
4 … of a largest match for each position. Consider the string "babba" as an example. Starting at posi…
6 ## Building the example
13 * `make sub_string_finder_simple` - builds the example as it appears in the Get Started Guide.
14 * `make sub_string_finder_extended` - builds the similar example with more attractive printing of t…
15 * `make sub_string_finder_pretty` - builds the example extended with a sequential implementation.
20 * `make run_sub_string_finder` - executes the example with predefined parameters.
21 * `make light_test_sub_string_finder` - executes the example with suggested parameters to reduce ex…
31 The example does not requires application parameters.
/oneTBB/examples/test_all/fibonacci/
H A DREADME.md2 This directory contains an example that computes Fibonacci numbers in several different ways.
4 The purpose of the example is to exercise every include file and class in Intel® oneAPI Threading B…
6 ## Building the example
14 * `make run_fractal` - executes the example with predefined parameters.
15 * `make perf_run_fractal` - executes the example with suggested parameters to measure the oneTBB pe…
16 * `make light_test_fractal` - executes the example with suggested parameters to reduce execution ti…
/oneTBB/examples/task_group/sudoku/
H A DREADME.md2 This directory contains an example that finds all solutions to a Sudoku board.
4 …ptionally run until it obtains just the first solution. The point of the example is to teach how t…
6 ## Building the example
14 * `make run_fractal` - executes the example with predefined parameters.
15 * `make perf_run_fractal` - executes the example with suggested parameters to measure the oneTBB pe…
16 * `make light_test_fractal` - executes the example with suggested parameters to reduce execution ti…
30 The example's directory contains following files that may be used as an input file:
/oneTBB/examples/parallel_reduce/convex_hull/
H A DREADME.md4 ## Building the example
11 - `convex_hull_sample` - builds parallel version of the example which uses `parallel_reduce`, `par…
12 - `convex_hull_bench` - build version of the example that compares serial and parallel buffered and…
16 * `make run_convex_hull` - executes the example with predefined parameters.
17 * `make perf_run_convex_hull` - executes the example with suggested parameters to measure the oneTB…
18 * `make light_test_convex_hull` - executes the example with suggested parameters to reduce executio…
/oneTBB/examples/task_arena/fractal/
H A DREADME.md2 The example calculates two classical Mandelbrot fractals with different concurrency levels.
4 The application window is divided into two areas where fractals are rendered. The example also has …
6 ## Building the example
17 * `make run_fractal` - executes the example with predefined parameters.
18 * `make perf_run_fractal` - executes the example with suggested parameters to measure the oneTBB pe…
19 * `make light_test_fractal` - executes the example with suggested parameters to reduce execution ti…
28 * `n-of-frames` - the number of frames the example processes internally.
36 The following hot keys can be used in interactive execution mode when the example is compiled with …
/oneTBB/examples/migration/recursive_fibonacci/
H A DREADME.md2 This directory contains an example that computes Fibonacci numbers using emulation for TBB Task API.
4 ## Building the example
12 * `make run_recursive_fibonacci` - executes the example with predefined parameters (extended testin…
13 * `make perf_run_recursive_fibonacci` - executes the example with suggested parameters to measure t…
/oneTBB/examples/parallel_for/seismic/
H A DREADME.md4 ## Building the example
14 * `make run_seismic` - executes the example with predefined parameters.
15 * `make perf_run_seismic` ` - executes the example with suggested parameters to measure the oneTBB …
16 * `make light_test_seismic` - executes the example with suggested parameters to reduce execution ti…
25 * `n-of-frames` - number of frames the example processes internally.
30 The following hot keys can be used in interactive execution mode when the example is compiled with …
/oneTBB/doc/GSG/
H A Dnext_steps.rst34 …#. Create a new C++ project using your IDE. In this example, Microsoft* Visual Studio* Code is use…
35 #. Create an ``example.cpp`` file in the project.
36 …#. Copy and paste the code below. It is a typical example of a |short_name| algorithm. The sample …
65 For example:
81 #. Run the example.
86 #. Create an ``example.cpp`` file in the project.
87 …#. Copy and paste the code below. It is a typical example of a |short_name| algorithm. The sample …
111 #. Compile the code using oneTBB. For example,
115 g++ -std=c++11 example.cpp -o example -ltbb
122 ./example
/oneTBB/examples/concurrent_hash_map/count_strings/
H A DREADME.md2 The example counts the number of unique words in a text.
4 ## Building the example
12 * `make run_count_strings` - executes the example with predefined parameters.
13 * `make perf_run_count_strings` - executes the example with suggested parameters to measure the one…
/oneTBB/examples/graph/logic_sim/
H A DREADME.md2 This directory contains `oneapi::tbb::flow` example that performs simplistic digital logic simulat…
4 ## Building the example
12 * `make run_logic_sim` - executes the example with predefined parameters.
13 * `make perf_run_logic_sim` - executes the example with suggested parameters to measure the oneTBB …
/oneTBB/examples/parallel_for/game_of_life/
H A DREADME.md2 The "Game of life" example demonstrates interoperability of oneAPI Threading Building Blocks (oneTB…
6 ## Building the example
14 * `make run_game_of_life` - executes the example with predefined parameters.
15 * `make light_test_game_of_life` - executes the example with suggested parameters to reduce executi…
/oneTBB/examples/parallel_for/tachyon/
H A DREADME.md4 *This example includes software developed by John E. Stone.*
6 This example is a 2-D raytracer/renderer that visually shows different parallel scheduling methods …
8 ## Building the example
23 * `make run_tachyon` - executes the example with predefined parameters.
24 * `make perf_run_tachyon` ` - executes the example with suggested parameters to measure the oneTBB …
25 * `make light_test_tachyon` - executes the example with suggested parameters to reduce execution ti…
33 * `dataset` - path/name of one of the *.dat files in the dat directory for the example.
45 The following hot keys can be used in interactive execution mode when the example is compiled with …
/oneTBB/examples/graph/som/
H A DREADME.md6 …ltiple examples. When an example is used to update the map, the graphs examining the sections bein…
8 ## Building the example
16 * `make run_som` - executes the example with predefined parameters.
17 * `make light_test_som` - executes the example with suggested parameters to reduce execution time.
/oneTBB/examples/graph/fgbzip2/
H A DREADME.md4 This example includes software developed by Julian R Seward. See here for copyright information.
7 ## Building the example
15 * `make run_fgbzip2` - executes the example with predefined parameters.
16 * `make perf_run_fgbzip2` - executes the example with suggested parameters to measure the oneTBB pe…
/oneTBB/examples/parallel_pipeline/square/
H A DREADME.md4 ## Building the example
12 * `make run_square` - executes the example with predefined parameters
13 * `make perf_run_square` - executes the example with suggested parameters to measure the oneTBB per…
14 * `make light_test_square` - executes the example with suggested parameters to reduce execution tim…
/oneTBB/examples/parallel_for_each/parallel_preorder/
H A DREADME.md17 The example is using custom synchronization via ref_count atomic variable. Correctness checking too…
19 **Note:** It is important to understand that this example is unlikely to show speedup if the cell v…
23 ## Building the example
31 * `make run_parallel_preorder` - executes the example with predefined parameters
32 * `make perf_run_parallel_preorder` - executes the example with suggested parameters to measure the…
33 * `make light_test_parallel_preorder` - executes the example with suggested parameters to reduce ex…
/oneTBB/examples/concurrent_priority_queue/shortpath/
H A DREADME.md2 This directory contains an example that solves the single source shortest path problem.
12 … the fewer hops there are in a typical path between those nodes. So, for example, the path between…
14 ## Building the example
22 * `make run_shortpath` - executes the example with predefined parameters.
23 * `make perf_run_shortpath` - executes the example with suggested parameters to measure the oneTBB …
/oneTBB/doc/main/tbb_userguide/
H A DParallelizing_Flow_Graph.rst23 nodes in the graph. In this example, the sequence is created by a
47 this example, a dependence graph is used to establish a partial ordering
54 together. This is a partial ordering because, for example, it doesn't
76 graph. For example, you must "Put jelly on 1 slice" **before** you "Put
85 present in the graph. For example, in the first example above, perhaps
87 might be squared and cubed in parallel. Likewise in the second example,
H A Dcreate_token_based_system.rst47 In the example below, there is an ``input_node`` that generates ``M`` big
49 ``token_t`` can be anything, for example it could be ``typedef int token_t;``.
119 Therefore, unlike in the example above, the ``token_t`` doesn't need to be a
120 dummy type; it could for example be a buffer or other object that is
121 essential to the computation. We could, for example, modify the example
127 Also, in our example above, the ``buffer_node`` was prefilled by a fixed
129 example, an ``input_node`` could be attached to the input of the
/oneTBB/examples/
H A DREADME.md2 This directory contains example usages of oneAPI Threading Building Blocks.
13 | graph/logic_sim | An example of a collection of digital logic gates that can be easily composed i…
14 | graph/som | An example of a Kohonen Self-Organizing Map using cancellation.
20 | parallel_pipeline/square | Another string transformation example that squares numbers read from a…
24 | task_arena/fractal |The example calculates two classical Mandelbrot fractals with different concu…
/oneTBB/examples/graph/binpack/
H A DREADME.md2 This directory contains an `oneapi::tbb::flow` example that performs binpacking of `N` integer valu…
6 ## Building the example
14 * `make run_binpack` - executes the example with predefined parameters.
15 * `make perf_run_binpack` - executes the example with suggested parameters to measure the oneTBB pe…
/oneTBB/examples/parallel_reduce/primes/
H A DREADME.md4 ## Building the example
12 * `make run_primes` - executes the example with predefined parameters
13 * `make perf_run_primes` - executes the example with suggested parameters to measure the oneTBB per…
/oneTBB/examples/graph/dining_philosophers/
H A DREADME.md6 ## Building the example
14 * `make run_dining_philosophers` - executes the example with predefined parameters.
15 * `make light_test_dining_philosophers` - executes the example with suggested parameters to reduce…
/oneTBB/examples/graph/cholesky/
H A DREADME.md2 This directory contains an example of several versions of Cholesky Factorization algorithm.
8 …relatively large, with a node for each instance of each oneMKL call. For example, there are many n…
10 …plus `join_node`s that combine the inputs required for each call. So for example, there is only a …
14 ## Building the example
22 * `make run_cholesky` - executes the example with predefined parameters.

12345