Overview

Parallel version of the Sieve of Eratosthenes.

Files

ParallelPrime.cpp
Source code for the example.

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.
mac/xcode
Contains Mac OS* Xcode* workspace for building and running the example.

Usage

ParallelPrime [S] [M[:N]] [G]
S is the problem size (number of primes). M and N are a range of numbers of threads to be used. G is an optional grain size.

Copyright 2007 Intel Corporation. All Rights Reserved.

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