Use 2^25 as default size because 2^26 gives too many thread blocks for CUDA
This commit is contained in:
parent
4954ef7cf0
commit
55a858e0c0
4
main.cpp
4
main.cpp
@ -36,8 +36,8 @@
|
|||||||
#include "OMP45Stream.h"
|
#include "OMP45Stream.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Default size of 2^26
|
// Default size of 2^25
|
||||||
unsigned int ARRAY_SIZE = 67108864;
|
unsigned int ARRAY_SIZE = 33554432;
|
||||||
unsigned int num_times = 100;
|
unsigned int num_times = 100;
|
||||||
unsigned int deviceIndex = 0;
|
unsigned int deviceIndex = 0;
|
||||||
bool use_float = false;
|
bool use_float = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user