fyi:
Got AlphaBeta Pruning with Move Ordering running on one SIMD Unit of a GPU with 128 threads.
More Information:
http://zeta-chess.blogspot.com/
Source Code:
https://github.com/smatovic/Zeta/tree/zeta_nvidia_0918
--
Srdja
Zeta Open CL Chess - v0.918 - Developer Release
Moderators: hgm, Rebel, chrisw
-
- Posts: 2658
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Zeta Open CL Chess - v0.918 - Developer Release
Wow, congrats, Srdja! How fast is it? (average nps)smatovic wrote:fyi:
Got AlphaBeta Pruning with Move Ordering running on one SIMD Unit of a GPU with 128 threads.
More Information:
http://zeta-chess.blogspot.com/
Source Code:
https://github.com/smatovic/Zeta/tree/zeta_nvidia_0918
--
Srdja
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 2658
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Zeta Open CL Chess - v0.918 - Developer Release
ThanksWow, congrats, Srdja! Very Happy How fast is it? (average nps)
one SIMD Unit with 128 threads makes 10 000 to 50 000 nps on my NV GTS250 with 16 SIMD Units on board,
but it is a Prototype, no castle moves or en passant inside...
a lot of improvements possible...
I am just glad that AB Pruning works also on the GPU
Next topic would be a load-balancer across mutlible SIMD Units.
--
Srdja
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Zeta Open CL Chess - v0.918 - Developer Release
Hmm... this is quite slow, and as Intel's CEO said last week that Intel is going toward massively parallel CPUs I guess that GPUs will never catch up with CPUs.
BUT, IIRC, Apple designed OpenCL to make use of both CPU & GPU transparently, so your work is paving the future anyway
EDIT: yes, OpenCL handles both CPUs and GPUs. And both X86 and ARM CPUs will soon run OpenCL code!
http://semiaccurate.com/2011/04/26/arm- ... -and-gpus/
BUT, IIRC, Apple designed OpenCL to make use of both CPU & GPU transparently, so your work is paving the future anyway
EDIT: yes, OpenCL handles both CPUs and GPUs. And both X86 and ARM CPUs will soon run OpenCL code!
http://semiaccurate.com/2011/04/26/arm- ... -and-gpus/
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 2658
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Zeta Open CL Chess - v0.918 - Developer Release
Yepp,Hmm... this is quite slow, and as Intel's CEO said last week that Intel is going toward massively parallel CPUs I guess that GPUs will never catch up with CPUs.
i dont think that a GPU Chess Programm will compete with a professional CPU based programm, there are too much restrictions in coding/design. Transposition tables, null move, iterative deeping, all this has to be reinvented for the GPU.
--
Srdja
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
Re: Zeta Open CL Chess - v0.918 - Developer Release
Well, bear in mind the GTS250 is quite slow overall compared to a top gaming card, and is much like a Celeron compared to a Sandy Bridge quad.JuLieN wrote:Hmm... this is quite slow, and as Intel's CEO said last week that Intel is going toward massively parallel CPUs I guess that GPUs will never catch up with CPUs.
BUT, IIRC, Apple designed OpenCL to make use of both CPU & GPU transparently, so your work is paving the future anyway
EDIT: yes, OpenCL handles both CPUs and GPUs. And both X86 and ARM CPUs will soon run OpenCL code!
http://semiaccurate.com/2011/04/26/arm- ... -and-gpus/
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 2658
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Zeta Open CL Chess - v0.918 - Developer Release
Yepp,Well, bear in mind the GTS250 is quite slow overall compared to a top gaming card, and is much like a Celeron compared to a Sandy Bridge quad.
the ATI 69xx series for example has x8 more processing elements per SIMD Unit but runs with half of clock rate, so a speedup of x4 could be possible.
I figured out that move ordering is the performance killer in Zeta,
somehow i have to design it more SIMD friendly.
--
Srdja
-
- Posts: 154
- Joined: Tue May 17, 2011 8:12 pm
Re: Zeta Open CL Chess - v0.918 - Developer Release
What will the NPS be without move ordering?
-
- Posts: 154
- Joined: Tue May 17, 2011 8:12 pm
Re: Zeta Open CL Chess - v0.918 - Developer Release
Wait you use a bubble sort???
-
- Posts: 2658
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Zeta Open CL Chess - v0.918 - Developer Release
about 100 000 nps.What will the NPS be without move ordering?
--
Srdja