Use binary power of two for default array size

This commit is contained in:
Tom Deakin 2015-07-31 11:20:39 +01:00
parent 78dd832a5c
commit 33cb76bfc3

View File

@ -36,7 +36,10 @@
#include "common.h" #include "common.h"
int ARRAY_SIZE = 50000000; // Default array size 50 * 2^20 (50*8 Mebibytes double precision)
// Use binary powers of two so divides 1024
int ARRAY_SIZE = 52428800;
int NTIMES = 10; int NTIMES = 10;
bool useFloat = false; bool useFloat = false;