single threaded datagen with printing | bench 1857933

This commit is contained in:
rektdie committed 2025-04-01 23:38:20 +02:00
1 parent 7c62a3e672
commit 93a199db17
5 files changed
+107 -26

No files matched your search

+8 -3
View File
@@ -18,11 +18,16 @@ int main(int argc, char* argv[]) {
if (std::string(argv[1]) == "bench") {
RunBenchmark();
} else if (std::string(argv[1]) == "datagen") {
int count = 1;
int positions = 1;
int threads = 1;
if (argc > 2) {
count = std::stoi(argv[2]);
positions = std::stoi(argv[2]);
if (argc > 3) {
threads = std::stoi(argv[3]);
}
}
DATAGEN::Run(count);
DATAGEN::Run(positions, threads);
}
} else {
UCILoop(board);