mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
[NNUE] init networks also for cmdline use
`./stockfish go depth 10` now works if `Use NNUE` defaults to true. No functional change
This commit is contained in:
@@ -238,6 +238,9 @@ void UCI::loop(int argc, char* argv[]) {
|
||||
|
||||
pos.set(StartFEN, false, Options["Use NNUE"], &states->back(), Threads.main());
|
||||
|
||||
if (argc > 1)
|
||||
init_nnue(Options["EvalFile"]);
|
||||
|
||||
for (int i = 1; i < argc; ++i)
|
||||
cmd += std::string(argv[i]) + " ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user