mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Minimal whitespace changes
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Eval::NNUE::Features {
|
|||||||
static void AppendActiveIndices(const Position& pos, Color perspective,
|
static void AppendActiveIndices(const Position& pos, Color perspective,
|
||||||
IndexList* active);
|
IndexList* active);
|
||||||
|
|
||||||
// Get a list of indices for recently changed features
|
// Get a list of indices for recently changed features
|
||||||
static void AppendChangedIndices(const Position& pos, Color perspective,
|
static void AppendChangedIndices(const Position& pos, Color perspective,
|
||||||
IndexList* removed, IndexList* added);
|
IndexList* removed, IndexList* added);
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ namespace Eval::NNUE::Layers {
|
|||||||
sum = _mm512_add_epi32(sum, product);
|
sum = _mm512_add_epi32(sum, product);
|
||||||
}
|
}
|
||||||
output[i] = _mm512_reduce_add_epi32(sum) + biases_[i];
|
output[i] = _mm512_reduce_add_epi32(sum) + biases_[i];
|
||||||
|
|
||||||
// Note: Changing kMaxSimdWidth from 32 to 64 breaks loading existing networks.
|
// Note: Changing kMaxSimdWidth from 32 to 64 breaks loading existing networks.
|
||||||
// As a result kPaddedInputDimensions may not be an even multiple of 64(512bit)
|
// As a result kPaddedInputDimensions may not be an even multiple of 64(512bit)
|
||||||
// and we have to do one more 256bit chunk.
|
// and we have to do one more 256bit chunk.
|
||||||
|
|||||||
Reference in New Issue
Block a user