]> git.sesse.net Git - stockfish/blobdiff - src/nnue/nnue_accumulator.h
Use incremental updates more often
[stockfish] / src / nnue / nnue_accumulator.h
index 2a354a3c2844a29a7bcec9d9a5ce2a12822eb203..263707102019f8596ab11c3558afc970e8479acb 100644 (file)
 namespace Eval::NNUE {
 
   // Class that holds the result of affine transformation of input features
-  struct alignas(32) Accumulator {
+  struct alignas(kCacheLineSize) Accumulator {
     std::int16_t
         accumulation[2][kRefreshTriggers.size()][kTransformedFeatureDimensions];
-    Value score;
     bool computed_accumulation;
-    bool computed_score;
   };
 
 }  // namespace Eval::NNUE