Intel® Threading Building Blocks. Fibonacci sample

# Intel® Threading Building Blocks.
Fibonacci 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® Threading Building Blocks. Most of the computations are deliberately silly and not expected to show any speedup on multiprocessors.

System Requirements

For the most up to date system requirements, see the release notes.

Files

Fibonacci.cpp
  Source code for example.
Makefile
  Makefile for building the example.

Directories

msvs
  Contains Microsoft* Visual Studio* workspace for building and running the example (Windows* systems only).
xcode
  Contains Xcode* IDE workspace for building and running the example (macOS* systems only).

For information about the minimum supported version of IDE, see release notes.

Build instructions

General build directions can be found here.

Usage

`fibonacci K [M[:N]] [R]`
  Calculates the K-th fibonacci number. M and N are a range of numbers of threads to be used. R is the number of times to repeat the calculation.
To run a short version of this example, e.g., for use with Intel® Threading Tools:
  Build a debug version of the example (see the build instructions).
  Run it with a small fibonacci number and the desired number of threads, e.g., `fibonacci 100 4`.

Up to parent directory

Legal Information

Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
* Other names and brands may be claimed as the property of others.
© 2020, Intel Corporation