small bugfix in datagen | bench 10419455
This commit is contained in:
1 parent
ec46fddfe5
commit
817d589042
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -217,7 +217,7 @@ void Run(int targetPositions, int threads) {
|
||||
for (int i = 0; i < threads - 1; ++i) {
|
||||
pthread_attr_t attr;
|
||||
pthread_attr_init(&attr);
|
||||
pthread_attr_setstacksize(&attr, 8 * 1024 * 1024); // 2 MB stack
|
||||
pthread_attr_setstacksize(&attr, 8 * 1024 * 1024); // 8 MB stack
|
||||
|
||||
auto* args = new std::tuple<int, std::atomic<int>*, std::atomic<bool>*>(i, &positions, &stopFlag);
|
||||
|
||||
|
||||
+1
-1
@@ -154,7 +154,7 @@ public:
|
||||
sw.Restart();
|
||||
killerMoves = {};
|
||||
ss = {};
|
||||
positionHistory.reserve(1000);
|
||||
positionHistory.resize(1000);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user