projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876f07c
)
Allow benches with more than 2G nodes.
author
Joost VandeVondele
<Joost.VandeVondele@gmail.com>
Mon, 7 Nov 2016 12:35:28 +0000
(13:35 +0100)
committer
Joost VandeVondele
<Joost.VandeVondele@gmail.com>
Mon, 7 Nov 2016 12:35:28 +0000
(13:35 +0100)
./stockfish bench 128 1
4000000000
default nodes
crashes before, works after.
No functional change.
src/benchmark.cpp
patch
|
blob
|
history
diff --git
a/src/benchmark.cpp
b/src/benchmark.cpp
index
f2d1f06
..
bf0312c
100644
(file)
--- a/
src/benchmark.cpp
+++ b/
src/benchmark.cpp
@@
-117,7
+117,7
@@
void benchmark(const Position& current, istream& is) {
limits.movetime = stoi(limit); // movetime is in millisecs
else if (limitType == "nodes")
- limits.nodes = sto
i
(limit);
+ limits.nodes = sto
ll
(limit);
else if (limitType == "mate")
limits.mate = stoi(limit);