Overview

Parallel seismic simulation that demonstrates use of parallel_for.

Files

SeismicSimulation.cpp
Source code that does wave propagation.

Directories

win/vc7.1
Contains Microsoft* Visual Studio* .NET 2003 workspace for building and running the example.
win/vc8
Contains Microsoft* Visual Studio* 2005 workspace for building and running the example.
linux
Contains Linux* Makefile for building and running the example. Uncomment the line "#x64 = 64" to build the 64-bit version.
mac/xcode
Contains Mac OS* Xcode* workspace for building and running the example.

Usage

seismic [M[:N]]
For non-interactive mode, M and N are a range of numbers of threads to be used. For interactive mode, N is the number of threads to use while M indicates if a separate thread will be used for the GUI (>0) or not (0). For example, seismic 1:3 will use 3 threads for computation and a separate thread for processing GUI events; this option may give better visible performance on a 4-processor system when using GDI+ graphics.

Hot keys

The following hot keys can be used in interactive execution mode when the example is compiled with the graphical user interface:
<left mouse button>
Starts new seismic wave in place specified by mouse cursor.
<space>
Toggles between parallel and serial execution modes.
<p>
Enables parallel execution mode.
<s>
Enables serial execution mode.
<e>
Enables screen updates.
<d>
Disables screen updates (strongly recommended when measuring performance or scalability).
<esc>
Stops execution.

Copyright 2007 Intel Corporation. All Rights Reserved.

* Other names and brands may be claimed as the property of others.