Name Date Size #Lines LOC

..12-Feb-2024-

CMakeLists.txtH A D12-Feb-20241.1 KiB3426

README.mdH A D12-Feb-2024983 2621

fibonacci.cppH A D12-Feb-202416.5 KiB527381

README.md

1# Fractal sample
2This directory contains an example that computes Fibonacci numbers in several different ways.
3
4The purpose of the example is to exercise every include file and class in Intel® oneAPI Threading Building Blocks. Most of the computations are deliberately silly and not expected to show any speedup on multiprocessors.
5
6## Building the example
7```
8cmake <path_to_example>
9cmake --build .
10```
11
12## Running the sample
13### Predefined make targets
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 performance.
16* `make light_test_fractal` - executes the example with suggested parameters to reduce execution time.
17
18### Application parameters
19Usage:
20```
21fibonacci K [M[:N]] [R]
22```
23* `K` - specifies the fibonacci number which would be calculated.
24* `[M:N]` -a range of numbers of threads to be used.
25* `R` - the number of times to repeat the calculation.
26