using alignas(32) in NNUE | bench 10737067

This commit is contained in:
rektdie committed 2025-04-08 22:58:14 +02:00
1 parent 2ea6bd1c64
commit ddbd378d16
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -4,12 +4,12 @@
namespace ACC {
struct Accumulator {
std::array<int16_t, NNUE::HL_SIZE> values;
alignas(32) std::array<int16_t, NNUE::HL_SIZE> values;
};
struct AccumulatorPair {
Accumulator white;
Accumulator black;
alignas(32) Accumulator white;
alignas(32) Accumulator black;
// yoinked from Quinniboi - Prelude
void addSub(bool stm, int add, int addPT, int sub, int subPT);