clang++ -O3 -std=c++20 -Wall -Wextra -march=native -flto -fuse-ld=lld -DEVALFILE=\"/home/nocturn9x/OpenBench/Client/Networks/FC8B95DA\" Turbulence_v4/BitManipulation.cpp Turbulence_v4/Board.cpp Turbulence_v4/Evaluation.cpp Turbulence_v4/MoveGeneration.cpp Turbulence_v4/Search.cpp Turbulence_v4/UCI.cpp -o Turbulence-2ED6F229-FC8B95DA
Turbulence_v4/Board.cpp:318:9: warning: variable 'num' set but not used [-Wunused-but-set-variable]
318 | int num = 0;
| ^
1 warning generated.
Turbulence_v4/Evaluation.cpp:241:11: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
241 | uint64_t sum = 0;
| ^
Turbulence_v4/Evaluation.cpp:503:42: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:503:42)'
503 | const native_vector stm_accum_values = load_epi16(&stm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:525:18: note: in instantiation of function template specialization 'vectorised_screlu(const Network *, const Accumulator *, const Accumulator *)::(anonymous class)::operator()<unsigned long>' requested here
525 | one_iteration(i + j * VECTOR_SIZE, accumulator[j]);
| ^
Turbulence_v4/Evaluation.cpp:503:42: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
503 | const native_vector stm_accum_values = load_epi16(&stm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:503:42: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:504:43: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:504:43)'
504 | const native_vector nstm_accum_values = load_epi16(&nstm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:504:43: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
504 | const native_vector nstm_accum_values = load_epi16(&nstm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:504:43: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:507:37: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:507:37)'
507 | const native_vector stm_weights = load_epi16(&network->output_weights[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:507:37: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
507 | const native_vector stm_weights = load_epi16(&network->output_weights[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:507:37: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:508:38: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:508:38)'
508 | const native_vector nstm_weights = load_epi16(&network->output_weights[idx + HL_SIZE]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:508:38: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
508 | const native_vector nstm_weights = load_epi16(&network->output_weights[idx + HL_SIZE]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:508:38: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:503:42: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:503:42)'
503 | const native_vector stm_accum_values = load_epi16(&stm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:530:16: note: in instantiation of function template specialization 'vectorised_screlu(const Network *, const Accumulator *, const Accumulator *)::(anonymous class)::operator()<int>' requested here
530 | one_iteration(i, accumulator[0]);
| ^
Turbulence_v4/Evaluation.cpp:503:42: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
503 | const native_vector stm_accum_values = load_epi16(&stm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:503:42: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:504:43: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:504:43)'
504 | const native_vector nstm_accum_values = load_epi16(&nstm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:504:43: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
504 | const native_vector nstm_accum_values = load_epi16(&nstm->values[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:504:43: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:507:37: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:507:37)'
507 | const native_vector stm_weights = load_epi16(&network->output_weights[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:507:37: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
507 | const native_vector stm_weights = load_epi16(&network->output_weights[idx]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:507:37: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
Turbulence_v4/Evaluation.cpp:508:38: error: no matching function for call to object of type '(lambda at Turbulence_v4/Evaluation.cpp:508:38)'
508 | const native_vector nstm_weights = load_epi16(&network->output_weights[idx + HL_SIZE]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbulence_v4/Evaluation.cpp:508:38: note: candidate function not viable: no known conversion from 'const int16_t *' (aka 'const short *') to 'void *' for 1st argument
508 | const native_vector nstm_weights = load_epi16(&network->output_weights[idx + HL_SIZE]);
| ^~~~~~~~~~
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^ ~~~~~~~~~
Turbulence_v4/Evaluation.cpp:508:38: note: conversion candidate of type '__m256i (*)(void *)'
Turbulence_v4/Evaluation.cpp:456:21: note: expanded from macro 'load_epi16'
456 | #define load_epi16 [](void *ptr) { return _mm256_load_si256((native_vector const *) ptr); }
| ^
1 warning and 8 errors generated.
Turbulence_v4/Search.cpp:828:51: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
828 | if (elapsedMS > Searchtime_MS || searchNodeCount >= hardNodeBound) {
| ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:998:51: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
998 | if (elapsedMS > Searchtime_MS || searchNodeCount >= hardNodeBound) {
| ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
Turbulence_v4/Search.cpp:1597:22: warning: unused parameter 'PV_line' [-Wunused-parameter]
1597 | void print_UCI(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps)
| ^
Turbulence_v4/Search.cpp:1629:25: warning: unused parameter 'PV_line' [-Wunused-parameter]
1629 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta)
| ^
Turbulence_v4/Search.cpp:1629:49: warning: unused parameter 'bestmove' [-Wunused-parameter]
1629 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta)
| ^
Turbulence_v4/Search.cpp:1629:102: warning: unused parameter 'window_change' [-Wunused-parameter]
1629 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta)
| ^
Turbulence_v4/Search.cpp:1629:121: warning: unused parameter 'asp_alpha' [-Wunused-parameter]
1629 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta)
| ^
Turbulence_v4/Search.cpp:1629:136: warning: unused parameter 'asp_beta' [-Wunused-parameter]
1629 | void print_Pretty(Move(&PV_line)[99][99], Move& bestmove, int score, float elapsedMS, float nps, int window_change, int asp_alpha, int asp_beta)
| ^
Turbulence_v4/Search.cpp:1787:83: warning: unused parameter 'PrintRootVal' [-Wunused-parameter]
1787 | std::pair<Move, int> IterativeDeepening(Board& board, int depth, int timeMS, bool PrintRootVal, bool print_info, int softbound, int baseTime, int maxTime, uint64_t softNodes, uint64_t hardNodes)
| ^
Turbulence_v4/Search.cpp:1923:17: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
1923 | if (softNodes != -1)
| ~~~~~~~~~ ^ ~~
Turbulence_v4/Search.cpp:1925:24: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long') [-Wsign-compare]
1925 | if (searchNodeCount > softNodes)
| ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
Turbulence_v4/Search.cpp:2133:7: warning: variable 'howMuchTry' set but not used [-Wunused-but-set-variable]
2133 | int howMuchTry = 0;
| ^
Turbulence_v4/Search.cpp:2233:6: warning: variable 'whiteMinor' set but not used [-Wunused-but-set-variable]
2233 | int whiteMinor = 0, blackMinor = 0;
| ^
Turbulence_v4/Search.cpp:2233:22: warning: variable 'blackMinor' set but not used [-Wunused-but-set-variable]
2233 | int whiteMinor = 0, blackMinor = 0;
| ^
Turbulence_v4/Search.cpp:2337:62: warning: unused parameter 'output' [-Wunused-parameter]
2337 | void filterData(const std::string& input, const std::string& output) {
| ^
Turbulence_v4/Search.cpp:2413:7: warning: variable 'plyCount' set but not used [-Wunused-but-set-variable]
2413 | int plyCount = 0;
| ^
Turbulence_v4/Search.cpp:2447:21: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
2447 | for (int i = 0; i < gameData.size(); i++) {
| ~ ^ ~~~~~~~~~~~~~~~
17 warnings generated.
Turbulence_v4/UCI.cpp:337:40: warning: unused parameter 'incre' [-Wunused-parameter]
337 | int Calculate_Hard_Bound(int time, int incre)
| ^
Turbulence_v4/UCI.cpp:702:20: warning: unused variable 'nps' [-Wunused-variable]
702 | double nps = nodes / second;
| ^~~
Turbulence_v4/UCI.cpp:487:46: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
487 | for (size_t j = 0; j < moveList.count; j++)
| ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:605:46: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
605 | for (size_t j = 0; j < moveList.count; j++)
| ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:834:30: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
834 | for (size_t j = 0; j < moveList.count; j++)
| ~ ^ ~~~~~~~~~~~~~~
Turbulence_v4/UCI.cpp:951:14: warning: unused variable 'hash_key' [-Wunused-variable]
951 | uint64_t hash_key = 0ULL;
| ^~~~~~~~
6 warnings generated.
make: *** [Makefile:27: Turbulence-2ED6F229-FC8B95DA] Error 1