# Fractal sample This directory contains an example that computes Fibonacci numbers in several different ways. The 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. ## Building the example ``` cmake cmake --build . ``` ## Running the sample ### Predefined make targets * `make run_fractal` - executes the example with predefined parameters. * `make perf_run_fractal` - executes the example with suggested parameters to measure the oneTBB performance. * `make light_test_fractal` - executes the example with suggested parameters to reduce execution time. ### Application parameters Usage: ``` fibonacci K [M[:N]] [R] ``` * `K` - specifies the fibonacci number which would be calculated. * `[M:N]` -a range of numbers of threads to be used. * `R` - the number of times to repeat the calculation.