From 207fd8f784072e137dccd9e3ea8ac435dd9d907c Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Wed, 11 May 2016 12:04:19 +0100 Subject: [PATCH] Default to power of two array size --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 43cfb7c..832c657 100644 --- a/main.cpp +++ b/main.cpp @@ -34,7 +34,8 @@ #include "OMP3Stream.h" #endif -unsigned int ARRAY_SIZE = 52428800; +// Default size of 2^26 +unsigned int ARRAY_SIZE = 67108864; unsigned int num_times = 100; unsigned int deviceIndex = 0; bool use_float = false;