Skip to content

Commit 82156f2

Browse files
committed
Correct static assert for PSQTBuckets
1 parent c402e9b commit 82156f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/nnue/nnue_architecture.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ constexpr IndexType LayerStacks = 16;
4848
// If vector instructions are enabled, we update and refresh the
4949
// accumulator tile by tile such that each tile fits in the CPU's
5050
// vector registers.
51-
static_assert(PSQTBuckets % 8 == 0,
52-
"Per feature PSQT values cannot be processed at granularity lower than 8 at a time.");
51+
static_assert(
52+
PSQTBuckets % 16 == 0,
53+
"Per feature PSQT values cannot be processed at granularity lower than 16 at a time.");
5354

5455
template<IndexType L1, int L2, int L3>
5556
struct NetworkArchitecture {

0 commit comments

Comments
 (0)