Name Date Size #Lines LOC

..12-Feb-2024-

CMakeLists.txtH A D12-Feb-20241.5 KiB4132

README.mdH A D12-Feb-2024786 2420

fibonacci.cppH A D12-Feb-20242.2 KiB6236

fibonacci_single_task.hH A D12-Feb-20242.5 KiB9864

fibonacci_two_tasks.hH A D12-Feb-20242 KiB8048

task_emulation_layer.hH A D12-Feb-20246.3 KiB226158

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