From f4ecc899d805f5a41b8a22f768f01206f6060ce4 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Sat, 1 Aug 2020 22:43:14 +0200 Subject: [PATCH] Minimal whitespace changes --- src/nnue/features/half_kp.h | 2 +- src/nnue/layers/affine_transform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnue/features/half_kp.h b/src/nnue/features/half_kp.h index 605616d4..ac384a90 100644 --- a/src/nnue/features/half_kp.h +++ b/src/nnue/features/half_kp.h @@ -31,7 +31,7 @@ namespace Eval::NNUE::Features { static void AppendActiveIndices(const Position& pos, Color perspective, 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, IndexList* removed, IndexList* added); diff --git a/src/nnue/layers/affine_transform.h b/src/nnue/layers/affine_transform.h index e3f374d2..7a88c7c2 100644 --- a/src/nnue/layers/affine_transform.h +++ b/src/nnue/layers/affine_transform.h @@ -97,7 +97,7 @@ namespace Eval::NNUE::Layers { sum = _mm512_add_epi32(sum, product); } output[i] = _mm512_reduce_add_epi32(sum) + biases_[i]; - + // Note: Changing kMaxSimdWidth from 32 to 64 breaks loading existing networks. // As a result kPaddedInputDimensions may not be an even multiple of 64(512bit) // and we have to do one more 256bit chunk.