8 king input buckets | bench 1476617 #180

Merged
rektdie merged 1 commits from 8-king-buckets into main 2026-04-13 17:39:31 +02:00
2 changed files with 17 additions and 17 deletions

No files matched your search

BIN
View File
Binary file not shown.
+17 -17
View File
@@ -15,7 +15,7 @@ namespace NNUE {
constexpr size_t INPUT_SIZE = 768;
constexpr size_t HL_SIZE = 1536;
constexpr size_t INPUT_BUCKETS = 6;
constexpr size_t INPUT_BUCKETS = 8;
constexpr size_t OUTPUT_BUCKETS = 8;
constexpr int16_t SCALE = 400;
@@ -24,25 +24,25 @@ constexpr int16_t QB = 64;
constexpr int kingBuckets[2][64] = {
{
0, 0, 1, 1, 1, 1, 0, 0,
2, 2, 3, 3, 3, 3, 2, 2,
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5
0, 1, 2, 3, 3, 2, 1, 0,
4, 4, 5, 5, 5, 5, 4, 4,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7
},
{
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5,
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4,
2, 2, 3, 3, 3, 3, 2, 2,
0, 0, 1, 1, 1, 1, 0, 0
7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 7, 7,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6,
4, 4, 5, 5, 5, 5, 4, 4,
0, 1, 2, 3, 3, 2, 1, 0,
}
};