From 55a858e0c0a0bc0f30fdb222d1f8961cabc009c3 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Wed, 11 May 2016 15:43:52 +0100 Subject: [PATCH] Use 2^25 as default size because 2^26 gives too many thread blocks for CUDA --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 2f0d6fc..80791d6 100644 --- a/main.cpp +++ b/main.cpp @@ -36,8 +36,8 @@ #include "OMP45Stream.h" #endif -// Default size of 2^26 -unsigned int ARRAY_SIZE = 67108864; +// Default size of 2^25 +unsigned int ARRAY_SIZE = 33554432; unsigned int num_times = 100; unsigned int deviceIndex = 0; bool use_float = false;