- kpk_bitbase_init();
- Search::init();
- Threads.init();
- Eval::init();
- TT.set_size(Options["Hash"]);
-
- if (argc == 1)
- uci_loop();
-
- else if (string(argv[1]) == "bench")
- benchmark(argc, argv);
-
- else
- cerr << "\nUsage: stockfish bench [hash size = 128] [threads = 1] "
- << "[limit = 12] [fen positions file = default] "
- << "[limited by depth, time, nodes or perft = depth]" << endl;