Overview
The "Game of life" example demonstrates interoperability of TBB and .NET.
This 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 TBB.
The visualization is written in managed C++ and uses .NET CLR.
Source Files
- Form1.h, Board.h
- Header files for GUI classes.
- Evolution.h, Evolution.cpp
- Contain class hierarchy to implement game evolution in serial and parallel.
- Update_state.cpp
- Implements 2 approaches for calculating steps in the program: with the use of SSE intrinsics, and ordinary C++ code.
- Game_of_life.cpp
- Contains program entry point and other source not related to logical structure of the example.
- Makefile
- Makefile for building example.
Directories
- src
- Contains source files mentioned above.
- msvs
- Contains Microsoft* Visual Studio* 2005 workspace for building and running the example (Windows* systems only).
- xcode
- Contains Xcode* IDE workspace for building and running the example (OS X* systems only).
To Build
General build directions can be found here.
Usage
For Windows* systems, Microsoft* Visual Studio* projects are provided for each of the above versions.
Up to parent directory
Copyright © 2005-2014 Intel Corporation. All Rights Reserved.
Intel is a registered trademark or trademark of Intel Corporation
or its subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.