Name Date Size #Lines LOC

..12-Feb-2024-

Board.hppH A D12-Feb-20241.1 KiB4724

CMakeLists.txtH A D12-Feb-20241.2 KiB3526

Evolution.cppH A D12-Feb-20245.5 KiB181105

Evolution.hppH A D12-Feb-20244.1 KiB14072

Game_of_life.cppH A D12-Feb-20244.1 KiB149103

README.mdH A D12-Feb-2024985 2520

Update_state.cppH A D12-Feb-202412.1 KiB369262

README.md

1# Game_of_life sample
2The "Game of life" example demonstrates interoperability of oneAPI Threading Building Blocks (oneTBB) and Microsoft* .NET*.
3
4This program runs 2 simultaneous instances of the classic Conway's "Game of Life". One of these instances uses serial calculations to update the board. The other one calculates in parallel with oneTBB. The visualization is written in managed C++ and uses .NET CLR.
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_game_of_life` - executes the example with predefined parameters.
15* `make light_test_game_of_life` - executes the example with suggested parameters to reduce execution time.
16
17### Application parameters
18Usage:
19```
20game_of_life [M[:N] -t execution_time] [-h]
21```
22* `-h` - prints the help for command line options.
23* `M:N` - range of numbers of threads to be used.
24* `execution_time` - time (in sec) for execution `game_of_life` iterations.
25