removed unused functions & variables | bench 24146828
This commit is contained in:
1 parent
f0280a77ff
commit
cdfb752bfa
9 files changed
+4
-136
No files matched your search
@@ -170,14 +170,9 @@ static int32_t VectorizedSCReLU(const Board& board, const Network& net, size_t o
|
||||
}
|
||||
|
||||
int Forward(const Board& board, const Network& net) {
|
||||
bool stm = board.sideToMove;
|
||||
|
||||
const size_t divisor = 32 / OUTPUT_BUCKETS;
|
||||
const size_t outputBucket = (board.occupied.PopCount() - 2) / divisor;
|
||||
|
||||
const ACC::Accumulator& stmACC = stm ? board.accPair.white : board.accPair.black;
|
||||
const ACC::Accumulator& nstmACC = !stm ? board.accPair.white : board.accPair.black;
|
||||
|
||||
int64_t eval = 0;
|
||||
|
||||
eval = VectorizedSCReLU(board, net, outputBucket);
|
||||
|
||||
Reference in new issue
Block a user