Use 2^25 as default size because 2^26 gives too many thread blocks for CUDA

This commit is contained in:
Tom Deakin 2016-05-11 15:43:52 +01:00
parent 4954ef7cf0
commit 55a858e0c0

View File

@ -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;