Search found 70 matches

by ankan
Thu Jun 27, 2013 5:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (upto 20 Billion nps w/o hashing)

Writing a complete chess engine is my (long term) plan.

I have only made the move generator till now ( perft is just a way to test move generation correctness and speed).

It may take many months (or even years) to get my engine working on gpu. :D
by ankan
Thu Jun 27, 2013 5:18 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (upto 20 Billion nps w/o hashing)

Writing a complete chess engine is my (long term) plan.

I have only made the move generator till now ( perft is just a way to test move generation correctness and speed).

It may take many months (or even years) to get my engine working on gpu. :D
by ankan
Thu Jun 27, 2013 7:55 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A perft() benchmark
Replies: 24
Views: 4390

Re: A perft() benchmark

k7/8/8/8/8/8/8/7K w - - 0 1 GPU Perft 1: 3, Time taken: 1.6736e-005 seconds, nps: 179254 GPU Perft 2: 9, Time taken: 0.000101344 seconds, nps: 88806 GPU Perft 3: 54, Time taken: 0.000139136 seconds, nps: 388109 GPU Perft 4: 324, Time taken: 0.000271936 seconds, nps: 1191456 GPU Perft 5: 1890, Time t...
by ankan
Wed Jun 26, 2013 5:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A perft() benchmark
Replies: 24
Views: 4390

Re: A perft() benchmark

Perft benchmark at start position for my programs. Only for perft - not part of real chess engine (yet) perft_cpu (64 bit/core 2 @ 3 GHz): With bulk counting: Perft 1: 20, Time taken: 2.28693e-005 seconds, nps: 874533 Perft 2: 400, Time taken: 3.72054e-005 seconds, nps: 10751141 Perft 3: 8902, Time ...
by ankan
Sun Jun 23, 2013 5:16 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (upto 20 Billion nps w/o hashing)

Very impressive indeed! I am much slower (on my phenom 1090T): - 6797 seconds for perft 9 of the initial position for a single-thread no-hash version. (It would probably be ~1200 seconds with multiple threads.) -paul Thanks. That's isn't slow at all for a single threaded CPU code. Your cpu program ...
by ankan
Sun Jun 23, 2013 5:13 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (upto 20 Billion nps w/o hashing)

Can you try running perft(14)? It needs independent verification and it would be helpful to have the 20 perft(13) subtotals available. Sure, I will definitely try that after adding hash table support to my program. Without hashing it will take my program a few years to compute perft(13) :) I also t...
by ankan
Sun Jun 23, 2013 4:53 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (upto 20 Billion nps w/o hashing)

Gerd Isenberg wrote:Wow, impressive!

squaresInBetween is in the meantime corrected:
https://chessprogramming.wikispaces.com ... alculation

Good luck and fun!

Gerd
Thanks Gred.
The chess programming wiki is extremely helpful!

Regards,
-Ankan
by ankan
Sun Jun 23, 2013 4:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (up to 20 billion nps w/o hashing).

Hello Ankan: Truly outstanding! Congratulations. Please make your tool hash compatible. Daniel's thought of computing large perft results like the 20 draft 13 results of Perft(14) or the 400 draft 12 results of Perft(14) makes sense. Regarding the time of Perft(9) around 200 seconds without hashing...
by ankan
Sun Jun 23, 2013 4:27 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Re: Fast perft on GPU (upto 20 Billion nps w/o hashing)

Well my knowledge of GPUs is probably too outdated by now but last time I tried recursion was not possible. I guess that dynamic parallelism will simplify coding a lot. Also registers were very few so I could not store the board and moves generated there, that is when using warps as the minimum sea...
by ankan
Sat Jun 22, 2013 5:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Fast perft on GPU (upto 20 Billion nps w/o hashing)
Replies: 20
Views: 10851

Fast perft on GPU (upto 20 Billion nps w/o hashing)

I am starting to write a new chess engine, and I plan to attempt making a GPU version also. As a first step, I wrote a move generator using bit-boards (kogge-stone for sliding piece move generation). I know perft speed is not a measure of chess engine strength and there are many other things that I ...