benchmark.cpp
bitboards.cpp
counter.cpp
evaluation.cpp
history.cpp
killer.cpp
main.cpp
movegen.cpp
movesort.cpp
misc.cpp
nnue.cpp
pht.cpp
position.cpp
search.cpp
tbprobe.cpp
tt.cpp
uci.cpp
zobrist.cpp
hakkapeliitta.vcxproj -> C:\Users\Privat\Desktop\hakkapeliitta-nnue-master\hakkapeliitta-nnue-master\x64\Debug\hakkapeliitta.exe
The exe-file was created, when I access it I can enter uci and get this answer:
Hakkapeliitta 3.0 (C) 2013-2015 Mikko Aarnos
Detected 4 CPU core(s)
NNUE not found: nn.bin
Detected hardware POPCNT
uci
id name Hakkapeliitta 3.0
id author Mikko Aarnos
option name Hash type spin default 32 min 1 max 65536
option name Pawn Hash type spin default 4 min 1 max 8192
option name Clear Hash type button
option name Contempt type spin default 0 min -75 max 75
option name Ponder type check default true
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name SyzygyProbeLimit type spin default 6 min 0 max 6
option name Syzygy50MoveRule type check default true
uciok
If I say go, then the console is closed.
Code: Select all
NLINE void refresh_accumulator(const Position* pos)
{
Accumulator* accumulator = &(pos->nnue[0]->accumulator);
index_list active_indices[2]{};
active_indices[0].size = active_indices[1].size = 0;
append_active_indices(pos, active_indices);
for (unsigned c = 0; c < 2; c++)
{
#ifdef VECTOR
for (unsigned i = 0; i < k_half_dimensions / tile_height; i++)
{
const auto ft_biases_tile = reinterpret_cast<vec16_t*>(&ft_biases[i * tile_height]);
const auto acc_tile = reinterpret_cast<vec16_t*>(&accumulator->accumulation[c][i * tile_height]);
vec16_t acc[num_regs]{};
for (unsigned j = 0; j < num_regs; j++)
acc[j] = ft_biases_tile[j];
for (size_t k = 0; k < active_indices[c].size; k++) [b] <<<----error[/b]
{
const unsigned index = active_indices[c].values[k];
const unsigned offset = k_half_dimensions * index + i * tile_height;
const auto column = reinterpret_cast<vec16_t*>(&ft_weights[offset]);
for (unsigned j = 0; j < num_regs; j++)
acc[j] = vec_add_16(acc[j], column[j]);