Search found 286 matches

by noobpwnftw
Thu Jan 17, 2019 7:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

There! I meant Xiangqi tablebases, I have never wrote a generator for chess.
by noobpwnftw
Tue Jan 15, 2019 12:06 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

They are time taken for each separate step, DTM is a bit faster because it reuses WDL tables and DTC usually requires more iterations. Note that almost a half of the time are spent on compression because they will quickly become huge without it. You need also consider the time needed to decompress s...
by noobpwnftw
Tue Jan 15, 2019 1:21 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

KBNK on single thread:

Build DTC:
45ms
Build DTM:
30ms
WDL with compression:
22ms W:721B B:751B
DTC with compression:
16ms W:2748B B:3060B
DTM with compression:
24ms W:2746B B:3060B
by noobpwnftw
Mon Jan 14, 2019 2:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

Like you said, it just need more complicated to handle all cases. There aren't much difference in theory, consider this: My_Foul + My_Foul = Lose, My_Foul + Opp_Foul = Draw, Opp_Foul + Opp_Foul = Win, how to correctly define all of them are just specifics. The main point of that paper is to introduc...
by noobpwnftw
Mon Jan 14, 2019 12:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

And second, http://www.chessdb.cn/query_en/?4k4/9/9/9/9/9/9/4BR3/Cr7/4K1B2%20w The tricky part is to make DTM tablebases, where this secondary counter cannot exist. One easy way is to build DTC first, then use the secondary counter in distance propagation to ensure progression, but this will cause s...
by noobpwnftw
Mon Jan 14, 2019 11:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

In Xiangqi many cannon attacks are "discovered", also knights have blockers, so that method would need quite a few exceptions, and some optimizations can be done in the pre-move generator to differentiate quiet moves from those which are likely to produce checks, and for the rest, call in_check(), a...
by noobpwnftw
Mon Jan 14, 2019 2:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

Use a staged pre-move generator so that you do not need to call in_check() on quiet moves. This already sounds very suspect to me. Call in_check() while generating EGTs? None of my EGT generators does such a thing. It seems a complete waste of time. Of course, because you haven't wrote a generator ...
by noobpwnftw
Sun Jan 13, 2019 5:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

Use a staged pre-move generator so that you do not need to call in_check() on quiet moves.
by noobpwnftw
Fri Jan 04, 2019 8:28 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 1792

Re: Generate EGTB with graphics cards?

Note that for Xiangqi efficient creation of EGT is pretty much an unsolved problem. The rules for perpetual checking and chasing are basically incompatible with the idea of retrograde generation. So although it is possible to do some end-games (namely those where one side only has defenders) in the...
by noobpwnftw
Fri Dec 21, 2018 8:28 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI pondering done right
Replies: 52
Views: 2000

Re: UCI pondering done right

Someone has to decide who is "wtime" and who is "btime", the logic exists one way or the other, or the other GUI authors may complain. :D