SUM_MILLION is intended to be a program that sums the numbers from 1 to 1,000,000, prints the result, the elapsed CPU time, and the corresponding MegaFLOPS rate.
This directory contains only partial programs - they are just sketches of the code, and you will need to supply the details for the missing code.
Choose a partial program in your favorite language.
total = total + x(i) + x(i+1) + x(i+2) + x(i+3)
You can go up one level to the HPPC 2008 web page.
Last revised on 25 July 2008.