Neural network training in CUDA

August 11th, 2010

This is free, open-source (GPL v3 license), Multiple Back-Propagation neural network trainer. It’s an incredible use of CUDA, with claim of 175X speed-up (GTX 280 vs. unknown Intel CPU).

Great work!

  • Print this article!
  • E-mail this story to a friend!
  • Digg
  • Twitter
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • Slashdot
  • Technorati

nVidia’s supercomputer for DARPA

August 10th, 2010

DARPA are giving $25 millions to nVidia to research exascale computer, that should offer 1000X performance-level of actual existing  supercomputers in 2018, using future generations of nVidia’s Fermi GPU.

Again, this show the incredible momentum that GPGPU is gaining, US government funding nVidia to research new architectural evolutions, to raise performance-level, reliability, and programmability of their GPU.

  • Print this article!
  • E-mail this story to a friend!
  • Digg
  • Twitter
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • Slashdot
  • Technorati

Debunking the 100X GPU vs. CPU Myth: an Intel Paper

June 28th, 2010

Download and read the intel paper about debunking the myth of GPU being 100X faster than CPU on some tasks.

This paper is interesting, there are flaw in it, but I truly think the whole part is honest, and this honesty goes up to the point where Intel is saying that nVidia GPU are 14X faster than Intel’s CPU at best, and average 2.5X faster. I think that depending on the selected set of tasks, it might be true or a little conservative. Anyway Intel honestly said that their CPU are lagging far behind GPU.

They compared a $600 CPU and a $300 GPU, and the GPU was 2.5X faster average. Depending if money or performance interest you, you could consider different conclusions…

Upgrade to an old PC

To upgrade an old PCI-Express PC, you could add a $100-$120 graphic card, to obtain performance-level of a brand-new Core i7 960 PC. Core i7 960 needs new socket so an old PC won’t be compatible, you will have to spend $1000 for it (or more!). Given you resell your old PC for $300, Intel CPU are juste 6X-7X more expensive…

High-Performance PC

You may prefer to invest on a high-performance computer, because you need it, so you could choose for example a Mac Pro with 8-core 2.93Ghz (2 quad-core Nehalem CPU), that is 1.8X faster than the Core i7 960 in pure computing, for a tag price of $5899. Or for the same average computation power, take a $500 desktop and add it a $200 GeForce GTX260, $700 investment total. 8.4X more expensive on Intel CPU.

Desktop Supercomputing

Or maybe compare a high-performance 8-core PC/Mac with what this money could give you in term of performance for the $5899 tag price, giving you are buying a basic Mac Pro 4×2.66 Ghz $2499 and upgrade it with $3400 worth of GPU and second power… $1000 for a superb 1000W power, and 3xGeForce GTX 480 (each one at least 1.5X faster than GTX 285), PCI-Express expander.

On my left 8×2.93 Intel CPU power, at my right 3xGeForce GTX 480, for the same budget, on high-end computing, you will get 5X to 6X more performance average, and sometimes 20X to 30X if your task is GPU-oriented. Ouch!

Conclusions

If you want to upgrade an old PC to double it’s computing power or more on CUDA-enabled tasks, consider buying a new high-end PC/Mac, or want to have the fastest desktop supercomputer, wether it’s performance/price that drives you or performance-level, in any case there’s no competition to GPU.

Intel isn’t competing anymore in high-end supercomputing when we are talking about tasks that GPU handle correctly and are massively scalable. Whatever your metric is, nVidia GPUs are far better.

  • Print this article!
  • E-mail this story to a friend!
  • Digg
  • Twitter
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • Slashdot
  • Technorati

Danke sehr Herr Srdja

June 20th, 2010

I am in communication with a german student that is working on OpenCL implementation of chess engine (read he’s blog about Chess on OpenCL), and it’s truly interesting in many ways.

We are not following the same path, we are of 2 different generation, with different backgrounds, on similar (or derived) technologies, with the same goal: writing a chess-engine. And sharing ideas, exchanging documents with him make my mind being much more creative, as I solved indirectly my move generation problem, and even the memory contention that I had, and branch divergence at once.

Seems incredible, but exchanging ideas with people trying to solve the same problem not only enrich you directly, but also give you the ability to mix them and finally come with surprising things! Thanks :-)

I also posted a ZIP containing a list of open-source chess engine that inspired me, as well as PDF documentation and interview about chess computing, and the people that made it possible.

It was originally for Srdja, but I think that the time I took to find them might be really useful for anyone interested in chess computing. Will probably update it regularly to include more documents and code.

  • Print this article!
  • E-mail this story to a friend!
  • Digg
  • Twitter
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • Slashdot
  • Technorati

Sargon source-code & 1KB Chess source-code & Shannon article

June 19th, 2010

I found 2 resources on the web, Sargon I full source-code for Z80 (the book content in fact), and Sinclair ZX81 1KB chess source-code (Z80 too).

Naturally Sargon is impressive, but having a chess program fully running (even if primitive) on 1KB RAM (code+data) is hot! It’s not a good chess program and will only challenge beginners, true beginners, but still it plays chess!

PS: The original article from Claude Shannon “Programming a Computer for Playing Chess” in PDF in Philosophical Magazine. A must-read, probably before everything else, or maybe competing with Turing article on Chess!

  • Print this article!
  • E-mail this story to a friend!
  • Digg
  • Twitter
  • Facebook
  • del.icio.us
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • Slashdot
  • Technorati