Search found 303 matches

by phhnguyen
Wed Feb 06, 2019 12:48 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xiangqi: perpetual chase question
Replies: 6
Views: 385

Re: Xiangqi: perpetual chase question

OK, sorry, my mistake. It was not my intention that the black Cannon would ever be protected. So imagine the Elephant on e7 is not there at all. From your second posting I understand that for the 1.Hd4, where the Horse chases the Cannon and at the same time the Cannon offers exchange, you would not...
by phhnguyen
Tue Feb 05, 2019 3:29 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xiangqi: perpetual chase question
Replies: 6
Views: 385

Re: Xiangqi: perpetual chase question

That is why my program rules games in two separating steps, the first one is to detect continuously chasing without taking care the relationship between attackers - victims, in this case the Horse is doing that but not that black Cannon since it is not continuously chasing the white Cannon (in one ...
by phhnguyen
Tue Feb 05, 2019 2:40 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xiangqi: perpetual chase question
Replies: 6
Views: 385

Re: Xiangqi: perpetual chase question

I am in doubt about the priority of the rule that it is allowed to perpetually offer exchange of equal pieces. One way to look at it is that the possibility to exchange is as good as being protected, i.e. the piece is capable of self-defence, and initiating the exchange is like a 'pre-emptive' reca...
by phhnguyen
Sun Jan 13, 2019 4:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 2686

Re: Generate EGTB with graphics cards?

So it really was a serious question: how long do you take to generate, say, KBNK? Sorry I don’t know. I don’t generate EGTB for chess but for other chess variants. ... Because chasing can heave multiple targets (which then is allowed) Technically speaking, chasing multi-pieces is a draw. You can ig...
by phhnguyen
Sat Jan 12, 2019 3:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 2686

Re: Generate EGTB with graphics cards?

Well, if you would require several hundred times as much calculation per position as is really needed, I would have no difficulty believing that. So the key question is: how fast is your generator (on a single-threaded CPU)? I think you know already, there is no magic in computer chess. Except the ...
by phhnguyen
Thu Jan 03, 2019 11:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 2686

Re: Generate EGTB with graphics cards?

Another question would be: "why do it at all"? For orthodox Chess all 7-men have already been done. And 8-men are too big to store the result. A reason for doing it on a GPU would be for fun. I think that the GPU would be a very natural place for a mate solver that uses proof search. That is becaus...
by phhnguyen
Thu Jan 03, 2019 11:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 2686

Re: Generate EGTB with graphics cards?

From what I recall, tablebase generation is generally I/O bound, not CPU bound. In the EGT generator on my old website (basically FairyGen) profiling showed that the single statement data=EGT[index] was responsible for 99.5% of the execution time. The entire remainder of the calculation only took 0...
by phhnguyen
Thu Jan 03, 2019 12:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 2686

Re: Generate EGTB with graphics cards?

Thanks a lot for useful information! I have been reading about accessing RAM from graphics cards. Just read that AMD has been targeting on that issue for a while. However I am not sure if they are successful (accessing randomly RAM with low latency from GPU). Does anyone have information/confirmatio...
by phhnguyen
Tue Jan 01, 2019 3:29 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Generate EGTB with graphics cards?
Replies: 29
Views: 2686

Generate EGTB with graphics cards?

We have been working on EGTB generators for a while. One of the main problems beside the need of huge memory, is that those generators are always hungry for computing power, more CPUs/cores is better. One of idea we want to try is to use graphics cards for generating. AFAIK, a good graphics cards ma...
by phhnguyen
Tue Jan 01, 2019 3:18 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A proposal for Jeiqi notation
Replies: 4
Views: 463

Re: A proposal for Jeiqi notation

Do you (and WB) have any problem with the format of capture-number, say [e1a2R1X4]?

We prefer number to none since X (dark piece) can be as many as 15. The best is let users can use both (with or without number).