using alignas(32) in NNUE | bench 10737067
This commit is contained in:
1 parent
2ea6bd1c64
commit
ddbd378d16
2 files changed
+6
-6
No files matched your search
+3
-3
@@ -15,9 +15,9 @@ constexpr int QA = 255;
|
||||
constexpr int QB = 64;
|
||||
|
||||
struct Network {
|
||||
std::array<int16_t, HL_SIZE * INPUT_SIZE> accumulator_weights;
|
||||
std::array<int16_t, HL_SIZE> accumulator_biases;
|
||||
std::array<int16_t, 2 * HL_SIZE> output_weights;
|
||||
alignas(32) std::array<int16_t, HL_SIZE * INPUT_SIZE> accumulator_weights;
|
||||
alignas(32) std::array<int16_t, HL_SIZE> accumulator_biases;
|
||||
alignas(32) std::array<int16_t, 2 * HL_SIZE> output_weights;
|
||||
int16_t output_bias;
|
||||
|
||||
void Load(const std::string& path);
|
||||
|
||||
Reference in new issue
Block a user