Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Calculate primes up to MAX_INT with threads
C++
tree: 25ad71137e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README
gnuplot.txt
main.tex
plot-threaded.out
plot-threaded.tex
plot-threaded.txt
primes.cpp
sieve.cpp

README

Program will calculate primes up to 2^32 using Sieve of Erastothenes with n threads.

	primes [num-threads] [upper-limit]

Fastest runtime at 2^32 was 29.160000 seconds with 4 threads on os-class.engr.oregonstate.edu

Something went wrong with that request. Please try again.