mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 05:07:14 +00:00
Pass accumulator caches by reference
closes https://github.com/official-stockfish/Stockfish/pull/6416 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
a191791f46
commit
db824e26be
+2
-2
@@ -76,13 +76,13 @@ class Network {
|
||||
|
||||
NetworkOutput evaluate(const Position& pos,
|
||||
AccumulatorStack& accumulatorStack,
|
||||
AccumulatorCaches::Cache<FTDimensions>* cache) const;
|
||||
AccumulatorCaches::Cache<FTDimensions>& cache) const;
|
||||
|
||||
|
||||
void verify(std::string evalfilePath, const std::function<void(std::string_view)>&) const;
|
||||
NnueEvalTrace trace_evaluate(const Position& pos,
|
||||
AccumulatorStack& accumulatorStack,
|
||||
AccumulatorCaches::Cache<FTDimensions>* cache) const;
|
||||
AccumulatorCaches::Cache<FTDimensions>& cache) const;
|
||||
|
||||
private:
|
||||
void load_user_net(const std::string&, const std::string&);
|
||||
|
||||
Reference in New Issue
Block a user