Discussion of chess software programming and technical issues.
Moderators: hgm , Rebel , chrisw
smatovic
Posts: 2658 Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic
Post
by smatovic » Sun Mar 20, 2011 1:24 pm
No idea with GPUs. Do they have 64-bit shifts with 128-bit SIMD vectors? If yes, I guess Kogge-Stone is the way to go on these architectures.
Yes, they have, i guess i have to get closer into Kogge-Stone, thanks Steffan and Gerd.
--
Srdja
smatovic
Posts: 2658 Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic
Post
by smatovic » Tue Mar 22, 2011 4:35 pm
I'd strongly recommend you take a look a look at my method inspired by Kogge-Stone parallel prefix networks,
Great, i think i got it...
i could use 8 Threads/Processes in parallel, for each direction one, just have to care for the non-sliding pieces...thanks.
--
Srdja
bob
Posts: 20943 Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL
Post
by bob » Tue Mar 22, 2011 6:24 pm
smatovic wrote: I'd strongly recommend you take a look a look at my method inspired by Kogge-Stone parallel prefix networks,
Great, i think i got it...
i could use 8 Threads/Processes in parallel, for each direction one, just have to care for the non-sliding pieces...thanks.
--
Srdja
That's one approach. Or a GPU per square, ala' HiTech, which was somewhat based on Belle.
smatovic
Posts: 2658 Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic
Post
by smatovic » Mon Mar 28, 2011 3:23 pm
That's one approach. Or a GPU per square, ala' HiTech, which was somewhat based on Belle.
Thanks for the advice,
i will try a KoggeStone Move Generator (with extension for all pieces) with 64x64 threads next.
--
Srdja
smatovic
Posts: 2658 Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic
Post
by smatovic » Thu Jun 16, 2011 10:15 pm
For the record:
i have implemented a Kogge-Stone move generator with 8 Threads (8 directions) in parallel on a GPU but it could not outperform a Magic-Bitboard Move Generator with only one thread.
So i will use a Quad-Bitboard Board Representation with Magic Bitboards for sliders and precalculated AttackTables for non-sliders in future.
--
Srdja
PS: Zeta project is reopened again:
http://zeta-chess.blogspot.com/