GPGPU hacking on the Pi

Update: As Andrew mentions in the comments below, we recently made the source for Andrew Holme’s accelerated FFT library available. I’d encourage aspiring Pi GPGPU hackers to take a look at this – it’s an incredibly tight piece of code.

You may have noticed a certain lack of blog action over the last few days. Unfortunately, while I’ve recovered from the curse of Nuttall (though I do sound a little more Sith than usual), Liz has now fallen victim. We hope normal service will be resumed on Monday.

vader-apple-pi

In the meantime, I thought I’d share a couple of GPGPU (General-Purpose programming on Graphic Processing Unit) examples that have appeared since Broadcom released the specs for the VideoCore IV GPU back in February.

The first is an implementation of the SHA-256 hashing algorithm which you’ll find on GitHub¬†and can read about at rpiplayground.wordpress.com.

The second is Pete Warden’s port of the Deep Belief image recognition SDK to the Pi.

deep-belief

There’s now a very active community dedicated to GPGPU on the Pi. Head on over to Herman Hermitage’s site or check out this forum thread to learn more.

10 comments

Avatar

And the the source for the accelerated FFTs got released recently too.

Avatar

Are there tools available to build those fft qpu source files ? I would like to make a version that post processes the fft to produce the power spectral density.

Avatar

Broadcom have not released the official QPU assembler; but there are third party assemblers. Unfortunately, these have slightly different directives and mnemonics.

Avatar

So the image recognition is sort of a google glass like thing for the pi?

Avatar

This is an excellent news! I installed Deep Belief on my Pi, am going to play with it now! I also wrote instructions to install in my blog
http://scientistnobee.wordpress.com/2014/06/20/machine-learning-with-raspberry-pi/

Avatar

This is brilliant. I got a Parallella board last week, but now it’s sitting idle while I try to digest all the GPU docs and examples for the Pi. I hope that eman (no idea of real name) gets around to finishing the set of articles on sha256. They’re most informative.

Avatar

nice to see the GPU being let out to play :)

Avatar

…along with your brothers, Pee and Yoo? ;)

Avatar

I see what you did there

Avatar

ISWYDT
Indeed

Leave a Comment

Comments are closed