README.md
1# Fibonacci sample
2This directory contains an example that computes Fibonacci numbers using emulation for TBB Task API.
3
4## Building the example
5```
6cmake <path_to_example>
7cmake --build .
8```
9
10## Running the sample
11### Predefined make targets
12* `make run_recursive_fibonacci` - executes the example with predefined parameters (extended testing enabled).
13* `make perf_run_recursive_fibonacci` - executes the example with suggested parameters to measure the oneTBB performance.
14
15### Application parameters
16Usage:
17```
18recursive_fibonacci N C I T
19```
20* `N` - specifies the fibonacci number which would be calculated.
21* `C` - cutoff that will be used to stop recursive split.
22* `I` - number of iteration to measure benchmark time.
23* `T` - enables extended testing (recycle task in a loop).
24