nodchip
2523f72ff9
盤上から取り除かれた駒に関する差分計算を省き、高速化した
2020-06-03 23:32:08 +09:00
nodchip
a85e3055f4
いくつかのターゲットでOpenMPを有効にした
2020-06-02 00:13:35 +09:00
tttak
78134b7641
OpenMPの有効化
2020-06-01 23:51:05 +09:00
nodchip
6703ec8ab0
nnue-gen-sfen-from-original-evalターゲットを追加した
2020-05-30 09:50:29 +09:00
nodchip
dd9818c2c1
Added "-static" compiler option.
2020-05-29 09:36:24 +09:00
nodchip
f18acf97ed
Added the "nnue" target.
...
Fixed build errors on the "nnue-learn-use-blas" target.
2020-05-28 10:08:51 +09:00
Hisayori Noda
e2165155d1
Enabled halfkp_256x2-32-32.h.
2019-07-11 22:47:55 +09:00
Hisayori Noda
1d5f79db1c
Merge branch 'master' of github.com:nodchip/Stockfish into k-p_256x2-32-32
2019-07-10 08:18:57 +09:00
tttak
c4d30f3649
set_from_packed_sfen()でmirrorをepSquareにも適用するように修正
2019-07-10 08:16:38 +09:00
Hisayori Noda
2d70487caa
Enabled k-p_256x2-32-32.
2019-07-08 19:02:09 +09:00
tttak
0be41dbb67
nullmoveとpromotionの場合に評価値の差分計算と全計算の結果が異なっていたのを修正
2019-07-08 18:51:08 +09:00
HiraokaTakuya
c643ee0b45
Fix a compile error.
2019-07-08 18:49:47 +09:00
HiraokaTakuya
10aa774d08
Fix a compile error.
2019-07-08 18:49:47 +09:00
HiraokaTakuya
8718438943
std::conditional_t can be used from C++14.
2019-07-08 18:49:47 +09:00
HiraokaTakuya
fc5f64b383
Add targets nnue-learn, nnue-learn-use-blas
2019-07-08 18:49:47 +09:00
tttak
3dcd2bb69b
Makefileのobjclean:に「./eval/nnue/*.o」等を追加
2019-07-08 18:46:24 +09:00
Hisayori Noda
b300a9d43e
Enabled halfkp_256x2-32-32.
2019-07-07 21:44:02 +09:00
Hisayori Noda
747d98bf1b
Added halfkp-cr-ep_256x2-32-32 architecture.
2019-07-07 20:31:54 +09:00
Hisayori Noda
df827ea7ee
Added enpassant feature. Added k-p-cr-ep_256x2-32-32 architecture.
2019-07-07 19:24:46 +09:00
Hisayori Noda
92052bc16b
Fixed build errors.
2019-07-07 17:22:07 +09:00
Hisayori Noda
5c0037de7f
Added the castling right feature. Added k-p-cr_256x2-32-32 architecture.
2019-07-07 17:02:34 +09:00
Hisayori Noda
09e529edd3
Added a hack to avoid crash with binaries compiled by g++ on MSYS2.
2019-07-05 00:22:41 +09:00
Hisayori Noda
89e846c476
Fixed a bug that Learner::qsearch() recognizes stalemate as checkmated.
2019-07-04 23:44:58 +09:00
Hisayori Noda
81262320c3
Revert "Changed the constant value to calculate the winning percentage."
...
This reverts commit 00f84ed99a
.
2019-06-30 11:29:43 +09:00
Hisayori Noda
00f84ed99a
Changed the constant value to calculate the winning percentage.
2019-06-26 08:48:48 +09:00
Hisayori Noda
26271586cb
Added #if to fix compile errors.
2019-06-24 23:18:17 +09:00
Hisayori Noda
a413bf7aad
Added hack to avoid crash during machine learning.
2019-06-24 23:17:46 +09:00
Hisayori Noda
9a73df7379
Added test commands.
2019-06-22 00:40:46 +09:00
Hisayori Noda
5772509e8b
Disabled TT when EVAL_LEARN is enabled.
2019-06-22 00:40:25 +09:00
Hisayori Noda
641724e3a5
Added debug code.
2019-06-22 00:39:21 +09:00
Hisayori Noda
57ead90f18
Fixed a bug that the game play is invalid.
2019-06-22 00:38:24 +09:00
Hisayori Noda
07dc336b0f
Added validation logic.
2019-06-22 00:37:59 +09:00
Hisayori Noda
84a96a3d9c
Fixed a compilation error.
2019-06-22 00:37:31 +09:00
Hisayori Noda
998d8721bd
Fixed a bug that White and Black are reversed.
2019-06-22 00:37:10 +09:00
Hisayori Noda
9dab4660ce
Added source files.
2019-06-22 00:36:42 +09:00
Hisayori Noda
90ef97dcbd
Fixed crash bugs.
2019-06-20 00:25:40 +09:00
Hisayori Noda
24576d77ab
Merged uci parse logic.
2019-06-18 21:19:51 +09:00
Hisayori Noda
f58d616198
Fixed compile errors when EVAL_LEARN or EVAL_NNUE are defined.
2019-06-18 20:28:50 +09:00
Hisayori Noda
bcd6985871
Merged the training data generator and the machine learning logic from YaneuraOu.
2019-06-18 08:48:05 +09:00
Hisayori Noda
87445881ec
Added #ifdef statements to switch the legacy evaluation function and NNUE evaluation function.
2019-06-16 11:11:16 +09:00
Hisayori Noda
48bfe86d27
Implemented the logic to update Eval List and Dirty Pieces.
2019-06-16 10:33:53 +09:00
Hisayori Noda
b330602cdc
Fixed compile errors.
2019-06-15 17:08:47 +09:00
Hisayori Noda
9964fbbe25
Reverted evaluate.cpp.
2019-06-15 11:46:54 +09:00
Hisayori Noda
db02ddcc90
Added files for NNUE.
2019-06-09 10:40:12 +09:00
protonspring
3edf0e6b37
Scale lazy threshold according to material. ( #2170 )
...
STC
LLR: 2.95 (-2.94,2.94) [0.50,4.50]
Total: 58543 W: 13238 L: 12782 D: 32523
http://tests.stockfishchess.org/tests/view/5cef3efa0ebc5925cf081f07
LTC
LLR: 3.70 (-2.94,2.94) [0.00,3.50]
Total: 82232 W: 14281 L: 13825 D: 54126
http://tests.stockfishchess.org/tests/view/5cef595d0ebc5925cf082441
bench 3807737
2019-05-31 14:35:39 +02:00
protonspring
c645587270
Simplify semiopen_file ( #2165 )
...
This is a non-functional simplification. Since our file_bb handles either Files or Squares, using Square here removes some code. Not likely any performance difference despite the test.
STC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 6081 W: 1444 L: 1291 D: 3346
http://tests.stockfishchess.org/tests/view/5ceb3e2e0ebc5925cf07ab03
Non functional change.
2019-05-29 10:00:32 +02:00
Joost VandeVondele
190f38a7c2
Remove one division. ( #2158 )
...
Can be included in the earlier calculation, with a small rounding difference.
passed STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 17912 W: 4044 L: 3915 D: 9953
http://tests.stockfishchess.org/tests/view/5ce711f90ebc5925cf070d0e
passed LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 56061 W: 9579 L: 9516 D: 36966
http://tests.stockfishchess.org/tests/view/5ce716820ebc5925cf070e37
Bench: 3817662
2019-05-25 09:43:52 +02:00
31m059
bf6b647a1a
Allow RQ through pieces. Bench: 3415326 ( #2153 )
...
We evaluate defended and unsafe squares for a passed pawn push based on friendly and enemy rooks and queens on the passed pawn's file. Prior to this patch, we further required that these rooks and queens be able to directly attack the passed pawn. However, this restriction appears unnecessary and worth almost exactly 0 Elo at LTC.
The simplified code allows rooks and queens to attack/defend the passed pawn through other pieces of either color.
STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 29019 W: 6488 L: 6381 D: 16150
http://tests.stockfishchess.org/tests/view/5cdcf7270ebc5925cf05d30c
LTC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 54224 W: 9200 L: 9133 D: 35891
http://tests.stockfishchess.org/tests/view/5cddc6210ebc5925cf05eca3
Bench: 3415326
2019-05-17 13:38:23 +02:00
svivanov72
2985a6b5d7
Remove unused code ( #2150 )
...
Remove an unused operator in has_game_cycle (thanks @vondele)
and modify its comment to explain other code.
No functional change.
2019-05-16 14:14:11 +02:00
protonspring
272936eaba
Score and Select Best Thread in same loop ( #2125 )
...
This is a non-functional simplification that combines vote counting and thread selecting in the same loop.
It is possible that the best thread would be updated more frequently than master, but I'm not sure it matters here. Perhaps "mostVotes" is a better name than "bestVote?"
STC (stopped early).
LLR: 0.70 (-2.94,2.94) [-3.00,1.00]
Total: 10714 W: 2329 L: 2311 D: 6074
http://tests.stockfishchess.org/tests/view/5ccc71470ebc5925cf03d244
No functional change.
2019-05-16 14:13:16 +02:00