Tomasz Sobczyk
f1d4c1c896
remove useless stuff
2021-04-18 19:24:23 +02:00
Tomasz Sobczyk
696e849a30
learn -> tools
2021-04-18 19:18:41 +02:00
Tomasz Sobczyk
3101ae7973
remove learn
2021-04-18 19:04:14 +02:00
Tomasz Sobczyk
0ddad45ab2
Add gather_statistics command that allows gathering statistics from a .bin or .binpack file. Initially only support position count.
2021-03-01 00:36:45 +09:00
Tomasz Sobczyk
96b377a90a
Add gensfen_nonpv
2020-12-24 21:37:30 +09:00
kennyfrc
f4b4430380
remove unnecessary makefile commands and fix blas on mac
2020-12-13 09:31:52 +09:00
Joost VandeVondele
b49fd3ab30
Add -lstdc++fs to the link line of gcc
...
older versions of gcc (<8.1) need this, even if they accept -std=c++17
with this patch, the code can be run on fishtest again,
at least by the majority of workers (fishtest doesn't require c++17 to be available)
See e.g.
https://tests.stockfishchess.org/tests/view/5fcfbf801ac1691201888235
Bench: 3820648
2020-12-09 08:40:34 +09:00
Kenn Costales
055f907315
Merge branch 'master' into stockfish-nnue-2020-08-30-macos
2020-12-08 22:49:11 +08:00
kennyfrc
bb26ce5aa1
mac specific makefile with compilation instructions
2020-12-08 22:14:18 +08:00
noobpwnftw
0b2ae6cb64
Merge remote-tracking branch 'remotes/official/master' into merge
2020-11-28 06:47:04 +08:00
Tomasz Sobczyk
89294e2e4f
Add transform command. Add transform nudged_static subcommand.
2020-11-27 09:16:22 +09:00
noobpwnftw
c29554a120
Merge remote-tracking branch 'remotes/official/master' into master
...
Bench: 3597730
2020-11-23 04:27:12 +08:00
Tomasz Sobczyk
d4350a16f3
Add representation of an opening book.
2020-11-17 09:43:23 +09:00
Tomasz Sobczyk
c56a4a36eb
Add our own blas-like routines that use stockfish's thread pool for parallelization.
2020-10-29 23:57:51 +09:00
Tomasz Sobczyk
ec9e49e875
Add a HalfKA architecture (a product of K - king, and A - any piece) along with all required infrastructure. HalfKA doesn't discriminate kings compared to HalfKP. Keep old architecture as the default one.
2020-10-29 09:10:01 +09:00
Tomasz Sobczyk
e01397c674
Remove multi_think
2020-10-26 19:40:40 +09:00
Joost VandeVondele
258af8ae44
Add net as dependency of config
...
cleaner output and error message if the server is down and the net is not available.
closes https://github.com/official-stockfish/Stockfish/pull/3188
No functional change
2020-10-22 20:18:12 +02:00
Tomasz Sobczyk
9f87282c6d
Fix net not being downloaded on build. Make PGO build faster by reverting gensfen command change.
2020-09-24 21:59:25 +02:00
noobpwnftw
9827411b7c
Merge remote-tracking branch 'remotes/nodchip/master' into trainer
2020-09-24 21:45:28 +08:00
noobpwnftw
411adab149
Merge remote-tracking branch 'remotes/nodchip/master' into trainer
2020-09-23 18:29:30 +08:00
noobpwnftw
26f63fe741
Merge remote-tracking branch 'remotes/origin/master' into trainer
2020-09-19 03:38:37 +08:00
syzygy1
d86663af14
Improve NDK section in Makefile
...
This PR sets the "comp" variable simply to "clang",
which seems to be more consistent and allows a small simplification.
The PR also moves the section that sets "profile_make" and "profile_use" to after the NDK section,
which ensures that these variables are now set correctly for NDK/clang.
closes https://github.com/official-stockfish/Stockfish/pull/3121
No functional change
2020-09-16 21:00:14 +02:00
Tomasz Sobczyk
89f38c938b
Don't prompt when the training data file doesn't exist when trying to delete it
2020-09-13 13:52:42 +02:00
Tomasz Sobczyk
2e2de7607b
Add extension to the PGO_TRAINING_DATA_FILE so that the generated file name matches the one we try to delete.
2020-09-13 13:47:19 +02:00
Tomasz Sobczyk
e4a4f4001f
parametrize the name of the training data file generated during pgo
2020-09-13 13:44:19 +02:00
Tomasz Sobczyk
9ee8ce67bf
Move removal of generate training data file to profileclean.
2020-09-13 13:42:13 +02:00
Tomasz Sobczyk
4b70f4bf23
Add extra ld flags to the proper variable.
2020-09-13 02:07:29 +02:00
Tomasz Sobczyk
72164ba59c
Add missing -fopenmp LDFLAG
2020-09-13 02:06:33 +02:00
Tomasz Sobczyk
fbae6604b1
Remove LEARNCXXFLAGS, LEARNLDFLAGS, BLASDEFINE, BLASCXXFLAGS, BLASLDFLAGS in favor of directly modifying CXXFLAGS and LDFLAGS.
2020-09-13 00:18:01 +02:00
Tomasz Sobczyk
8d1ad6fbf6
Add a makefile option to enable use of BLAS. Default to "no"
2020-09-12 21:16:27 +02:00
Tomasz Sobczyk
1e2fca4040
Move learn target to build target and profile-learn to profile-build.
2020-09-12 16:23:49 +02:00
Joost VandeVondele
8d499e6efa
Fix flags for dependency generation ( 98f24570ab)
2020-09-12 22:25:36 +09:00
Tomasz Sobczyk
98f24570ab
Add src to include paths, remove non-standard ".." in includes in learn directory.
2020-09-11 21:53:17 +09:00
Tomasz Sobczyk
a059fa86c4
Move sfen_packer to learn.
2020-09-11 21:53:17 +09:00
Tomasz Sobczyk
683c6146ce
Move declarations around and split them.
2020-09-11 21:53:17 +09:00
noobpwnftw
84ba591118
Merge branch 'master' into trainer
2020-09-09 20:19:13 +08:00
noobpwnftw
675d336ebb
Merge branch 'master' into trainer
2020-09-09 16:08:49 +08:00
nodchip
1d00d00241
Removed ENABLE_TEST_CMD macro.
2020-09-09 10:26:42 +09:00
nodchip
a6013557f2
Removed EVAL_NNUE macro.
2020-09-09 10:26:42 +09:00
noobpwnftw
d25657c439
Merge branch 'master' into trainer
2020-09-09 08:43:12 +08:00
noobpwnftw
d21424c8d3
test
2020-09-09 07:31:22 +08:00
Tomasz Sobczyk
1482e5215a
A second batch of code reorganization.
2020-09-08 20:07:30 +09:00
Joost VandeVondele
6e8f82ad76
Fix small CI failures
...
1) Only access UCI option if defined
2) disable -Werror for now.
3) disable a few target that don't have _mm_malloc.
4) Add profile-learn target, with small speedup.
5) just test on Linux + gcc (skip macOS, unclear openblas, skip linux+clang, unclear omp/std::filesystem).
2020-09-08 09:14:49 +09:00
Tomasz Sobczyk
e638d66bbe
Only add -s flag to the linker if debug=no
2020-09-08 09:10:58 +09:00
Joost VandeVondele
e9e52faae7
Typo fix
2020-09-07 15:21:50 +09:00
Joost VandeVondele
3a06de298b
Define BLAS variables in Makefile
...
makes it a little easier to change the BLAS library used,
doesn't hardcode the mingw headers. Works on Linux with openblas installed.
Should be no change on Windows.
2020-09-07 09:19:31 +09:00
Tomasz Sobczyk
c17f2b15fd
General cleanup of learner.cpp.
2020-09-02 23:08:22 +09:00
mstembera
a057f170c6
Use llvm linker with clang on windows for LTO.
...
other linkers might fail to link during the LTO phase.
The linker might have to be installed using
`pacman -Syu mingw-w64-x86_64-lld`
closes https://github.com/official-stockfish/Stockfish/pull/3084
No functional change.
2020-09-01 09:26:08 +02:00
Joost VandeVondele
e4ed7d3dd7
Cleaner make help
...
do not print details if ARCH is an empty string. Follow up for b0b4ca17db
https://github.com/official-stockfish/Stockfish/pull/3071
No functional change
2020-08-30 14:03:02 +02:00
nodchip
7d6668515c
Added -static link option to the learn and profile-learn targets.
2020-08-30 14:54:07 +09:00